/*
    styles.css
    Clean, responsive CSS extracted and organized from the provided single-file HTML.
    How to customize:
    - Update CSS variables in :root to change theme colors and spacing.
    - Replace placeholder images in assets/img/ keeping the same filenames for zero-code swaps.
    - Section blocks mirror index.html structure. Look for EDIT comments in HTML.
*/

:root {
    /* Brand Colors */
    --color-brand-blue-900: #1e3a8a;
    --color-brand-blue-800: #1e40af;
    --color-brand-blue-700: #2563eb;
    --color-brand-blue-600: #1d4ed8;

    --color-brand-red-700: #b91c1c;
    --color-brand-red-600: #dc2626;
    --color-brand-red-800: #991b1b;

    --color-green-700: #166534;
    --color-green-600: #16a34a;

    --color-gray-900: #111827;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-gray-600: #4b5563;
    --color-gray-500: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-gray-200: #e5e7eb;
    --color-gray-100: #f3f4f6;
    --color-gray-050: #f9fafb;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --container-w: 1200px;
    --section-pad-block: 6rem;
}

/* Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

/* Base */
body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
}

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.paragraph { font-size: 1.125rem; color: #e5e7eb; margin-bottom: 1.25rem; }

.section { position: relative; z-index: 1; padding: var(--section-pad-block) 0; }
.section--bg1 { background: linear-gradient(135deg, #0b1020 0%, #000000 100%); }
.section--bg2 { background: linear-gradient(135deg, #111827 0%, #0b1020 100%); }
.section--bg3 { background: linear-gradient(135deg, #0b1020 0%, #111827 100%); }

.section__title { font-size: 3rem; font-weight: 900; color: #ffffff; margin-bottom: 2rem; letter-spacing: -0.02em; }
.section__subtitle { font-size: 1.25rem; color: #d1d5db; margin-bottom: 3rem; font-weight: 500; }

/* Hero background layers */
.hero__bg {
    position: fixed; inset: 0; z-index: -2; background-size: cover; background-position: center; will-change: transform;
}
.hero__overlay {
    position: fixed; inset: 0; z-index: -1; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(0,0,0,0.75); backdrop-filter: blur(10px); border-bottom: 2px solid #111827; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav__brandName { font-size: 1.5rem; font-weight: 900; color: #ffffff; }
.nav__ticker { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--color-brand-red-800); padding: 0.4rem 0.6rem; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.95rem; border: 1px solid #fca5a5; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); }
.nav__links { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.nav__link { color: #93c5fd; text-decoration: none; font-weight: 600; padding: 0.5rem 0.75rem; border-radius: 6px; transition: all 0.2s ease; }
.nav__link:focus, .nav__link:hover { color: var(--color-brand-red-600); background: rgba(255,255,255,0.08); }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2rem; font-size: 1.125rem; font-weight: 800; border-radius: var(--radius-lg); text-decoration: none; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-brand-red-600), var(--color-brand-red-700)); color: #fff; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220,38,38,0.35); }
.btn--outline { background: #fff; color: var(--color-brand-blue-700); border: 3px solid var(--color-brand-blue-700); }
.btn--outline:hover { background: #eff6ff; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,99,235,0.25); }
.btn--outline-red { background: #fff; color: var(--color-brand-red-600); border: 3px solid var(--color-brand-red-600); }
.btn--outline-red:hover { background: #fef2f2; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220,38,38,0.25); }
.btn--accent { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: var(--color-gray-900); box-shadow: 0 4px 15px rgba(251,191,36,0.3); }
.btn--neutral { background: #fff; color: var(--color-gray-700); border: 2px solid var(--color-gray-300); border-radius: var(--radius-md); font-weight: 700; box-shadow: var(--shadow-sm); }
.btn--blue { background: linear-gradient(135deg, var(--color-brand-blue-700), var(--color-brand-blue-600)); color: #fff; }
.btn--red { background: linear-gradient(135deg, var(--color-brand-red-600), var(--color-brand-red-700)); color: #fff; }

.copy-btn { background: linear-gradient(135deg, var(--color-brand-blue-700), var(--color-brand-blue-600)); color: #fff; }

/* Hero */
.hero { text-align: center; }
.hero__title { font-size: clamp(2.25rem, 6vw, 5rem); font-weight: 900; color: #ffffff; margin-bottom: 1.25rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.35); }
.hero__stars { display: flex; justify-content: center; gap: 0.75rem; font-size: 1.75rem; margin-bottom: 1rem; color: var(--color-gray-400); }
.hero__ticker { font-size: clamp(1.5rem, 4vw, 3rem); color: #1e40af; font-weight: 900; margin-bottom: 0.75rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.06); }
.hero__subtitle { font-size: 1.25rem; color: #e5e7eb; margin: 0 auto 2rem; max-width: 52ch; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-icon-img { width: 34px; height: 34px; object-fit: contain; display: block; }
.btn--black-fill { background: #000000; }
.btn--black-fill.btn--outline { border-color: var(--color-brand-blue-700); }
.btn--black-fill.btn--outline-red { border-color: var(--color-brand-red-600); }

/* Cards */
.card { background: rgba(17,17,17,0.95); backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(254, 226, 226, 0.18); }

.promise-box { background: linear-gradient(135deg, #fef2f2, #fee2e2); border: 2px solid #fecaca; border-radius: var(--radius-md); padding: 1.5rem; margin-top: 1.25rem; text-align: center; }
.promise-box__title { color: var(--color-brand-red-800); font-weight: 900; font-size: 1.25rem; margin-bottom: 0.5rem; }
.promise-box__text { color: var(--color-brand-red-700); font-weight: 600; }

/* Memorial */
.memorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.memorial-card { background: rgba(17,17,17,0.98); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.memorial-card:hover { transform: translateY(-6px); }
.memorial-card img { width: 100%; height: 240px; object-fit: cover; }
.memorial-card__content { padding: 1.5rem; }

.memorial-tribute { background: linear-gradient(135deg, var(--color-brand-blue-900), var(--color-brand-blue-800)); color: #fff; border-radius: var(--radius-lg); padding: 2rem; margin-top: 2rem; box-shadow: 0 15px 35px rgba(30,58,138,0.3); }
.memorial-tribute__title { font-size: 2rem; margin-bottom: 0.75rem; }
.memorial-tribute__text { color: #dbeafe; }

.memorial-video { margin-top: 2.5rem; }
.memorial-video__card { background: rgba(17,17,17,0.96); backdrop-filter: blur(10px); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg); border: 2px solid rgba(30,58,138,0.18); }
.memorial-video__title { color: #ffffff; font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; text-align: center; }
.memorial-video__frame { position: relative; max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.memorial-video__el { width: 100%; height: auto; display: block; }
.memorial-video__caption { text-align: center; color: #e5e7eb; font-size: 0.95rem; margin-top: 0.75rem; font-style: italic; }

/* Donation */
.donation-tracker__inner { background: linear-gradient(135deg, var(--color-brand-blue-900), var(--color-brand-blue-800)); color: #fff; border-radius: var(--radius-xl); padding: 2rem; box-shadow: 0 20px 40px rgba(30,58,138,0.28); text-align: center; }
.donation-tracker__heading { color: #fff; font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.donation-tracker__total { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; color: #fbbf24; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); margin-bottom: 0.5rem; }
.donation-tracker__subtext { color: #dbeafe; margin-bottom: 1.5rem; }

.donation-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.donation-breakdown__card { background: rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1rem; }
.donation-breakdown__emoji { font-size: 1.5rem; margin-bottom: 0.25rem; }
.donation-breakdown__title { color: #fff; font-weight: 800; margin-bottom: 0.25rem; }
.donation-breakdown__value { font-size: 1.75rem; font-weight: 900; color: #fbbf24; }
.donation-breakdown__meta { color: #dbeafe; font-size: 0.875rem; }

.donation-tracker__notice { background: rgba(34,197,94,0.18); border: 2px solid rgba(34,197,94,0.45); border-radius: var(--radius-md); padding: 0.75rem 1rem; color: #bbf7d0; font-weight: 600; margin: 1rem 0 1.25rem; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; z-index: 1000; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); }
.modal__dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90vw; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: var(--radius-xl); padding: 1.25rem; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal__title { color: var(--color-brand-blue-900); font-size: 1.5rem; font-weight: 900; }
.modal__close { background: var(--color-brand-red-600); color: #fff; border: none; border-radius: 999px; width: 40px; height: 40px; font-size: 1.25rem; cursor: pointer; }
.receipt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.receipt { border: 2px solid var(--color-gray-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.receipt__header { background: var(--color-gray-100); padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-gray-200); }
.receipt__title { color: var(--color-gray-800); font-weight: 800; margin: 0; }
.receipt__meta { color: var(--color-gray-600); font-size: 0.9rem; margin: 0.25rem 0 0; }

/* Charity cards */
.charity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.charity-card { background: rgba(15,23,42,0.9); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); transition: transform .2s ease; border: 1px solid rgba(148,163,184,0.14); }
.charity-card:hover { transform: translateY(-4px); }
.charity-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.charity-card__emoji { font-size: 1.5rem; }
.charity-card__title { font-size: 1.25rem; font-weight: 900; color: #fca5a5; }
.charity-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.charity-card__note { font-size: 0.9rem; color: #9ca3af; margin-top: 0.75rem; }
/* Charity card inner text/buttons on dark */
.charity-card .paragraph { color: #cbd5e1; }
.charity-card .btn--neutral { background: transparent; color: #e5e7eb; border: 2px solid #64748b; }
.charity-card .btn--neutral:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* Badges */
.badge { display: inline-block; padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 900; }
.badge--red { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--color-brand-red-800); border: 1px solid #fca5a5; }
.badge--blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--color-brand-blue-900); border: 1px solid #93c5fd; }
.badge--green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: var(--color-green-700); border: 1px solid #86efac; }

/* Impact card */
.impact-card__content { text-align: center; }
.impact-card { margin-top: 2.5rem; }
.impact-card__title { color: var(--color-green-700); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.impact-card__box { background: linear-gradient(135deg, #f9fafb, #f3f4f6); border-radius: var(--radius-md); padding: 1rem; border: 2px solid var(--color-gray-200); margin: 1rem 0; text-align: left; }
.impact-card__boxTitle { font-weight: 800; color: var(--color-gray-800); margin-bottom: 0.5rem; }
.impact-card__list { color: var(--color-gray-600); }
.impact-card__badge { font-size: 1rem; padding: 0.75rem 1.25rem; }

/* Tokenomics */
.tokenomics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.tokenomics-card { background: rgba(17,17,17,0.95); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-md); }
.tokenomics-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tokenomics-card__value { font-size: 2rem; font-weight: 900; color: #ffffff; margin-bottom: 0.25rem; }
.tokenomics-card__value--supply { font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.1; word-break: break-word; overflow-wrap: anywhere; }
.tokenomics-card__unit { color: var(--color-brand-red-600); font-weight: 800; margin-bottom: 0.25rem; }
.tokenomics-card__label { color: #e5e7eb; font-weight: 600; }

.ca-card__title { margin-bottom: 0.75rem; text-align: center; color: #ffffff; }
.ca-box { background: #111827; border-radius: var(--radius-md); padding: 1rem; display: flex; align-items: center; gap: 0.75rem; border: 2px solid #1f2937; }
.ca-box code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9rem; color: #ffffff; word-break: break-all; flex: 1; font-weight: 600; }
.ca-card__note { font-size: 0.9rem; color: #e5e7eb; text-align: center; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.step-card { background: rgba(255,255,255,0.98); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-md); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-card__number { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--color-brand-red-600); width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; margin: 0 auto 0.75rem; border: 3px solid #fca5a5; }
.step-card__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--color-brand-blue-700); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; margin: 0 auto 0.75rem; border: 2px solid #93c5fd; }
.step-card__title { color: var(--color-brand-blue-900); margin-bottom: 0.5rem; font-size: 1.25rem; }

/* Community */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.community-card { background: rgba(17,17,17,0.95); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-md); }
.community-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.community-card__icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 0.75rem; border: 3px solid; }
.community-card__icon--blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--color-brand-blue-700); border-color: #93c5fd; }
.community-card__icon--red { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--color-brand-red-600); border-color: #fca5a5; }
.community-card__icon .icon-img { width: 70%; height: 70%; object-fit: contain; border-radius: 6px; display: block; }
.community-card__title { color: #ffffff; margin-bottom: 0.75rem; font-size: 1.5rem; }
.community-card__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: linear-gradient(135deg, var(--color-brand-blue-900), var(--color-brand-blue-800)); color: #fff; padding: 3rem 0; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer__brandName { font-size: 2rem; font-weight: 900; color: #fff; }
.footer__ticker { background: linear-gradient(135deg, var(--color-brand-red-600), var(--color-brand-red-700)); color: #fff; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); font-weight: 800; font-size: 1rem; }
.footer__links { display: flex; justify-content: center; gap: 1rem; margin: 1rem 0 1.5rem; }
.footer__links a { color: #fff; text-decoration: none; font-size: 1.25rem; padding: 0.6rem; border-radius: 50%; background: rgba(255,255,255,0.1); transition: transform .2s ease, background .2s ease; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.footer__links a:hover { transform: translateY(-3px); background: rgba(255,255,255,0.18); }
.footer__links .footer-icon-img { width: 70%; height: 70%; object-fit: contain; display: block; border-radius: 6px; }
.disclaimer { background: rgba(30,58,138,0.28); border-radius: var(--radius-md); padding: 1rem; border: 1px solid rgba(147,197,253,0.28); }
.disclaimer p { font-size: 0.95rem; color: #dbeafe; }
.footer__meta { text-align: center; }
.footer__contract { font-size: 0.95rem; color: #93c5fd; word-break: break-all; margin: 0.75rem 0; }
.footer__copyright { font-size: 0.85rem; color: #60a5fa; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .nav__links { gap: 1rem; }
}

@media (max-width: 768px) {
    .nav__toggle { display: inline-block; }
    .nav__links { position: absolute; top: 100%; right: 20px; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: 0.5rem; box-shadow: var(--shadow-md); display: none; flex-direction: column; min-width: 220px; }
    .nav__links.is-open { display: flex; }
    .nav__link { padding: 0.6rem 0.75rem; }

    .card { padding: 1.25rem; }
    .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .section__title { font-size: 2rem; }
    .btn { padding: 0.875rem 1.25rem; font-size: 1rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}


