/* Energy-like UI (unique structure) */
:root {
    /* Light theme (close to provided screenshots) */
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-2: #f7f8fa;
    --panel: rgba(0, 0, 0, 0.04);
    --panel-2: rgba(0, 0, 0, 0.07);
    --text: rgba(10, 12, 16, 0.92);
    --muted: rgba(10, 12, 16, 0.62);
    --line: rgba(10, 12, 16, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --accent: #ffd54a;
    --accent-2: #ffec95;
    --danger: #ff3d3d;
    --focus: rgba(255, 213, 74, 0.55);
    --cta-green: #2bf25a;
    /* Space reserved for fixed bottom dock navigation */
    --dock-offset: calc(78px + env(safe-area-inset-bottom, 0px));
}

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

html {
    color-scheme: light;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans",
        "Liberation Sans", sans-serif;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* Layout */
.site-main {
    padding-top: 64px; /* compact header */
    padding-bottom: var(--dock-offset); /* bottom nav */
}

.page-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 18px 16px;
}

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

/* Allow grid children to shrink (prevents page-wide horizontal overflow on mobile) */
.stack > * {
    min-width: 0;
}

/* Header */
.site-hdr {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hdr-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.hdr-inner > * {
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    width: 120px;
    height: auto;
    display: block;
}

/* Mobile navigation row under header (optional) */
.hdr-nav-row {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 6px 16px 10px;
    display: none; /* keep off by default for clean mobile UX */
}

.hdr-nav-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hdr-nav-scroll::-webkit-scrollbar {
    display: none;
}

.hdr-chip {
    white-space: nowrap;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
}

.hdr-chip.is-active {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
}

.hdr-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.hdr-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: wrap;
}

.hdr-burger {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
    -webkit-tap-highlight-color: transparent;
}

.hdr-burger:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
}

.hdr-burger:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.hdr-burger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.hdr-burger-lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.site-hdr.is-nav-open .hdr-burger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-hdr.is-nav-open .hdr-burger-lines span:nth-child(2) {
    opacity: 0;
}

.site-hdr.is-nav-open .hdr-burger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hdr-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.site-hdr.is-nav-open .hdr-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hdr-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 18px 24px;
    box-sizing: border-box;
    background: rgba(14, 16, 20, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 200ms ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.site-hdr.is-nav-open .hdr-nav-panel {
    transform: translateX(0);
    visibility: visible;
}

.hdr-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hdr-nav-link {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid transparent;
    transition: background 120ms ease, border-color 120ms ease;
}

.hdr-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.hdr-nav-link.is-active {
    background: rgba(255, 213, 74, 0.16);
    border-color: rgba(255, 213, 74, 0.35);
    color: rgba(255, 255, 255, 0.96);
}

body.is-hdr-nav-open {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 12, 16, 0.18);
    background: var(--surface-2);
}

.btn:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.btn.is-primary {
    background: linear-gradient(180deg, var(--accent), #ffbf00);
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.88);
}

.btn.is-quiet {
    background: var(--surface-2);
}

.btn.is-ghost {
    background: transparent;
}

/* Header-specific button styling (dark header like screenshots) */
.site-hdr .btn {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
}

.site-hdr .btn:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.14);
}

.site-hdr .btn.is-primary {
    background: linear-gradient(180deg, #ffb100, #ff7a00);
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.88);
}

/* Hero */
.hero {
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 8px;
}

.hero-card {
    width: min(1180px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    overflow: clip;
    border: 1px solid rgba(10, 12, 16, 0.10);
    background: var(--surface);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.14);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.hero-copy {
    position: relative;
    padding: 14px;
    display: grid;
    gap: 10px;
    align-content: end;
    min-height: 170px;
}

.hero-title {
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.80);
    font-size: 12px;
    max-width: 70ch;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
    z-index: 0;
}

.hero-copy {
    z-index: 1;
}

/* Slot strips */
.strip {
    padding-top: 8px;
}

.strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.strip-title {
    font-size: 18px;
    letter-spacing: 0.3px;
    font-weight: 900;
}

.strip-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
}

.arrow {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    color: var(--text);
}

.strip-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 148px;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.strip-rail::-webkit-scrollbar {
    display: none;
}

.tile {
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: clip;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.tile-media {
    position: relative;
    /* Slot previews are 275x385 => 5/7 (portrait) */
    aspect-ratio: 5 / 7;
    overflow: clip;
}

.tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

.tile-body {
    padding: 10px 10px 12px;
    display: grid;
    gap: 8px;
}

.tile-name {
    font-weight: 900;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.tile-cta {
    display: inline-flex;
    width: 100%;
}

.tile-cta .btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
}

/* Slot CTA hover: light purple like hero banner */
@media (hover: hover) and (pointer: fine) {
    .tile-cta .btn:hover {
        background: linear-gradient(180deg, rgba(84, 45, 255, 0.18), rgba(84, 45, 255, 0.12));
        border-color: rgba(84, 45, 255, 0.28);
        color: rgba(10, 12, 16, 0.92);
    }
}

/* Text content (rendered from JSON) */
.text-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}

.error-404-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.error-404-code {
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    font-size: clamp(56px, 10vw, 96px);
    margin-bottom: 8px;
    background: linear-gradient(180deg, var(--accent), #ffbf00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-404-title {
    margin-bottom: 10px;
}

.error-404-desc {
    color: rgba(10, 12, 16, 0.72);
    max-width: 66ch;
    margin: 0 auto;
}

.error-404-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.text-content h1 {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.text-content h2 {
    font-size: 20px;
    margin: 22px 0 10px;
}

.text-content h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    color: rgba(10, 12, 16, 0.88);
}

.text-content p {
    margin: 10px 0;
    color: rgba(10, 12, 16, 0.82);
}

.text-content a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.text-content img {
    margin: 14px 0;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.text-content blockquote {
    margin: 14px 0;
    padding: 14px 14px;
    border-left: 3px solid rgba(255, 213, 74, 0.55);
    background: var(--surface-2);
    border-radius: 12px;
    color: rgba(10, 12, 16, 0.82);
}

.text-content ul,
.text-content ol {
    margin: 12px 0 12px 18px;
    color: rgba(10, 12, 16, 0.82);
}

.text-content li {
    margin: 6px 0;
}

/* Tables: make them scroll on mobile (JSON tables) */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    margin: 14px 0;
}

.text-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px; /* enables horizontal scroll on small screens */
}

.text-content th,
.text-content td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(10, 12, 16, 0.10);
    text-align: left;
    vertical-align: top;
    color: rgba(10, 12, 16, 0.84);
}

.text-content th {
    background: var(--surface-2);
    color: rgba(10, 12, 16, 0.92);
    font-weight: 900;
}

/* Breadcrumbs */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    padding: 8px 2px 4px;
}

.crumbs a {
    text-decoration: none;
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--text);
}

/* Payments */
.pay-panel {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 16px;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.pay-card {
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 12px;
    display: grid;
    gap: 8px;
    place-items: center;
    text-align: center;
}

.pay-card img {
    width: 64px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.pay-name {
    font-size: 12px;
    font-weight: 900;
    color: rgba(10, 12, 16, 0.82);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    /* Prevent fixed bottom dock from covering footer (copyright/disclaimer) */
    padding: 22px 0 calc(16px + var(--dock-offset));
}

.page-404 .site-footer {
    padding: 12px 0 calc(12px + var(--dock-offset));
}

.page-404 .site-footer .ftr-grid {
    display: none;
}

.page-404 .site-footer .safe-row {
    display: none;
}

.page-404 .site-footer .ftr-social-row {
    display: none;
}

.ftr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ftr-title {
    font-weight: 900;
    color: rgba(10, 12, 16, 0.92);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.ftr-links {
    list-style: none;
    display: grid;
    gap: 8px;
}

.ftr-links a {
    color: rgba(10, 12, 16, 0.72);
    text-decoration: none;
}

.ftr-links a:hover {
    color: rgba(10, 12, 16, 0.92);
}

.ftr-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.ftr-pay-item {
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(10, 12, 16, 0.03);
    padding: 6px;
    display: grid;
    place-items: center;
    min-height: 38px;
}

.ftr-pay-item img {
    width: 28px;
    height: 16px;
    object-fit: contain;
    opacity: 0.92;
}

.ftr-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    text-align: center;
    color: rgba(10, 12, 16, 0.62);
    font-size: 12px;
}

.ftr-social-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.ftr-social {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(10, 12, 16, 0.04);
    text-decoration: none;
    transition: transform 140ms ease, background 140ms ease;
}

.ftr-social:hover {
    transform: translateY(-1px);
    background: rgba(10, 12, 16, 0.07);
}

.ftr-social:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.ftr-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.9;
    filter: grayscale(1);
    transition: filter 140ms ease, opacity 140ms ease;
}

.ftr-social:hover img {
    filter: none;
    opacity: 1;
}

.safe-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.safe-row img {
    max-height: 28px;
    width: auto;
}

/* Mobile dock */
.dock {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 999;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}

.dock-row {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: end;
}

.dock-row > * {
    min-width: 0;
}

.dock a {
    display: grid;
    gap: 6px;
    place-items: center;
    text-decoration: none;
    color: rgba(10, 12, 16, 0.72);
    padding: 10px 8px;
    border-radius: 14px;
    border: 1px solid rgba(10, 12, 16, 0.08);
    background: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    font-weight: 800;
}

.dock-ico {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
    opacity: 0.92;
}

.dock a span {
    font-size: 10px;
    letter-spacing: 0.2px;
}

.dock a.is-center {
    transform: translateY(-10px);
    background: linear-gradient(180deg, var(--cta-green), #13c94a);
    border-color: rgba(0, 0, 0, 0.18);
    color: rgba(0, 0, 0, 0.90);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.dock a.is-center .dock-ico {
    opacity: 1;
}

.dock a.is-center span {
    font-weight: 900;
}

/* Responsive */
@media (max-width: 920px) {
    .arrow {
        display: none;
    }
}

/* Hero: full-width banner for all "mobile-like" widths (incl. tablets) */
@media (max-width: 1100px) {
    .hero {
        padding: 0 0 8px;
    }

    .hero-card {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    /* Crop banner artwork to avoid visual empty area */
    .hero-media {
        inset: -1px; /* cover borders/pixel gaps */
    }

    .hero-media img {
        object-position: 0% 50%;
        transform: scale(1.18);
        will-change: transform;
    }
}

/* Hero: force full-width on real touch devices (regardless of width) */
@media (hover: none) and (pointer: coarse) {
    .hero {
        padding: 0 0 8px;
    }

    .hero-card {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .hero-media {
        inset: -1px;
    }

    .hero-media img {
        object-position: 0% 50%;
        transform: scale(1.22);
    }
}

@media (max-width: 680px) {
    .hdr-inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .brand-logo {
        width: 102px;
    }

    .btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .strip-rail {
        grid-auto-columns: 142px;
    }

    .ftr-grid {
        grid-template-columns: 1fr;
    }

    .site-main {
        padding-top: 62px;
    }

    .hero-copy {
        min-height: 150px;
        padding: 12px 14px;
    }

    .hero-title {
        font-size: 16px;
    }

    .hero-sub {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (min-width: 1101px) {
    /* Hero: desktop like previous version (text + image) */
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        min-height: 260px;
    }

    .hero-media {
        position: relative;
        inset: auto;
        z-index: 1;
        display: grid;
        padding: 14px 14px 14px 0;
    }

    .hero-media img {
        border-radius: 18px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    }

    .hero-card::before {
        background:
            radial-gradient(900px 420px at 20% 20%, rgba(84, 45, 255, 0.35), transparent 55%),
            radial-gradient(780px 420px at 80% 45%, rgba(0, 163, 255, 0.22), transparent 55%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
    }

    .hero-copy {
        align-content: center;
        min-height: auto;
        padding: 20px 18px 18px;
    }

    .hero-title {
        font-size: clamp(22px, 2.6vw, 34px);
    }

    .hero-sub {
        font-size: 13px;
        max-width: 54ch;
    }
}

/* =========================
   Kontakt page (page-kontakt)
   ========================= */
.page-kontakt .site-main {
    background:
        radial-gradient(900px 480px at 20% -10%, rgba(84, 45, 255, 0.14), transparent 55%),
        radial-gradient(820px 520px at 90% 0%, rgba(0, 163, 255, 0.10), transparent 55%),
        radial-gradient(740px 520px at 40% 110%, rgba(255, 213, 74, 0.16), transparent 55%);
}

.contact-hero {
    margin-top: 2px;
}

.contact-hero-card {
    border-radius: var(--radius);
    border: 1px solid rgba(10, 12, 16, 0.10);
    background:
        radial-gradient(820px 420px at 20% 30%, rgba(84, 45, 255, 0.55), transparent 60%),
        radial-gradient(760px 420px at 80% 45%, rgba(0, 163, 255, 0.40), transparent 60%),
        linear-gradient(180deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.74));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    overflow: clip;
    position: relative;
}

.contact-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(14px 14px at 20% 30%, rgba(255, 255, 255, 0.22), transparent 60%),
        radial-gradient(12px 12px at 70% 50%, rgba(255, 255, 255, 0.16), transparent 60%),
        radial-gradient(10px 10px at 35% 70%, rgba(255, 255, 255, 0.14), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.contact-hero-copy {
    position: relative;
    z-index: 1;
    padding: 18px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 10px;
}

.contact-hero-copy h1 {
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.contact-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 70ch;
}

.contact-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 12, 16, 0.10);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
}

.contact-panel h2 {
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.contact-panel p {
    color: rgba(10, 12, 16, 0.82);
    margin: 8px 0;
}

.contact-panel a {
    color: rgba(29, 78, 216, 0.92);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.contact-panel a:hover {
    color: rgba(29, 78, 216, 1);
}

.contact-panel a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 8px;
}

.contact-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.contact-card {
    border-radius: 16px;
    border: 1px solid rgba(10, 12, 16, 0.10);
    background: rgba(255, 255, 255, 0.92);
    overflow: clip;
}

.contact-card.is-email {
    background:
        linear-gradient(180deg, rgba(84, 45, 255, 0.10), rgba(255, 255, 255, 0.92) 55%);
}

.contact-card.is-chat {
    background:
        linear-gradient(180deg, rgba(0, 163, 255, 0.10), rgba(255, 255, 255, 0.92) 55%);
}

.contact-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 10px;
}

.contact-ico {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
    color: rgba(10, 12, 16, 0.70);
}

.contact-card-head h3 {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.2px;
    color: rgba(10, 12, 16, 0.92);
}

.contact-card-body {
    padding: 0 14px 14px;
}

.contact-card-body p {
    margin: 6px 0 0;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        align-items: start;
    }

    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .contact-hero-copy {
        padding: 14px;
    }
}

/* Inner pages: bonus grid + app table (legacy class names, Energy tokens) */
.bonuses-section {
    margin-top: 4px;
}

.bonuses-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.bonus-card {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.bonus-image-wrapper {
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bonus-content {
    padding: 14px 14px 16px;
}

.bonus-name {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 6px;
}

.bonus-description {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 10px;
}

.bonus-value strong {
    color: var(--text);
}

.bonus-category-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(255, 213, 74, 0.35);
    border: 1px solid rgba(10, 12, 16, 0.08);
}

.bonus-terms {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.app-name-with-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.app-name-logo {
    width: 60px;
    height: auto;
    display: block;
}

.app-info-table-wrapper {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
}

.app-info-row td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.app-info-row:last-child td {
    border-bottom: none;
}

.app-info-label-cell {
    width: 52px;
    background: var(--surface-2);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    background: var(--accent);
    color: rgba(10, 12, 16, 0.92);
    border: 1px solid rgba(10, 12, 16, 0.12);
}
