/* Plinko MX — CSS 2026 · plinko.com.mx · deportech-mexico.com.mx */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --blue: #0066FF;
    --blue-mid: #0044BB;
    --blue-deep: #001A66;
    --neon: #00D4FF;
    --neon-glow: rgba(0, 212, 255, .4);
    --gold: #FFD700;
    --gold-dark: #C8920A;
    --gold-light: #FFE766;
    --gold-glow: rgba(255, 215, 0, .35);
    --green: #00C853;
    --green-glow: rgba(0, 200, 83, .35);
    --red: #FF1744;
    --dark: #020814;
    --dark-mid: #060F1E;
    --dark-card: #0A1628;
    --dark-card2: #0D1F38;
    --dark-card3: #112244;
    --border-blue: rgba(0, 102, 255, .3);
    --border-gold: rgba(255, 215, 0, .22);
    --border-neon: rgba(0, 212, 255, .25);
    --text: #E8F4FF;
    --text-muted: #6B8CAE;
    --grad-plinko: linear-gradient(135deg, #0066FF, #00D4FF);
    --grad-gold: linear-gradient(135deg, #FFD700, #FF9500);
    --grad-neon: linear-gradient(135deg, #00D4FF, #0066FF);
    --grad-win: linear-gradient(135deg, #00C853, #00D4FF);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: var(--dark-mid)
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 3px
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--gold);
    color: #000;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-size: .85rem;
    font-weight: 700;
    z-index: 9999;
    transition: top .2s
}

.skip-link:focus {
    top: 0
}

:focus-visible {
    outline: 3px solid var(--neon);
    outline-offset: 3px;
    border-radius: 4px
}

[id] {
    scroll-margin-top: 80px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 8, 20, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-blue)
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 70px
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    border: 1px solid rgba(0, 212, 255, .4);
    box-shadow: 0 0 18px var(--neon-glow);
    object-fit: cover
}

.logo-text {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em
}

.logo-plinko {
    color: var(--neon);
    text-shadow: 0 0 12px var(--neon-glow)
}

.logo-mx {
    color: var(--gold);
    font-size: .7em;
    text-shadow: 0 0 8px var(--gold-glow)
}

.main-nav {
    display: flex;
    gap: 2px;
    margin-left: auto
}

.main-nav a {
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .8rem;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-muted);
    transition: color .2s, background .2s
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--neon);
    background: rgba(0, 212, 255, .08)
}

.header-cta {
    background: var(--grad-plinko);
    color: #fff;
    padding: 9px 20px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .06em;
    white-space: nowrap;
    box-shadow: 0 0 24px var(--neon-glow);
    transition: transform .15s, box-shadow .15s;
    flex-shrink: 0;
    min-height: 44px;
    display: flex;
    align-items: center
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 48px var(--neon-glow)
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, .97);
    backdrop-filter: blur(24px);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .06em;
    transition: color .2s
}

.mobile-menu a:hover {
    color: var(--neon)
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer
}

@media(max-width:1000px) {

    .main-nav,
    .header-cta {
        display: none
    }

    .burger-btn {
        display: flex
    }
}

/* HERO */
.hero {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') right center/cover no-repeat;
    opacity: .75
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 20, .97) 40%, rgba(2, 8, 20, .5) 100%)
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: pFly 6s linear infinite;
    opacity: 0
}

@keyframes pFly {
    0% {
        opacity: 0;
        transform: translateY(100vh)
    }

    10% {
        opacity: .7
    }

    90% {
        opacity: .4
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh)
    }
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center
}

@media(max-width:768px) {
    .hero-inner {
        grid-template-columns: 1fr
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, .1);
    border: 1px solid rgba(0, 212, 255, .3);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .7rem;
    letter-spacing: .16em;
    color: var(--neon);
    font-family: var(--font-head);
    font-weight: 600;
    margin-bottom: 20px
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: .04em
}

.hero-title .plinko {
    color: var(--neon);
    text-shadow: 0 0 40px var(--neon-glow), 0 0 80px rgba(0, 212, 255, .2);
    display: block
}

.hero-title .casino {
    color: #fff;
    display: block
}

.hero-title .mx {
    color: var(--gold);
    font-size: .5em;
    letter-spacing: .2em;
    display: block
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px
}

.hero-traits {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.trait-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 212, 255, .07);
    border: 1px solid rgba(0, 212, 255, .2);
    border-radius: 8px;
    padding: 6px 13px;
    font-size: .72rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--neon)
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px
}

.hstat-val {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow)
}

.hstat-label {
    font-size: .65rem;
    color: var(--text-muted);
    letter-spacing: .1em;
    font-family: var(--font-head)
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn-plinko {
    background: var(--grad-plinko);
    color: #fff;
    padding: 14px 34px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    box-shadow: 0 0 32px var(--neon-glow);
    transition: transform .15s, box-shadow .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px
}

.btn-plinko:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--neon-glow)
}

.btn-gold {
    background: var(--grad-gold);
    color: #000;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    box-shadow: 0 0 24px var(--gold-glow);
    transition: transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px
}

.btn-gold:hover {
    transform: translateY(-2px)
}

.btn-outline {
    border: 2px solid var(--border-neon);
    color: var(--neon);
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .06em;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px
}

.btn-outline:hover {
    background: rgba(0, 212, 255, .1);
    border-color: var(--neon)
}

/* HERO PLINKO VISUAL */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.plinko-preview {
    background: linear-gradient(180deg, #0A1628, #020814);
    border: 2px solid rgba(0, 212, 255, .3);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 0 80px var(--neon-glow), 0 0 160px rgba(255, 215, 0, .06)
}

.prev-lights {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px
}

.pl {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    animation: plBlink .8s ease-in-out infinite
}

.pl.b {
    background: var(--neon);
    box-shadow: 0 0 6px var(--neon)
}

.pl.g {
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold);
    animation-delay: .4s
}

.pl.gr {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation-delay: .2s
}

@keyframes plBlink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .15
    }
}

.plinko-canvas-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-neon)
}

.jackpot-badge {
    background: rgba(255, 215, 0, .08);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 12px 20px;
    text-align: center;
    width: 100%
}

.jp-val {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 16px var(--gold-glow)
}

.jp-label {
    font-size: .6rem;
    color: var(--text-muted);
    letter-spacing: .12em;
    font-family: var(--font-head)
}

@media(max-width:768px) {
    .hero-visual {
        display: none
    }
}

/* TICKER */
.plinko-bar {
    background: linear-gradient(90deg, #001A66, #0066FF, #00D4FF, #0066FF, #001A66);
    padding: 8px 0;
    overflow: hidden
}

.plinko-bar-inner {
    display: flex;
    gap: 60px;
    animation: tickerMove 20s linear infinite;
    white-space: nowrap
}

@keyframes tickerMove {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.ticker-item {
    font-family: var(--font-head);
    font-size: .68rem;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .9)
}

/* SECTIONS */
.section {
    padding: 80px 0
}

.section-dark {
    background: var(--dark-card)
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.section-eyebrow {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .22em;
    color: var(--neon);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: .04em
}

.section-title span {
    color: var(--neon)
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 20px
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--grad-plinko);
    border-radius: 3px;
    margin: 0 0 48px
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px
}

.card {
    background: var(--dark-card2);
    border: 1px solid var(--border-blue);
    border-radius: 20px;
    padding: 28px;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, .4);
    box-shadow: 0 8px 40px rgba(0, 102, 255, .2)
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 14px
}

.card-title {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 10px;
    letter-spacing: .04em
}

.card-text {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.75
}

/* MULTIPLIER GRID */
.mult-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px
}

.mult-box {
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid;
    transition: transform .2s, box-shadow .2s
}

.mult-box:hover {
    transform: translateY(-3px)
}

.mult-val {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 4px
}

.mult-label {
    font-size: .62rem;
    color: var(--text-muted);
    letter-spacing: .1em
}

.mult-jackpot {
    background: rgba(255, 215, 0, .08);
    border-color: rgba(255, 215, 0, .4);
    box-shadow: 0 0 20px rgba(255, 215, 0, .15)
}

.mult-jackpot .mult-val {
    color: var(--gold);
    text-shadow: 0 0 16px var(--gold-glow)
}

.mult-high {
    background: rgba(0, 200, 83, .06);
    border-color: rgba(0, 200, 83, .3)
}

.mult-high .mult-val {
    color: var(--green)
}

.mult-mid {
    background: rgba(0, 212, 255, .05);
    border-color: rgba(0, 212, 255, .2)
}

.mult-mid .mult-val {
    color: var(--neon)
}

.mult-low {
    background: rgba(2, 8, 20, .5);
    border-color: rgba(107, 140, 174, .2)
}

.mult-low .mult-val {
    color: var(--text-muted)
}

/* BAR CHART */
.chart-wrap {
    background: var(--dark-card2);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px
}

.chart-title {
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: .06em
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px
}

.bar-label {
    font-size: .75rem;
    color: var(--text-muted);
    width: 140px;
    flex-shrink: 0;
    font-family: var(--font-head)
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, .05);
    border-radius: 6px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 1.6s cubic-bezier(.25, .46, .45, .94);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px
}

.bar-val {
    font-family: var(--font-head);
    font-size: .7rem;
    font-weight: 700;
    color: #000
}

.bar-fill.neon {
    background: var(--grad-neon)
}

.bar-fill.gold {
    background: var(--grad-gold)
}

.bar-fill.green {
    background: linear-gradient(90deg, #00C853, #00D4FF)
}

.bar-fill.red {
    background: linear-gradient(90deg, #FF1744, #FF6B00)
}

/* DONUT */
.donut-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center
}

@media(max-width:560px) {
    .donut-grid {
        grid-template-columns: 1fr
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    margin-bottom: 10px
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0
}

.legend-label {
    color: var(--text-muted)
}

.legend-val {
    color: var(--gold);
    font-family: var(--font-head);
    font-weight: 700;
    margin-left: auto
}

/* TABLES */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-neon);
    background: var(--dark-card2)
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .87rem
}

caption {
    font-family: var(--font-head);
    font-size: .65rem;
    letter-spacing: .1em;
    color: var(--text-muted);
    padding: 10px 16px 6px;
    text-align: left
}

th {
    background: rgba(0, 102, 255, .2);
    color: var(--neon);
    font-family: var(--font-head);
    font-size: .68rem;
    letter-spacing: .1em;
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-blue)
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    color: var(--text-muted);
    line-height: 1.5
}

tr:last-child td {
    border-bottom: none
}

tr:hover td {
    background: rgba(0, 102, 255, .08);
    color: var(--text)
}

.td-gold {
    color: var(--gold);
    font-weight: 700;
    font-family: var(--font-head)
}

.td-neon {
    color: var(--neon);
    font-weight: 700;
    font-family: var(--font-head)
}

.td-green {
    color: var(--green);
    font-weight: 700;
    font-family: var(--font-head)
}

.td-red {
    color: var(--red);
    font-weight: 700;
    font-family: var(--font-head)
}

.td-muted {
    color: var(--text-muted)
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.faq-item {
    background: var(--dark-card2);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    overflow: hidden
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    padding: 18px 20px;
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    transition: color .2s;
    min-height: 44px
}

.faq-q:hover {
    color: var(--neon)
}

.faq-q span {
    font-size: 1.3rem;
    color: var(--neon);
    flex-shrink: 0;
    transition: transform .3s
}

.faq-q[aria-expanded="true"] {
    color: var(--neon)
}

.faq-q[aria-expanded="true"] span {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0 20px
}

.faq-a.open {
    max-height: 600px;
    padding: 0 20px 18px
}

/* BREADCRUMB */
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 14px
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 6px;
    color: var(--neon)
}

.breadcrumb a {
    color: var(--neon)
}

.breadcrumb a:hover {
    color: var(--gold)
}

/* PAGE HERO */
.page-hero {
    padding: 48px 24px 52px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, .2), transparent 60%);
    border-bottom: 1px solid var(--border-blue);
    position: relative;
    overflow: hidden
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') center/cover no-repeat;
    opacity: .06;
    z-index: 0
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: .04em
}

.page-hero h1 span {
    color: var(--neon)
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto
}

/* FACTS */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px
}

.fact-box {
    background: var(--dark-card2);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 22px;
    text-align: center
}

.fact-val {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
    margin-bottom: 6px
}

.fact-label {
    font-size: .68rem;
    color: var(--text-muted);
    letter-spacing: .1em;
    font-family: var(--font-head)
}

/* FOOTER */
footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-blue);
    padding: 60px 0 32px
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }
}

.footer-brand p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
    margin-top: 10px
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: .62rem;
    letter-spacing: .16em;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--gold)
}

.footer-bottom {
    border-top: 1px solid var(--border-blue);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
    flex-direction: column
}

.footer-bottom a {
    color: var(--neon)
}

.footer-bottom a:hover {
    color: var(--gold)
}

/* RG BANNER */
.rgambling-banner {
    background: linear-gradient(135deg, #001A66, #004D2A);
    border: 1px solid var(--border-neon);
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.rgb-icon {
    font-size: 2.5rem;
    flex-shrink: 0
}

.rgb-text h3 {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 6px;
    letter-spacing: .05em
}

.rgb-text p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.6
}

/* SEO CONTENT */
.seo-content {
    background: var(--dark-card);
    border-top: 1px solid var(--border-gold);
    padding: 64px 0
}

.seo-article {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.seo-article h2 {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: .04em;
    line-height: 1.25
}

.seo-article h3 {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 12px;
    letter-spacing: .04em;
    border-left: 3px solid var(--neon);
    padding-left: 12px
}

.seo-article p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
    max-width: 860px
}

.seo-article strong {
    color: var(--text);
    font-weight: 600
}

.text-link {
    color: var(--neon);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s
}

.text-link:hover {
    color: var(--gold)
}

.seo-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 40px
}

.seo-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(0, 212, 255, .04);
    border: 1px solid rgba(0, 212, 255, .14);
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .05em;
    transition: all .2s;
    min-height: 52px
}

.seo-link-card:hover {
    background: rgba(0, 212, 255, .1);
    border-color: rgba(0, 212, 255, .35);
    color: var(--neon);
    transform: translateY(-2px)
}

.seo-link-card span {
    font-size: 1.1rem;
    flex-shrink: 0
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

/* PLINKO GAME BOARD */
.plinko-board-section {
    background: var(--dark-card);
    padding: 0
}

.plinko-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    min-height: calc(100vh - 70px)
}

@media(max-width:900px) {
    .plinko-wrap {
        grid-template-columns: 1fr
    }
}

.board-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    position: relative;
    overflow: hidden
}

.board-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 12px;
    flex-wrap: wrap;
    gap: 10px
}

.board-label {
    font-family: var(--font-head);
    font-size: .6rem;
    letter-spacing: .16em;
    color: var(--neon)
}

canvas#plinkoCanvas {
    border-radius: 16px;
    border: 1px solid var(--border-neon);
    box-shadow: 0 0 60px var(--neon-glow);
    max-width: 100%;
    display: block
}

.slot-labels {
    display: flex;
    width: 100%;
    margin-top: 2px;
    max-width: 560px
}

.slot-lbl {
    flex: 1;
    text-align: center;
    font-family: var(--font-head);
    font-size: .55rem;
    font-weight: 700;
    padding: 4px 2px;
    border-radius: 0 0 6px 6px
}

.side-controls {
    background: var(--dark-card2);
    border-left: 1px solid var(--border-blue);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto
}

@media(max-width:900px) {
    .side-controls {
        border-left: none;
        border-top: 1px solid var(--border-blue)
    }
}

.ctrl-label {
    font-family: var(--font-head);
    font-size: .55rem;
    letter-spacing: .14em;
    color: var(--neon);
    margin-bottom: 6px
}

.ctrl-val {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold)
}

.risk-tabs {
    display: flex;
    gap: 5px
}

.risk-btn {
    flex: 1;
    padding: 8px 4px;
    background: rgba(0, 102, 255, .08);
    border: 1px solid rgba(0, 102, 255, .2);
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: .58rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: all .2s;
    min-height: 36px
}

.risk-btn.active {
    background: rgba(0, 212, 255, .15);
    border-color: var(--neon);
    color: var(--neon)
}

.rows-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap
}

.rows-btn {
    padding: 6px 10px;
    background: rgba(0, 102, 255, .06);
    border: 1px solid rgba(0, 102, 255, .18);
    border-radius: 6px;
    font-family: var(--font-head);
    font-size: .6rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: all .2s
}

.rows-btn.active {
    background: rgba(0, 212, 255, .12);
    border-color: var(--neon);
    color: var(--neon)
}

.bet-row {
    display: flex;
    gap: 6px;
    align-items: center
}

.bet-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 212, 255, .08);
    border: 1px solid rgba(0, 212, 255, .2);
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    min-height: 44px;
    flex-shrink: 0
}

.bet-btn:hover {
    background: rgba(0, 212, 255, .2)
}

.bet-display {
    font-family: var(--font-head);
    font-size: .95rem;
    color: var(--gold);
    min-width: 60px;
    text-align: center;
    font-weight: 700
}

.drop-btn {
    width: 100%;
    padding: 14px;
    background: var(--grad-plinko);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    letter-spacing: .08em;
    box-shadow: 0 0 28px var(--neon-glow);
    transition: transform .15s, box-shadow .15s;
    min-height: 48px
}

.drop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 56px var(--neon-glow)
}

.drop-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none
}

.auto-btn {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: .65rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .06em;
    border: 1px solid rgba(0, 212, 255, .25);
    background: rgba(0, 212, 255, .06);
    color: var(--neon);
    transition: all .2s;
    min-height: 44px
}

.auto-btn.active {
    background: rgba(255, 215, 0, .1);
    border-color: var(--gold);
    color: var(--gold)
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.stat-row:last-child {
    border-bottom: none
}

.stat-label {
    font-size: .75rem;
    color: var(--text-muted)
}

.stat-v {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700
}

.sv-gold {
    color: var(--gold)
}

.sv-neon {
    color: var(--neon)
}

.sv-green {
    color: var(--green)
}

.sv-red {
    color: var(--red)
}

.hist-list {
    max-height: 130px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px
}

.hist-item {
    font-size: .68rem;
    color: var(--text-muted);
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .03);
    display: flex;
    justify-content: space-between
}

.hist-item.h-win {
    color: var(--green)
}

.hist-item.h-big {
    color: var(--gold);
    font-weight: 700
}

.hist-item.h-loss {
    color: var(--text-muted)
}

.bigwin-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .88);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.bigwin-overlay.show {
    opacity: 1;
    pointer-events: all
}

.bigwin-box {
    background: linear-gradient(135deg, #0A1628, #020814);
    border: 3px solid var(--gold);
    border-radius: 32px;
    padding: 52px 64px;
    text-align: center;
    box-shadow: 0 0 120px var(--neon-glow), 0 0 200px var(--gold-glow);
    animation: bwPulse .5s ease-in-out infinite alternate
}

@keyframes bwPulse {
    from {
        box-shadow: 0 0 60px var(--neon-glow)
    }

    to {
        box-shadow: 0 0 160px var(--neon-glow), 0 0 300px var(--gold-glow)
    }
}

.bw-icon {
    font-size: 4rem;
    margin-bottom: 8px
}

.bw-title {
    font-family: var(--font-head);
    font-size: .9rem;
    letter-spacing: .3em;
    color: var(--neon);
    margin-bottom: 10px
}

.bw-amount {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 40px var(--gold);
    margin-bottom: 6px
}

.bw-mult {
    font-family: var(--font-head);
    font-size: .85rem;
    letter-spacing: .15em;
    color: var(--text-muted);
    margin-bottom: 22px
}

.bw-close {
    background: var(--grad-plinko);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    letter-spacing: .08em
}

@media(max-width:480px) {
    .bigwin-box {
        padding: 36px 20px
    }

    .bw-amount {
        font-size: 1.7rem
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

@media print {

    .site-header,
    .mobile-menu,
    .burger-btn,
    .hero-visual,
    footer,
    .plinko-bar {
        display: none !important
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt
    }
}