/* Base and Fonts */
body {
    font-family: 'Inter', sans-serif;
    color: #1f2937; /* Default dark text color (Tailwind gray-800) */
    opacity: 0;
    animation: fadeInPage 0.7s ease-in-out forwards;
    /* NEW: Sky blue gradient background */
    background: linear-gradient(160deg, #e0eafc 0%, #cfdef3 100%);
    background-attachment: fixed; /* Makes the gradient stay in place on scroll */
}
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }

/* Animations */
@keyframes lightning { 0%, 100% { filter: brightness(1) drop-shadow(0 0 5px rgba(59, 130, 246, 0.4)); } 50% { filter: brightness(1.3) drop-shadow(0 0 15px rgba(59, 130, 246, 0.7)); } }
@keyframes lightning-glow { 0%, 100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.1); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.95); } }
@keyframes spin { to { transform: rotate(360deg); } }

.lightning-effect { animation: lightning 2s ease-in-out infinite; }
.lightning-glow { animation: lightning-glow 2s ease-in-out infinite; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.spinner { border: 3px solid transparent; border-top-color: #3B82F6; border-radius: 50%; width: 2.5rem; height: 2.5rem; animation: spin 0.8s linear infinite; }

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text and Links */
.gradient-text { background: linear-gradient(to right, #3B82F6, #2563EB); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-link { 
    color: #1f2937; /* Dark text for nav links */
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease; 
    display: inline-block; 
}
.nav-link:hover { color: #3B82F6; transform: translateY(-2px); }

/* Components: Card, Buttons */
/* UPDATED CARD STYLE */
.card { 
    background: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    backdrop-filter: blur(15px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    border-radius: 0.75rem; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Soft shadow */
}
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); 
    border-color: rgba(59, 130, 246, 0.3); 
}

/* Primary button remains the same */
.btn-primary { background: linear-gradient(to right, #3B82F6, #2563EB); color: white; transition: all 0.3s ease; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }

/* UPDATED OUTLINE BUTTON */
.btn-outline { 
    border: 2px solid #2563EB; /* Primary blue border */
    color: #2563EB; /* Primary blue text */
    background: transparent; 
    transition: all 0.3s ease; 
}
.btn-outline:hover { 
    background: #2563EB; /* Blue background on hover */
    color: white; /* White text on hover */
    transform: scale(1.05); 
}

/* Forms */
/* UPDATED INPUT FIELD */
#wallet-address { 
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #d1d5db; /* gray-300 */
    color: #111827;
}
#wallet-address:focus { 
    background-color: white;
    border-color: #3B82F6; 
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); 
    outline: none;
}
input[type="text"].error { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.5); }

/* FAQ */
.faq-item { cursor: pointer; }
.faq-item h3 { color: #111827; }
.faq-arrow { color: #6b7280; }
.faq-item:hover { background: rgba(255, 255, 255, 0.8); }
.faq-arrow { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; }
.faq-item.active .faq-content { max-height: 500px; }
.faq-content p { 
    padding: 0 1.5rem 1.5rem 1.5rem;
    text-align: left; 
    color: #374151; /* gray-700 */
}

/* Mobile Menu */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out; }
.mobile-menu.active { max-height: 500px; }

/* Utility */
.hidden { display: none; }

/* === Auto-scroller for "Available On" section === */
.scroller-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.scroller-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem; 
    width: max-content; 
    animation: scroll 40s linear infinite;
}
.scroller-container:hover .scroller-inner {
    animation-play-state: paused;
}
@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}
.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 100px;
    transition: opacity 0.2s ease;
    opacity: 0.8;
}
.platform-link img {
    height: 3rem;
    width: 3rem;
}
.platform-link:hover {
    opacity: 1;
}
.platform-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937; /* Dark text */
}