/* ========================================
   SOLANA COMMUNITY AIRDROP — STYLES
   Design: Trust through Transparency
   Palette: #14F195 (green), #9945FF (purple)
   Font: Inter
   ======================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #14F195;
    --purple: #9945FF;
    --purple-light: #b97aff;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --bg-section-alt: #0e0e16;
    --text-primary: #e8e8f0;
    --text-secondary: #9898aa;
    --text-muted: #6a6a7a;
    --border: #1e1e2e;
    --border-hover: #2e2e42;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.2s ease;
    --max-width: 1200px;
    --header-height: 72px;
    --red: #ff4444;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
}

/* ---- UTILITIES ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hidden { display: none !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--green), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link {
    color: var(--green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.link:hover {
    border-bottom-color: var(--green);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--green);
    color: #0a0a0f;
}
.btn--primary:hover {
    background: #10d880;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.25);
}

.btn--connect {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    font-size: 14px;
}
.btn--connect:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.btn--outline:hover {
    border-color: var(--purple);
    color: var(--purple-light);
}

.btn--wallet {
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
}
.btn--wallet:hover {
    background: rgba(20, 241, 149, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.15);
}

.modal__or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}
.modal__or-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}
.modal__or-text {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: lowercase;
}

.btn--text {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
    font-size: 13px;
}
.btn--text:hover {
    color: var(--green);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.header__logo-text {
    font-weight: 700;
    font-size: 18px;
}

.header__badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(153, 69, 255, 0.15);
    color: var(--purple-light);
    border: 1px solid rgba(153, 69, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.header__nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.header__lang {
    position: relative;
    margin-left: 8px;
}

.header__lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
}
.header__lang-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.header__lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
    min-width: 140px;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.header__lang.open .header__lang-dropdown {
    display: block;
}
.header__lang-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition);
}
.header__lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}
.header__lang-dropdown button.active {
    color: var(--green);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__security-hint {
    position: relative;
    cursor: help;
    display: flex;
    align-items: center;
}
.header__security-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    background: var(--bg-card);
    border: 1px solid var(--green);
    color: var(--green);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.1);
}
.header__security-hint:hover .header__security-tooltip {
    opacity: 1;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 60px) 24px 80px;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 50% 40%, rgba(153, 69, 255, 0.12), transparent),
        radial-gradient(ellipse 600px 400px at 20% 60%, rgba(20, 241, 149, 0.08), transparent),
        radial-gradient(ellipse 500px 300px at 80% 30%, rgba(220, 31, 255, 0.06), transparent);
    pointer-events: none;
}

/* ---- Hero animated background ---- */
.hero__anim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Large central SOL logo */
.hero__sol-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__sol-svg {
    width: 280px;
    height: auto;
    opacity: 0.12;
    animation: solMainPulse 8s ease-in-out infinite, solMainSpin 25s linear infinite;
}

@keyframes solMainPulse {
    0%, 100% { opacity: 0.10; transform: scale(1); }
    50% { opacity: 0.18; transform: scale(1.08); }
}

@keyframes solMainSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Orbit rings */
.hero__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid;
    transform: translate(-50%, -50%);
}

.hero__ring--1 {
    width: 300px;
    height: 300px;
    border-color: rgba(153, 69, 255, 0.15);
    animation: ringRotate 30s linear infinite;
}

.hero__ring--2 {
    width: 480px;
    height: 480px;
    border-color: rgba(20, 241, 149, 0.10);
    animation: ringRotate 45s linear infinite reverse;
}

.hero__ring--3 {
    width: 660px;
    height: 660px;
    border-color: rgba(153, 69, 255, 0.06);
    border-style: dashed;
    animation: ringRotate 60s linear infinite;
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating SOL logos */
.hero__float {
    position: absolute;
    pointer-events: none;
}

.hero__float svg {
    width: 100%;
    height: auto;
}

.hero__float--1 {
    width: 50px;
    top: 12%;
    left: 8%;
    opacity: 0.15;
    animation: float1 14s ease-in-out infinite, floatSpin 20s linear infinite;
}

.hero__float--2 {
    width: 35px;
    top: 20%;
    right: 12%;
    opacity: 0.12;
    animation: float2 18s ease-in-out infinite, floatSpin 25s linear infinite reverse;
}

.hero__float--3 {
    width: 45px;
    bottom: 25%;
    left: 15%;
    opacity: 0.10;
    animation: float3 16s ease-in-out infinite, floatSpin 22s linear infinite;
}

.hero__float--4 {
    width: 28px;
    bottom: 15%;
    right: 18%;
    opacity: 0.14;
    animation: float4 12s ease-in-out infinite, floatSpin 18s linear infinite reverse;
}

.hero__float--5 {
    width: 38px;
    top: 55%;
    right: 6%;
    opacity: 0.08;
    animation: float5 20s ease-in-out infinite, floatSpin 30s linear infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, 20px); }
    50% { transform: translate(-10px, 40px); }
    75% { transform: translate(20px, -15px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-25px, 15px); }
    50% { transform: translate(15px, -30px); }
    75% { transform: translate(-20px, -10px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(25px, -20px); }
    66% { transform: translate(-15px, 25px); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(-20px, -25px); }
    60% { transform: translate(30px, 10px); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(-30px, 20px); }
    70% { transform: translate(15px, -35px); }
}

@keyframes floatSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glow spots */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero__glow--1 {
    width: 350px;
    height: 350px;
    top: 20%;
    left: 10%;
    background: rgba(153, 69, 255, 0.12);
    animation: glowPulse1 10s ease-in-out infinite;
}

.hero__glow--2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
    background: rgba(20, 241, 149, 0.10);
    animation: glowPulse2 12s ease-in-out infinite;
}

@keyframes glowPulse1 {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes glowPulse2 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.25); }
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.hero__trust-item a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px dashed var(--text-muted);
    transition: all var(--transition);
}
.hero__trust-item a:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}
.section--alt {
    background: var(--bg-section-alt);
}

.section__title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section__description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 56px;
}

/* ========== STEPS (How It Works) ========== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.step__number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple);
    background: rgba(153, 69, 255, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 241, 149, 0.06);
    border: 1px solid rgba(20, 241, 149, 0.12);
    border-radius: var(--radius);
}

.step__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step__connector {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin-top: 68px;
    flex-shrink: 0;
}

/* ========== ELIGIBILITY ========== */
.eligibility {
    max-width: 720px;
    margin: 0 auto;
}

.eligibility__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.eligibility__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.eligibility__item:hover {
    border-color: var(--border-hover);
}

.eligibility__item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.eligibility__item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.eligibility__item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.eligibility__item--fail {
    border-color: rgba(255, 68, 68, 0.2);
}

.eligibility__cta {
    text-align: center;
}

/* ========== SECURITY ========== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.security-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.security-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.security-card__icon {
    margin-bottom: 16px;
}

.security-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(153, 69, 255, 0.08);
    border: 1px solid rgba(153, 69, 255, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-light);
}

/* ========== LIVE STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.stat-card__label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-card__value {
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
}
.stat-card__unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-card__source {
    font-size: 11px;
    color: var(--text-muted);
}

.stat-card--contract {
    text-align: center;
}

.stat-card__address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.stat-card__address code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
}

.stat-card__copy,
.stat-card__explorer {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.stat-card__copy:hover,
.stat-card__explorer:hover {
    border-color: var(--green);
    color: var(--green);
}

.stats-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== RESOURCES ========== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.resource-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.resource-card__icon {
    margin-bottom: 16px;
}

.resource-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.resource-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.resource-card__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--purple-light);
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial__name {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial__handle {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial__source {
    font-size: 12px;
    color: var(--purple-light);
    text-decoration: none;
    transition: color var(--transition);
}
.testimonial__source:hover {
    color: var(--green);
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}
.faq-item__question::-webkit-details-marker {
    display: none;
}
.faq-item__question:hover {
    color: var(--green);
}

.faq-item__chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.faq-item__answer p {
    margin-bottom: 12px;
}
.faq-item__answer ul {
    margin: 8px 0;
    padding-left: 20px;
}
.faq-item__answer li {
    margin-bottom: 6px;
}

/* ========== MODAL ========== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.active {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}
.modal__close:hover {
    color: var(--text-primary);
}

.modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.modal__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.modal__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(20, 241, 149, 0.06);
    border: 1px solid rgba(20, 241, 149, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.modal__notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.modal__wallets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.wallet-option:hover {
    border-color: var(--green);
    background: rgba(20, 241, 149, 0.04);
}

.modal__footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Address input */
.modal__address-form {
    margin-bottom: 20px;
}

.modal__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modal__input-wrap {
    position: relative;
}

.modal__input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}
.modal__input::placeholder {
    color: var(--text-muted);
}
.modal__input:focus {
    border-color: var(--green);
}
.modal__input.error {
    border-color: var(--red);
}

.modal__input-error {
    font-size: 12px;
    color: var(--red);
    margin-top: 8px;
}

/* Loader */
.modal__loader {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal__log {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
    max-height: 120px;
    overflow-y: auto;
}

.log-line {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.5;
}
.log-line.success {
    color: var(--green);
}

.modal__query {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 12px;
}
.modal__query code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: var(--purple-light);
    word-break: break-all;
}

/* Result */
.modal__result-icon {
    text-align: center;
    margin-bottom: 16px;
}

.modal__amount {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--green);
    margin: 16px 0;
}

.modal__breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 24px;
}
.modal__breakdown h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.modal__breakdown ul {
    list-style: none;
    padding: 0;
}
.modal__breakdown li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}
.modal__breakdown li::before {
    content: '•';
    color: var(--green);
    position: absolute;
    left: 0;
}

.modal__fee {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.modal__share-btn {
    margin-top: 16px;
}

.modal__step .btn--primary,
.modal__step .btn--outline {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    background: var(--bg-dark);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand {
    max-width: 360px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.footer__disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 56px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.footer__col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__col a:hover {
    color: var(--text-primary);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer__dyor {
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== A11Y TOGGLE ========== */
.a11y-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 100;
}
.a11y-toggle:hover {
    border-color: var(--purple);
    color: var(--purple-light);
}
.a11y-toggle.active {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        display: none;
    }
    .header__nav.open {
        display: flex;
    }
    .header__nav-link {
        display: block;
        padding: 12px 16px;
    }
    .header__lang {
        margin: 8px 0 0 0;
        width: 100%;
    }
    .header__lang-btn {
        width: 100%;
        justify-content: center;
    }

    .header__burger {
        display: flex;
    }

    .header__badge {
        display: none;
    }

    .hero {
        min-height: 70vh;
    }

    .hero__sol-main { width: 280px; height: 280px; }
    .hero__sol-svg { width: 180px; }
    .hero__ring--1 { width: 200px; height: 200px; }
    .hero__ring--2 { width: 330px; height: 330px; }
    .hero__ring--3 { width: 450px; height: 450px; }
    .hero__glow--1 { width: 220px; height: 220px; }
    .hero__glow--2 { width: 200px; height: 200px; }

    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        max-width: 400px;
    }
    .step__connector {
        width: 2px;
        height: 24px;
        margin: 0;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer__top {
        flex-direction: column;
    }
    .footer__links {
        flex-wrap: wrap;
        gap: 32px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }

    .security-badges {
        flex-direction: column;
        gap: 12px;
    }

    .modal__content {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }
    .hero__subtitle {
        font-size: 0.95rem;
    }
    .btn--lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    .stat-card__value {
        font-size: 22px;
    }
    .hero__sol-main { width: 200px; height: 200px; }
    .hero__sol-svg { width: 130px; }
    .hero__ring--1 { width: 160px; height: 160px; }
    .hero__ring--2 { width: 260px; height: 260px; }
    .hero__ring--3 { display: none; }
    .hero__float--3, .hero__float--5 { display: none; }
    .hero__glow--1 { width: 160px; height: 160px; }
    .hero__glow--2 { width: 140px; height: 140px; }
}

/* ---- FOCUS STYLES ---- */
:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ---- SELECTION ---- */
::selection {
    background: rgba(153, 69, 255, 0.3);
    color: #fff;
}
