:root {
    --sage-50: #f4f7f0;
    --sage-100: #e8efe1;
    --sage-200: #d7e3cd;
    --sage-300: #bdcfb1;
    --sage-400: #9fb795;
    --sage-500: #78966f;
    --sage-600: #5e7c57;
    --sage-700: #486343;
    --sage-800: #334a31;
    --sage-900: #263725;

    --cream: #faf8f1;
    --warm-white: #fffdf8;
    --beige: #eee8d9;
    --beige-dark: #dcd3bf;

    --text: #26372b;
    --text-soft: #667368;
    --text-muted: #899188;
    --white: #ffffff;

    --border: rgba(71, 94, 67, 0.14);
    --shadow: 0 16px 45px rgba(52, 72, 48, 0.08);
    --shadow-soft: 0 8px 25px rgba(52, 72, 48, 0.07);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --max-width: 1120px;

    --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-hand: "Kalam", cursive;
    --transition: 220ms ease;
}

body.dark-mode {
    --sage-50: #1d281e;
    --sage-100: #243226;
    --sage-200: #2d3e2e;
    --sage-300: #3d513e;
    --sage-400: #627960;
    --sage-500: #7f9b78;
    --sage-600: #91aa89;
    --sage-700: #a9bea2;
    --sage-800: #c4d2be;
    --sage-900: #dce7d8;

    --cream: #172018;
    --warm-white: #1d271e;
    --beige: #2a332a;
    --beige-dark: #3b4539;

    --text: #e0e9dc;
    --text-soft: #b4c0b2;
    --text-muted: #899689;
    --white: #f8faf5;

    --border: rgba(184, 204, 178, 0.13);
    --shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* =========================================================
GLOBAL RESET & TOUCH FEEDBACK
========================================================= */
* { 
    -webkit-tap-highlight-color: transparent; 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    min-height: 100vh;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 300ms ease, color 300ms ease;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--sage-300); color: var(--sage-900); }

/* CUSTOM TOUCH / ACTIVE STATE */
button:active, 
.button:active, 
.amount-button:active, 
.social-icon:active, 
.carousel-button:active {
    transform: scale(0.97) !important;
    background-color: var(--sage-200) !important;
    border-color: var(--sage-400) !important;
    transition: transform 100ms ease, background-color 100ms ease;
}

.button-primary:active {
    background-color: var(--sage-800) !important;
}

.clickable-card:active, 
.info-card:active, 
.link-card:active, 
.ranking-item:active {
    transform: scale(0.985);
    border-color: var(--sage-400) !important;
    background-color: var(--sage-100) !important;
    transition: transform 100ms ease, background-color 100ms ease;
}

.container { width: min(100% - 40px, var(--max-width)); margin-inline: auto; }
.section { position: relative; padding: 110px 0; }
.section-heading { max-width: 650px; margin-bottom: 55px; }
.section-kicker {
    color: var(--sage-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.section-heading h2 {
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 15px;
}
.section-heading > p:last-child { color: var(--text-soft); max-width: 560px; }
.page-decoration {
    position: fixed; z-index: -1;
    color: var(--sage-300);
    opacity: 0.5; pointer-events: none;
    font-size: 1.4rem;
}
.decoration-one { top: 24%; left: 3%; }
.decoration-two { right: 4%; top: 66%; font-size: 1.2rem; }

.site-header {
    position: sticky; top: 0; z-index: 1000; padding: 15px 0;
    background: color-mix(in srgb, var(--cream) 84%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.site-header.scrolled {
    border-color: var(--border);
    box-shadow: 0 5px 25px rgba(45, 65, 42, 0.04);
}
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--sage-500);
    box-shadow: 0 0 0 5px var(--sage-100);
}
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-link {
    position: relative; padding: 8px 12px;
    color: var(--text-soft);
    font-size: 0.88rem; font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--sage-700); background: var(--sage-100); }
.theme-toggle {
    width: 37px; height: 37px; margin-left: 7px;
    display: grid; place-items: center;
    cursor: pointer; color: var(--text);
    background: var(--sage-100);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: transform var(--transition), background var(--transition);
}

@media (hover: hover) {
    .theme-toggle:hover {
        transform: rotate(10deg);
        background: var(--sage-200);
    }
}
.theme-toggle:active { transform: rotate(10deg); }

.mobile-menu-button {
    display: none; width: 42px; height: 42px;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    background: var(--sage-100);
    border-radius: 12px; cursor: pointer;
}
.mobile-menu-button span {
    width: 19px; height: 2px;
    background: var(--text);
    border-radius: 10px;
    transition: var(--transition);
}

.hero {
    min-height: calc(100vh - 82px);
    display: flex; align-items: center;
    padding-top: 85px; padding-bottom: 100px;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute;
    width: 460px; height: 460px;
    right: -180px; top: -120px;
    border-radius: 50%;
    background: var(--sage-100);
    opacity: 0.7; z-index: -1;
}
.hero-grid {
    display: grid; grid-template-columns: 1.08fr 0.92fr;
    align-items: center; gap: 70px;
}
.tiny-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; margin-bottom: 22px;
    color: var(--sage-700); background: var(--sage-100);
    border: 1px solid var(--border); border-radius: 999px;
    font-size: 0.72rem; font-weight: 600;
}
.status-dot {
    width: 7px; height: 7px;
    background: var(--sage-500); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(120, 150, 111, 0.12);
}
.eyebrow { color: var(--sage-600); font-family: var(--font-hand); font-size: 1.35rem; margin-bottom: 10px; }
.hero h1 { max-width: 700px; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.055em; font-weight: 700; }
.hero h1 span { color: var(--sage-600); }
.hero-description { max-width: 560px; margin-top: 25px; color: var(--text-soft); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 47px; padding: 0 19px; border-radius: 14px;
    font-size: 0.86rem; font-weight: 700; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--sage-700); box-shadow: 0 8px 20px rgba(72, 99, 67, 0.16); }
.button-primary:hover { background: var(--sage-600); box-shadow: 0 12px 28px rgba(72, 99, 67, 0.22); }
.button-secondary { color: var(--text); background: var(--warm-white); border: 1px solid var(--border); }
.button-secondary:hover { background: var(--sage-100); }

.social-row { display: flex; gap: 8px; margin-top: 32px; }
.social-icon {
    width: 38px; height: 38px; display: grid; place-items: center;
    color: var(--text-soft); background: var(--warm-white);
    border: 1px solid var(--border); border-radius: 50%;
    transition: var(--transition);
}
.social-icon:hover {
    color: var(--sage-700); background: var(--sage-100);
    border-color: var(--sage-200); transform: translateY(-3px);
}
.social-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.profile-card {
    position: relative; width: min(350px, 90%);
    padding: 17px 17px 20px;
    background: var(--warm-white); border: 1px solid var(--border);
    box-shadow: var(--shadow); transform: rotate(2deg);
    border-radius: 5px; transition: transform 350ms ease;
}
.profile-card:hover { transform: rotate(0deg) translateY(-5px); }
.tape {
    position: absolute; width: 80px; height: 23px; top: -12px; left: calc(50% - 40px);
    background: rgba(207, 201, 166, 0.65); transform: rotate(-2deg); opacity: 0.75; z-index: 10;
}
.photo-carousel {
    position: relative; width: 100%; overflow: hidden;
    background: var(--sage-100); border-radius: 3px;
    touch-action: pan-y pinch-zoom; user-select: none;
}
.photo-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.photo-slide {
    min-width: 100%;
    width: 100%;
    aspect-ratio: 0.91;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--sage-200), var(--beige));
}
.photo-slide img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.photo-fallback {
    width: 100%; height: 100%; display: grid; place-items: center;
    color: var(--sage-700); font-family: var(--font-hand); font-size: 5rem;
    background: radial-gradient(circle at 50% 35%, var(--sage-300) 0 22%, transparent 22.5%), linear-gradient(145deg, var(--sage-200), var(--beige));
}
.photo-caption {
    position: absolute; right: 18px; bottom: 10px; padding: 3px 8px;
    color: var(--sage-800); background: rgba(255,255,255,0.55);
    border-radius: 6px; font-family: var(--font-hand); font-size: 0.95rem;
    transform: rotate(-4deg);
}
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.carousel-button {
    width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0;
    color: var(--sage-700); background: var(--sage-100);
    border: 1px solid var(--border); border-radius: 50%;
    cursor: pointer; transition: var(--transition);
}
.carousel-button:hover { color: #fff; background: var(--sage-700); transform: scale(1.05); }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; }
.carousel-dot {
    width: 5px; height: 5px; padding: 0; border-radius: 50%;
    background: var(--sage-300); cursor: pointer;
    transition: width 200ms ease, background 200ms ease;
}
.carousel-dot.active { width: 15px; border-radius: 999px; background: var(--sage-600); }

.profile-note { padding: 14px 7px 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.profile-note span { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.profile-note strong { color: var(--sage-700); font-family: var(--font-hand); font-size: 1rem; font-weight: 400; }
.profile-line { height: 1px; background: var(--border); }
.profile-mini { display: flex; align-items: center; gap: 8px; padding: 12px 7px 0; color: var(--text-soft); font-size: 0.75rem; }
.profile-mini span:first-child { color: var(--sage-500); }
.doodle { position: absolute; color: var(--sage-500); font-family: var(--font-hand); z-index: 2; }
.doodle-star { top: 43px; left: 9%; font-size: 2rem; transform: rotate(-12deg); }
.doodle-spark { right: 5%; bottom: 85px; font-size: 1.7rem; }
.good-things-note {
    position: absolute; bottom: 10px; right: 3%;
    color: var(--text-soft); font-family: var(--font-hand); font-size: 1rem; transform: rotate(-5deg);
}
.good-things-note span { color: var(--sage-500); }

.about-section { background: var(--sage-50); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 25px; align-items: stretch; }
.paper-card {
    position: relative; padding: 42px; background: var(--warm-white);
    border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.card-number { position: absolute; top: 20px; right: 25px; color: var(--sage-300); font-family: var(--font-hand); font-size: 1.1rem; }
.about-text { max-width: 650px; color: var(--text-soft); margin-bottom: 18px; }
.quote-box {
    position: relative; margin-top: 28px; padding: 24px 24px 24px 35px;
    background: var(--sage-100); border-radius: var(--radius-md); border-left: 3px solid var(--sage-400);
}
.quote-box p { color: var(--sage-800); font-family: var(--font-hand); font-size: 1.18rem; line-height: 1.45; }
.quote-mark { position: absolute; left: 13px; top: 11px; color: var(--sage-400); font-family: Georgia, serif; font-size: 2rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.info-card {
    min-height: 160px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
    background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.clickable-card { cursor: pointer; }
.info-icon { color: var(--sage-500); font-size: 1.3rem; }
.info-label { color: var(--text-muted); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.info-card strong { color: var(--text); font-size: 1rem; line-height: 1.35; }

.links-section { background: var(--cream); }
.links-list { max-width: 820px; display: grid; gap: 11px; }
.link-card {
    display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 15px;
    padding: 13px 17px 13px 13px; background: var(--warm-white);
    border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 5px 20px rgba(52, 72, 48, 0.025);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.link-card:hover { transform: translateX(5px); border-color: var(--sage-300); box-shadow: var(--shadow-soft); }
.link-icon {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
    color: var(--sage-700); background: var(--sage-100); font-size: 0.8rem; font-weight: 800;
}
.link-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.instagram-icon { font-size: 1.5rem; }
.tiktok-icon { font-size: 1.4rem; }
.more-icon { font-size: 0.8rem; letter-spacing: 2px; }
.link-info { min-width: 0; }
.link-info strong { display: block; color: var(--text); font-size: 0.95rem; }
.link-info span { display: block; overflow: hidden; color: var(--text-muted); font-size: 0.78rem; white-space: nowrap; text-overflow: ellipsis; }
.link-arrow { color: var(--sage-500); font-size: 1.1rem; transition: transform var(--transition); }
.link-card:hover .link-arrow { transform: translate(3px, -3px); }

.support-section { padding-top: 100px; padding-bottom: 120px; background: var(--cream); }
.support-card {
    position: relative; min-height: 290px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 50px; background: var(--sage-100); border: 1px solid var(--sage-200); border-radius: var(--radius-xl);
}
.support-content { position: relative; z-index: 2; max-width: 650px; text-align: center; }
.support-content h2 { margin-bottom: 12px; color: var(--sage-800); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; }
.support-content h2 span { color: var(--sage-600); font-size: 0.48em; font-weight: 500; }
.support-content > p:not(.section-kicker) { max-width: 500px; margin: 0 auto 24px; color: var(--text-soft); font-size: 0.9rem; }
.button-support { color: #fff; background: var(--sage-700); }
.button-support:hover { background: var(--sage-600); }
.support-cup { position: absolute; right: 7%; bottom: -20px; color: var(--sage-300); font-size: 7rem; opacity: 0.6; transform: rotate(-8deg); }
.support-decoration { position: absolute; inset: 0; pointer-events: none; }
.support-decoration span { position: absolute; color: var(--sage-400); opacity: 0.65; font-family: var(--font-hand); }
.support-decoration span:nth-child(1) { top: 30px; left: 12%; font-size: 1.8rem; }
.support-decoration span:nth-child(2) { right: 18%; top: 35px; font-size: 1.4rem; }
.support-decoration span:nth-child(3) { left: 19%; bottom: 35px; font-size: 1.5rem; }

.support-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 950px) {
    .support-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

.ranking-card {
    background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
}
.ranking-header h3 { font-size: 1.4rem; color: var(--sage-800); margin-bottom: 15px; text-align: center; }
.ranking-tabs { display: flex; background: var(--sage-50); border: 1px solid var(--border); border-radius: 12px; padding: 5px; margin-bottom: 20px; }
.rank-tab {
    flex: 1; background: transparent; border: none; padding: 8px 0; font-size: 0.85rem;
    font-weight: 700; color: var(--text-soft); border-radius: 8px; cursor: pointer; transition: var(--transition);
}
.rank-tab.active { background: var(--sage-700); color: #fff; box-shadow: var(--shadow-soft); }
.ranking-body { flex: 1; overflow-y: auto; max-height: 300px; padding-right: 5px; }
.ranking-body::-webkit-scrollbar { width: 6px; }
.ranking-body::-webkit-scrollbar-track { background: transparent; }
.ranking-body::-webkit-scrollbar-thumb { background: var(--sage-200); border-radius: 10px; }
.ranking-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ranking-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 15px;
    background: var(--sage-50); border: 1px solid var(--border); border-radius: 12px;
    transition: var(--transition);
}
.ranking-item:hover { transform: translateX(4px); border-color: var(--sage-300); }
.rank-medal { font-size: 1.3rem; width: 30px; text-align: center; font-weight: 700; color: var(--sage-600); }
.rank-info { flex: 1; }
.rank-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.rank-tx { font-size: 0.7rem; color: var(--text-muted); }
.rank-amount {
    font-weight: 700; color: var(--sage-700); font-size: 0.9rem;
    background: var(--sage-100); padding: 4px 10px; border-radius: 8px;
}
.ranking-loading, .ranking-empty { text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.85rem; }

.footer { padding: 30px 0; border-top: 1px solid var(--border); background: var(--warm-white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand p { color: var(--text-muted); font-family: var(--font-hand); font-size: 0.9rem; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--text-muted); font-size: 0.68rem; text-align: right; }
.footer-links-tiny { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; margin-bottom: 2px; }
.footer-links-tiny a { color: var(--text-soft); transition: color var(--transition); }
.footer-links-tiny a:hover { color: var(--sage-700); text-decoration: underline; }

.modal-overlay {
    position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
    padding: 20px; background: rgba(29, 42, 31, 0.48); backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px); opacity: 0; visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content {
    position: relative; width: min(100%, 430px); max-height: 90vh; overflow-y: auto;
    padding: 36px; background: var(--warm-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(25, 40, 27, 0.2);
    text-align: center; transform: translateY(20px) scale(0.97); transition: transform 220ms ease;
}
.modal-overlay.open .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 14px; right: 15px; width: 34px; height: 34px;
    display: grid; place-items: center; color: var(--text-soft); background: var(--sage-100);
    border-radius: 50%; cursor: pointer; font-size: 1.35rem; line-height: 1; transition: var(--transition);
}
.modal-close:hover { color: var(--text); background: var(--sage-200); transform: rotate(90deg); }

.modal-cup, .modal-icon {
    width: 62px; height: 62px; display: grid; place-items: center;
    margin: 0 auto 17px; background: var(--sage-100); border-radius: 50%;
    font-size: 1.8rem; color: var(--sage-700);
}
.modal-content h2 { margin-bottom: 8px; color: var(--text); font-size: 1.9rem; letter-spacing: -0.04em; }
.modal-description { color: var(--text-soft); font-size: 0.82rem; }

.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 23px; }
.amount-button {
    min-height: 48px; color: var(--sage-700); background: var(--sage-50);
    border: 1px solid var(--border); border-radius: 12px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.amount-button:hover, .amount-button.selected { color: #fff; background: var(--sage-700); border-color: var(--sage-700); }
.custom-amount { margin-top: 18px; text-align: left; }
.custom-amount label { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 0.7rem; font-weight: 600; }
.amount-input-wrap { display: flex; align-items: center; background: var(--sage-50); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.amount-input-wrap span { padding-left: 13px; padding-right: 6px; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; }
.amount-input-wrap input { width: 100%; min-width: 0; padding: 13px 12px 13px 2px; color: var(--text); background: transparent; border: 0; outline: 0; }
.amount-input-wrap:focus-within { border-color: var(--sage-400); }
.selected-amount { margin-top: 14px; padding: 10px; color: var(--sage-700); background: var(--sage-100); border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.modal-support-button { width: 100%; min-height: 48px; margin-top: 11px; color: #fff; background: var(--sage-700); border-radius: 12px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.modal-support-button:not(:disabled):hover { background: var(--sage-600); transform: translateY(-2px); }
.modal-support-button:disabled { opacity: 0.45; cursor: not-allowed; }
.modal-note { margin-top: 13px; color: var(--text-muted); font-size: 0.65rem; line-height: 1.5; }

.age-realtime-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.age-box {
    background: var(--sage-50); border: 1px solid var(--border); padding: 15px 5px;
    border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.age-box span { font-size: 1.4rem; font-weight: 700; color: var(--sage-700); line-height: 1; margin-bottom: 5px; }
.age-box small { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.toast {
    position: fixed; z-index: 4000; left: 50%; bottom: 25px; padding: 11px 16px;
    color: #fff; background: var(--sage-800); border-radius: 12px;
    box-shadow: var(--shadow); font-size: 0.75rem; font-weight: 600; pointer-events: none;
    opacity: 0; transform: translate(-50%, 20px); transition: var(--transition);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--sage-400); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .photo-track { transition: none !important; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 55px; }
    .hero-content { max-width: 700px; }
    .hero-visual { min-height: 480px; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 28px, var(--max-width)); }
    .section { padding: 80px 0; }
    .site-header { padding: 10px 0; }
    .navbar { position: relative; }
    .mobile-menu-button { display: flex; }
    
    .nav-menu {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: flex;
        align-items: stretch; flex-direction: column; gap: 6px; padding: 14px;
        background: var(--warm-white); border: 1px solid var(--border); border-radius: 17px;
        box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition);
    }
    .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-link { padding: 12px; border-radius: 10px; }
    
    .theme-toggle { 
        width: 100% !important; 
        height: 44px !important; 
        margin: 0 !important; 
        border-radius: 10px !important; 
        display: flex !important; 
        justify-content: center !important; 
    }
    .nav-menu .button-primary {
        width: 100% !important;
        margin-left: 0 !important;
        min-height: 44px;
        border-radius: 10px !important;
    }

    .hero { min-height: auto; padding-top: 65px; }
    .hero-grid { gap: 35px; }
    .hero h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
    .hero-description { font-size: 0.9rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .social-row { justify-content: flex-start; }
    .hero-visual { min-height: 445px; }
    .profile-card { width: min(320px, 90%); }
    .doodle-star { left: 1%; }
    .doodle-spark { right: 1%; }
    .good-things-note { right: 0; bottom: 3px; }
    .section-heading { margin-bottom: 35px; }
    .paper-card { padding: 27px; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .info-card { min-height: 145px; padding: 18px; }
    .link-card { grid-template-columns: 48px 1fr auto; }
    .support-card { min-height: 350px; padding: 40px 25px; }
    .support-cup { right: 2%; bottom: -10px; font-size: 5rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
    .footer-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-right { align-items: flex-start; text-align: left; }
    .modal-content { padding: 30px 20px 22px; }
}

@media (max-width: 390px) {
    .container { width: min(100% - 22px, var(--max-width)); }
    .hero h1 { font-size: 2.35rem; }
    .tiny-label { font-size: 0.63rem; }
    .social-icon { width: 35px; height: 35px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-card { min-height: 120px; }
    .link-card { grid-template-columns: 43px 1fr auto; gap: 11px; padding: 11px; }
    .link-icon { width: 43px; height: 43px; }
    .link-info span { font-size: 0.7rem; }
    .amount-grid { grid-template-columns: 1fr 1fr; }
    .age-realtime-grid { grid-template-columns: repeat(2, 1fr); }
}
