/* ========================================================================
   GENERIC QUARK2 HEADER ACTIONS + FOOTER
   Scope: only styles the custom additions in navigation.html.twig and
   footer.html.twig. All class names and variables are brand/domain agnostic.
   ======================================================================== */

/* ===== CUSTOM ADDITION START: shared design tokens ===== */
:root {
    --site-accent: #f2ad17;
    --site-accent-light: #ffd66b;
    --site-accent-dark: #d78f00;
    --site-accent-ink: #1b0b0e;

    --site-nav-secondary-bg: rgba(20, 11, 14, 0.06);
    --site-nav-secondary-border: rgba(35, 21, 25, 0.18);
    --site-nav-secondary-text: #2c1b20;

    --site-footer-bg: #13090c;
    --site-footer-border: rgba(255, 255, 255, 0.10);
    --site-footer-text: #cfc2c5;
    --site-footer-muted: #998a8e;
    --site-footer-strong: #ffffff;
}

html[data-theme="dark"] {
    --site-nav-secondary-bg: rgba(255, 255, 255, 0.07);
    --site-nav-secondary-border: rgba(255, 255, 255, 0.18);
    --site-nav-secondary-text: #f7f1f3;

    --site-footer-bg: #0d0709;
    --site-footer-border: rgba(255, 255, 255, 0.11);
    --site-footer-text: #d8cdd0;
    --site-footer-muted: #a8999d;
    --site-footer-strong: #ffffff;
}
/* ===== CUSTOM ADDITION END ===== */


/* ========================================================================
   HEADER - ONLY THE TWO APPENDED NAVIGATION ACTIONS
   ======================================================================== */

/* ===== CUSTOM ADDITION START: navigation action buttons ===== */
.navigation > .site-nav-action {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navigation > .site-nav-action--secondary {
    margin-left: 12px;
}

.navigation > .site-nav-action--primary {
    margin-left: 8px;
}

.navigation .site-nav-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.navigation .site-nav-button::before,
.navigation .site-nav-button::after {
    display: none !important;
    content: none !important;
}

.navigation .site-nav-button--secondary {
    color: var(--site-nav-secondary-text) !important;
    background: var(--site-nav-secondary-bg) !important;
    border-color: var(--site-nav-secondary-border) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navigation .site-nav-button--secondary:hover,
.navigation .site-nav-button--secondary:focus-visible {
    color: var(--site-nav-secondary-text) !important;
    background: rgba(242, 173, 23, 0.09) !important;
    border-color: rgba(242, 173, 23, 0.55) !important;
    transform: translateY(-1px);
}

.navigation .site-nav-button--primary {
    color: var(--site-accent-ink) !important;
    background: linear-gradient(135deg, var(--site-accent-light), var(--site-accent)) !important;
    border-color: rgba(215, 143, 0, 0.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 8px 22px rgba(242, 169, 0, 0.25);
}

.navigation .site-nav-button--primary:hover,
.navigation .site-nav-button--primary:focus-visible {
    color: var(--site-accent-ink) !important;
    background: linear-gradient(135deg, #ffe18a, #f5b51f) !important;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 11px 28px rgba(242, 169, 0, 0.34);
}

.navigation .site-nav-button:focus-visible {
    outline: 3px solid rgba(242, 173, 23, 0.34);
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .navigation > .site-nav-action--secondary,
    .navigation > .site-nav-action--primary {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

    .navigation > .site-nav-action--primary {
        margin-top: 6px;
    }

    .navigation .site-nav-button {
        width: 100%;
        min-height: 44px;
        padding: 11px 16px;
    }
}
/* ===== CUSTOM ADDITION END ===== */


/* ========================================================================
   FOOTER
   ======================================================================== */

/* ===== CUSTOM ADDITION START: footer shell ===== */
#footer {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
    padding: 52px 0 26px;
    color: var(--site-footer-text);
    background:
        radial-gradient(circle at 10% -20%, rgba(242, 173, 23, 0.12), transparent 32%),
        radial-gradient(circle at 92% 110%, rgba(201, 21, 44, 0.10), transparent 28%),
        var(--site-footer-bg);
    border-top: 1px solid var(--site-footer-border);
}

#footer > .container {
    position: relative;
    z-index: 1;
}

#footer .site-footer__main {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr);
    align-items: start;
    gap: 44px;
    padding-bottom: 34px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--site-footer-border);
}

#footer .site-footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 560px;
}

#footer .site-footer__brand-mark {
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--site-accent-ink);
    background: linear-gradient(145deg, #ffe397, var(--site-accent));
    border-radius: 15px;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        0 8px 22px rgba(242, 169, 0, 0.20);
}

#footer .site-footer__brand-copy {
    min-width: 0;
    padding-top: 2px;
}

#footer .site-footer__brand-name {
    display: block;
    margin: 0 0 7px;
    color: var(--site-footer-strong);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

#footer .site-footer__brand-copy p {
    margin: 0;
    color: var(--site-footer-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

#footer .site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: 10px 22px;
    padding-top: 5px;
}

#footer .site-footer__nav a {
    position: relative;
    color: var(--site-footer-text) !important;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color 0.18s ease, transform 0.18s ease;
}

#footer .site-footer__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -4px;
    height: 1px;
    background: var(--site-accent);
    transition: right 0.18s ease;
}

#footer .site-footer__nav a:hover,
#footer .site-footer__nav a:focus-visible {
    color: var(--site-accent-light) !important;
    transform: translateY(-1px);
}

#footer .site-footer__nav a:hover::after,
#footer .site-footer__nav a:focus-visible::after {
    right: 0;
}

#footer > .container > p:not(.site-footer__notice) {
    margin: 0;
    color: #857579;
    font-size: 0.76rem;
    line-height: 1.6;
}

#footer > .container > p:not(.site-footer__notice) a {
    color: #bcaeb2 !important;
    font-weight: 700;
    text-decoration: none;
}

#footer > .container > p:not(.site-footer__notice) a:hover {
    color: var(--site-accent-light) !important;
}

#footer .site-footer__notice {
    margin: 7px 0 0;
    color: #857579;
    font-size: 0.76rem;
    line-height: 1.65;
}

#footer .site-footer__notice strong {
    color: #e8c15d;
    font-weight: 850;
}

@media (max-width: 820px) {
    #footer {
        margin-top: 38px;
        padding: 42px 0 24px;
    }

    #footer .site-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    #footer .site-footer__nav {
        justify-content: flex-start;
        gap: 12px 20px;
    }
}

@media (max-width: 540px) {
    #footer {
        padding-top: 36px;
    }

    #footer .site-footer__brand {
        gap: 12px;
    }

    #footer .site-footer__brand-mark {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 0.82rem;
    }

    #footer .site-footer__brand-name {
        font-size: 0.98rem;
    }

    #footer .site-footer__brand-copy p {
        font-size: 0.82rem;
    }

    #footer .site-footer__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }
}
/* ===== CUSTOM ADDITION END ===== */
/* =========================================================
   PAGE CONTENT STYLES — Editorial Utility / Field Guide system
   Header, navigation and footer are intentionally untouched.
   ========================================================= */
.content-shell{max-width:1180px;margin:0 auto;padding:28px 18px 48px}.hero-panel,.page-hero,.section-block,.article-shell{border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,248,255,.9));box-shadow:0 18px 45px rgba(35,40,80,.12);border:1px solid rgba(70,82,140,.12)}.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:30px;align-items:center;padding:38px}.hero-copy h1,.page-hero h1,.article-shell h1{font-size:clamp(2rem,4vw,4.1rem);line-height:1.04;margin:.25rem 0 1rem;color:#142039}.lead{font-size:1.12rem;line-height:1.78;color:#31405c}.eyebrow{display:inline-flex;gap:8px;align-items:center;margin:0 0 10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5467ff;font-size:.78rem}.hero-media,.check-card,.note-stack div,.contact-box{background:#fff;border:1px solid rgba(69,82,150,.14);border-radius:22px;padding:20px;box-shadow:0 12px 28px rgba(31,39,75,.08)}.hero-logo,.feature-img,.app-icon,.catalog-icon,.media-img{display:block;max-width:100%;height:auto;object-fit:contain}.hero-logo,.feature-img{margin:0 auto 14px}.media-note{font-size:.94rem;line-height:1.55;color:#5d6780;text-align:center}.action-row,.card-actions,.link-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.action-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 18px;font-weight:800;text-decoration:none;border:1px solid rgba(84,103,255,.25);transition:.2s ease}.action-link.primary{background:#5467ff;color:#fff;box-shadow:0 10px 20px rgba(84,103,255,.22)}.action-link.ghost{background:#fff;color:#31405c}.action-link.text{border-color:transparent;color:#5467ff;background:transparent}.action-link.small{font-size:.86rem;padding:8px 12px;background:#eef1ff;color:#4052d6}.section-block,.page-hero,.article-shell{padding:32px;margin-top:26px}.split-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:26px;align-items:start}.split-grid.reverse{grid-template-columns:minmax(280px,.75fr) minmax(0,1fr)}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.section-head p{max-width:560px;color:#5f6a82}.app-grid,.catalog-grid,.article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.app-card,.catalog-card,.article-card{background:#fff;border:1px solid rgba(70,82,140,.12);border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(35,40,80,.08)}.app-card{display:grid;grid-template-columns:92px 1fr;gap:16px;align-items:center}.catalog-card{display:grid;grid-template-columns:86px 1fr;gap:14px}.app-icon,.catalog-icon{width:82px;height:82px;border-radius:18px}.article-card h3,.app-card h3,.catalog-card h3{margin:.15rem 0 .55rem;color:#17223a}.article-card a,.catalog-card a,.app-card a{font-weight:800;text-decoration:none;color:#4052d6}.article-shell{max-width:920px;margin:28px auto 0}.article-shell p,.article-shell li{line-height:1.78;color:#31405c}.article-shell h2,.section-block h2{margin-top:1.4rem;color:#17223a}.article-shell section{margin-top:24px}.check-card ul{padding-left:1.15rem;margin-bottom:0}.check-card li{margin:.55rem 0;color:#34415c}.note-stack{display:grid;gap:12px}.legal-doc h2{border-top:1px solid rgba(70,82,140,.12);padding-top:18px}.contact-box{margin-top:22px;color:#31405c}.blog-post .feature-img,.game-detail .feature-img{background:#fff;border-radius:24px;padding:10px;box-shadow:0 12px 28px rgba(35,40,80,.08)}
@media (max-width:760px){.hero-grid,.split-grid,.split-grid.reverse{grid-template-columns:1fr}.hero-panel,.page-hero,.section-block,.article-shell{padding:22px;border-radius:22px}.app-card,.catalog-card{grid-template-columns:70px 1fr}.app-icon,.catalog-icon{width:66px;height:66px}.section-head{display:block}.action-link{width:100%}}
body.dark .hero-panel,body.dark .page-hero,body.dark .section-block,body.dark .article-shell{background:linear-gradient(135deg,rgba(22,26,43,.96),rgba(29,34,57,.92));border-color:rgba(255,255,255,.08)}body.dark .hero-copy h1,body.dark .page-hero h1,body.dark .article-shell h1,body.dark .section-block h2,body.dark .article-shell h2,body.dark .app-card h3,body.dark .catalog-card h3,body.dark .article-card h3{color:#f4f6ff}body.dark .lead,body.dark .article-shell p,body.dark .article-shell li,body.dark .check-card li,body.dark .section-head p,body.dark .contact-box{color:#c9d0e6}body.dark .hero-media,body.dark .check-card,body.dark .note-stack div,body.dark .contact-box,body.dark .app-card,body.dark .catalog-card,body.dark .article-card{background:#171c2f;border-color:rgba(255,255,255,.08)}body.dark .action-link.ghost{background:#202743;color:#e7ebff}
