/* 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;
    /* ИЗМЕНЕНО: Фон с градиентом от светло-зеленого до мятного */
    background: linear-gradient(160deg, #d1fae5 0%, #a7f3d0 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(22, 163, 74, 0.4)); } 50% { filter: brightness(1.3) drop-shadow(0 0 15px rgba(22, 163, 74, 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: #16a34a; 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, #16a34a, #15803d); -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: #16a34a; 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(22, 163, 74, 0.3);
}

/* ИЗМЕНЕНО: Основная кнопка с зеленым градиентом */
.btn-primary { background: linear-gradient(to right, #16a34a, #15803d); color: white; transition: all 0.3s ease; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(22, 163, 74, 0.5); }

/* ИЗМЕНЕНО: Контурная кнопка с зелеными цветами */
.btn-outline {
    border: 2px solid #15803d; /* Зеленая рамка */
    color: #15803d; /* Зеленый текст */
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #15803d; /* Зеленый фон при наведении */
    color: white; /* Белый текст при наведении */
    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: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 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 */
}