:root {
    --bg-deep: #1a0f2e;
    --bg-mid: #2d1b4e;
    --stone: #5c4033;
    --stone-light: #7a5c44;
    --neon-red: #ff3344;
    --neon-cyan: #4dd0e1;
    --gold: #ffc107;
    --orange: #f16529;
    --text: #f5f0ff;
    --text-muted: #c4b8d9;
    --theme-accent: #9b59b6;
    --hud-height: 72px;
    --top-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

body[data-theme="home"]    { --theme-accent: #9b59b6; }
body[data-theme="company"] { --theme-accent: #4dd0e1; }
body[data-theme="game"]    { --theme-accent: #ff3344; }
body[data-theme="contact"] { --theme-accent: #5dade2; }
body[data-theme="shop"]    { --theme-accent: #ffc107; }

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--hud-height) + 16px);
}

/* Top bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
    background: rgba(26, 15, 46, 0.92);
    border-bottom: 2px solid var(--stone);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--theme-accent));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--theme-accent);
}

.brand-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hud-toggle {
    display: none;
    background: var(--stone);
    border: 2px solid var(--theme-accent);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

.site-main { flex: 1; }

/* HUD bottom nav */
.hud-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.95) 0%, rgba(26, 15, 46, 0.98) 100%);
    border-top: 3px solid var(--stone);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.hud-list {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.hud-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
    min-width: 72px;
}

.hud-link:hover,
.hud-link.active {
    color: var(--theme-accent);
}

.hud-link.active {
    transform: translateY(-4px);
}

.hud-link.active .hud-icon {
    background: var(--stone);
    border-color: var(--theme-accent);
    box-shadow: 0 0 12px var(--theme-accent);
}

.hud-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--stone-light);
    border-radius: 8px;
    background: rgba(92, 64, 51, 0.5);
    font-size: 0.95rem;
}

.hud-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--stone);
    padding: 1.25rem;
    margin-bottom: var(--hud-height);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--theme-accent);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover { text-decoration: underline; }

/* Platform card (stone block) */
.platform-card {
    background: linear-gradient(145deg, rgba(45, 27, 78, 0.9), rgba(26, 15, 46, 0.95));
    border: 3px solid var(--stone);
    border-radius: 4px 4px 12px 12px;
    padding: 1.75rem;
    position: relative;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.4);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--theme-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--theme-accent);
}

.section-heading {
    font-family: 'Bangers', cursive;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.06em;
    color: var(--theme-accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(155, 89, 182, 0.4);
}

.section-sub {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.page-heading {
    font-family: 'Bangers', cursive;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--theme-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.text-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover { text-decoration: underline; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 101, 41, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #ff9800);
    color: #1a0f2e;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--theme-accent);
    color: var(--theme-accent);
}

/* Hero */
.hero-parallax {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 15, 46, 0.85) 0%,
        rgba(45, 27, 78, 0.6) 50%,
        rgba(26, 15, 46, 0.9) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 51, 68, 0.2);
    border: 1px solid var(--neon-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 51, 68, 0.5);
    margin-bottom: 1rem;
}

.hero-tagline {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cta-row a img {
    height: 48px;
    width: auto;
    transition: transform 0.2s;
}

.cta-row a:hover img { transform: scale(1.05); }

.hero-visual img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 24px var(--neon-cyan));
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: rgba(92, 64, 51, 0.25);
    border: 2px solid var(--stone);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--theme-accent);
    transform: translateY(-4px);
}

.feature-card .icon {
    font-size: 1.8rem;
    color: var(--theme-accent);
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Screenshot strip */
.screenshot-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-strip img {
    flex: 0 0 auto;
    width: 280px;
    height: 160px;
    object-fit: cover;
    border: 3px solid var(--stone);
    border-radius: 8px;
    scroll-snap-align: start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Company timeline layout */
.company-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.timeline {
    list-style: none;
}

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    border-left: 3px solid var(--stone);
}

.timeline-item:last-child { border-left-color: transparent; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 4px;
    width: 13px;
    height: 13px;
    background: var(--theme-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--theme-accent);
}

.timeline-item h3 {
    font-size: 0.95rem;
    color: var(--theme-accent);
    margin-bottom: 0.25rem;
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.value-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.value-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(77, 208, 225, 0.15);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.company-visual {
    margin-top: 1.5rem;
    border: 3px solid var(--stone);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.company-visual img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Game zigzag */
.game-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.game-hero img {
    width: 120px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 16px var(--neon-red));
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.zigzag-row.reverse .zigzag-text { order: 2; }
.zigzag-row.reverse .zigzag-img { order: 1; }

.zigzag-img img {
    width: 100%;
    border: 3px solid var(--stone);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.zigzag-text h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    color: var(--neon-red);
    margin-bottom: 0.75rem;
}

/* Contact crystal cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.crystal-card {
    background: linear-gradient(160deg, rgba(77, 208, 225, 0.12), rgba(26, 15, 46, 0.9));
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(77, 208, 225, 0.15);
}

.crystal-card .icon {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.crystal-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.crystal-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    word-break: break-word;
}

.crystal-card a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.crystal-card a:hover { text-decoration: underline; }

/* Shop layout */
.shop-page .page-heading { margin-bottom: 1.25rem; }

.shop-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.shop-block-title {
    font-family: 'Bangers', cursive;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.shop-block-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.shop-block-header .shop-block-title { margin-bottom: 0; }

.shop-block-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.coins-intro-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.coins-scroll {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    border: 2px solid var(--stone);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.coins-scroll::-webkit-scrollbar {
    width: 8px;
}

.coins-scroll::-webkit-scrollbar-track {
    background: rgba(92, 64, 51, 0.3);
    border-radius: 4px;
}

.coins-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.coins-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

#coinsContainer {
    padding: 0.65rem;
}

.coin-stack {
    margin-top: 1.5rem;
}

.coin-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(92, 64, 51, 0.3);
    border: 2px solid var(--stone);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.coin-item:last-child { margin-bottom: 0; }

.coin-item:hover,
.coin-item.selected {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(255, 193, 7, 0.3);
}

.coin-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.coin-item .coin-info { flex: 1; min-width: 0; }

.coin-item .coin-title {
    font-weight: 800;
    color: #fff;
}

.coin-item .coin-price {
    color: var(--gold);
    font-weight: 700;
}

.coin-item .select-btn {
    padding: 0.5rem 1rem;
    background: var(--gold);
    color: #1a0f2e;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
}

.shop-order .shop-block-title { margin-bottom: 1rem; }

.order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.25rem;
}

.payment-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 0.5rem 0.25rem;
}

.payment-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.payment-check span {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .payment-check-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .payment-check {
        justify-content: flex-start;
    }
}

.order-scroll {
    position: static;
}

.selected-coin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px dashed var(--gold);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.selected-coin img { width: 32px; height: 32px; }

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--stone);
    border-radius: 6px;
    color: var(--text);
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

.form-group select option {
    background: var(--bg-deep);
    color: var(--text);
}

.form-group input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.required { color: var(--neon-red); }

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input { display: none; }

.payment-option-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid var(--stone);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.payment-option input:checked + .payment-option-inner {
    border-color: var(--theme-accent);
    background: rgba(255, 193, 7, 0.08);
}

.payment-option-inner i {
    font-size: 1.25rem;
    color: var(--theme-accent);
    width: 28px;
    text-align: center;
}

.agree-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.agree-label a { color: var(--neon-cyan); }

.error-message {
    display: block;
    color: var(--neon-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #1a0f2e;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.submit-btn:hover { opacity: 0.92; }

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.order-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.order-message.error {
    display: block;
    background: rgba(255, 51, 68, 0.15);
    border: 1px solid var(--neon-red);
    color: #ff8a94;
}

.order-message.success {
    display: block;
    background: rgba(77, 208, 225, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Confirm / payfinish / error */
.ticket-panel {
    max-width: 560px;
    margin: 0 auto;
}

.order-details {
    margin: 1.5rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(92, 64, 51, 0.5);
    font-size: 0.95rem;
}

.detail-row .label { color: var(--text-muted); }
.detail-row .value { font-weight: 700; text-align: right; max-width: 60%; word-break: break-word; }
.detail-row .value.total { color: var(--gold); font-size: 1.1rem; }

.payment-redirect {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--gold);
    border-radius: 8px;
    margin: 1.25rem 0;
}

.countdown {
    font-size: 2rem;
    font-family: 'Bangers', cursive;
    color: var(--gold);
    margin: 0.5rem 0;
}

.redirect-btn {
    padding: 0.75rem 1.5rem;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 0.75rem;
}

.no-redirect {
    padding: 1rem;
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    text-align: center;
    color: var(--neon-cyan);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-panel {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.result-icon.success { color: #4caf50; }
.result-icon.fail { color: var(--neon-red); }

.result-panel h2 {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-panel .error-code {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 51, 68, 0.2);
    border: 1px solid var(--neon-red);
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.home-section { margin-bottom: 2.5rem; }

.home-section .section-heading { margin-bottom: 0.5rem; }

.home-flow { padding-top: 2.5rem; }

.home-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.home-split-reverse .home-split-media { order: 2; }
.home-split-reverse .home-split-body { order: 1; }

.home-split-media {
    border: 3px solid var(--stone);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    min-height: 280px;
}

.home-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-split-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.home-split-body .section-heading { margin-bottom: 0.25rem; }

.home-split-body .btn,
.home-split-body .btn-outline {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.feature-grid-compact {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.feature-grid-compact .feature-card {
    padding: 1rem;
    text-align: left;
}

.feature-grid-compact .feature-card .icon {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.home-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.home-duo-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-duo-card .btn { align-self: flex-start; }

.center-cta { text-align: center; margin-top: 1.25rem; }

.contact-snippet {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.contact-snippet-stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0;
}

.contact-snippet span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-snippet i { color: var(--theme-accent); }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .cta-row { justify-content: center; }
    .home-split,
    .home-split-reverse { grid-template-columns: 1fr; }
    .home-split-reverse .home-split-media,
    .home-split-reverse .home-split-body { order: unset; }
    .home-split-media { min-height: 220px; }
    .home-duo { grid-template-columns: 1fr; }
    .feature-grid-compact { grid-template-columns: 1fr; }
    .company-layout { grid-template-columns: 1fr; }
    .timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .timeline-item { border-left: none; padding-left: 0; padding-bottom: 0; }
    .timeline-item::before { display: none; }
    .zigzag-row,
    .zigzag-row.reverse { grid-template-columns: 1fr; }
    .zigzag-row.reverse .zigzag-text,
    .zigzag-row.reverse .zigzag-img { order: unset; }
    .contact-grid { grid-template-columns: 1fr; }
    .order-form-grid { grid-template-columns: 1fr; }
    .coins-scroll { max-height: 260px; }
}

@media (max-width: 640px) {
    .hud-toggle { display: flex; align-items: center; justify-content: center; }
    .hud-nav {
        transform: translateY(100%);
        transition: transform 0.3s;
    }
    .hud-nav.open { transform: translateY(0); }
    .hud-list { flex-wrap: wrap; justify-content: space-around; }
    .hud-link { min-width: 60px; padding: 0.5rem 0.4rem; }
    .timeline { grid-template-columns: 1fr; }
}
