@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ocean-deep: #071B2F;
    --ocean-mid: #0A2540;
    --ocean-surface: #0F3460;
    --primary: #0077B6;
    --primary-light: #00B4D8;
    --primary-dim: rgba(0, 119, 182, 0.08);
    --primary-border: rgba(0, 119, 182, 0.20);
    --cyan: #48CAE4;
    --cyan-dim: rgba(72, 202, 228, 0.10);
    --foam: #90E0EF;
    --coral: #E07A5F;
    --coral-light: #F4845F;
    --coral-dim: rgba(224, 122, 95, 0.08);
    --sand: #F8EDEB;
    --bg: #F0F7FA;
    --bg-white: #FFFFFF;
    --bg-elevated: #E8F1F5;
    --border: rgba(0, 40, 80, 0.08);
    --border-strong: rgba(0, 40, 80, 0.14);
    --text: #0D1B2A;
    --text-muted: #4A6275;
    --text-subtle: #7E99A3;
    --text-on-dark: #E8F1F5;
    --shadow-sm: 0 1px 3px rgba(0, 40, 80, 0.05), 0 1px 2px rgba(0, 40, 80, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 40, 80, 0.07), 0 2px 6px rgba(0, 40, 80, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 40, 80, 0.09), 0 4px 12px rgba(0, 40, 80, 0.04);
    --shadow-xl: 0 20px 60px rgba(0, 40, 80, 0.12), 0 8px 24px rgba(0, 40, 80, 0.06);
    --shadow-blue: 0 4px 20px rgba(0, 119, 182, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stars { display: none; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ── Header ── */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(7, 27, 47, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(72, 202, 228, 0.08);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.15);
}
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 40px; max-width: 1200px; margin: 0 auto;
}
.logo {
    font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700;
    color: #fff; display: flex; align-items: center; gap: 10px;
}
.logo-icon {
    color: var(--cyan);
    flex-shrink: 0;
}
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
    color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 13px;
    font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
    transition: color 0.25s; position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--coral) !important; color: #fff !important;
    padding: 9px 22px !important; border-radius: var(--radius-sm) !important;
    font-weight: 600 !important; transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(224, 122, 95, 0.25) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--coral-light) !important;
    box-shadow: 0 4px 20px rgba(224, 122, 95, 0.35) !important;
    transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, #040E18 0%, var(--ocean-deep) 30%, var(--ocean-mid) 70%, var(--ocean-surface) 100%);
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 14, 24, 0.3) 100%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(72, 202, 228, 0.1);
    border: 1px solid rgba(72, 202, 228, 0.2);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-eyebrow::before { display: none; }
.eyebrow-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    animation: eyebrowPulse 2.5s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-on-dark);
}

.hero h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(232, 241, 245, 0.6);
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}
.btn-primary {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.3);
}
.btn-primary:hover {
    background: var(--coral-light);
    box-shadow: 0 6px 24px rgba(224, 122, 95, 0.35);
    transform: translateY(-2px);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-ocean {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
}
.btn-ocean:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 24px rgba(0, 180, 216, 0.3);
    transform: translateY(-2px);
}

/* Hero image card */
.hero-visual {
    position: relative;
}

.hero-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(72, 202, 228, 0.12);
    background: rgba(255, 255, 255, 0.03);
    aspect-ratio: 3/4;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(72, 202, 228, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hero-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(72, 202, 228, 0.1);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 47, 0.05) 0%, transparent 30%, rgba(7, 27, 47, 0.6) 75%, rgba(7, 27, 47, 0.9) 100%);
}

.hero-img-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.hero-img-caption h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.hero-img-caption p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(7, 27, 47, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(72, 202, 228, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-badge:hover {
    transform: scale(1.05);
}

.hero-badge-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan);
    display: block;
    letter-spacing: -0.5px;
}

.hero-badge-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ── Wave Divider ── */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.wave-divider svg {
    width: 100%;
    height: 100px;
    display: block;
}

/* ── Stats Banner ── */
.stats-banner {
    background: linear-gradient(160deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%);
    padding: 52px 0;
    border-bottom: 1px solid rgba(72, 202, 228, 0.06);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-cell {
    background: rgba(255, 255, 255, 0.04);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-cell:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(72, 202, 228, 0.1);
    border-radius: var(--radius-sm);
    color: var(--cyan);
}

.stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-value span {
    color: #fff;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ── Section shared ── */
section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 18px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 560px;
}

.section-head {
    margin-bottom: 52px;
}

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-white);
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-blue);
    border-color: transparent;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card.large {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card.large .gallery-img {
    height: 100%;
    min-height: 578px;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(7, 27, 47, 0.8) 100%);
    opacity: 0.4;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.gallery-tag {
    display: inline-block;
    background: rgba(0, 119, 182, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    width: fit-content;
}

.gallery-caption {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ── Mission ── */
.mission-header {
    margin-bottom: 48px;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-card:hover {
    box-shadow: var(--shadow-md), var(--shadow-blue);
    transform: translateY(-4px);
}

.mc-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--primary-dim);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.mission-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Donate / Support Section ── */
.donate-section {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, var(--ocean-surface) 100%);
    border-top: none;
    border-bottom: none;
    position: relative;
}

.donate-section .section-label {
    color: var(--cyan);
}
.donate-section .section-label::before {
    background: var(--cyan);
}
.donate-section .section-title {
    color: #fff;
}
.donate-section .section-sub {
    color: rgba(232, 241, 245, 0.6);
    max-width: 100%;
}

.donate-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.donate-cta-wrap {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: start;
}

.donate-cta-text {
    padding-top: 16px;
}

.wallet-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: sticky;
    top: 90px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wallet-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.wallet-card-top {
    padding: 36px 36px 32px;
    background: rgba(0, 119, 182, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.wc-balance {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -2px;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.wc-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.wallet-card-body {
    padding: 28px 36px;
}

.quick-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    font-family: inherit;
}

.quick-btn:hover {
    border-color: var(--coral);
    background: rgba(224, 122, 95, 0.1);
    transform: translateY(-2px);
}

.quick-btn:active {
    transform: translateY(0);
}

.quick-btn .qb-sol {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.quick-btn .qb-usd {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.wallet-card-footer {
    padding: 24px 36px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-addr-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.wallet-addr {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    word-break: break-all;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-addr:hover {
    border-color: rgba(72, 202, 228, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.addr-text { flex: 1; }

.addr-copy {
    font-size: 10px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.wallet-addr:hover .addr-copy { opacity: 1; }

/* ── Community Section ── */
.community-section {
    background: var(--bg);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.community-col-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.community-col-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ── Leaderboard ── */
.leaderboard-list {
    max-width: 100%;
}

.lb-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-white);
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.lb-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--primary-border);
}

.lb-item.top {
    border-left: 4px solid var(--primary);
    background: var(--primary-dim);
    box-shadow: var(--shadow-md);
}

.lb-rank {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-subtle);
    min-width: 32px;
}

.lb-item.top .lb-rank {
    color: var(--primary);
    font-size: 17px;
}

.lb-wallet {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 13px;
    color: var(--text-muted);
}

.lb-amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

/* ── Feed ── */
.feed-list {
    max-width: 100%;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-white);
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.feed-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--primary-border);
}

.feed-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.feed-content {
    flex: 1;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.feed-sender {
    font-weight: 600;
    color: var(--text);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 13px;
}

.feed-action {
    color: var(--text-muted);
    font-size: 14px;
}

.feed-amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.feed-time {
    font-size: 12px;
    color: var(--text-subtle);
    white-space: nowrap;
}

/* ── Empty states ── */
.empty {
    padding: 52px 32px;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-strong);
    text-align: center;
    background: var(--bg-elevated);
}

.empty p {
    font-size: 15px;
    color: var(--text-subtle);
    font-style: italic;
}

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 47, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-head h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.modal-x {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-x:hover {
    color: var(--text);
    background: var(--border);
}

.modal-body-inner {
    padding: 28px;
}

.modal-input-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.modal-input {
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.modal-foot {
    display: flex;
    gap: 10px;
    padding: 20px 28px 28px;
}

.btn-modal {
    flex: 1;
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-mcancel {
    background: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-mcancel:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.btn-mconfirm {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.2);
}
.btn-mconfirm:hover {
    background: var(--coral-light);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.3);
    transform: translateY(-1px);
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 14, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: lightboxZoom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoom {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ── Footer ── */
footer {
    background: linear-gradient(160deg, #040E18 0%, var(--ocean-deep) 60%, var(--ocean-mid) 100%);
    padding: 64px 0 40px;
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(72, 202, 228, 0.2) 50%, transparent 100%);
}

.footer-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    justify-content: center;
}
.footer-logo .logo-icon {
    color: var(--cyan);
}

.footer-desc {
    font-size: 15px;
    color: rgba(232, 241, 245, 0.5);
    line-height: 1.75;
    margin-top: 14px;
    margin-bottom: 28px;
}

.footer-addr {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.footer-addr .wallet-addr {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    max-width: 500px;
}
.footer-addr .wallet-addr:hover {
    border-color: rgba(72, 202, 228, 0.2);
    color: rgba(255, 255, 255, 0.7);
}
.footer-addr .addr-copy {
    color: var(--cyan);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
}
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.25s ease;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::after { width: 100%; }

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-partner-link {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.footer-partner-link:hover {
    color: #fff;
}

/* ── Section Icons ── */
.section-icon {
    vertical-align: -3px;
    margin-right: 4px;
    color: var(--primary);
}

/* ── Partner Section ── */
.partner-section {
    background: var(--sand);
    border-top: 1px solid rgba(0, 40, 80, 0.06);
}

.partner-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: center;
}

.partner-text .section-sub {
    max-width: 100%;
}

.partner-text .section-sub strong {
    color: var(--text);
}

.partner-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 32px;
}

.partner-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.partner-highlight:hover {
    background: rgba(0, 119, 182, 0.05);
}

.partner-highlight svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.partner-cta {
    display: inline-flex;
}

.partner-badge-wrap {
    display: flex;
    justify-content: center;
}

.partner-badge {
    background: var(--bg-white);
    border: 1px solid rgba(0, 40, 80, 0.08);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.partner-badge:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.partner-badge-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.partner-badge h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.partner-badge p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.partner-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid var(--primary-border);
    padding: 6px 14px;
    border-radius: 100px;
}

/* ── Selection ── */
::selection {
    background: rgba(0, 119, 182, 0.15);
    color: var(--text);
}

/* ── Focus States ── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0, 40, 80, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 40, 80, 0.25); }

/* ── Responsive ── */
@media (max-width: 968px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
    .hero-img-wrap { aspect-ratio: 4/3; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-card.large { grid-row: span 1; }
    .gallery-card.large .gallery-img { min-height: 280px; }
    .donate-cta-wrap { grid-template-columns: 1fr; gap: 40px; }
    .wallet-card { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-cards { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .partner-inner { grid-template-columns: 1fr; gap: 40px; }
    .partner-badge-wrap { justify-content: flex-start; }
    nav { padding: 14px 24px; }
    .nav-links { gap: 20px; }
    .container { padding: 0 32px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-actions { flex-direction: column; }
    .nav-links { display: none; }
    .stat-cell { padding: 20px 16px; }
    .wallet-card-top, .wallet-card-body, .wallet-card-footer { padding-left: 24px; padding-right: 24px; }
    section { padding: 64px 0; }
    .footer-links { gap: 16px; }
    .section-title { font-size: 28px; }
    .hero h1 { font-size: 34px; }
    .wc-balance { font-size: 36px; }
    .partner-highlights { margin-top: 20px; margin-bottom: 24px; }
    .partner-highlight { padding: 8px 12px; }
}
