/* ===================================================
   수달농장 메인 홈페이지 CSS
   =================================================== */

/* ---------- Google Fonts (Pretendard 대체) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- 변수 ---------- */
:root {
    --primary:    #4ade80;
    --primary-dim:#22c55e;
    --cyan:       #22d3ee;
    --purple:     #a78bfa;
    --bg-deep:    #050a12;
    --bg:         #0a1120;
    --bg-card:    #0f1b2d;
    --bg-card2:   #131f33;
    --border:     rgba(74, 222, 128, 0.15);
    --border2:    rgba(255,255,255,0.06);
    --text:       #e2f0ff;
    --text-muted: #7ca4cc;
    --text-dim:   #4a7099;
    --glow:       0 0 30px rgba(74,222,128,0.25);
    --glow-sm:    0 0 12px rgba(74,222,128,0.18);
    --radius-lg:  24px;
    --radius-md:  16px;
    --radius-sm:  10px;
    --font-body:  'Noto Sans KR', 'Space Grotesk', sans-serif;
    --font-head:  'Space Grotesk', 'Noto Sans KR', sans-serif;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(74,222,128,0.35); border-radius: 3px; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 68px;
    background: rgba(5, 10, 18, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border2);
    transition: background 0.3s;
}
.navbar.scrolled {
    background: rgba(5, 10, 18, 0.96);
    border-color: var(--border);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}
.nav-logo img {
    width: 36px; height: 36px;
    border-radius: 10px;
    object-fit: cover;
}
.nav-logo-badge {
    font-size: 0.65rem;
    background: var(--primary);
    color: #000;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.nav-links .nav-cta {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    margin-left: 4px;
}
.nav-links .nav-cta:hover { background: var(--primary-dim); color: #000; }
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(5, 10, 18, 0.97);
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 4px;
    z-index: 999;
}
.nav-mobile-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-mobile-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-mobile-menu .nav-cta {
    background: var(--primary);
    color: #000 !important;
    font-weight: 700;
    margin-top: 6px;
    justify-content: center;
}

/* ===================================================
   HERO
   =================================================== */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(74,222,128,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 80% 120%, rgba(34,211,238,0.07) 0%, transparent 60%),
                var(--bg-deep);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px 60px;
    max-width: 860px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-logo-img {
    width: 120px; height: 120px;
    border-radius: 28px;
    margin: 0 auto 24px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--border), 0 0 50px rgba(74,222,128,0.2);
    /* TODO: 실제 수달농장 로고로 교체 */
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title-sub {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.hero-typed-wrap {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--primary);
    font-weight: 600;
    min-height: 1.8em;
    margin-bottom: 40px;
}
.hero-typed-wrap .typed-cursor { color: var(--primary); }
.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(74,222,128,0.35);
}
.btn-primary:hover { background: var(--primary-dim); box-shadow: 0 8px 30px rgba(74,222,128,0.45); }
.btn-outline {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border: 1px solid var(--border2);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--border); }
.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 20px rgba(88,101,242,0.35);
}
.btn-discord:hover { background: #4752c4; box-shadow: 0 8px 30px rgba(88,101,242,0.45); }

.hero-scroll-hint {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-dim);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 2.5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
.hero-scroll-hint i { font-size: 1.1rem; }

/* ===================================================
   SECTION COMMONS
   =================================================== */
section { position: relative; overflow: hidden; }
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-title span { color: var(--primary); }
.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 56px;
    font-size: 1rem;
    line-height: 1.8;
}
.section-divider {
    width: 50px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 2px;
    margin-bottom: 20px;
}

/* ===================================================
   QUICK LINKS
   =================================================== */
.quick-links-section { background: var(--bg); }
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.qlink-card {
    background: var(--bg-card);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}
.qlink-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: var(--glow);
}
.qlink-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.qlink-icon.green  { background: rgba(74,222,128,0.15); color: var(--primary); }
.qlink-icon.blue   { background: rgba(88,101,242,0.15); color: #818cf8; }
.qlink-icon.cyan   { background: rgba(34,211,238,0.15); color: var(--cyan); }
.qlink-icon.orange { background: rgba(251,146,60,0.15); color: #fb923c; }
.qlink-title { font-weight: 700; font-size: 1rem; }
.qlink-desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.qlink-arrow {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s, color 0.2s;
}
.qlink-card:hover .qlink-arrow { gap: 10px; color: var(--primary); }

/* ===================================================
   CONTENTS SECTION
   =================================================== */
.contents-section { background: var(--bg-deep); }
.contents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74,222,128,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.content-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    /* TODO: 실제 컨텐츠 이미지로 교체 */
}
.content-card-body {
    padding: 20px 22px;
}
.content-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.tag-green  { background: rgba(74,222,128,0.15); color: var(--primary); }
.tag-cyan   { background: rgba(34,211,238,0.15); color: var(--cyan); }
.tag-purple { background: rgba(167,139,250,0.15); color: var(--purple); }
.tag-orange { background: rgba(251,146,60,0.15); color: #fb923c; }
.content-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.content-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   ITEM SWIPER SECTION
   =================================================== */
.items-section {
    background: var(--bg);
    padding-bottom: 80px;
}
.items-section .section-inner { padding-bottom: 40px; }
.swiper-container-wrap {
    padding: 0 24px;
    max-width: 1248px;
    margin: 0 auto;
}
.items-swiper {
    overflow: visible !important;
    padding: 10px 4px 50px !important;
}
.items-swiper .swiper-wrapper { align-items: stretch; }
.item-card {
    background: var(--bg-card);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.item-card:hover {
    border-color: rgba(74,222,128,0.3);
    box-shadow: 0 8px 40px rgba(74,222,128,0.12);
    transform: translateY(-3px);
}
.item-img-wrap {
    background: var(--bg-card2);
    border-radius: var(--radius-md);
    padding: 16px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    /* TODO: 실제 아이템 이미지로 교체 */
}
.item-rarity {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rarity-legendary { color: #f59e0b; }
.rarity-epic      { color: #a78bfa; }
.rarity-rare      { color: #60a5fa; }
.rarity-common    { color: var(--text-dim); }
.item-name {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
}
.item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.item-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}
.item-price span { font-size: 0.8rem; color: var(--text-dim); font-weight: 400; }
.swiper-pagination-item {
    margin-top: 6px;
}
.swiper-pagination-item .swiper-pagination-bullet-active {
    background: var(--primary);
}
.swiper-pagination-bullet {
    background: var(--text-dim);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 20px !important;
    border-radius: 3px !important;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: var(--bg-card);
    border: 1px solid var(--border2);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    border-color: var(--border);
    box-shadow: var(--glow-sm);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 800;
}

/* ===================================================
   STATS BANNER
   =================================================== */
.stats-section {
    background: linear-gradient(135deg, rgba(74,222,128,0.08) 0%, rgba(34,211,238,0.05) 100%);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    padding: 56px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {}
.stat-num {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===================================================
   DONATE SECTION
   =================================================== */
.donate-section { background: var(--bg-deep); }
.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.donate-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.donate-bank-card {
    background: linear-gradient(135deg, #0d2240 0%, #0a1a30 100%);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.donate-bank-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(74,222,128,0.08);
    border-radius: 50%;
}
.donate-bank-card .bank-name {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.donate-bank-card .bank-number {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}
.donate-bank-card .bank-holder {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.donate-rules { margin-top: 4px; }
.donate-rules h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.donate-rules li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 6px 0;
    border-bottom: 1px solid var(--border2);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.donate-rules li::before {
    content: '·';
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
}
.donate-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 88px;
}
.donate-form-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.donate-form-card .form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input {
    background: var(--bg-card2);
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74,222,128,0.12);
}
.lookup-input-row {
    position: relative;
}
.lookup-input-row input {
    padding-right: 42px;
}
.form-group em {
    font-style: normal;
    color: #f87171;
    font-size: 0.8rem;
}
.lookup-spinner {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 999px;
    border: 2px solid rgba(148,163,184,0.35);
    border-top-color: var(--primary);
    opacity: 0;
    pointer-events: none;
}
.lookup-spinner.active {
    opacity: 1;
    animation: spin 0.7s linear infinite;
}
.lookup-result {
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-top: 10px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.02);
}
.lookup-result.idle {
    border-color: rgba(148,163,184,0.25);
    background: rgba(15,23,42,0.42);
}
.lookup-result.loading {
    border-color: rgba(74,222,128,0.28);
    background: rgba(74,222,128,0.06);
}
.lookup-result.success {
    border-color: rgba(74,222,128,0.4);
    background: rgba(74,222,128,0.1);
}
.lookup-result.fail {
    border-color: rgba(248,113,113,0.4);
    background: rgba(248,113,113,0.08);
}
.lookup-result strong,
.lookup-result p,
.lookup-blocked {
    display: block;
    margin: 0;
    line-height: 1.6;
}
.lookup-result strong {
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.lookup-result p,
.lookup-blocked {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.lookup-blocked {
    border: 1px solid rgba(248,113,113,0.35);
    background: rgba(248,113,113,0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
}
.donate-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.donate-submit:disabled {
    background: #64748b;
    color: rgba(255,255,255,0.8);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.donate-submit:hover {
    background: var(--primary-dim);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74,222,128,0.35);
}
.donate-submit:disabled:hover {
    background: #64748b;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: #030710;
    border-top: 1px solid var(--border2);
    padding: 60px 24px 32px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.footer-logo img {
    width: 32px; height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 260px;
}
.footer-col-title {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border2);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--primary); border-color: var(--border); }

/* ===================================================
   DECO / BG EFFECTS
   =================================================== */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.18;
}
.bg-glow-green { background: #4ade80; }
.bg-glow-cyan  { background: #22d3ee; }
.bg-glow-purple{ background: #a78bfa; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .donate-grid { grid-template-columns: 1fr; }
    .footer-top  { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .section-inner { padding: 72px 16px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .stats-grid { gap: 24px; }
    .hero-content { padding: 100px 16px 60px; }
}
@media (max-width: 480px) {
    .quick-links-grid { grid-template-columns: 1fr; }
    .contents-grid    { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ===================================================
   AOS OVERRIDE
   =================================================== */
[data-aos] { will-change: transform, opacity; }

/* ===================================================
   GITBOOK ICON
   =================================================== */
.gitbook-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    filter: invert(1);
    object-fit: contain;
}
.qlink-icon .gitbook-icon {
    width: 1.6rem;
    height: 1.6rem;
    filter: invert(1);
}
