/* =========================================================
   Gigabite Games — brand stylesheet
   Neon-arcade design system. Tokens first, then layout,
   then per-component styling. Dark is the default mode;
   light mode swaps the token block via `.gg-page-shell`
   without the `gg-dark` class.
   ========================================================= */

:root {
    /* Brand constants (mode-independent) */
    --gg-purple: #8919cc;
    --gg-purple-bright: #b066e6;
    --gg-magenta: #e935c1;
    --gg-pink: #ff4fd8;
    --gg-cyan: #38bdf8;
    --gg-blue: #2563eb;
    --gg-green: #65bc7b;
    --gg-ink: #0a0612;
    --gg-grad-brand: linear-gradient(100deg, #b066e6, #e935c1 50%, #38bdf8);
    --gg-grad-accent: linear-gradient(90deg, #8919cc, #e935c1);

    /* Light-mode tokens (defaults; .gg-dark overrides below) */
    --gg-bg: #f2eff8;
    --gg-surface: #ffffff;
    --gg-surface-2: #f8f6fc;
    --gg-border: #e2dcf0;
    --gg-text: #212934;
    --gg-text-muted: #5b6069;
    --gg-accent-text: #a31366;
    --gg-link: #8919cc;
    --gg-link-hover: #400773;
    --gg-card-glow: 0 14px 34px rgba(64, 7, 115, 0.16);
}

.gg-dark {
    --gg-bg: #0a0612;
    --gg-surface: #151022;
    --gg-surface-2: #1d1530;
    --gg-border: #2b2144;
    --gg-text: #ece7f5;
    --gg-text-muted: #a89fbf;
    --gg-accent-text: #ff4fd8;
    --gg-link: #c084fc;
    --gg-link-hover: #e0c3ff;
    --gg-card-glow: 0 14px 40px rgba(137, 25, 204, 0.35);
}

/* ===== Base / page chrome ===== */

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: #f2eff8;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(137, 25, 204, 0.08) 0, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.07) 0, transparent 45%);
    background-attachment: fixed;
    color: #212934;
    min-height: 100vh;
    /* MudBlazor's closed temporary drawer parks at right:-280px; keep it from
       widening the document. `clip` avoids creating a scroll container. */
    overflow-x: clip;
}

/* Pre-Blazor dark paint (cookie script in App.razor) */
html.gg-dark-pre,
html.gg-dark-pre body,
body:has(.gg-dark) {
    background-color: #0a0612;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(137, 25, 204, 0.22) 0, transparent 42%),
        radial-gradient(circle at 90% 90%, rgba(37, 99, 235, 0.14) 0, transparent 48%);
}

/* Full-bleed shell under the fixed AppBar */
.gg-page-shell {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    color: var(--gg-text);
}

@media (max-width: 599.98px) {
    .gg-page-shell {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
}

.gg-page-shell > main {
    flex: 1 0 auto;
}

main a {
    color: var(--gg-link);
}

main a:hover {
    color: var(--gg-link-hover);
}

::selection {
    background: rgba(137, 25, 204, 0.45);
    color: #fff;
}

/* ===== Shared utility pieces ===== */

.gg-gradient-text {
    background: var(--gg-grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gg-eyebrow {
    display: inline-block;
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gg-accent-text);
}

.gg-section {
    padding: 4.5rem 1.5rem;
}

.gg-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.gg-section-head h2 {
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    margin: 0.5rem 0 0.75rem;
    color: var(--gg-text);
}

.gg-section-head p {
    margin: 0;
    color: var(--gg-text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.gg-prose p {
    margin: 0 0 1.1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.gg-prose p:last-child {
    margin-bottom: 0;
}

/* Neon buttons */
.gg-btn-glow {
    background: var(--gg-grad-accent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0.65rem 1.9rem !important;
    box-shadow: 0 0 22px rgba(233, 53, 193, 0.38), 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.gg-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(233, 53, 193, 0.55), 0 10px 24px rgba(0, 0, 0, 0.4);
}

.gg-btn-ghost {
    border: 1px solid rgba(176, 102, 230, 0.65) !important;
    color: #e9dcff !important;
    border-radius: 999px !important;
    padding: 0.65rem 1.9rem !important;
    backdrop-filter: blur(4px);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gg-btn-ghost:hover {
    background-color: rgba(176, 102, 230, 0.14) !important;
    border-color: rgba(176, 102, 230, 1) !important;
    transform: translateY(-2px);
}

/* ===== AppBar (always dark glass, both modes) ===== */

.gg-appbar {
    background: rgba(10, 6, 18, 0.82) !important;
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid rgba(176, 102, 230, 0.22);
    color: #fff !important;
}

.gg-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.gg-brand-mark {
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}

.gg-brand-giga {
    background: linear-gradient(180deg, #e3b8ff 0%, #c05cf5 55%, #8919cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gg-brand-games {
    margin-left: 0.35rem;
    background: linear-gradient(180deg, #9bdcff 0%, #38bdf8 55%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gg-nav-item {
    position: relative;
    margin: 0 0.15rem;
}

.gg-nav-item > .mud-button-root {
    font-family: 'Exo', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    background-image: var(--gg-grad-accent);
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: bottom center;
    transition: background-size 180ms ease;
}

.gg-nav-item:hover > .mud-button-root,
.gg-nav-active > .mud-button-root {
    background-size: 100% 3px;
}

.gg-nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 0.45rem 0;
    list-style: none;
    background: rgba(19, 12, 32, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(176, 102, 230, 0.28);
    border-top: 3px solid transparent;
    border-image: var(--gg-grad-accent) 1;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
    z-index: 1200;
}

.gg-nav-item:hover > .gg-nav-submenu,
.gg-nav-item:focus-within > .gg-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 140ms ease, transform 140ms ease, visibility 0s;
}

.gg-nav-submenu li a {
    display: block;
    padding: 0.6rem 1.1rem;
    color: #e9e2f5;
    text-decoration: none;
    font-family: 'Exo', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background-color 120ms ease, color 120ms ease, padding-left 120ms ease;
}

.gg-nav-submenu li a:hover {
    background-color: rgba(137, 25, 204, 0.25);
    color: #ffffff;
    padding-left: 1.35rem;
}

/* ===== Hero (always dark) ===== */

.gg-hero {
    position: relative;
    overflow: hidden;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 4.5rem 1.5rem 6rem;
    background:
        radial-gradient(ellipse 60% 45% at 50% 108%, rgba(137, 25, 204, 0.55) 0%, transparent 70%),
        linear-gradient(180deg, #0a0612 0%, #150a26 55%, #240b41 100%);
}

.gg-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle 340px at 18% 22%, rgba(233, 53, 193, 0.22) 0%, transparent 70%),
        radial-gradient(circle 380px at 84% 30%, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    will-change: transform, opacity;
    animation: gg-glow-pulse 9s ease-in-out infinite alternate;
}

@keyframes gg-glow-pulse {
    from { opacity: 0.75; transform: scale(1); }
    to   { opacity: 1;    transform: scale(1.06); }
}

.gg-hero-grid {
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -14%;
    height: 58%;
    pointer-events: none;
    overflow: hidden;
    transform: perspective(620px) rotateX(62deg);
    transform-origin: center top;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 25%, transparent 90%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 25%, transparent 90%);
}

/* The pattern lives on a child layer one cell taller than its parent and
   loops via a transform animation — compositor-only, no per-frame repaint
   (animating background-position repaints the whole layer every frame). */
.gg-hero-grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -52px;
    bottom: 0;
    background-image:
        linear-gradient(rgba(176, 102, 230, 0.4) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(176, 102, 230, 0.4) 1.5px, transparent 1.5px);
    background-size: 52px 52px;
    will-change: transform;
    animation: gg-grid-scroll 2.6s linear infinite;
}

@keyframes gg-grid-scroll {
    from { transform: translateY(0); }
    to   { transform: translateY(52px); }
}

.gg-hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.gg-hero h1 {
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6.5vw, 4.4rem);
    line-height: 1.08;
    margin: 1rem 0 1.25rem;
    text-shadow: 0 4px 40px rgba(137, 25, 204, 0.45);
}

.gg-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: #cfc4e4;
    max-width: 640px;
    margin: 0 auto 2.25rem;
}

.gg-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Stats strip (dark continuation of the hero) ===== */

.gg-stats {
    background: #0d0718;
    border-top: 1px solid rgba(176, 102, 230, 0.18);
    border-bottom: 1px solid rgba(176, 102, 230, 0.18);
    padding: 2.25rem 1.5rem;
}

.gg-stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .gg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gg-stat-number {
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.1;
}

.gg-stat-label {
    margin-top: 0.3rem;
    font-family: 'Exo', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a89fbf;
}

/* ===== Cards ===== */

.gg-card {
    position: relative;
    background-color: var(--gg-surface) !important;
    border: 1px solid var(--gg-border);
    border-radius: 16px !important;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gg-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gg-grad-brand);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.gg-card:hover {
    transform: translateY(-5px);
    border-color: rgba(176, 102, 230, 0.6);
    box-shadow: var(--gg-card-glow);
}

.gg-card:hover::after {
    opacity: 1;
}

.gg-card .mud-card-media {
    transition: transform 450ms ease;
}

.gg-card:hover .mud-card-media {
    transform: scale(1.045);
}

.gg-card-overline {
    font-family: 'Exo', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gg-accent-text);
}

.gg-card-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    background-color: var(--gg-surface-2);
}

/* Jam entry LD badge over the card image */
.gg-jam-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(10, 6, 18, 0.75);
    border: 1px solid rgba(176, 102, 230, 0.55);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    backdrop-filter: blur(6px);
}

/* ===== Dark gradient bands (arcade callout, social CTA, team) ===== */

.gg-band {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 4.5rem 1.5rem;
    background:
        radial-gradient(circle 420px at 12% 18%, rgba(233, 53, 193, 0.2) 0%, transparent 70%),
        radial-gradient(circle 460px at 88% 82%, rgba(56, 189, 248, 0.16) 0%, transparent 70%),
        linear-gradient(120deg, #1c0836 0%, #31005c 48%, #150524 100%);
    border-top: 1px solid rgba(176, 102, 230, 0.22);
    border-bottom: 1px solid rgba(176, 102, 230, 0.22);
}

.gg-band h2 {
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin: 0.5rem 0 1rem;
    color: #fff;
}

.gg-band p {
    color: #cfc4e4;
    line-height: 1.7;
    font-size: 1.05rem;
}

.gg-band .gg-eyebrow {
    color: #ff8adf;
}

.gg-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
}

.gg-chip-row a {
    font-family: 'Exo', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #e9dcff;
    text-decoration: none;
    border: 1px solid rgba(176, 102, 230, 0.45);
    border-radius: 999px;
    padding: 0.38rem 1rem;
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.gg-chip-row a:hover {
    background-color: rgba(176, 102, 230, 0.18);
    border-color: var(--gg-purple-bright);
    transform: translateY(-2px);
    color: #fff;
}

/* ===== Page title banner (always dark) ===== */

.gg-page-title {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 3.2rem 1.5rem 2.4rem;
    background:
        radial-gradient(ellipse 55% 100% at 85% 0%, rgba(137, 25, 204, 0.35) 0%, transparent 70%),
        linear-gradient(120deg, #110720 0%, #260a44 100%);
    border-bottom: 1px solid rgba(176, 102, 230, 0.2);
}

.gg-page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(176, 102, 230, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 102, 230, 0.14) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(100deg, transparent 35%, rgba(0, 0, 0, 0.9) 100%);
    mask-image: linear-gradient(100deg, transparent 35%, rgba(0, 0, 0, 0.9) 100%);
}

.gg-page-title h1 {
    position: relative;
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    margin: 0.4rem 0 0.9rem;
}

.gg-title-bar {
    position: relative;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: var(--gg-grad-brand);
}

.gg-breadcrumbs {
    position: relative;
    color: #b3a4cf;
    font-family: 'Exo', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gg-breadcrumbs a {
    color: #d8b4fe;
    text-decoration: none;
}

.gg-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== Panels / forms ===== */

.gg-panel {
    background-color: var(--gg-surface) !important;
    border: 1px solid var(--gg-border);
    border-radius: 16px !important;
}

.gg-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.gg-contact-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    color: #fff;
    background: var(--gg-grad-accent);
    box-shadow: 0 4px 14px rgba(137, 25, 204, 0.35);
}

/* ===== Team (About page) ===== */

.gg-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(176, 102, 230, 0.25);
    transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.gg-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(176, 102, 230, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.gg-team-avatar-ring {
    padding: 4px;
    border-radius: 50%;
    background: var(--gg-grad-brand);
    margin-bottom: 1.1rem;
}

.gg-team-avatar {
    display: block;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #14081f;
}

/* ===== Footer (always dark) ===== */

.gg-footer {
    background-color: #070310;
    color: #b6accc;
    padding: 3.5rem 1.5rem 1.25rem;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, #8919cc, #e935c1, #38bdf8) 1;
}

.gg-footer a {
    color: #b6accc;
    text-decoration: none;
    display: block;
    padding: 0.22rem 0;
    transition: color 120ms ease, padding-left 120ms ease;
}

.gg-footer a:hover {
    color: var(--gg-purple-bright);
    padding-left: 4px;
}

.gg-footer-heading {
    color: #ffffff !important;
    font-family: 'Exo', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem !important;
    margin-bottom: 0.85rem;
}

.gg-footer-copy {
    border-top: 1px solid #221838;
    margin-top: 2.5rem;
    padding-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    gap: 1rem;
}

.gg-footer-social .mud-icon-button {
    transition: transform 150ms ease, color 150ms ease;
}

.gg-footer-social .mud-icon-button:hover {
    transform: translateY(-3px);
    color: var(--gg-pink);
}

/* ===== Blazor error bar ===== */

#blazor-error-ui {
    background: #b71c1c;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== Arcade ===== */

.gg-arcade-card {
    border-top: 3px solid var(--accent, #888) !important;
}

.gg-arcade-card::after {
    display: none; /* accent border replaces the gradient hairline */
}

.gg-arcade-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at top right, var(--accent, transparent) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
}

.gg-arcade-play {
    width: 100%;
}

.gg-arcade-play-grid {
    align-items: flex-start;
}

.gg-arcade-stage {
    background: #0d0718;
    border: 1px solid var(--gg-border);
    border-top: 3px solid var(--accent, #65bc7b);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.gg-arcade-stage-toolbar {
    min-height: 44px;
    padding: 0.35rem 0.45rem 0.35rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #ffffff;
    background: #140c22;
}

.gg-arcade-stage-title {
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gg-arcade-fullscreen-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gg-arcade-fullscreen-button:hover,
.gg-arcade-fullscreen-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.gg-arcade-frame-shell {
    width: min(100%, 1280px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000000;
    overflow: hidden;
}

.gg-arcade-frame-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000000;
}

.gg-arcade-info-panel {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid var(--gg-border);
    border-top: 3px solid var(--accent, #65bc7b);
    border-radius: 12px;
    background: var(--gg-surface);
}

.gg-arcade-info-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, var(--accent, transparent) 0%, transparent 68%);
    opacity: 0.22;
    pointer-events: none;
}

.gg-arcade-instructions {
    margin: 0;
    padding-left: 1.2rem;
}

.gg-arcade-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

.gg-arcade-instructions li:last-child {
    margin-bottom: 0;
}

.gg-arcade-ad-slot {
    min-height: 86px;
    margin-bottom: 1rem;
    border: 1px dashed var(--gg-border);
    border-radius: 10px;
    background: var(--gg-surface-2);
    color: var(--gg-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: 'Exo', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.gg-arcade-ad-slot-sidebar {
    min-height: 250px;
    margin-top: 1rem;
}

.gg-arcade-ad-slot-below {
    margin-top: 1rem;
    margin-bottom: 0;
}

.gg-arcade-ad-slot--live {
    display: block;
    padding: 0.5rem;
    border-style: solid;
    background: transparent;
    text-transform: none;
    letter-spacing: normal;
    text-align: center;
    overflow: hidden;
}

.gg-arcade-ad-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--gg-text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gg-arcade-ad-slot--live .adsbygoogle {
    width: 100%;
    min-height: 70px;
}

.gg-arcade-ad-slot-sidebar.gg-arcade-ad-slot--live .adsbygoogle {
    min-height: 250px;
}

@media (max-width: 959.98px) {
    .gg-arcade-play {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .gg-arcade-ad-slot-sidebar {
        min-height: 96px;
    }
}

/* ===== Motion preferences ===== */

@media (prefers-reduced-motion: reduce) {
    .gg-hero-grid::before,
    .gg-hero-glow {
        animation: none;
    }

    .gg-card,
    .gg-card .mud-card-media,
    .gg-btn-glow,
    .gg-btn-ghost,
    .gg-team-card {
        transition: none;
    }
}

/* ===== Legal pages (privacy policy / terms of service) ===== */

.gg-legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 0 4.5rem;
    color: var(--gg-text);
    line-height: 1.75;
}

.gg-legal h2 {
    font-family: 'Exo', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 0.75rem;
}

.gg-legal h3 {
    font-family: 'Exo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.6rem 0 0.5rem;
}

.gg-legal ul {
    padding-left: 1.4rem;
    margin: 0.5rem 0 1rem;
}

.gg-legal li {
    margin-bottom: 0.4rem;
}

.gg-legal a {
    color: var(--gg-link);
}

.gg-legal a:hover {
    color: var(--gg-link-hover);
}

.gg-legal-meta {
    color: var(--gg-text-muted);
    font-size: 0.9rem;
}

.gg-legal-summary {
    background: var(--gg-surface-2);
    border: 1px solid var(--gg-border);
    border-radius: 12px;
    padding: 1rem 1.4rem;
}

.gg-deletion-page {
    max-width: 920px;
}

.gg-deletion-callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    margin: 1.25rem 0 2.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(137, 25, 204, 0.55);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(137, 25, 204, 0.12), rgba(56, 189, 248, 0.06));
    box-shadow: var(--gg-card-glow);
}

.gg-deletion-callout > .mud-icon-root {
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--gg-grad-accent);
}

.gg-deletion-callout h2 {
    margin: 0 0 0.5rem;
}

.gg-deletion-callout p {
    margin-top: 0;
}

.gg-deletion-steps {
    margin: 0.75rem 0 1.5rem;
    padding-left: 1.5rem;
}

.gg-deletion-steps li {
    margin-bottom: 0.85rem;
    padding-left: 0.25rem;
}

@media (max-width: 599.98px) {
    .gg-deletion-callout {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
}

.gg-legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.gg-legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.gg-legal th,
.gg-legal td {
    border: 1px solid var(--gg-border);
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.gg-legal th {
    background: var(--gg-surface-2);
    font-family: 'Exo', sans-serif;
}
