/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b); /* Background gradient */
    color: #f0e7db; /* Coordinated text color */
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: rgba(58, 28, 113, 0.8); /* Darker version of the gradient colors */
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: #ffaf7b; /* Coordinated text color */
    font-weight: 700;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #f0e7db; /* Softer text color */
}

#connectWalletBtn {
    padding: 12px 24px;
    background: linear-gradient(45deg, #ffaf7b, #d76d77); /* Button gradient */
    color: #3a1c71;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
}

#connectWalletBtn:hover {
    background-color: #d76d77;
}

/* Title Cards and Countdown Styles */
.countdown {
    text-align: center;
    margin-bottom: 50px;
    background: rgba(58, 28, 113, 0.8); /* Darker background for countdown card */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.countdown h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffaf7b; /* Coordinated title color */
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffaf7b; /* Countdown value color */
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 16px;
    color: #ddd;
}

/* Social Media Icons */
.social-icon {
    color: #ffaf7b; /* Coordinated icon color */
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #d76d77; /* Highlighted pink on hover */
}

/* Main Content Styles */
main {
    text-align: center;
    padding: 20px 0;
}

.hero-section {
    margin-bottom: 50px;
}

.hero-section h2 {
    font-size: 40px;
    color: #ffaf7b; /* Coordinated text color */
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-section p {
    font-size: 20px;
    color: #f0e7db;
    margin-bottom: 25px;
}

#claimBtn {
    padding: 18px 50px;
    background-color: #d76d77;
    background-image: linear-gradient(45deg, #ffaf7b, #d76d77);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
    transition: background-color 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 198, 123, 0.4);
}

#claimBtn:hover {
    background-color: #d76d77;
}

/* Wallet Info Section */
.wallet-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.wallet-info p {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

/* Reward Info Section */
.reward-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    color: #ffaf7b;
    font-size: 20px;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.faq h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffaf7b; /* Coordinated title color */
    font-weight: 700;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h4 {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item h4:hover {
    color: #ffaf7b;
}

.faq-item p {
    font-size: 18px;
    color: #ddd;
    display: none;
    margin-top: 10px;
    line-height: 1.5;
}

.faq-item.active p {
    display: block;
}

/* Social Sharing Section */
.social-share {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 50px;
}

.social-share h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffaf7b; /* Coordinated title color */
    font-weight: 700;
}

.social-share p {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Details Section */
.details {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.details h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffaf7b; /* Coordinated title color */
    font-weight: 700;
}

.details p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 10px;
}

.details p strong {
    color: #fff;
}

/* Footer Styles */
footer {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
    color: #ccc;
}

.social-media {
    margin-bottom: 20px;
}

.social-icon {
    color: #ffaf7b; /* Coordinated icon color */
    margin: 0 10px;
    font-size: 28px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #d76d77; /* Highlighted pink on hover */
}

footer a {
    color: #ffaf7b; /* Coordinated link color */
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Alert Container */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    z-index: 1000;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.5s forwards, fadeOut 0.5s 3s forwards;
}

.alert-success {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.alert-error {
    background: linear-gradient(45deg, #dc3545, #e4606d);
}

.alert-warning {
    background: linear-gradient(45deg, #ffc107, #ffcd39);
    color: #333;
}

/* Animation for Alerts */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 20px;
    }

    .hero-section h2 {
        font-size: 30px;
    }

    #claimBtn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown-card {
        min-width: 70px;
    }

    .countdown-value {
        font-size: 28px;
    }

    .countdown-label {
        font-size: 14px;
    }

    .social-share h3,
    .details h3 {
        font-size: 26px;
    }
}
