body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a2a; /* Dark blue background similar to the website */
    color: #e0e0e0; /* Light text color */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

#ico-dapp-container {
    background-color: rgba(20, 20, 50, 0.8); /* Slightly lighter dark blue, semi-transparent */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3); /* Subtle glow effect */
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

h2 {
    color: #00bfff; /* Deep sky blue for headings */
    margin-bottom: 25px;
}

button {
    background: linear-gradient(90deg, #00bfff, #1e90ff); /* Gradient similar to website buttons */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(90deg, #1e90ff, #00bfff);
    transform: translateY(-2px);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
}

#walletInfo, #icoInfo, #buySection, #socialLinks {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(10, 10, 30, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

#walletInfo p, #icoInfo p {
    margin: 8px 0;
    font-size: 0.95em;
}

#walletInfo span, #icoInfo span {
    font-weight: bold;
    color: #ffffff;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #b0c4de; /* Light steel blue for labels */
    text-align: left;
}

input[type="number"], input[type="text"] {
    width: calc(100% - 22px); /* Full width minus padding */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #1a1a3a;
    color: #e0e0e0;
    font-size: 1em;
}

input::placeholder {
    color: #888;
}

#tokensToReceive {
    font-weight: bold;
    color: #90ee90; /* Light green */
}

#messageArea {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    min-height: 30px;
    color: #ffcccb; /* Light red for errors/messages */
}

#socialLinks p {
    margin-bottom: 10px;
}

#socialLinks a {
    color: #00bfff;
    text-decoration: none;
    margin: 0 5px;
}

#socialLinks a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 650px) {
    #ico-dapp-container {
        padding: 20px;
    }
    button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.5em;
    }
}
