@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --ink: #0b1117;
    --ink-2: #101c28;
    --mist: #eef3f2;
    --fog: #cbd5dc;
    --slate: #7a8b9b;
    --accent: #42d4b5;
    --accent-2: #ffb35c;
    --accent-3: #ffd56a;
    --danger: #ff6b6b;
    --radius: 20px;
    --shadow: 0 30px 60px rgba(11, 17, 23, 0.22);
    --font-display: 'Fraunces', serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--mist);
    background: radial-gradient(circle at 10% 20%, rgba(66, 212, 181, 0.18), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(255, 179, 92, 0.25), transparent 40%),
        linear-gradient(160deg, #0b1117, #0f202e 55%, #162b36);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: -20% -20% auto auto;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 213, 106, 0.28), transparent 65%);
    z-index: -1;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px 8vw 12px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(11, 17, 23, 0.8), rgba(11, 17, 23, 0.2));
    z-index: 10;
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 600;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark {
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    font-size: 26px;
}

.brand-sub {
    color: var(--fog);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.brand-logo {
    width: 120px;
    margin-top: 0;
}

.site-nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    font-weight: 500;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, background 0.3s ease;
}

.site-nav a:hover {
    transform: translateY(-2px);
    background: rgba(66, 212, 181, 0.2);
}

.currency-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 999px;
}

.currency-switch label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fog);
}

.currency-switch select {
    background: transparent;
    border: none;
    color: var(--mist);
    font-family: inherit;
}

.currency-switch button {
    border: none;
    background: rgba(66, 212, 181, 0.2);
    color: var(--mist);
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.hero {
    padding: 80px 8vw 60px;
    background-size: cover;
    background-position: center;
}

.hero--compact {
    padding: 70px 8vw 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    margin: 10px 0 20px;
}

.lead {
    color: var(--fog);
    font-size: 18px;
    line-height: 1.6;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--accent-2);
    font-size: 12px;
}

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

.hero-panel {
    background: rgba(15, 28, 40, 0.82);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.stat span {
    font-family: var(--font-display);
    font-size: 32px;
}

.stat p {
    margin: 6px 0 0;
    color: var(--fog);
}

.site-main {
    padding: 30px 8vw 80px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.section-title p {
    color: var(--fog);
}

.grid-section {
    display: grid;
    gap: 28px;
    margin-bottom: 70px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    width: 100%;
    grid-auto-flow: row;
}

.product-card {
    background: rgba(15, 28, 40, 0.8);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
    min-height: 280px;
    min-width: 0;
}

.product-card__visual {
    height: 140px;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(66, 212, 181, 0.3), rgba(255, 179, 92, 0.35));
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    font-size: 20px;
    margin: 0;
}

.product-card p {
    color: var(--fog);
}

.product-card a {
    color: var(--accent);
    font-weight: 600;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price {
    font-family: var(--font-display);
    font-size: 22px;
}

.price-note {
    color: var(--slate);
    font-size: 12px;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: var(--ink);
    box-shadow: 0 16px 30px rgba(66, 212, 181, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
}

.impact-section {
    background: rgba(12, 20, 29, 0.8);
    border-radius: var(--radius);
    padding: 36px;
    display: grid;
    gap: 24px;
    margin-bottom: 70px;
    box-shadow: var(--shadow);
}

.impact-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.impact-list h4 {
    margin-bottom: 6px;
}

.cta-band {
    background: linear-gradient(120deg, rgba(66, 212, 181, 0.3), rgba(255, 179, 92, 0.35));
    padding: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.notice {
    background: rgba(255, 179, 92, 0.12);
    border: 1px solid rgba(255, 179, 92, 0.4);
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--accent-2);
    margin: 14px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.product-detail__media {
    height: 320px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(66, 212, 181, 0.3), rgba(255, 179, 92, 0.35));
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.spec-section {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.spec-block {
    background: rgba(15, 28, 40, 0.82);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.spec-block h3 {
    margin-top: 0;
    font-family: var(--font-display);
}

.spec-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
}

.spec-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 12px;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.spec-table th {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    color: var(--fog);
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.prose p {
    margin: 0 0 14px;
    color: var(--fog);
    line-height: 1.7;
}

.ticket-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.ticket-card,
.ticket-aside {
    background: rgba(15, 28, 40, 0.82);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ticket-aside__panel {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
}

.order-summary {
    padding: 16px;
    background: rgba(66, 212, 181, 0.12);
    border-radius: 14px;
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-grid label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    color: var(--fog);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(9, 15, 22, 0.8);
    color: var(--mist);
    font-family: inherit;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-error {
    color: var(--danger);
    font-size: 12px;
}

.site-footer {
    margin-top: auto;
    background: rgba(7, 12, 18, 0.9);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    padding: 40px 8vw;
    color: var(--fog);
}

.site-footer h4 {
    color: var(--mist);
    margin-bottom: 8px;
}

.site-footer a {
    display: block;
    margin-bottom: 6px;
    color: var(--fog);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Admin */
.admin-body {
    background: radial-gradient(circle at 20% 20%, rgba(66, 212, 181, 0.2), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 213, 106, 0.2), transparent 40%),
        linear-gradient(160deg, #0a1219, #101c27 60%, #16232e);
    color: var(--mist);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: rgba(10, 15, 22, 0.95);
    padding: 32px 26px;
    display: grid;
    gap: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.admin-brand h2 {
    margin: 0;
    font-size: 20px;
}

.admin-brand p {
    margin: 4px 0 0;
    color: var(--fog);
    font-size: 12px;
}

.admin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(66, 212, 181, 0.6);
}

.admin-nav {
    display: grid;
    gap: 12px;
}

.admin-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--fog);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.admin-nav a:hover {
    transform: translateX(4px);
    background: rgba(66, 212, 181, 0.15);
    color: var(--mist);
}

.admin-nav a.is-active {
    background: linear-gradient(120deg, rgba(66, 212, 181, 0.7), rgba(255, 179, 92, 0.6));
    color: #091219;
}

.admin-logout {
    margin-top: auto;
}

.admin-main {
    padding: 38px 40px 70px;
    display: grid;
    gap: 26px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.admin-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    color: var(--accent-2);
    margin-bottom: 8px;
}

.admin-panel {
    background: rgba(12, 20, 29, 0.82);
    padding: 26px;
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(8, 12, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-stack {
    display: grid;
    gap: 20px;
}

.form-stack {
    display: grid;
    gap: 16px;
}

.inline-form {
    display: inline-block;
    margin-bottom: 12px;
}

.help-text {
    display: block;
    font-size: 12px;
    color: var(--slate);
}

.admin-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-card {
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card a {
    color: var(--accent);
    font-weight: 600;
}

.admin-media {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 16px 0 10px;
}

.thumb {
    height: 140px;
    border-radius: 14px;
    margin: 12px 0;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
}

.badge--open {
    background: rgba(66, 212, 181, 0.2);
    color: var(--accent);
}

.badge--closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--fog);
}

.admin-login {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.login-card {
    background: rgba(12, 20, 29, 0.9);
    padding: 38px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(8, 12, 18, 0.55);
    width: min(420px, 90vw);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.login-mark span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 16px rgba(66, 212, 181, 0.6);
}

@media (max-width: 960px) {
    .site-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .site-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .currency-switch {
        justify-content: space-between;
    }

    .ticket-section {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none;
    }
}
