:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --accent-primary: #00ffff;
    --accent-secondary: #ff00ff;
    --accent-warning: #ffff00;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --success: #00ff00;
    --error: #ff0000;
    --warning: #ffaa00;
    --border-color: #333333;
    --neon-glow: 0 0 10px rgba(0, 255, 255, 0.5);
    --neon-glow-strong: 0 0 20px rgba(0, 255, 255, 0.8);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.game-modal-open {
    overflow: hidden;
}

.neon-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000, #0a0a0a, #111111);
    z-index: -2;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: none;
}

.connection-status {
    position: fixed;
    top: .55rem;
    left: 50%;
    z-index: 3600;
    transform: translateX(-50%);
    padding: .42rem .75rem;
    border: 1px solid rgba(255, 193, 7, .55);
    border-radius: 999px;
    background: rgba(18, 18, 18, .96);
    color: #ffe39a;
    font-size: .75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}

.connection-status[data-status="offline"] {
    border-color: rgba(255, 107, 107, .7);
    color: #ffd2d2;
}

.logo-text {
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
}

.brand-logo-word {
    color: var(--text-primary);
}

.brand-logo-tail {
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
}

.brand-gamepad {
    width: 1.02em;
    height: 0.68em;
    margin: 0 0.02em;
    flex: 0 0 auto;
    overflow: visible;
    filter: drop-shadow(0 0 0.28em color-mix(in srgb, var(--accent-primary) 72%, transparent));
}

.brand-gamepad-shell {
    fill: var(--accent-primary);
    stroke: color-mix(in srgb, var(--accent-primary) 55%, white);
    stroke-width: 2;
    stroke-linejoin: round;
}

.brand-gamepad-control {
    fill: none;
    stroke: var(--bg-primary);
    stroke-width: 3;
    stroke-linecap: round;
}

.brand-gamepad-button {
    fill: var(--bg-primary);
}

.brand-gamepad-button-alt {
    fill: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-phone {
    color: var(--accent-primary);
    font-weight: 600;
}

.user-balance {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    color: var(--bg-primary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--neon-glow);
}

.btn-success {
    background: var(--success);
    color: var(--bg-primary);
}

.btn-warning {
    background: var(--warning);
    color: var(--bg-primary);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.section {
    display: none;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section.active {
    display: block;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
}

.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 3px 3px 0 var(--accent-primary), -3px -3px 0 var(--accent-secondary);
    animation: glitch 3s infinite;
    display: block;
}

@keyframes glitch {
    0%, 100% { transform: skew(0deg, 0deg); }
    95% { transform: skew(0deg, 0deg); }
    96% { transform: skew(5deg, 5deg); }
    97% { transform: skew(-5deg, -5deg); }
    98% { transform: skew(5deg, 5deg); }
    99% { transform: skew(0deg, 0deg); }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--accent-primary);
    display: block;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 2rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Wins Marquee */
.wins-marquee {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-primary);
    padding: 1rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.win-item {
    color: var(--accent-primary);
    font-weight: 600;
    padding: 0 1rem;
    border-right: 2px solid var(--accent-secondary);
}

.win-item:last-child {
    border-right: none;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Games Preview */
.games-preview {
    margin-top: 4rem;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.preview-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.preview-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: var(--neon-glow-strong);
}

.preview-card.whot-card {
    background: linear-gradient(135deg, var(--bg-secondary), #1a0033);
}

.preview-card.aviator-card {
    background: linear-gradient(135deg, var(--bg-secondary), #003333);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.preview-card h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.preview-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Dashboard */
.dashboard {
    padding: 1rem 0;
}

/* Banner Carousel */
.landing-carousel-section {
    width: min(1400px, calc(100% - 4rem));
    margin: 0 auto;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 80px;
    max-height: 300px;
    aspect-ratio: 1773 / 297;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 10px;
    background:
        radial-gradient(circle at center, rgba(138, 43, 226, 0.2), transparent 58%),
        var(--bg-secondary);
    border: 1px solid rgba(255, 178, 26, 0.28);
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-slide::after {
    content: attr(data-fallback);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem 4rem;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    pointer-events: none;
}

.carousel-slide.is-missing::after {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

/* Wallet Section */
.wallet-section {
    margin: 2rem 0;
}

.wallet-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--accent-primary);
    text-align: center;
}

.balance-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
    margin: 1rem 0;
}

.wallet-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Game Area */
.game-area {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: clamp(0.75rem, 2vw, 2rem);
    margin: 0;
    background: rgba(0, 0, 0, 0.86);
    border: 0;
    border-radius: 0;
    backdrop-filter: blur(6px);
    overscroll-behavior: contain;
}

.game-modal-open .modal.active {
    z-index: 2600;
}

.game-modal-panel {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: clamp(1rem, 2vw, 2rem);
    width: min(1200px, 100%);
    max-height: calc(100vh - clamp(1.5rem, 4vw, 4rem));
    max-height: calc(100dvh - clamp(1.5rem, 4vw, 4rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--accent-primary);
    box-shadow: var(--neon-glow-strong);
}

#gameContainer {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.game-status-banner {
    margin: 0 0 .75rem;
    padding: .7rem .9rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(16, 24, 28, .92);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.35;
}

.game-status-banner.warning {
    border-color: var(--warning);
}

.game-status-banner.success {
    border-color: var(--success);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.game-header h2 {
    color: var(--accent-primary);
}

#gameArea > .game-modal-panel > .game-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg-secondary);
}

.turn-indicator {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 700;
}

.turn-indicator.your-turn {
    border-color: var(--warning);
    color: var(--warning);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.35);
    animation: pulse 1.4s ease-in-out infinite;
}

/* WHOT Game Styles */
.whot-game {
    text-align: center;
}

.whot-card-display {
    font-size: 8rem;
    margin: 2rem 0;
    animation: cardFlip 1s ease;
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.whot-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Aviator Game Styles */
.aviator-game {
    text-align: center;
}

.flight-area {
    height: 300px;
    background: linear-gradient(180deg, #001122, #002233);
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.plane {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 3rem;
    animation: fly 3s linear infinite;
}

@keyframes fly {
    0% {
        bottom: 20px;
        left: 20px;
        transform: rotate(0deg);
    }
    100% {
        bottom: 250px;
        left: 500px;
        transform: rotate(45deg);
    }
}

.multiplier-display {
    font-size: 4rem;
    color: var(--accent-primary);
    text-shadow: var(--neon-glow);
    margin: 1rem 0;
}

/* History Section */
.history-section {
    margin-top: 2rem;
}

.history-section h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.history-list {
    background: var(--bg-secondary);
    border-radius: 5px;
    overflow: hidden;
}

.history-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item.win {
    background: rgba(0, 255, 0, 0.1);
}

.history-item.loss {
    background: rgba(255, 0, 0, 0.1);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

#p2pConfirmationModal.active {
    z-index: 3300;
    padding:
        max(1rem, env(safe-area-inset-top))
        max(1rem, env(safe-area-inset-right))
        max(1rem, env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: min(88vh, 720px);
    overflow-y: auto;
    border: 1px solid var(--accent-primary);
    box-shadow: var(--neon-glow-strong);
}

.game-modal-panel,
.modal-content,
#registerModal form,
#withdrawModal form,
.odd-participants-table {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, .52) rgba(255, 255, 255, .07);
}

.game-modal-panel::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
#registerModal form::-webkit-scrollbar,
#withdrawModal form::-webkit-scrollbar,
.odd-participants-table::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.game-modal-panel::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track,
#registerModal form::-webkit-scrollbar-track,
#withdrawModal form::-webkit-scrollbar-track,
.odd-participants-table::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
}

.game-modal-panel::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb,
#registerModal form::-webkit-scrollbar-thumb,
#withdrawModal form::-webkit-scrollbar-thumb,
.odd-participants-table::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 215, 0, .86), rgba(0, 255, 255, .58));
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--accent-primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--error);
}

.modal form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    max-width: 350px;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast.info {
    border-left-color: var(--accent-primary);
}

/* Add to existing style.css */

/* Game Cards */
.card {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.card.playable:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

.card.back {
    background-image: url('/assets/cards/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--accent-primary);
    position: relative;
}

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

/* Game Tables */
.whot-game, .blackjack-game, .poker-game {
    min-height: 600px;
    background: linear-gradient(135deg, #0a2f2f, #1a3f3f);
    border-radius: 20px;
    padding: 2rem;
}

.game-table {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 500px;
}

.bot-area, .dealer-area {
    text-align: center;
}

.bot-cards, .dealer-cards, .player-cards {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-height: 130px;
}

.market-area {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.market-card {
    transform: scale(1.2);
}

.deck {
    position: relative;
    cursor: pointer;
}

.deck-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.player-area {
    text-align: center;
}

/* Game Info */
.game-info {
    text-align: center;
    margin: 1rem 0;
    min-height: 60px;
}

.message {
    font-size: 1.2rem;
    color: var(--accent-primary);
    animation: pulse 2s infinite;
}

.message.killer {
    color: var(--error);
    font-size: 2rem;
    font-weight: bold;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.pick-two {
    font-size: 2rem;
    color: var(--warning);
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Suit Selector */
.suit-selector {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--accent-primary);
    margin-top: 1rem;
}

.suit-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Scores */
.dealer-score, .player-score {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.hand-rank {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin: 1rem 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Game Over Messages */
.winner-message, .loser-message, .push-message {
    text-align: center;
    animation: fadeIn 1s ease;
}

.winner-message h2 {
    color: var(--success);
    font-size: 2rem;
}

.loser-message h2 {
    color: var(--error);
    font-size: 2rem;
}

.push-message h2 {
    color: var(--warning);
    font-size: 2rem;
}

/* Game Features Badges */
.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.feature-badge {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Game Card Clickable */
.game-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

/* Bet Modal for Game Start */
.bet-modal {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.bet-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.bet-preset-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bet-preset-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.bet-preset-btn.selected {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* Game Info Box */
.game-info-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.game-info-box p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

.game-info-box strong {
    color: var(--accent-primary);
}

/* Verification Details */
.verification-details {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1rem;
    word-break: break-all;
}

.verification-details h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.verification-details p {
    margin: 0.25rem 0;
    font-family: monospace;
}

.community-area {
    margin: 20px 0;
    text-align: center;
}

.community-cards {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.community-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.pot-info, .round-info {
    margin: 5px 0;
    font-weight: bold;
}

.round-info {
    color: #4CAF50;
    text-transform: capitalize;
}

/* Betting Controls */
.betting-controls {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.betting-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-check {
    background: #4CAF50;
    color: white;
}

.btn-call {
    background: #2196F3;
    color: white;
}

.btn-raise {
    background: #FF9800;
    color: white;
}

.btn-fold {
    background: #f44336;
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.betting-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
}

/* Raise Dialog */
.raise-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.raise-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.raise-content input {
    width: 200px;
    padding: 10px;
    margin: 20px 0;
    font-size: 1.2em;
    border: 2px solid #4CAF50;
    border-radius: 5px;
}

.raise-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Game Info */
.pot-info, .round-info {
    font-size: 1.2em;
    margin: 5px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.round-info {
    color: #4CAF50;
    text-transform: capitalize;
}

.hand-rank {
    font-size: 1.1em;
    color: #FFD700;
    margin: 10px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Cards */
@media (max-width: 768px) {
    .card {
        width: 60px;
        height: 90px;
    }
    
    .market-card {
        transform: scale(1);
    }
    
    .suit-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .card {
        width: 45px;
        height: 68px;
    }
    
    .bot-cards, .dealer-cards, .player-cards {
        gap: 0.25rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Odd Category Games Styles */

/* Aviators Game */
.aviators-game {
    background: linear-gradient(135deg, #001122, #002244);
    border-radius: 15px;
    padding: 2rem;
    min-height: 600px;
}

.planes-container {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    border-bottom: 2px solid var(--accent-primary);
    background: linear-gradient(180deg, #87CEEB 0%, #87CEEB 70%, #228B22 100%);
    border-radius: 10px;
    overflow: hidden;
}

.plane-container {
    position: absolute;
    bottom: 0;
    width: 100px;
    transition: all 0.3s ease;
}

.plane-container:nth-child(1) { left: 10%; }
.plane-container:nth-child(2) { left: 45%; }
.plane-container:nth-child(3) { left: 80%; }

.plane {
    position: absolute;
    top: var(--plane-top, 60%);
    font-size: 3rem;
    transform: translateX(-50%);
    transition: top 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.multiplier {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--accent-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.crash-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: explode 0.5s ease;
}

/* Police Thief Game - Complete Styles */
.police-thief-game {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 2rem;
    min-height: 600px;
    color: white;
}

.track {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    background: linear-gradient(180deg, #2c3e50, #34495e);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

.lane {
    position: relative;
    height: 50%;
    border-bottom: 2px dashed rgba(255,255,255,0.3);
}

.lane:last-child {
    border-bottom: none;
}

.character {
    position: absolute;
    left: var(--character-left, 0%);
    bottom: 10px;
    font-size: 3rem;
    transition: left 0.15s ease-out;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    z-index: 10;
}

.character .multiplier {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--accent-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.police-lane .character {
    filter: drop-shadow(0 0 10px blue);
}

.thief-lane .character {
    filter: drop-shadow(0 0 10px red);
}

.safety-zone {
    position: absolute;
    right: 0;
    top: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,0,0.2));
    border-left: 3px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.9rem;
    z-index: 5;
}

.catch-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    animation: catchPulse 0.5s ease infinite;
    z-index: 20;
    text-shadow: 0 0 20px yellow;
}

@keyframes catchPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.escape-effect {
    position: absolute;
    top: 30%;
    right: 20%;
    font-size: 3rem;
    animation: escape 1s ease infinite;
    z-index: 20;
}

@keyframes escape {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}

.quick-amounts {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.quick-amount-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: #1e293b;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.quick-amount-btn:hover {
    transform: translateY(-2px);
}

.quick-amount-btn.active {
    background: #16a34a;
}

.bet-types button {
    width: 100%;
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.bet-types button:hover {
    transform: scale(1.02);
}

/* Bus Stop Game - Complete Styles */
.bus-stop-game {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 15px;
    padding: 2rem;
    min-height: 600px;
}

.route {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    background: #2c3e50;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

.road {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fff, var(--accent-primary), #fff);
    box-shadow: 0 0 10px var(--accent-primary);
    z-index: 1;
}

.bus {
    position: absolute;
    left: var(--bus-left, 10%);
    bottom: 20px;
    font-size: 3rem;
    transition: left 0.5s ease;
    filter: drop-shadow(0 0 10px yellow);
    z-index: 10;
}

.bus .multiplier {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--accent-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 1rem;
    white-space: nowrap;
}

.stops {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 5;
}

.stop {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 2;
}

.stop.reached {
    background: var(--success);
    border-color: var(--success);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--success);
}

.stop-icon {
    font-size: 1.5rem;
}

.stop-name {
    margin-top: 0.25rem;
    font-size: 0.7rem;
}

.passenger-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 15;
    animation: pulse 2s infinite;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.location-bet {
    background: rgba(0,0,0,0.3);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.location-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.location-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.location-bet button {
    width: 100%;
    margin: 0.125rem 0;
    font-size: 0.8rem;
    padding: 0.25rem;
}

/* Special Events */
.special-event {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-weight: bold;
    animation: slideIn 0.5s ease;
}

.special-event.catch {
    background: rgba(255, 215, 0, 0.3);
    border: 2px solid gold;
    color: gold;
}

.special-event.escape {
    background: rgba(0, 255, 0, 0.3);
    border: 2px solid var(--success);
    color: var(--success);
}

.special-event.crash {
    background: rgba(255, 0, 0, 0.3);
    border: 2px solid var(--error);
    color: var(--error);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Crash Effect */
.crash-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: explode 0.5s ease;
    z-index: 30;
}

@keyframes explode {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Winner Announcement */
.winner-announcement {
    text-align: center;
    font-size: 1.5rem;
    color: var(--success);
    margin: 1rem 0;
    animation: pulse 1s infinite;
    padding: 1rem;
    background: rgba(0,255,0,0.1);
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bet-types {
        grid-template-columns: 1fr;
    }
    
    .stop {
        width: 50px;
        height: 50px;
    }
    
    .stop-icon {
        font-size: 1rem;
    }
    
    .stop-name {
        display: none;
    }
    
    .character {
        font-size: 2rem;
    }
    
    .safety-zone {
        font-size: 0.7rem;
        writing-mode: horizontal-tb;
        width: auto;
        height: auto;
        padding: 0.25rem;
        top: auto;
        bottom: 0;
    }
}

/* P2P Games Styles */
.p2p-game {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 2rem;
    min-height: 600px;
}

/* Checkers Board */
.checkers-board {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.board {
    display: inline-block;
    border: 3px solid var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.board-row {
    display: flex;
}

.board-cell {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.board-cell.dark {
    background-color: #8B4513;
}

.board-cell.light {
    background-color: #F5DEB3;
}

.board-cell.selected {
    box-shadow: inset 0 0 0 3px var(--accent-primary);
    animation: pulse 1s infinite;
}

.piece {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.piece.red {
    background: radial-gradient(circle at 30% 30%, #ff4444, #cc0000);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.piece.black {
    background: radial-gradient(circle at 30% 30%, #444, #111);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.piece.king {
    border: 2px solid gold;
}

.piece.playable:hover {
    transform: scale(1.1);
    cursor: pointer;
    filter: brightness(1.2);
}

/* WHOT P2P */
.whot-table {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.opponents-area {
    min-height: 200px;
}

.opponents {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.opponent {
    text-align: center;
    position: relative;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 10px;
    min-width: 150px;
}

.opponent-name {
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.opponent-cards {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.turn-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

.your-hand {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.card {
    position: relative;
    width: 80px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card.playable:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

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

.card-effect {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: var(--accent-primary);
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Poker P2P */
.hand-rank {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin-top: 1rem;
}

.hand-rank-small {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    margin-top: 0.5rem;
}

.player-bet-info {
    display: grid;
    gap: 0.25rem;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bet-summary {
    margin: 1rem 0;
}

.bet-grid {
    display: grid;
    gap: 0.5rem;
}

.bet-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
}

.raise-panel {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.raise-panel[hidden] {
    display: none;
}

.raise-panel input {
    width: min(180px, 45vw);
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Game Controls */
.game-controls {
    margin: 2rem 0;
    text-align: center;
}

.moves-list {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.move-item {
    padding: 0.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Winner/Loser Overlays */
.winner-overlay, .loser-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    z-index: 1000;
    animation: slideIn 0.5s ease;
}

.winner-overlay h2 {
    color: var(--success);
    font-size: 2rem;
}

.loser-overlay h2 {
    color: var(--error);
    font-size: 2rem;
}

/* Captured Pieces */
.captured-pieces {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .board-cell {
        width: 40px;
        height: 40px;
    }
    
    .piece {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .card {
        width: 60px;
        height: 90px;
    }
    
    .opponent {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .board-cell {
        width: 35px;
        height: 35px;
    }
    
    .card {
        width: 50px;
        height: 75px;
    }
}

/* Premium P2P Game Surfaces */
.p2p-premium-scroll,
.p2p-side-scroll,
.p2p-game .cards-container,
.p2p-game .opponent-cards {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.p2p-premium-scroll::-webkit-scrollbar,
.p2p-side-scroll::-webkit-scrollbar,
.p2p-game .cards-container::-webkit-scrollbar,
.p2p-game .opponent-cards::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.p2p-game {
    min-height: 0;
    padding: clamp(.7rem, 1.6vw, 1.35rem);
    overflow-y: auto;
    border: 1px solid rgba(255, 215, 0, .28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 215, 0, .12), transparent 26%),
        radial-gradient(circle at 88% 0%, rgba(0, 255, 255, .12), transparent 28%),
        linear-gradient(145deg, #111827, #071018 68%, #0f121c);
    box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 18px 42px rgba(0, 0, 0, .38);
}

.p2p-game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .75rem;
    padding: .62rem .75rem;
    border: 1px solid rgba(255, 215, 0, .24);
    border-radius: 12px;
    background: rgba(3, 8, 13, .72);
}

.p2p-game-id {
    min-width: 0;
    color: #aebbc1;
    font-size: .76rem;
    overflow-wrap: anywhere;
}

.p2p-game-id strong {
    color: #f3d46c;
    font-family: 'Orbitron', sans-serif;
}

.p2p-meta-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.p2p-chip-stat {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .38rem .58rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: #d8d2bc;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.p2p-chip-stat strong {
    color: #fff1b8;
}

.p2p-chip-stat-win {
    border-color: rgba(85, 230, 157, .26);
}

.p2p-player-count,
.p2p-played-count {
    border-color: rgba(0, 255, 255, .25);
}

.p2p-game > .game-header {
    gap: .6rem;
    margin-bottom: .75rem;
    padding: .55rem .65rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
}

.p2p-side-scroll {
    max-height: min(24vh, 190px);
    overflow-y: auto;
}

/* P2P Checkers */
.checkers-game {
    display: grid;
    gap: .75rem;
}

.p2p-checkers-stage {
    display: grid;
    place-items: center;
    min-height: 0;
}

.checkers-game .checkers-board {
    width: min(100%, clamp(280px, min(74vw, calc(100dvh - 265px)), 560px));
    margin: 0 auto;
    padding: clamp(.35rem, 1vw, .65rem);
    border: 1px solid rgba(255, 215, 0, .34);
    border-radius: 18px;
    background: linear-gradient(145deg, #4a2a12, #180d08);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .45), inset 0 0 0 6px rgba(255, 214, 91, .08);
}

.checkers-game .board {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 28px rgba(0, 0, 0, .5);
}

.checkers-game .board-row {
    display: contents;
}

.checkers-game .board-cell {
    width: auto;
    height: auto;
    min-width: 0;
    aspect-ratio: 1;
}

.checkers-game .board-cell.dark {
    background:
        linear-gradient(145deg, rgba(0, 0, 0, .08), rgba(255, 255, 255, .03)),
        #6b3517;
}

.checkers-game .board-cell.light {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .04)),
        #d7b46e;
}

.checkers-game .piece {
    width: 78%;
    height: 78%;
    font-size: clamp(1rem, 4vw, 2rem);
    box-shadow: inset 0 3px 8px rgba(255, 255, 255, .18), 0 8px 12px rgba(0, 0, 0, .38);
}

.checkers-game .board-cell.selected {
    box-shadow: inset 0 0 0 4px rgba(0, 255, 255, .82), inset 0 0 20px rgba(0, 255, 255, .22);
}

.checkers-game .board-cell.valid-move::after {
    position: relative;
    z-index: 5;
    width: 28%;
    height: 28%;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(0, 255, 180, .42);
    box-shadow: 0 0 15px rgba(0, 255, 180, .48);
    content: "";
}

.checkers-game .board-cell.capture-move::after {
    background: rgba(255, 76, 76, .55);
    box-shadow: 0 0 17px rgba(255, 76, 76, .58);
}

.p2p-board-engraving,
.p2p-table-engraving {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    color: rgba(0, 0, 0, .28);
    font: 900 clamp(.72rem, 1.8vw, 1rem) 'Orbitron', sans-serif;
    letter-spacing: .16em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px rgba(255, 255, 255, .16), 0 -1px rgba(0, 0, 0, .55);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.p2p-board-engraving {
    z-index: 3;
    color: rgba(34, 17, 5, .34);
    mix-blend-mode: multiply;
}

.checkers-game .piece {
    position: relative;
    z-index: 4;
}

/* P2P WHOT */
.p2p-whot-game .whot-table {
    position: relative;
    min-height: clamp(390px, 54vh, 590px);
    padding: clamp(.8rem, 2vw, 1.4rem);
    overflow: hidden;
    border: 8px solid #24150d;
    border-radius: 46% / 12%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, .09), transparent 40%),
        repeating-linear-gradient(98deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
        linear-gradient(145deg, #0b5b3f, #062e25 68%, #051b18);
    box-shadow: inset 0 0 0 3px #8e662f, inset 0 0 44px rgba(0, 0, 0, .65), 0 18px 42px rgba(0, 0, 0, .38);
}

.p2p-whot-game .opponents-area {
    min-height: 118px;
    position: relative;
    z-index: 2;
}

.p2p-whot-center-message,
.p2p-poker-message {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    margin: .35rem auto;
}

.p2p-whot-center-message span,
.p2p-poker-message span {
    padding: .5rem .8rem;
    border: 1px solid rgba(255, 215, 0, .28);
    border-radius: 999px;
    background: rgba(1, 12, 10, .72);
    color: #fff3bc;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(.78rem, 1.4vw, 1rem);
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(255, 215, 0, .12);
}

.p2p-whot-center-zone {
    position: relative;
    z-index: 3;
}

.p2p-whot-played-count {
    display: none;
}

.p2p-whot-game .market-area {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2.5rem);
    margin: .55rem 0;
}

.p2p-whot-game .market-card.is-clickable {
    cursor: pointer;
    touch-action: manipulation;
}

.p2p-whot-game .market-card.is-clickable:hover .card {
    transform: translateY(-7px) rotate(-2deg);
    box-shadow: 0 0 18px rgba(255, 215, 0, .32);
}

.p2p-whot-game .market-card,
.p2p-whot-game .display-card {
    display: grid;
    place-items: center;
}

.p2p-whot-game .market-card:focus-visible .card {
    outline: 2px solid rgba(255, 215, 0, .82);
    outline-offset: 4px;
    box-shadow: 0 0 18px rgba(255, 215, 0, .32);
}

.p2p-whot-game .market-card .card,
.p2p-whot-game .market-card .card img,
.p2p-whot-game .display-card .card,
.p2p-whot-game .display-card .card img {
    object-position: center;
}

.p2p-whot-game .deck-area {
    position: relative;
    display: grid;
    place-items: center;
}

.p2p-whot-game .deck-count {
    left: 50%;
    right: auto;
    text-align: center;
    transform: translateX(-50%);
}

.p2p-whot-game .your-hand {
    position: relative;
    z-index: 2;
    margin-top: .8rem;
    border: 1px solid rgba(255, 215, 0, .18);
    background: rgba(0, 0, 0, .24);
}

@media (min-width: 900px) {
    .p2p-whot-game {
        gap: .5rem;
        padding: .65rem .85rem;
        overflow-y: auto;
    }

    .p2p-whot-game .p2p-game-meta {
        margin-bottom: .35rem;
        padding: .45rem .6rem;
    }

    .p2p-whot-game > .game-header {
        gap: .35rem;
        margin-bottom: .4rem;
        padding: .4rem .55rem;
    }

    .p2p-whot-game .p2p-whot-table {
        position: relative;
        display: grid;
        grid-template-rows: minmax(122px, auto) minmax(188px, 1fr) minmax(142px, auto);
        gap: .45rem;
        height: min(660px, calc(100dvh - 205px));
        min-height: 540px;
        max-height: calc(100vh - 185px);
        padding: .9rem clamp(.8rem, 2vw, 1.55rem);
        overflow: visible;
        border-radius: 46% / 12%;
    }

    .p2p-whot-game .p2p-whot-opponent-zone {
        grid-row: 1;
        position: relative;
        z-index: 4;
        display: flex;
        min-width: 0;
        min-height: 122px;
        align-items: flex-start;
        justify-content: center;
        padding: .2rem .65rem .35rem;
        overflow: visible;
    }

    .p2p-whot-game .opponents {
        display: grid;
        width: min(100%, 780px);
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: clamp(.45rem, 1.2vw, .8rem);
        align-items: start;
        justify-content: center;
    }

    .p2p-whot-game .opponent {
        min-width: 145px;
        max-width: 240px;
        padding: .42rem .52rem;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        background: rgba(0, 0, 0, .28);
        overflow: visible;
    }

    .p2p-whot-game .opponent-name {
        margin-bottom: .25rem;
        font-size: .76rem;
    }

    .p2p-whot-game .p2p-whot-center-zone {
        grid-row: 2;
        position: relative;
        z-index: 5;
        align-self: center;
        justify-self: center;
        display: grid;
        width: min(430px, 70%);
        min-height: 188px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        justify-items: center;
        gap: .45rem;
        margin: 0;
    }

    .p2p-whot-game .p2p-whot-center-message {
        order: 2;
        width: min(330px, 100%);
        margin: 0;
    }

    .p2p-whot-game .p2p-whot-center-message span {
        padding: .38rem .68rem;
        font-size: .8rem;
    }

    .p2p-whot-game .market-area {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 104px;
        margin: 0;
        gap: clamp(1.2rem, 4vw, 2.8rem);
    }

    .p2p-whot-game .p2p-whot-played-count {
        order: 3;
        display: block;
        padding: .28rem .55rem;
        border: 1px solid rgba(255, 215, 0, .2);
        border-radius: 999px;
        background: rgba(1, 12, 10, .48);
        color: rgba(255, 243, 188, .92);
        font-size: .72rem;
        font-weight: 800;
    }

    .p2p-whot-game .p2p-whot-provider {
        position: absolute;
        z-index: 1;
        left: 50%;
        top: 64%;
        display: block;
        width: auto;
        color: rgba(255, 255, 255, .38);
        font-family: 'Orbitron', sans-serif;
        font-size: clamp(1.15rem, 2.6vw, 2rem);
        font-weight: 900;
        letter-spacing: .16em;
        line-height: 1.02;
        text-align: center;
        text-transform: uppercase;
        text-shadow: 0 2px 4px rgba(0, 0, 0, .95), 0 -1px 0 rgba(255, 255, 255, .16);
        transform: translate(-50%, -50%);
        pointer-events: none;
        mix-blend-mode: soft-light;
    }

    .p2p-whot-game .p2p-whot-provider span {
        display: block;
    }

    .p2p-whot-game .p2p-whot-player-zone {
        grid-row: 3;
        position: relative;
        z-index: 6;
        display: grid;
        min-width: 0;
        min-height: 136px;
        max-height: 176px;
        align-content: center;
        padding: .42rem .65rem .5rem;
        margin-top: 0;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 215, 0, .5) transparent;
    }

    .p2p-whot-game .your-hand {
        margin-top: 0;
    }

    .p2p-whot-game .your-hand h3 {
        margin: .05rem 0 .32rem;
        color: #fff7d6;
        font-family: 'Orbitron', sans-serif;
        font-size: .82rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .p2p-whot-game .cards-container,
    .p2p-whot-game .opponent-cards {
        max-width: 100%;
        margin-top: .2rem;
        padding-bottom: .15rem;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
    }

    .p2p-whot-game .cards-container::-webkit-scrollbar,
    .p2p-whot-game .opponent-cards::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .p2p-whot-game .p2p-whot-player-zone .cards-container {
        min-height: 104px;
        justify-content: flex-start;
        justify-content: safe center;
        padding: 6px .25rem 8px;
    }

    .p2p-whot-game .opponent .opponent-cards {
        justify-content: center;
    }

    .p2p-whot-game .opponent-cards .card {
        width: clamp(46px, 4.4vw, 58px);
        height: clamp(69px, 6.6vw, 87px);
    }

    .p2p-whot-game .cards-container .card,
    .p2p-whot-game .market-area .card {
        width: clamp(58px, 5vw, 72px);
        height: clamp(87px, 7.5vw, 108px);
    }

    .p2p-whot-game .p2p-whot-info-panel,
    .p2p-whot-game .moves-list {
        margin-top: .8rem;
    }
}

.p2p-game .cards-container,
.p2p-game .opponent-cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .25rem;
}

.p2p-game .card {
    width: clamp(58px, 7vw, 82px);
    height: clamp(87px, 10.5vw, 123px);
    flex: 0 0 auto;
}

/* P2P Poker */
.p2p-poker-table {
    position: relative;
    min-height: clamp(460px, 58vh, 650px);
    overflow: hidden;
    border: 9px solid #25160e;
    border-radius: 46% / 13%;
    background:
        radial-gradient(ellipse at 50% 52%, rgba(238, 203, 95, .12), transparent 35%),
        repeating-linear-gradient(98deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
        linear-gradient(145deg, #0d523c, #063328 67%, #052119);
    box-shadow: inset 0 0 0 3px #8e662f, inset 0 0 42px rgba(0, 0, 0, .72), 0 18px 42px rgba(0, 0, 0, .42);
}

.p2p-poker-center {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: min(440px, 48%);
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
}

.p2p-poker-center h3 {
    margin: .5rem 0;
    color: #f5dda0;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.p2p-poker-seat {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: .3rem;
    justify-items: center;
    width: min(220px, 28%);
    padding: .5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(2, 9, 12, .52);
}

.p2p-poker-seat.is-turn {
    border-color: rgba(255, 215, 0, .46);
    box-shadow: 0 0 18px rgba(255, 215, 0, .18);
}

.p2p-poker-seat.seat-top {
    left: 50%;
    top: .8rem;
    transform: translateX(-50%);
}

.p2p-poker-seat.seat-bottom {
    left: 50%;
    bottom: .8rem;
    transform: translateX(-50%);
}

.p2p-poker-seat.seat-left {
    left: 1rem;
    top: 47%;
    transform: translateY(-50%);
}

.p2p-poker-seat.seat-right {
    right: 1rem;
    top: 47%;
    transform: translateY(-50%);
}

.p2p-poker-seat.seat-upper-left {
    left: 13%;
    top: 16%;
}

.p2p-poker-seat.seat-upper-right {
    right: 13%;
    top: 16%;
}

.p2p-poker-seat.is-viewer {
    width: min(300px, 42%);
    border-color: rgba(0, 255, 255, .24);
    background: rgba(0, 18, 24, .72);
}

.p2p-poker-seat.is-viewer .card {
    width: clamp(64px, 7.5vw, 88px);
    height: clamp(96px, 11.25vw, 132px);
}

.p2p-result-overlay {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, .56);
    backdrop-filter: blur(4px);
}

.p2p-result-card {
    width: min(430px, 100%);
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, .36);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 215, 0, .16), transparent 30%),
        linear-gradient(145deg, #111827, #05070b);
    color: #f7f2df;
    text-align: center;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .6), 0 0 28px rgba(255, 215, 0, .12);
}

.p2p-result-overlay.is-win .p2p-result-card {
    border-color: rgba(78, 255, 161, .44);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .62), 0 0 34px rgba(78, 255, 161, .2);
}

.p2p-result-overlay.is-loss .p2p-result-card {
    border-color: rgba(255, 92, 122, .42);
}

.p2p-result-kicker {
    color: #8fe9f5;
    font-family: 'Orbitron', sans-serif;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.p2p-result-card h2 {
    margin: .5rem 0;
    color: #fff1b8;
    font-size: clamp(1.55rem, 4vw, 2.3rem);
}

.p2p-result-overlay.is-win .p2p-result-card h2 {
    color: #75f0ad;
}

.p2p-result-overlay.is-loss .p2p-result-card h2 {
    color: #ff8ea0;
}

.winning-hands {
    display: grid;
    gap: .35rem;
    margin: .8rem 0;
    color: #cfd8dc;
    font-size: .86rem;
}

@media (max-width: 900px) {
    .p2p-game-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .p2p-meta-stats {
        justify-content: flex-start;
    }

    .p2p-poker-table {
        display: grid;
        gap: .7rem;
        min-height: 0;
        padding: .75rem;
        border-radius: 28px;
    }

    .p2p-poker-center,
    .p2p-poker-seat {
        position: relative;
        inset: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        transform: none;
    }

    .p2p-poker-center {
        order: 2;
    }

    .p2p-poker-seat.seat-top,
    .p2p-poker-seat.seat-left,
    .p2p-poker-seat.seat-right,
    .p2p-poker-seat.seat-upper-left,
    .p2p-poker-seat.seat-upper-right {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .p2p-poker-seat.is-viewer {
        order: 3;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .p2p-game {
        padding: .55rem;
        border-radius: 14px;
    }

    .p2p-chip-stat {
        width: 100%;
        justify-content: center;
    }

    .checkers-game .checkers-board {
        width: min(100%, calc(100vw - 2.2rem));
    }

    .p2p-whot-game .whot-table {
        min-height: 0;
        border-width: 5px;
        border-radius: 28px;
    }

    .p2p-whot-game .market-area {
        gap: .8rem;
    }

    .p2p-game .card {
        width: 58px;
        height: 87px;
    }

    .p2p-poker-table,
    .p2p-poker-seat,
    .p2p-poker-center,
    .p2p-poker-seat .opponent-cards,
    .p2p-poker-center .community-cards {
        max-width: 100%;
        min-width: 0;
    }

    .p2p-poker-seat {
        overflow: hidden;
    }

    .p2p-poker-seat .opponent-cards,
    .p2p-poker-center .community-cards {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .p2p-poker-seat.is-viewer .card {
        width: 58px;
        height: 87px;
    }
}

@keyframes explode {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}


/* Common Components */
.players-table {
    margin-top: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
}

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

.players-table th {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.5rem;
}

.players-table td {
    padding: 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.players-table td.win {
    color: var(--success);
    font-weight: bold;
}

.betting-panel {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.bet-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.custom-bet {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.custom-bet input {
    width: 150px;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 5px;
}

.timer {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-primary);
    text-align: center;
}

.winner-announcement {
    text-align: center;
    font-size: 1.5rem;
    color: var(--success);
    margin: 1rem 0;
    animation: pulse 1s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .planes-container {
        height: 200px;
    }
    
    .plane {
        font-size: 2rem;
    }
    
    .bet-options {
        flex-direction: column;
    }
    
    .custom-bet {
        flex-direction: column;
    }
    
    .custom-bet input {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .glitch-text {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .wallet-actions {
        flex-direction: column;
    }
    
    .history-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .preview-cards {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}

#registerModal .modal-content,
#withdrawModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: min(86vh, 680px);
    overflow: hidden auto;
}

#registerModal .modal-header,
#withdrawModal .modal-header,
#registerModal .modal-footer,
#withdrawModal .modal-footer {
    flex: 0 0 auto;
}

#registerModal form,
#withdrawModal form {
    min-height: 0;
    overflow-y: auto;
}

#registerModal .form-group,
#withdrawModal .form-group {
    margin-bottom: .75rem;
}

#registerModal input,
#withdrawModal input {
    padding-top: .65rem;
    padding-bottom: .65rem;
}

.locked-input {
    border-color: rgba(0, 255, 255, .38) !important;
    background:
        linear-gradient(135deg, rgba(0, 255, 255, .08), rgba(255, 215, 0, .05)),
        var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
    cursor: not-allowed;
}

.withdraw-name-lock-help {
    padding-left: 1.2rem;
    position: relative;
    color: #9deff2 !important;
    line-height: 1.45;
}

.withdraw-name-lock-help::before {
    content: '🔒';
    position: absolute;
    left: 0;
    top: 0;
}

/* =====================================================
   LANDING PAGE SECTIONS
   Keep these styles grouped for easy campaign/UI edits.
   ===================================================== */
#heroSection,
#popularGamesSection,
#promotionsSection,
#siteFooter,
#dashboardGamesSection {
    scroll-margin-top: 105px;
}

.hero {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
}

.hero-content,
.hero-stats {
    position: relative;
    z-index: 2;
}

.hero-game-orbits {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.game-orb {
    --orb-color: #00ffff;
    position: absolute;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border: 2px solid color-mix(in srgb, var(--orb-color) 75%, white);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.38), transparent 22%),
        linear-gradient(145deg, color-mix(in srgb, var(--orb-color) 70%, #111), #08090d 78%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow:
        0 0 18px color-mix(in srgb, var(--orb-color) 65%, transparent),
        inset 0 0 16px rgba(255, 255, 255, 0.12);
    animation: hero-orb-float 5s ease-in-out infinite;
}

.orb-1 { --orb-color: #ff33cc; left: 3%; top: 15%; }
.orb-2 { --orb-color: #ffd000; left: 10%; top: 47%; animation-delay: -1.4s; }
.orb-3 { --orb-color: #915cff; left: 2%; top: 73%; animation-delay: -2.8s; }
.orb-4 { --orb-color: #00e5ff; right: 4%; top: 10%; animation-delay: -.7s; }
.orb-5 { --orb-color: #ff6138; right: 12%; top: 36%; animation-delay: -2s; }
.orb-6 { --orb-color: #00dc88; right: 3%; top: 61%; animation-delay: -3.3s; }
.orb-7 { --orb-color: #3b82f6; right: 14%; top: 80%; animation-delay: -4.1s; }

@keyframes hero-orb-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(3deg); }
}

.games-preview {
    margin: 5rem 0 0;
    padding: 1rem 0;
}

.preview-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.preview-card {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.preview-card:hover {
    transform: translateY(-8px);
}

.preview-card.checkers-card {
    background: linear-gradient(135deg, var(--bg-secondary), #2b1600);
}

.preview-card.bus-stop-card {
    background: linear-gradient(135deg, var(--bg-secondary), #00291f);
}

.preview-card-media {
    min-height: 190px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #161a23, #08090d);
    border-bottom: 1px solid rgba(0, 255, 255, 0.22);
}

.preview-card-media::before {
    content: attr(data-fallback);
    position: absolute;
    color: rgba(255, 255, 255, 0.18);
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
}

.preview-card-media.is-missing::after {
    content: 'Game artwork coming soon';
    position: absolute;
    bottom: 1rem;
    color: var(--text-secondary);
    font-size: .85rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.preview-game-image {
    width: 100%;
    height: 190px;
    position: relative;
    z-index: 1;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.preview-card:hover .preview-game-image {
    transform: scale(1.055);
}

.preview-card-body {
    padding: 1.7rem;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.preview-card h3 {
    margin-bottom: .65rem;
    font-size: clamp(1.65rem, 2.1vw, 2.35rem);
}

.preview-card p {
    min-height: 3.2em;
    margin-bottom: 1.4rem;
    line-height: 1.55;
}

.preview-card .btn {
    width: 100%;
    margin-top: auto;
}

.preview-card .card-badge {
    top: .8rem;
    right: .8rem;
    z-index: 3;
    padding: .45rem .7rem;
    border-radius: 999px;
    transform: none;
    box-shadow: 0 0 14px rgba(0, 255, 255, .35);
    font-size: .66rem;
    letter-spacing: .04em;
}

.promotions-section {
    margin: 6rem 0 0;
    padding: 1rem 0;
}

.promotion-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 3rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(255, 0, 255, .45);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 0, 255, .2), transparent 34%),
        radial-gradient(circle at 5% 100%, rgba(0, 255, 255, .17), transparent 35%),
        linear-gradient(135deg, #15101e, #08090d 62%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.promotion-banner::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    right: -145px;
    bottom: -170px;
    border: 24px solid rgba(0, 255, 255, .1);
    border-radius: 50%;
}

.promotion-copy {
    position: relative;
    z-index: 1;
}

.promotion-eyebrow {
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .22em;
}

.promotion-copy h2 {
    max-width: 700px;
    margin: .8rem 0 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.08;
}

.promotion-copy p {
    max-width: 620px;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.promotion-cards {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .85rem;
}

.promotion-mini-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 255, 255, .2);
    border-radius: 12px;
    background: rgba(3, 7, 12, .68);
    backdrop-filter: blur(8px);
}

.promotion-mini-card span {
    color: var(--accent-secondary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
}

.site-footer {
    margin-top: 6rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 24px 24px 0 0;
    background: linear-gradient(145deg, rgba(17, 17, 17, .98), rgba(5, 9, 12, .98));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
}

.footer-brand p,
.footer-column p,
.footer-column li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-brand p {
    margin-top: 1.3rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    margin: .6rem 0 1rem;
}

.footer-column li::before {
    content: '•';
    margin-right: .55rem;
    color: var(--accent-secondary);
}

.crypto-notice {
    color: #ff9d9d !important;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .25s ease;
}

.social-icon {
    width: 1.35rem;
    height: 1.35rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, .12);
    color: var(--accent-primary);
    font-family: Arial, sans-serif;
    font-size: .82rem;
    font-weight: 900;
}

.social-icon-x {
    font-size: .68rem;
}

.social-links a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 850;
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .75rem 1rem .75rem .75rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: #16a765;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .38), 0 0 18px rgba(22, 167, 101, .34);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float > span:first-child {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: .78rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .45), 0 0 24px rgba(22, 167, 101, .5);
}

.game-modal-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

/* Player vs Bot casino tables */
.pvb-game-shell {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: #f7f2df;
    text-align: center;
}

.pvb-game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(230, 190, 74, .28);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(23, 20, 14, .96), rgba(8, 12, 11, .96));
    box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.pvb-game-id {
    min-width: 0;
    color: #aaa697;
    font-size: .76rem;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    text-align: left;
}

.pvb-game-id strong {
    color: #f0d578;
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
}

.pvb-meta-stats {
    display: flex;
    gap: .55rem;
}

.pvb-whot-timer {
    min-width: 74px;
    padding: .32rem .6rem;
    border: 1px solid rgba(240, 213, 120, .35);
    border-radius: 9px;
    background: rgba(0, 0, 0, .32);
    color: #d6d1c0;
    font-size: .68rem;
    line-height: 1.1;
}

.pvb-whot-timer span,
.pvb-whot-timer strong {
    display: block;
}

.pvb-whot-timer strong {
    margin-top: .14rem;
    color: #fff6cf;
    font-family: 'Orbitron', sans-serif;
    font-size: .92rem;
}

.pvb-whot-timer.warning {
    border-color: #ff6b6b;
    color: #ffd2d2;
    animation: pulse 1s ease-in-out infinite;
}

.whot-timeout-disclosure {
    border-left: 3px solid #f0d578;
    padding-left: .65rem;
    color: #fff6cf;
}

.pvb-chip-stat {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .38rem .62rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: #d6d1c0;
    font-size: .78rem;
    white-space: nowrap;
}

.pvb-chip-stat strong {
    color: #fff6cf;
}

.pvb-chip-stat-win {
    border-color: rgba(82, 225, 144, .25);
}

.pvb-casino-chip,
.pvb-chip-action::before {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 3px dashed rgba(255, 255, 255, .86);
    border-radius: 50%;
    background:
        radial-gradient(circle, #f8d96a 0 28%, #a51827 30% 57%, #f3d35f 59% 70%, #8e111e 72%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .45);
    content: "";
}

.pvb-casino-table {
    position: relative;
    display: grid;
    grid-template-rows: 24px minmax(108px, 1fr) minmax(120px, 1.12fr) minmax(108px, 1fr) auto;
    gap: .45rem;
    min-height: 0;
    height: min(660px, calc(100dvh - 200px));
    padding: .7rem clamp(.7rem, 2vw, 1.5rem);
    overflow: hidden;
    border: 8px solid #25160e;
    border-radius: 46% / 12%;
    background:
        radial-gradient(ellipse at center, rgba(29, 125, 82, .2), transparent 63%),
        repeating-linear-gradient(98deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
        linear-gradient(145deg, #0d523c, #073729 60%, #062b23);
    box-shadow:
        inset 0 0 0 3px #8e662f,
        inset 0 0 38px rgba(0, 0, 0, .72),
        0 14px 32px rgba(0, 0, 0, .45);
}

.pvb-blackjack-table {
    background:
        radial-gradient(ellipse at 50% 55%, transparent 0 35%, rgba(222, 193, 94, .13) 35.5% 36.2%, transparent 36.8%),
        radial-gradient(ellipse at center, rgba(24, 142, 91, .18), transparent 62%),
        repeating-linear-gradient(98deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
        linear-gradient(145deg, #0b5c41, #073b2c 64%, #05281f);
}

.pvb-table-provider {
    position: relative;
    z-index: 3;
    grid-row: 1;
    align-self: center;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(.68rem, 1.15vw, .9rem);
    font-weight: 900;
    letter-spacing: .18em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7), 0 0 12px rgba(255, 255, 255, .25);
    pointer-events: none;
}

.pvb-hand-zone,
.pvb-center-zone,
.pvb-action-bar,
.pvb-suit-selector {
    position: relative;
    z-index: 1;
}

.pvb-hand-zone {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 108px;
    padding: .2rem .65rem .45rem;
    overflow: visible;
}

.pvb-bot-zone {
    grid-row: 2;
}

.pvb-center-zone {
    grid-row: 3;
}

.pvb-player-zone {
    grid-row: 4;
}

.pvb-zone-label {
    margin-bottom: .32rem;
    color: #fff7d6;
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pvb-zone-label span {
    margin-left: .35rem;
    color: #e2c55f;
    font-family: inherit;
    font-size: .67rem;
}

.pvb-card-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(.28rem, .7vw, .55rem);
    min-height: 112px;
    padding: 8px 6px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.pvb-card-row .card {
    width: clamp(58px, 6.2vw, 76px);
    height: clamp(87px, 9.3vw, 114px);
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 7px;
    cursor: default;
    scroll-snap-align: center;
}

.pvb-card-row .card.playable {
    cursor: pointer;
}

.pvb-card-row .card.playable:hover {
    transform: translateY(-5px);
}

.pvb-center-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.75rem, 2.4vw, 2rem);
    min-width: 0;
    margin: 0;
}

.pvb-center-card,
.pvb-deck-control {
    display: grid;
    justify-items: center;
    gap: .2rem;
}

.pvb-card-caption {
    color: rgba(255, 255, 255, .66);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pvb-center-card .market-card {
    transform: none;
}

.pvb-center-card .card,
.pvb-deck-control .card,
.pvb-deck-group .card {
    width: clamp(58px, 6.2vw, 76px);
    height: clamp(87px, 9.3vw, 114px);
    flex: 0 0 auto;
}

.pvb-deck-control {
    padding: 0;
    border: 0;
    background: transparent;
    color: #f8e5a1;
    cursor: pointer;
}

.pvb-deck-control:hover:not(:disabled) .card {
    transform: translateY(-4px);
    filter: brightness(1.12);
}

.pvb-deck-control:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.pvb-deck-label,
.pvb-deck-group > span {
    color: #f5dda0;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.pvb-round-status {
    display: grid;
    gap: .2rem;
    width: min(300px, 34vw);
    padding: .55rem .8rem;
    border: 1px solid rgba(238, 203, 95, .28);
    border-radius: 12px;
    background: rgba(4, 22, 17, .72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.pvb-round-status > span {
    color: #e6ca68;
    font-family: 'Orbitron', sans-serif;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pvb-round-status strong {
    color: #fff;
    font-size: clamp(.78rem, 1.2vw, .95rem);
    line-height: 1.25;
}

.pvb-round-status em {
    color: #ffb65b;
    font-style: normal;
    font-weight: 900;
}

.pvb-round-status.killer {
    border-color: rgba(255, 84, 84, .48);
    box-shadow: 0 0 18px rgba(255, 47, 47, .2);
}

.pvb-player-chips {
    position: absolute;
    right: 10%;
    bottom: 4px;
    width: 46px;
    height: 25px;
    pointer-events: none;
}

.pvb-player-chips span {
    position: absolute;
    width: 28px;
    height: 11px;
    border: 2px dashed #fff8d7;
    border-radius: 50%;
    background: #a71c2a;
    box-shadow: 0 3px 0 #63101a, 0 5px 8px rgba(0, 0, 0, .35);
}

.pvb-player-chips span:nth-child(2) {
    left: 13px;
    bottom: 4px;
    background: #1b69a8;
}

.pvb-player-chips span:nth-child(3) {
    left: 5px;
    bottom: 12px;
    background: #d5a524;
}

.pvb-poker-center-info {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.pvb-pot {
    padding: .45rem .68rem;
    border: 1px solid rgba(255, 218, 105, .35);
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    color: #ffe28b;
    font-weight: 900;
    white-space: nowrap;
}

.pvb-deck-group {
    display: flex;
    align-items: center;
    gap: .48rem;
}

.pvb-poker-table .pvb-deck-group .card,
.pvb-blackjack-table .pvb-deck-group .card {
    width: 48px;
    height: 72px;
}

.pvb-blackjack-center {
    gap: clamp(1rem, 4vw, 3.5rem);
}

.pvb-action-bar {
    grid-row: 5;
    align-self: end;
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: .48rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(3, 15, 12, .82);
    backdrop-filter: blur(8px);
}

.pvb-action-bar .betting-actions,
.pvb-action-bar.action-buttons {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin: 0;
}

.casino-action-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .62rem 1rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: linear-gradient(180deg, #313b38, #18211f);
    color: #fff;
    font: 800 .8rem 'Orbitron', sans-serif;
    letter-spacing: .04em;
    text-shadow: 0 1px 2px #000;
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 5px 12px rgba(0, 0, 0, .26);
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.casino-action-btn.primary {
    border-color: #e4c44c;
    background: linear-gradient(180deg, #d6ae2d, #846311);
}

.casino-action-btn.warning {
    border-color: #e89b42;
    background: linear-gradient(180deg, #c87722, #81430d);
}

.casino-action-btn.danger {
    border-color: #ba4c52;
    background: linear-gradient(180deg, #8c2833, #4c1119);
}

.casino-action-btn:hover:not(:disabled) {
    filter: brightness(1.14);
    transform: translateY(-2px);
}

.casino-action-btn:disabled {
    opacity: .32;
    filter: grayscale(.7);
    cursor: not-allowed;
    transform: none;
}

.pvb-chip-action::before {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.pvb-action-bar .betting-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #c9c2ad;
    font-size: .7rem;
}

.pvb-suit-selector {
    position: absolute;
    inset: auto 1rem .7rem;
    margin: 0;
    padding: .55rem;
    border-color: rgba(232, 197, 78, .5);
    background: rgba(4, 18, 14, .94);
}

.pvb-suit-selector p {
    margin: 0 0 .35rem;
    color: #f4df94;
    font-weight: 900;
}

.pvb-suit-selector .suit-buttons {
    gap: .4rem;
    margin: 0;
}

.pvb-suit-selector .casino-action-btn {
    min-height: 36px;
    padding: .45rem .7rem;
    font-size: .68rem;
    text-transform: capitalize;
}

.pvb-result-overlay {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: inherit;
    background: rgba(2, 10, 8, .78);
    backdrop-filter: blur(7px);
    animation: pvbResultIn .38s ease both;
}

.pvb-result-card {
    position: relative;
    width: min(390px, 92%);
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(22, 29, 27, .98), rgba(7, 10, 10, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .62);
}

.pvb-result-overlay.win .pvb-result-card {
    border-color: rgba(243, 205, 75, .68);
    box-shadow: 0 0 42px rgba(243, 205, 75, .27), 0 24px 60px rgba(0, 0, 0, .62);
}

.pvb-result-overlay.loss .pvb-result-card {
    border-color: rgba(146, 58, 67, .55);
    background: linear-gradient(145deg, rgba(31, 27, 30, .98), rgba(9, 9, 12, .98));
}

.pvb-result-overlay.push .pvb-result-card {
    border-color: rgba(104, 175, 198, .55);
}

.pvb-result-coins {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pvb-result-kicker {
    color: #c8b978;
    font: 800 .68rem 'Orbitron', sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pvb-result-card h2 {
    margin: .35rem 0;
    color: #f8f5ea;
    font: 900 clamp(2rem, 6vw, 3.4rem) 'Orbitron', sans-serif;
    letter-spacing: -.04em;
}

.pvb-result-overlay.win h2,
.pvb-result-amount {
    color: #f5d768;
    text-shadow: 0 0 18px rgba(245, 215, 104, .4);
}

.pvb-result-overlay.loss h2 {
    color: #c58c92;
}

.pvb-result-amount {
    margin: .2rem 0 1rem;
    font-size: 1.55rem;
    font-weight: 900;
}

.pvb-result-loss {
    margin: .2rem 0 1rem;
    color: #c9bcc0;
}

.pvb-result-coins::before,
.pvb-result-coins::after {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e6bd3c;
    box-shadow: 55px 35px #bc2432, -48px 70px #e6bd3c, 82px 105px #276da3;
    content: "";
    animation: pvbCoinFall 1.8s linear infinite;
}

.pvb-result-coins::before {
    top: -20px;
    left: 36%;
}

.pvb-result-coins::after {
    top: -70px;
    right: 35%;
    animation-delay: -.9s;
}

@keyframes pvbResultIn {
    from { opacity: 0; transform: scale(.97); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pvbCoinFall {
    to { transform: translateY(520px) rotate(300deg); }
}

@media (min-width: 769px) {
    #gameArea > .game-modal-panel {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #gameArea > .game-modal-panel > .game-header {
        position: static;
        margin-bottom: .65rem;
        padding-bottom: .55rem;
    }

    .pvb-poker-table {
        grid-template-rows: 24px minmax(116px, 1fr) minmax(116px, 1fr) minmax(110px, 1fr) auto;
    }

    .pvb-card-row .card {
        width: clamp(58px, 5vw, 60px);
        height: clamp(87px, 7.5vw, 90px);
    }

    .pvb-card-row {
        min-height: 98px;
        padding-block: 4px;
    }

    .pvb-poker-table .community-cards .card {
        width: clamp(50px, 5.3vw, 66px);
        height: clamp(75px, 7.95vw, 99px);
    }
}

@media (min-width: 900px) {
    .pvb-table-provider.provider-left,
    .pvb-table-provider.provider-right {
        position: absolute;
        z-index: 4;
        top: 45%;
        display: flex;
        width: 118px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: .82rem;
        font-weight: 900;
        letter-spacing: .16em;
        line-height: 1.08;
        text-align: center;
        text-shadow:
            0 2px 8px rgba(0, 0, 0, .85),
            0 0 12px rgba(255, 255, 255, .25);
        transform: translateY(-50%);
        pointer-events: none;
    }

    .pvb-table-provider.provider-left {
        left: clamp(1.3rem, 3.2vw, 3rem);
    }

    .pvb-table-provider.provider-right {
        right: clamp(1.3rem, 3.2vw, 3rem);
    }

    .pvb-poker-table .pvb-table-provider.provider-left {
        top: 35%;
    }

    .pvb-poker-table .pvb-center-zone,
    .pvb-blackjack-table .pvb-center-zone {
        padding-left: 125px;
    }

    .pvb-whot-table .pvb-center-zone {
        padding-right: 125px;
    }

    .pvb-poker-table .pvb-player-zone,
    .pvb-blackjack-table .pvb-player-zone {
        width: calc(100% - 290px);
        min-height: 124px;
        justify-self: start;
        padding: .7rem 1rem;
        overflow: visible;
    }

    .pvb-poker-table .pvb-player-zone .pvb-card-row {
        min-height: 106px;
        padding: 8px;
        overflow-y: visible;
    }

    .pvb-poker-table .pvb-action-bar,
    .pvb-blackjack-table .pvb-action-bar {
        position: absolute;
        z-index: 5;
        right: clamp(1.25rem, 3vw, 2.75rem);
        bottom: clamp(1rem, 2.5vh, 1.5rem);
        width: 255px;
        margin: 0;
    }

    .pvb-poker-table .pvb-action-bar .betting-actions,
    .pvb-blackjack-table .pvb-action-bar.action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pvb-blackjack-table .pvb-action-bar .double-btn {
        grid-column: 1 / -1;
    }

    .pvb-poker-table .pvb-action-bar .casino-action-btn,
    .pvb-blackjack-table .pvb-action-bar .casino-action-btn {
        min-height: 38px;
        padding: .48rem .55rem;
        font-size: .68rem;
    }

    .pvb-whot-table .pvb-deck-control {
        order: 1;
    }

    .pvb-whot-table .pvb-center-card {
        order: 2;
    }

    .pvb-whot-table .pvb-round-status {
        order: 3;
    }
}

@media (max-width: 768px) {
    .game-area {
        align-items: stretch;
        padding: .35rem;
    }

    .game-modal-panel {
        max-height: calc(100dvh - .7rem);
        padding: .55rem;
        border-radius: 12px;
    }

    #gameArea > .game-modal-panel > .game-header {
        margin-bottom: .5rem;
        padding: .35rem .1rem .5rem;
    }

    #gameArea > .game-modal-panel > .game-header h2 {
        font-size: 1rem;
    }

    .pvb-game-meta {
        align-items: stretch;
        flex-direction: column;
        gap: .42rem;
    }

    .pvb-meta-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pvb-chip-stat {
        justify-content: center;
        padding: .38rem .35rem;
        font-size: .68rem;
    }

    .pvb-casino-table {
        display: flex;
        height: auto;
        min-height: calc(100dvh - 178px);
        flex-direction: column;
        gap: .55rem;
        padding: .65rem .4rem;
        overflow: hidden;
        border-width: 5px;
        border-radius: 28px;
    }

    .pvb-table-provider {
        flex: 0 0 auto;
        min-height: 22px;
        padding-top: .2rem;
    }

    .pvb-hand-zone {
        flex: 0 0 auto;
        min-height: 0;
        padding: .2rem .35rem .45rem;
    }

    .pvb-card-row {
        justify-content: flex-start;
        min-height: 116px;
        padding: 6px .35rem 8px;
    }

    .pvb-card-row .card,
    .pvb-center-card .card,
    .pvb-deck-control .card {
        width: 72px;
        height: 108px;
    }

    .pvb-bot-zone .pvb-card-row {
        min-height: 96px;
    }

    .pvb-bot-zone .pvb-card-row .card {
        width: 60px;
        height: 90px;
    }

    .pvb-center-zone {
        flex-wrap: wrap;
        gap: .55rem .8rem;
    }

    .pvb-round-status {
        order: 3;
        width: calc(100% - .8rem);
        padding: .45rem .6rem;
    }

    .pvb-poker-center-info {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        width: 100%;
        gap: .45rem;
    }

    .pvb-poker-center-info .pvb-round-status {
        order: initial;
        width: auto;
        min-width: 0;
        padding: .35rem .3rem;
    }

    .pvb-poker-center-info .pvb-round-status > span {
        font-size: .58rem;
        letter-spacing: .06em;
    }

    .pvb-poker-center-info .pvb-round-status strong {
        font-size: .67rem;
    }

    .pvb-poker-center-info .pvb-pot {
        padding: .32rem .42rem;
        font-size: .7rem;
    }

    .pvb-poker-center-info .pvb-deck-group {
        gap: .3rem;
    }

    .pvb-poker-center-info .pvb-deck-group .card {
        width: 36px;
        height: 54px;
    }

    .pvb-poker-center-info .pvb-deck-group > span {
        font-size: .58rem;
    }

    .pvb-poker-table .community-cards {
        width: 100%;
        min-height: 99px;
    }

    .pvb-poker-table .community-cards .card {
        width: 58px;
        height: 87px;
    }

    .pvb-player-chips {
        right: 4%;
    }

    .pvb-action-bar {
        position: sticky;
        z-index: 8;
        bottom: 0;
        width: 100%;
        padding: .45rem;
    }

    .pvb-action-bar .betting-actions,
    .pvb-action-bar.action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blackjack-game .pvb-action-bar.action-buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .casino-action-btn {
        min-height: 46px;
        padding: .58rem .45rem;
        font-size: .7rem;
    }

    .pvb-poker-table .pvb-action-bar {
        gap: .25rem;
        padding: .3rem;
    }

    .pvb-poker-table .pvb-action-bar .betting-actions {
        gap: .3rem;
    }

    .pvb-poker-table .pvb-action-bar .casino-action-btn {
        min-height: 38px;
        padding-block: .38rem;
        font-size: .64rem;
    }

    .pvb-chip-action::before {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .pvb-action-bar .betting-info {
        gap: .6rem;
        font-size: .64rem;
    }

    .pvb-suit-selector {
        position: sticky;
        inset: auto;
        bottom: 0;
    }
}

@media (max-width: 420px) {
    .pvb-meta-stats {
        gap: .3rem;
    }

    .pvb-chip-stat {
        white-space: normal;
    }

    .pvb-casino-chip {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
    }

    .pvb-card-row .card,
    .pvb-center-card .card,
    .pvb-deck-control .card {
        width: 68px;
        height: 102px;
    }

    .blackjack-game .pvb-action-bar.action-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .blackjack-game .double-btn {
        grid-column: 1 / -1;
    }
}

/* Premium Odd Games */
.odd-game-shell {
    min-height: 0;
    padding: clamp(.75rem, 1.7vw, 1.35rem);
    overflow: visible;
    border: 1px solid rgba(255, 214, 91, .25);
    border-radius: 22px;
    color: #f7f5ea;
    box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 18px 44px rgba(0, 0, 0, .38);
}

.odd-game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-bottom: .7rem;
}

.odd-round-id,
.odd-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
    padding: .5rem .75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(3, 10, 15, .72);
    color: #bfc7ce;
    font-size: .76rem;
}

.odd-round-id strong {
    color: #f2d26f;
    overflow-wrap: anywhere;
}

.odd-balance-pill {
    border-color: rgba(65, 224, 151, .28);
}

.odd-balance-pill strong {
    color: #84f0bd;
}

.odd-game-header {
    margin: 0 0 .65rem;
    padding: .55rem .7rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(2, 10, 17, .46);
}

.odd-game-header h2 {
    margin: 0;
    color: #fff7dd;
    font-size: clamp(1rem, 2vw, 1.55rem);
}

.odd-game-eyebrow {
    display: block;
    margin-bottom: .18rem;
    color: #86dff2;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.odd-game-scene {
    isolation: isolate;
    position: relative;
}

.odd-provider-engraving {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 8%;
    color: rgba(255, 255, 255, .72);
    font: 900 clamp(.7rem, 1.4vw, .95rem) 'Orbitron', sans-serif;
    letter-spacing: .19em;
    text-transform: uppercase;
    text-shadow:
        0 2px 1px rgba(0, 0, 0, .82),
        0 -1px 1px rgba(255, 255, 255, .22),
        0 0 14px rgba(255, 255, 255, .16);
    transform: translateX(-50%);
    pointer-events: none;
}

.odd-bet-panel {
    padding: .75rem;
    border: 1px solid rgba(255, 213, 91, .22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(9, 20, 25, .92), rgba(4, 10, 14, .92));
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

.odd-bet-panel h3 {
    margin-bottom: .55rem;
    color: #f5d779;
    font-size: .9rem;
}

.odd-bet-panel label {
    display: block;
    margin-bottom: .28rem;
    color: #aebbc1;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.odd-input {
    width: 100%;
    min-height: 44px;
    padding: .65rem .8rem;
    border: 1px solid rgba(101, 218, 237, .36);
    border-radius: 10px;
    outline: none;
    background: rgba(0, 8, 14, .86);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .4);
}

.odd-input:focus {
    border-color: #79dfef;
    box-shadow: 0 0 0 3px rgba(121, 223, 239, .12);
}

.odd-input:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.odd-action-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .62rem .78rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: linear-gradient(180deg, #30414a, #152127);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 6px 14px rgba(0, 0, 0, .28);
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.odd-action-btn.primary {
    border-color: #e3c04d;
    background: linear-gradient(180deg, #d5aa2d, #79580d);
}

.odd-action-btn.warning {
    border-color: #ef9453;
    background: linear-gradient(180deg, #c76b28, #6d310e);
}

.odd-action-btn:hover:not(:disabled) {
    filter: brightness(1.13);
    transform: translateY(-2px);
}

.odd-action-btn:disabled,
.odd-bet-panel.disabled .odd-action-btn {
    opacity: .34;
    filter: grayscale(.65);
    cursor: not-allowed;
    transform: none;
}

.odd-participants-table {
    min-width: 0;
    max-height: min(34vh, 320px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(2, 9, 13, .74);
}

.odd-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .65rem .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.odd-table-heading h3 {
    margin: 0;
    color: #f4dc8d;
    font-size: .86rem;
}

.odd-table-heading span {
    color: #8fa3ac;
    font-size: .68rem;
}

.odd-participants-table table {
    width: 100%;
    border-collapse: collapse;
}

.odd-participants-table th,
.odd-participants-table td {
    padding: .55rem .65rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
    font-size: .72rem;
}

.odd-participants-table th {
    color: #91a7b0;
    font-size: .64rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.odd-participant-status {
    font-weight: 900;
}

.odd-participant-status.active,
.odd-participant-status.won {
    color: #6ce8aa;
}

.odd-participant-status.pending {
    color: #f1d16d;
}

.odd-participant-status.lost,
.odd-participants-table .lost {
    color: #ee7a83;
}

.odd-empty-row {
    color: #7f929a;
    text-align: center !important;
}

.odd-aviator-shell {
    background:
        radial-gradient(circle at 80% 5%, rgba(50, 168, 220, .2), transparent 28%),
        linear-gradient(145deg, #071d2d, #05111d 62%, #091018);
}

.odd-aviator-shell .planes-container {
    position: relative;
    height: clamp(250px, 39vh, 360px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(152, 225, 255, .5);
    background:
        radial-gradient(circle at 75% 18%, rgba(255, 244, 190, .72) 0 3%, transparent 3.5%),
        linear-gradient(180deg, #287eb1 0%, #79c7e5 58%, #d8d7b2 78%, #325836 79%, #173821 100%);
    box-shadow: inset 0 0 34px rgba(0, 27, 49, .4);
}

.odd-aviator-shell .odd-game-header {
    position: relative;
    z-index: 4;
}

.aviator-cloud {
    position: absolute;
    z-index: 0;
    width: 100px;
    height: 25px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
    filter: blur(.4px);
}

.aviator-cloud::before,
.aviator-cloud::after {
    position: absolute;
    border-radius: 50%;
    background: inherit;
    content: "";
}

.aviator-cloud::before {
    width: 42px;
    height: 42px;
    left: 18px;
    bottom: 5px;
}

.aviator-cloud::after {
    width: 55px;
    height: 55px;
    right: 10px;
    bottom: 1px;
}

.cloud-one {
    top: 23%;
    left: 12%;
}

.cloud-two {
    top: 42%;
    right: 13%;
    transform: scale(.72);
}

.aviator-flight-path {
    position: absolute;
    z-index: 1;
    left: 8%;
    bottom: 13%;
    width: 76%;
    height: 58%;
    border-top: 2px dashed rgba(255, 255, 255, .34);
    border-radius: 50%;
    transform: rotate(-17deg);
}

.odd-aviator-shell .plane-container {
    top: 0;
    bottom: 0;
    width: 33.333%;
    z-index: 2;
}

.odd-aviator-shell .plane-container.plane-1 {
    left: 0;
}

.odd-aviator-shell .plane-container.plane-2 {
    left: 33.333%;
}

.odd-aviator-shell .plane-container.plane-3 {
    left: 66.666%;
}

.odd-aviator-shell .plane {
    top: clamp(28%, var(--plane-top, 60%), 72%);
    left: 50%;
    bottom: auto;
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    line-height: 1;
    animation: none;
    transform: translate(-50%, -50%) rotate(-12deg);
    transition: top .45s ease-out;
    z-index: 3;
}

.odd-aviator-shell .plane.crashed {
    filter: grayscale(.85) brightness(.7);
}

.odd-aviator-shell .plane .multiplier {
    top: -1.55rem;
    padding: .28rem .65rem;
    border: 1px solid rgba(255, 229, 118, .55);
    color: #fff0a5;
    font-size: clamp(1rem, 2vw, 1.45rem);
    font-weight: 900;
    text-shadow: 0 0 12px rgba(255, 224, 104, .45);
}

.odd-aviator-shell .plane-label {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    color: rgba(255, 255, 255, .8);
    font-size: .7rem;
    font-weight: 900;
    transform: translateX(-50%);
}

.odd-aviator-shell .bet-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.odd-aviator-shell .custom-bet {
    margin-top: .6rem;
}

.odd-bus-stop-shell {
    background:
        radial-gradient(circle at 10% 0%, rgba(70, 178, 150, .16), transparent 28%),
        linear-gradient(145deg, #162d34, #17242d 68%, #111a22);
}

.odd-bus-stop-shell .route {
    margin: 0;
    background:
        linear-gradient(180deg, #5aa0bf 0 43%, #acc7a2 44% 64%, #33383a 65% 100%);
    box-shadow: inset 0 0 32px rgba(0, 0, 0, .34);
}

.odd-bus-stop-shell .locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.odd-bus-stop-shell .location-bet {
    padding: .55rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.odd-bus-stop-shell .location-bet .odd-action-btn {
    width: 100%;
}

.odd-police-shell {
    background:
        radial-gradient(circle at 90% 5%, rgba(188, 55, 74, .18), transparent 25%),
        linear-gradient(145deg, #15172b, #0d1525 65%, #11131d);
}

.odd-police-shell .track {
    height: clamp(245px, 37vh, 330px);
    margin: 0;
    border-color: rgba(89, 204, 235, .54);
    background:
        linear-gradient(180deg, rgba(5, 19, 32, .38), rgba(5, 13, 23, .7)),
        repeating-linear-gradient(90deg, #263746 0 70px, #2c4050 70px 140px);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, .62);
}

.odd-police-shell .lane {
    background: repeating-linear-gradient(90deg, transparent 0 80px, rgba(255, 255, 255, .025) 80px 160px);
}

.odd-police-shell .character {
    left: clamp(2%, var(--character-left, 0%), calc(100% - 78px));
    bottom: 20px;
    font-size: clamp(3.1rem, 5.4vw, 4.6rem);
    transition: left .32s ease-out, filter .2s ease;
}

.odd-police-shell .character.crashed {
    filter: grayscale(1) drop-shadow(0 0 12px rgba(255, 65, 65, .72));
    animation: none;
}

.odd-police-shell .character.thief.escaped {
    left: calc(100% - 95px) !important;
    filter: drop-shadow(0 0 16px rgba(91, 255, 132, .8));
}

.odd-police-shell .safety-zone {
    width: 17%;
    height: 100%;
    top: 0;
    bottom: auto;
    padding: 0;
    background: linear-gradient(90deg, rgba(32, 124, 75, .06), rgba(62, 238, 129, .27));
    color: #8ff0ad;
    writing-mode: vertical-rl;
    text-shadow: 0 0 10px rgba(84, 255, 139, .42);
}

.odd-police-shell .escape-effect {
    right: 5%;
    animation: none;
}

.odd-police-shell .quick-amounts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .4rem;
}

.odd-police-shell .quick-amount-btn {
    min-height: 38px;
    padding: .45rem;
}

.odd-police-shell .quick-amount-btn.active {
    border-color: #65dda0;
    background: linear-gradient(180deg, #269966, #12613e);
}

.odd-police-shell .bet-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.odd-police-shell .bet-types button {
    margin: 0 0 .45rem;
}

@media (min-width: 900px) {
    #gameArea > .game-modal-panel:has(.odd-game-shell) {
        overflow-y: auto;
    }

    .odd-aviator-shell,
    .odd-bus-stop-shell {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr);
        gap: .7rem;
    }

    .odd-aviator-shell > .odd-game-meta,
    .odd-aviator-shell > .odd-game-header,
    .odd-aviator-shell > .odd-participants-table,
    .odd-aviator-shell > .winner-banner,
    .odd-bus-stop-shell > .odd-game-meta,
    .odd-bus-stop-shell > .odd-game-header,
    .odd-bus-stop-shell > .odd-participants-table,
    .odd-bus-stop-shell > .special-event,
    .odd-bus-stop-shell > .winner-announcement {
        grid-column: 1 / -1;
    }

    .odd-aviator-shell > .odd-game-scene,
    .odd-bus-stop-shell > .odd-game-scene {
        grid-column: 1;
    }

    .odd-aviator-shell > .odd-bet-panel,
    .odd-bus-stop-shell > .odd-bet-panel {
        grid-column: 2;
        align-self: stretch;
    }

    .odd-police-shell {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
        gap: .7rem;
    }

    .odd-police-shell > .odd-game-meta,
    .odd-police-shell > #gameHeader,
    .odd-police-shell > #playersTable,
    .odd-police-shell > #winnerSection {
        grid-column: 1 / -1;
    }

    .odd-police-shell > #gameTrack {
        grid-column: 1;
    }

    .odd-police-shell > .odd-bet-panel {
        grid-column: 2;
    }
}

@media (max-width: 899px) {
    .odd-game-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .odd-round-id,
    .odd-balance-pill {
        justify-content: space-between;
        border-radius: 10px;
    }

    .odd-game-header {
        align-items: flex-start;
        gap: .5rem;
    }

    .odd-aviator-shell .bet-options,
    .odd-police-shell .bet-types {
        grid-template-columns: 1fr;
    }

    .odd-bus-stop-shell .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .odd-police-shell .quick-amounts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .odd-participants-table {
        overflow-x: auto;
    }

    .odd-participants-table table {
        min-width: 520px;
    }
}

@media (max-width: 520px) {
    .odd-game-shell {
        padding: .55rem;
        border-radius: 14px;
    }

    .odd-aviator-shell .planes-container,
    .odd-police-shell .track,
    .odd-bus-stop-shell .route {
        height: 230px;
    }

    .odd-aviator-shell .plane {
        font-size: 2.75rem;
    }

    .odd-aviator-shell .plane .multiplier {
        top: -1.25rem;
        font-size: .82rem;
    }

    .odd-aviator-shell .timer {
        gap: .35rem;
        flex-wrap: wrap;
    }

    .odd-aviator-shell .timer-status {
        font-size: .7rem;
    }

    .odd-aviator-shell .timer-count {
        font-size: clamp(1rem, 8vw, 1.45rem);
        line-height: 1.05;
    }

    .odd-action-btn {
        width: 100%;
        min-height: 46px;
    }

    .odd-police-shell .quick-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .odd-police-shell .safety-zone {
        width: 25%;
    }

    .odd-police-shell .character.thief.escaped {
        left: calc(100% - 80px) !important;
    }
}

@media (max-width: 1080px) {
    .preview-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-orb {
        width: 62px;
        height: 62px;
        font-size: .88rem;
    }

    .promotion-banner {
        grid-template-columns: 1fr;
    }

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

    .promotion-mini-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding-inline: 1rem;
    }

    .hero {
        min-height: 560px;
        padding-inline: .5rem;
    }

    .game-orb {
        width: 48px;
        height: 48px;
        font-size: .68rem;
        opacity: .82;
    }

    .orb-1 { left: 0; top: 8%; }
    .orb-2 { left: 2%; top: 62%; }
    .orb-3 { display: none; }
    .orb-4 { right: 0; top: 13%; }
    .orb-5 { right: 2%; top: 60%; }
    .orb-6 { right: 1%; top: 82%; }
    .orb-7 { display: none; }

    .promotion-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 2rem 1.3rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .preview-cards {
        grid-template-columns: 1fr;
    }

    .preview-card-media,
    .preview-game-image {
        height: 175px;
        min-height: 175px;
    }

    .promotion-banner {
        padding: 2rem 1.25rem;
    }

    .whatsapp-label {
        display: none;
    }

    .whatsapp-float {
        padding: .62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .game-orb {
        animation: none;
    }
}

/* =====================================================
   AUTHENTICATED DASHBOARD LOBBY
   Filters, card media, history folding, and game help.
   ===================================================== */
.shared-site-footer {
    width: min(1400px, calc(100% - 4rem));
    margin: 6rem auto 0;
}

.dashboard-games-area {
    margin-top: 3rem;
    scroll-margin-top: 105px;
}

.dashboard-games-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-eyebrow {
    color: var(--accent-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.dashboard-games-heading h2 {
    margin-top: .4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dashboard-game-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}

.filter-btn {
    min-width: 74px;
    padding: .65rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(17, 17, 17, .9);
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 255, .12);
    color: var(--accent-primary);
    box-shadow: var(--neon-glow);
}

.dashboard-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-game-grid .game-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    cursor: pointer;
}

.dashboard-card-hidden {
    display: none !important;
}

.dashboard-filter-empty {
    padding: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    text-align: center;
}

.game-card-media {
    height: 170px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0, 255, 255, .16);
    border-radius: 10px;
    background: linear-gradient(145deg, #151922, #07090c);
}

.game-card-media::before {
    content: attr(data-fallback);
    position: absolute;
    color: rgba(255, 255, 255, .13);
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
}

.game-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.game-card:hover .game-card-image {
    transform: scale(1.045);
}

.game-card-media .game-icon {
    display: none;
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
}

.game-card-media.is-missing::before {
    display: none;
}

.game-card-media.is-missing .game-icon {
    display: block;
}

.dashboard-game-grid .game-card p {
    flex: 1;
}

.game-card-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    margin-top: auto;
}

.game-card-actions .btn {
    min-width: 0;
}

.game-info-modal-content {
    position: relative;
    isolation: isolate;
    width: min(620px, calc(100% - 2rem));
    border: 2px solid rgba(255, 215, 0, .42);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 215, 0, .14), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(0, 255, 255, .12), transparent 25%),
        linear-gradient(135deg, #101018, #18182a);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .55),
        0 0 30px rgba(0, 255, 255, .12);
}

.game-info-modal-content::before,
.game-info-modal-content::after {
    position: absolute;
    z-index: -1;
    color: rgba(255, 255, 255, .045);
    font-size: 6rem;
    line-height: 1;
    transform: rotate(-12deg);
    pointer-events: none;
}

.game-info-modal-content::before {
    content: '★';
    top: 4.5rem;
    right: 1rem;
}

.game-info-modal-content::after {
    content: '◆';
    bottom: 1rem;
    left: 1rem;
    color: rgba(0, 255, 255, .045);
    transform: rotate(18deg);
}

.game-info-modal .modal-header {
    background: rgba(7, 8, 18, .62);
    border-bottom-color: rgba(255, 215, 0, .22);
}

.game-info-modal .modal-header h2 {
    text-shadow: 0 0 16px rgba(0, 255, 255, .35);
}

.game-info-body {
    padding: 1.25rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.7;
}

.game-info-section {
    position: relative;
    padding: 1rem 1.05rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.game-info-section:last-child {
    margin-bottom: 0;
}

.game-info-section::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 12px;
    right: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow:
        14px 8px 0 rgba(255, 215, 0, .65),
        -8px 15px 0 rgba(255, 0, 255, .45);
}

.game-info-content h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
    color: var(--accent-primary);
    font-size: 1rem;
    letter-spacing: .04em;
}

.game-info-content h3 span {
    font-size: 1.15rem;
}

.game-info-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.game-info-content ul {
    display: grid;
    gap: .45rem;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--text-secondary);
}

.game-info-content li {
    position: relative;
    padding-left: 1.15rem;
}

.game-info-content li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #ffd700;
}

.game-info-winning {
    border-color: rgba(0, 255, 170, .25);
    background: linear-gradient(135deg, rgba(0, 255, 170, .075), rgba(255, 255, 255, .035));
}

.p2p-confirmation-theme {
    position: relative;
    isolation: isolate;
    width: min(540px, calc(100% - 2rem));
    overflow: hidden auto;
    border: 2px solid rgba(255, 215, 0, .45);
    border-radius: 24px;
    background:
        radial-gradient(circle at 16% 10%, rgba(255, 215, 0, .24), transparent 24%),
        radial-gradient(circle at 86% 15%, rgba(0, 255, 255, .18), transparent 26%),
        radial-gradient(circle at 50% 110%, rgba(255, 64, 160, .16), transparent 34%),
        linear-gradient(145deg, #15131f, #070912 72%);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .62),
        0 0 34px rgba(255, 215, 0, .14),
        inset 0 1px rgba(255, 255, 255, .08);
}

.p2p-confirmation-theme::before,
.p2p-confirmation-theme::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.p2p-confirmation-theme::before {
    inset: 0;
    background:
        radial-gradient(circle at 18% 74%, rgba(255, 255, 255, .12) 0 5px, transparent 6px),
        radial-gradient(circle at 78% 72%, rgba(255, 215, 0, .18) 0 7px, transparent 8px),
        radial-gradient(circle at 87% 42%, rgba(0, 255, 255, .13) 0 5px, transparent 6px),
        linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, .045) 36% 38%, transparent 38% 100%);
}

.p2p-confirmation-theme::after {
    right: -2rem;
    top: 4.6rem;
    width: 8rem;
    height: 10rem;
    border: 2px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035)),
        radial-gradient(circle at 50% 24%, rgba(255, 215, 0, .55) 0 8px, transparent 9px);
    box-shadow: -4.6rem 2.4rem 0 -1.1rem rgba(255, 215, 0, .17);
    transform: rotate(15deg);
}

.p2p-confirm-header {
    justify-content: center;
    padding: 1.05rem 1.25rem .55rem;
    border-bottom: 0;
    background: transparent;
}

.p2p-confirm-header h2 {
    color: rgba(255, 244, 190, .95);
    font-family: 'Orbitron', sans-serif;
    font-size: .9rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(255, 215, 0, .28);
}

#p2pConfirmationModal #confirmationContent {
    padding: .4rem 1.25rem 1rem;
}

.p2p-match-card {
    position: relative;
    display: grid;
    gap: .85rem;
    text-align: center;
}

.p2p-match-badge {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .75rem;
    border: 1px solid rgba(0, 255, 255, .3);
    border-radius: 999px;
    background: rgba(0, 255, 255, .095);
    color: #9ff6ff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 255, .12);
}

.p2p-match-badge-icon {
    color: #ffd966;
    font-size: .72rem;
}

.p2p-match-title {
    margin: 0;
    color: #fff2a8;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 7vw, 3.1rem);
    line-height: .95;
    letter-spacing: .02em;
    text-shadow:
        0 3px 0 rgba(128, 66, 0, .65),
        0 0 26px rgba(255, 215, 0, .25);
}

.p2p-match-subtitle {
    max-width: 30rem;
    margin: -.2rem auto 0;
    color: rgba(241, 246, 255, .82);
    font-size: .98rem;
    line-height: 1.55;
}

.p2p-match-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    text-align: left;
}

.p2p-match-detail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    min-width: 0;
    padding: .8rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045)),
        rgba(3, 8, 16, .55);
    box-shadow: inset 0 1px rgba(255, 255, 255, .07);
}

.p2p-match-detail-wide {
    grid-column: 1 / -1;
}

.p2p-match-detail .detail-icon {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fff5b5, #d79b25 58%, #7d4310);
    color: #17100c;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.p2p-match-detail small {
    display: block;
    margin-bottom: .12rem;
    color: rgba(169, 229, 238, .86);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.p2p-match-detail strong {
    display: block;
    min-width: 0;
    color: #fff8dc;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.p2p-match-warning {
    padding: .78rem .85rem;
    border: 1px solid rgba(255, 190, 76, .32);
    border-radius: 14px;
    background: rgba(255, 157, 0, .105);
    color: #ffe1a1;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.p2p-confirm-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
    gap: .75rem;
    padding: .9rem 1.25rem 1.25rem;
    border-top: 0;
}

.p2p-confirm-actions .btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.p2p-accept-btn {
    border: 0;
    background: linear-gradient(135deg, #75f0ad, #22d3ee 52%, #ffd85f);
    color: #061015;
    box-shadow: 0 14px 28px rgba(34, 211, 238, .22), 0 0 18px rgba(117, 240, 173, .18);
}

.p2p-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(34, 211, 238, .28), 0 0 22px rgba(255, 216, 95, .22);
}

.p2p-decline-btn {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .075);
    color: rgba(255, 242, 242, .88);
}

.p2p-decline-btn:hover {
    border-color: rgba(255, 117, 117, .5);
    background: rgba(255, 93, 93, .14);
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    #registerModal .modal-content,
    #withdrawModal .modal-content {
        max-width: 520px;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: .65rem;
    }

    #registerModal .modal-content,
    #withdrawModal .modal-content {
        max-height: 92vh;
    }

    #registerModal .modal-header,
    #withdrawModal .modal-header,
    #registerModal .modal-footer,
    #withdrawModal .modal-footer {
        padding: 1rem;
    }

    #registerModal form,
    #withdrawModal form {
        padding: 1rem;
    }

    .game-info-body {
        padding: .9rem;
        font-size: .94rem;
    }

    .game-info-section {
        padding: .85rem;
        border-radius: 15px;
    }

    .p2p-confirmation-theme {
        width: min(100%, calc(100vw - 1.3rem));
        max-height: 92vh;
        border-radius: 20px;
    }

    #p2pConfirmationModal #confirmationContent {
        padding: .25rem .9rem .85rem;
    }

    .p2p-match-details {
        grid-template-columns: 1fr;
    }

    .p2p-confirm-actions {
        grid-template-columns: 1fr;
        padding: .8rem .9rem 1rem;
    }

    .p2p-confirm-actions .btn {
        width: 100%;
    }
}

.history-section {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.history-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.3rem;
    border: 0;
    background: transparent;
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.history-toggle-icon {
    font-size: 1.5rem;
    transition: transform .25s ease;
}

.history-toggle[aria-expanded="true"] .history-toggle-icon {
    transform: rotate(180deg);
}

.history-list {
    border-top: 1px solid var(--border-color);
    border-radius: 0;
}

.history-list.collapsed {
    display: none;
}

.history-status {
    color: var(--text-muted);
    font-size: .86rem;
    font-weight: 700;
}

.history-verify-unavailable {
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 980px) {
    .dashboard-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-games-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-game-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .shared-site-footer {
        width: calc(100% - 2rem);
    }

    .dashboard-game-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-game-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .filter-btn {
        min-width: 0;
        padding-inline: .55rem;
    }

    .history-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: .65rem 0;
    }

    .nav-container {
        gap: .5rem;
        padding: 0 .75rem;
    }

    .logo {
        flex: 0 0 auto;
        font-size: 1rem;
        white-space: nowrap;
    }

    .logo-text,
    .logo-highlight {
        font-size: 1rem;
    }

    .brand-gamepad {
        width: 1em;
        height: .68em;
    }

    .banner-carousel {
        min-height: 72px;
        margin-bottom: 1.25rem;
        border-radius: 7px;
    }

    .landing-carousel-section {
        width: calc(100% - 1.5rem);
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: .35rem;
    }

    .carousel-btn.next {
        right: .35rem;
    }

    .carousel-dots {
        bottom: .35rem;
        gap: .35rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .user-menu {
        min-width: 0;
        gap: .35rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .user-phone {
        display: none;
    }

    .user-balance {
        padding: .25rem .45rem;
        font-size: .8rem;
        white-space: nowrap;
    }

    #logoutBtn {
        padding: .3rem .5rem;
        font-size: .75rem;
        white-space: nowrap;
    }
}

/* =====================================================
   PREMIUM LANDING EXPERIENCE
   A final, low-specificity design layer for the public page.
   Existing game and account flows keep their original hooks.
   ===================================================== */
:root {
    --bg-primary: #05070c;
    --bg-secondary: #0d111a;
    --bg-tertiary: #151b27;
    --accent-primary: #35e7ff;
    --accent-secondary: #b855ff;
    --accent-warning: #ffd166;
    --text-primary: #f7fbff;
    --text-secondary: #b8c3d4;
    --text-muted: #7f8b9e;
    --border-color: rgba(145, 174, 211, .18);
    --surface-glass: rgba(11, 16, 27, .78);
    --surface-elevated: linear-gradient(145deg, rgba(20, 27, 42, .96), rgba(8, 12, 20, .98));
    --neon-glow: 0 0 18px rgba(53, 231, 255, .24);
    --neon-glow-strong: 0 0 34px rgba(53, 231, 255, .3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(74, 43, 255, .16), transparent 28rem),
        radial-gradient(circle at 88% 28%, rgba(0, 212, 255, .1), transparent 30rem),
        #05070c;
}

.neon-background {
    background:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(135deg, #05070c, #090d16 52%, #05070c);
    background-size: 48px 48px, 48px 48px, auto;
}

.gradient-overlay {
    background:
        radial-gradient(circle at 50% 8%, rgba(53, 231, 255, .12), transparent 34%),
        radial-gradient(circle at 80% 70%, rgba(184, 85, 255, .09), transparent 34%);
    animation-duration: 7s;
}

.navbar {
    padding: .82rem 0;
    background: rgba(5, 8, 14, .82);
    border-bottom-color: rgba(137, 173, 213, .16);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px) saturate(135%);
}

.nav-container {
    min-height: 48px;
    gap: clamp(1rem, 3vw, 3.2rem);
}

.nav-public-panel {
    display: contents;
}

.nav-links {
    gap: clamp(1.15rem, 2.4vw, 2.4rem);
}

.nav-link {
    position: relative;
    padding: .65rem .1rem;
    font-size: .88rem;
    letter-spacing: .12em;
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: .25rem;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions .btn {
    min-width: 106px;
}

.nav-menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(53, 231, 255, .36);
    border-radius: 12px;
    background: rgba(53, 231, 255, .07);
    color: var(--accent-primary);
    cursor: pointer;
}

.nav-menu-toggle-line {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    min-height: 44px;
    border-radius: 10px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary {
    background: linear-gradient(115deg, #35e7ff 0%, #7f7dff 48%, #cf62ff 100%);
    box-shadow: 0 10px 28px rgba(89, 166, 255, .2), inset 0 1px rgba(255, 255, 255, .45);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(86, 183, 255, .32), 0 0 24px rgba(184, 85, 255, .2);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #ffd166;
    outline-offset: 3px;
}

.main-content {
    margin-top: 76px;
}

#homeSection {
    padding-top: 0;
}

.hero {
    width: 100%;
    min-height: clamp(620px, 72svh, 760px);
    overflow: hidden;
    padding: clamp(3rem, 5vw, 4.75rem) clamp(1.5rem, 4.2vw, 4.5rem);
    text-align: left;
}

.hero .game-orb {
    width: 50px;
    height: 50px;
    border-width: 1px;
    opacity: .13;
    font-size: .76rem;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, .06);
    animation: none;
}

.hero :is(.orb-1, .orb-3, .orb-5, .orb-6, .orb-7) {
    display: none;
}

.hero .orb-2 {
    left: 1%;
    top: 62%;
}

.hero .orb-4 {
    top: 9%;
    right: 2%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(112, 175, 255, .12);
    border-radius: 32px;
    background:
        radial-gradient(circle at 78% 42%, rgba(53, 231, 255, .095), transparent 28%),
        radial-gradient(circle at 12% 8%, rgba(184, 85, 255, .07), transparent 30%),
        linear-gradient(112deg, rgba(16, 23, 36, .82), rgba(6, 10, 17, .74));
    box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 28px 80px rgba(0, 0, 0, .24);
}

.hero-layout {
    width: min(100%, 1220px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    margin-inline: auto;
}

.hero-content {
    max-width: 610px;
}

.hero-eyebrow,
.section-kicker {
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.hero-eyebrow {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-eyebrow > span {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 12px var(--accent-primary);
}

.hero-title {
    max-width: 10.5ch;
    margin: 0;
    line-height: 1;
}

.glitch-text {
    font-size: clamp(3.25rem, 5.2vw, 5.8rem);
    letter-spacing: -.045em;
    text-shadow: 1px 1px 0 rgba(53, 231, 255, .65), 0 16px 40px rgba(0, 0, 0, .42);
    animation: none;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: clamp(1.25rem, 2.1vw, 2rem);
    letter-spacing: .12em;
    text-shadow: 0 0 18px rgba(53, 231, 255, .2);
}

.hero-description {
    max-width: 510px;
    margin: 1.5rem 0 0;
    color: #bdc9d9;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.65;
}

.hero-buttons {
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 164px;
    min-height: 52px;
    padding: .85rem 1.75rem;
}

.hero-buttons .btn-outline {
    border-color: rgba(159, 205, 224, .54);
    background: rgba(255, 255, 255, .025);
    color: #d6e2ee;
}

.hero-buttons .btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(53, 231, 255, .09);
    color: var(--accent-primary);
    box-shadow: none;
}

.hero-buttons .btn:active {
    transform: translateY(0) scale(.98);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.4rem;
    margin-top: 1.5rem;
    color: #97a8bc;
    font-size: .86rem;
    font-weight: 600;
}

.hero-trust-row span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
}

.hero-trust-row i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #52f3a7;
    box-shadow: 0 0 10px rgba(82, 243, 167, .7);
}

.hero-visual {
    width: min(100%, 510px);
    min-height: 460px;
    position: relative;
    isolation: isolate;
    perspective: 1000px;
    justify-self: end;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 14% 7% 10%;
    z-index: -2;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 231, 255, .15), rgba(104, 80, 255, .055) 44%, transparent 70%);
    filter: blur(14px);
}

.hero-visual-grid {
    position: absolute;
    right: 0;
    bottom: 2%;
    left: 0;
    height: 42%;
    z-index: -1;
    background:
        linear-gradient(rgba(53, 231, 255, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(53, 231, 255, .075) 1px, transparent 1px);
    background-size: 32px 32px;
    transform: rotateX(64deg) translateY(34%);
    mask-image: linear-gradient(to top, transparent, #000 30%, transparent 90%);
}

.hero-visual-ring {
    position: absolute;
    border: 1px solid rgba(53, 231, 255, .24);
    border-radius: 50%;
    box-shadow: inset 0 0 28px rgba(53, 231, 255, .05);
}

.hero-visual-ring-one {
    width: 340px;
    height: 340px;
    top: 58px;
    left: 50%;
    opacity: .65;
    transform: translateX(-50%);
    animation: none;
}

.hero-visual-ring-two {
    display: none;
}

@keyframes hero-ring-spin {
    to { transform: rotate(360deg); }
}

.hero-art-card {
    width: 148px;
    height: auto;
    aspect-ratio: 148 / 205;
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .42), 0 0 20px rgba(53, 231, 255, .07);
}

.hero-art-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(255, 255, 255, .16), transparent 36%, rgba(2, 6, 12, .42));
}

.hero-art-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-art-card > span {
    position: absolute;
    right: .75rem;
    bottom: .7rem;
    left: .75rem;
    z-index: 1;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-shadow: 0 2px 8px #000;
}

.hero-art-card-whot {
    width: 190px;
    top: 96px;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%) rotate(-2deg) translateZ(20px);
    animation: hero-card-drift 8s ease-in-out infinite;
}

.hero-art-card-poker {
    width: 120px;
    top: 48px;
    right: 3%;
    z-index: 2;
    opacity: .84;
    transform: rotate(4deg);
    animation: none;
}

.hero-art-card-aviator {
    width: 120px;
    right: auto;
    bottom: 36px;
    left: 2%;
    z-index: 2;
    opacity: .84;
    transform: rotate(-4deg);
    animation: none;
}

@keyframes hero-card-drift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes hero-card-drift-alt {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 9px; }
}

.hero-live-panel {
    width: 172px;
    min-height: 126px;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 42px;
    left: auto;
    z-index: 5;
    padding: .9rem;
    border: 1px solid rgba(53, 231, 255, .26);
    border-radius: 14px;
    background: rgba(7, 12, 21, .9);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .055);
    backdrop-filter: blur(10px);
}

.hero-live-kicker {
    display: flex;
    gap: .45rem;
    align-items: center;
    color: #9eb0c7;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.hero-live-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff557a;
    box-shadow: 0 0 10px #ff557a;
}

.hero-live-panel strong {
    display: block;
    margin: .45rem 0 .1rem;
    color: var(--accent-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    text-shadow: 0 0 14px rgba(53, 231, 255, .3);
}

.hero-live-panel strong span {
    font-size: .9rem;
}

.hero-live-caption {
    color: #8e9bb0;
    font-size: .72rem;
}

.hero-live-chart {
    height: 25px;
    position: relative;
    overflow: hidden;
    margin-top: .55rem;
    border-bottom: 1px solid rgba(53, 231, 255, .3);
}

.hero-live-chart i {
    width: 115%;
    height: 55px;
    position: absolute;
    left: -8%;
    bottom: -37px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    transform: rotate(-8deg);
    box-shadow: 0 0 12px rgba(53, 231, 255, .5);
}

.hero-chip {
    display: none;
}

.hero-chip-one {
    top: 38px;
    left: 32%;
    background: #6f43e8;
    transform: rotate(-14deg);
}

.hero-chip-two {
    right: 2%;
    bottom: 78px;
    background: #ec3f75;
    transform: rotate(10deg);
}

.hero-stats {
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    justify-content: initial;
    margin: 2.25rem 0 0;
}

.stat-card {
    min-width: 0;
    padding: .8rem 1rem .8rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    backdrop-filter: none;
}

.stat-card + .stat-card {
    padding-left: 1rem;
    border-left: 1px solid rgba(130, 169, 214, .18);
}

.stat-value {
    margin-bottom: .3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
}

.stat-label {
    color: #8393a8;
    font-size: .68rem;
    letter-spacing: .08em;
}

.wins-marquee {
    min-height: 54px;
    display: flex;
    align-items: center;
    margin: 1rem 0 5rem;
    padding: 0;
    border-color: rgba(53, 231, 255, .25);
    border-radius: 12px;
    background: rgba(10, 18, 29, .8);
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.wins-marquee-label {
    align-self: stretch;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0 1.2rem;
    background: linear-gradient(115deg, #35e7ff, #8a70ff);
    color: #05070c;
    font-family: 'Orbitron', sans-serif;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .11em;
    white-space: nowrap;
}

.marquee-content {
    min-width: max-content;
    gap: 2.2rem;
}

.platform-features,
.games-preview,
.landing-carousel-section,
.promotions-section {
    margin-top: clamp(4.5rem, 9vw, 8rem);
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.section-heading h2 {
    margin-top: .55rem;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

.feature-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    padding: 1.65rem;
    border-radius: 18px;
    background: var(--surface-elevated);
    text-align: left;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    top: -52px;
    right: -42px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: .08;
    filter: blur(2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(53, 231, 255, .25);
    border-radius: 13px;
    background: rgba(53, 231, 255, .07);
    font-size: 1.45rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: .96rem;
}

.feature-card p {
    margin-top: .6rem;
    line-height: 1.55;
}

.section-title {
    margin-bottom: 2.2rem;
    color: var(--text-primary);
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    letter-spacing: -.025em;
    text-shadow: 0 0 30px rgba(53, 231, 255, .18);
}

.section-title::before {
    content: 'EXPLORE THE ARENA';
    display: block;
    margin-bottom: .5rem;
    color: var(--accent-primary);
    font-size: .7rem;
    letter-spacing: .2em;
}

.preview-cards {
    gap: 1.15rem;
}

.preview-card {
    border-color: rgba(132, 169, 213, .18);
    border-radius: 20px;
    background: var(--surface-elevated);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .035);
}

.preview-card:hover {
    border-color: rgba(53, 231, 255, .58);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .34), 0 0 26px rgba(53, 231, 255, .12);
}

.preview-card-media {
    min-height: 180px;
    background: linear-gradient(135deg, #192133, #090d15);
}

.preview-game-image {
    height: 180px;
}

.preview-card-body {
    padding: 1.4rem;
}

.preview-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.preview-card p {
    min-height: 4.7em;
    margin-bottom: 1rem;
}

.landing-carousel-section {
    width: 100%;
}

.banner-carousel {
    border-color: rgba(255, 209, 102, .28);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.carousel-btn {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(5, 8, 14, .72);
    backdrop-filter: blur(8px);
}

.promotion-banner {
    border-color: rgba(184, 85, 255, .4);
    background:
        radial-gradient(circle at 88% 20%, rgba(184, 85, 255, .23), transparent 34%),
        radial-gradient(circle at 5% 100%, rgba(53, 231, 255, .16), transparent 35%),
        linear-gradient(135deg, #151325, #080c14 62%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .04);
}

.promotion-mini-card {
    border-color: rgba(53, 231, 255, .2);
    border-radius: 14px;
    background: rgba(6, 11, 20, .72);
}

.site-footer {
    border-color: rgba(128, 164, 207, .17);
    background:
        radial-gradient(circle at 10% 15%, rgba(53, 231, 255, .07), transparent 24%),
        linear-gradient(145deg, rgba(14, 20, 31, .98), rgba(5, 8, 14, .98));
    box-shadow: 0 -18px 65px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .035);
}

.social-links a {
    background: rgba(255, 255, 255, .018);
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(53, 231, 255, .46);
        box-shadow: 0 24px 55px rgba(0, 0, 0, .3), 0 0 25px rgba(53, 231, 255, .1);
    }
}

@media (max-width: 1120px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, .8fr);
        gap: clamp(2rem, 4vw, 3.5rem);
    }

    .hero-visual {
        min-height: 420px;
    }

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

@media (max-width: 900px) {
    .nav-container {
        position: relative;
    }

    .nav-menu-toggle:not(.hidden) {
        display: flex;
        margin-left: auto;
    }

    .nav-public-panel {
        position: absolute;
        top: calc(100% + .8rem);
        right: 1.5rem;
        left: 1.5rem;
        display: none;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid rgba(53, 231, 255, .24);
        border-radius: 16px;
        background: rgba(7, 11, 19, .97);
        box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
        backdrop-filter: blur(18px);
    }

    .nav-public-panel.is-open {
        display: grid;
    }

    .nav-public-panel .nav-links {
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }

    .nav-public-panel .nav-link {
        padding: .8rem .65rem;
        border-radius: 9px;
    }

    .nav-public-panel .nav-link::after {
        display: none;
    }

    .nav-public-panel .nav-link:hover,
    .nav-public-panel .nav-link.active {
        background: rgba(53, 231, 255, .08);
    }

    .nav-public-panel .nav-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .hero-visual {
        width: min(100%, 500px);
        min-height: 390px;
        justify-self: center;
    }

    .hero-content {
        max-width: 680px;
    }
}

@media (max-width: 720px) {
    .section {
        padding-inline: 1rem;
    }

    .hero {
        min-height: auto;
        justify-content: flex-start;
        padding: 2.85rem 1rem 3rem;
    }

    .hero::before {
        inset: 0;
        border-radius: 24px;
    }

    .hero-layout {
        display: grid;
        gap: 2.5rem;
    }

    .hero-content {
        position: relative;
        z-index: 5;
    }

    .glitch-text {
        font-size: clamp(2.5rem, 12vw, 3.7rem);
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4.6vw, 1.55rem);
    }

    .hero-description {
        max-width: 34rem;
    }

    .hero-visual {
        width: min(100%, 460px);
        min-height: 360px;
        position: relative;
        right: auto;
        bottom: auto;
        z-index: 1;
        opacity: 1;
        transform: none;
    }

    .hero-game-orbits {
        display: none;
    }

    .hero-stats {
        width: 100%;
        position: relative;
        z-index: 4;
        margin-top: 2.1rem;
    }

    .stat-card {
        padding: .75rem .65rem .75rem 0;
        text-align: left;
    }

    .stat-card + .stat-card {
        padding-left: .65rem;
    }

    .wins-marquee {
        margin-bottom: 4rem;
    }

    .wins-marquee-label {
        padding-inline: .8rem;
        font-size: .58rem;
    }

    .platform-features,
    .games-preview,
    .landing-carousel-section,
    .promotions-section {
        margin-top: 4.5rem;
    }

    .promotion-banner {
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .navbar {
        padding: .62rem 0;
    }

    .nav-container {
        padding-inline: .8rem;
    }

    .nav-public-panel {
        right: .75rem;
        left: .75rem;
    }

    .hero {
        min-height: auto;
        padding: 2.25rem .75rem 2.5rem;
    }

    .hero-layout {
        gap: 2rem;
    }

    .hero-eyebrow {
        margin-bottom: 1rem;
        font-size: .64rem;
    }

    .hero-description {
        max-width: 96%;
        margin-top: 1.25rem;
        font-size: 1rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        min-width: 0;
        width: 100%;
        padding: .85rem 1rem;
        font-size: .96rem;
    }

    .hero-trust-row {
        gap: .5rem .8rem;
        font-size: .78rem;
    }

    .hero-visual {
        width: min(100%, 360px);
        min-height: 280px;
        right: auto;
        opacity: 1;
    }

    .hero-stats {
        gap: 0;
    }

    .hero-visual-ring-one {
        width: 240px;
        height: 240px;
        top: 32px;
    }

    .hero-art-card-whot {
        width: 150px;
        top: 44px;
    }

    .hero-art-card-poker,
    .hero-art-card-aviator {
        width: 88px;
    }

    .hero-art-card-poker {
        top: 20px;
    }

    .hero-art-card-aviator {
        bottom: 18px;
    }

    .hero-live-panel {
        width: 140px;
        min-height: 108px;
        right: 1px;
        bottom: 20px;
        padding: .72rem;
    }

    .hero-live-panel strong {
        margin-top: .3rem;
        font-size: 1.4rem;
    }

    .hero-live-chart {
        height: 18px;
        margin-top: .35rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: .6rem;
    }

    .wins-marquee {
        min-height: 48px;
        margin-top: .5rem;
    }

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

    .feature-card {
        padding: 1.35rem;
    }

    .preview-card p {
        min-height: 0;
    }

    .banner-carousel {
        border-radius: 12px;
    }

    .shared-site-footer {
        margin-top: 4rem;
    }

    .site-footer {
        border-radius: 18px 18px 0 0;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: auto;
    }

    .glitch-text {
        font-size: 2.65rem;
    }

    .hero-subtitle {
        letter-spacing: .08em;
    }

    .hero-trust-row {
        gap: .5rem .7rem;
        font-size: .72rem;
    }

    .hero-visual {
        min-height: 270px;
    }

    .hero-live-panel {
        width: 124px;
    }

    .nav-public-panel .nav-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .marquee-content {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        padding: .65rem;
        white-space: normal;
        transform: none !important;
    }

    .wins-marquee {
        align-items: stretch;
    }
}

/* =====================================================
   MASEPLAY PUBLIC LANDING PAGE — 2026 REDESIGN
   Scoped to .landing-page so dashboard and game UI remain unchanged.
   ===================================================== */
.landing-page {
    --landing-bg: #05070c;
    --landing-surface: #0a101a;
    --landing-surface-raised: #0f1724;
    --landing-surface-soft: rgba(15, 23, 36, .74);
    --landing-cyan: #35e7ff;
    --landing-violet: #b855ff;
    --landing-gold: #ffd166;
    --landing-green: #52f3a7;
    --landing-text: #f7fbff;
    --landing-copy: #b8c5d6;
    --landing-muted: #7f90a7;
    --landing-border: rgba(132, 169, 213, .17);
    --landing-border-strong: rgba(53, 231, 255, .3);
    --landing-gradient: linear-gradient(115deg, var(--landing-cyan), #8079ff 52%, var(--landing-violet));
    --landing-shadow: 0 24px 64px rgba(0, 0, 0, .3);
    --landing-radius-sm: 12px;
    --landing-radius-md: 20px;
    --landing-radius-lg: 30px;
    --landing-container: 1280px;
    --landing-section-space: clamp(5.5rem, 9vw, 8.5rem);
    width: 100%;
    max-width: none;
    overflow: clip;
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(5rem, 8vw, 8rem);
    color: var(--landing-text);
}

.landing-page::before {
    content: '';
    width: min(90vw, 1000px);
    height: min(90vw, 1000px);
    position: absolute;
    top: 10rem;
    left: 50%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 231, 255, .065), transparent 68%);
    transform: translateX(-50%);
    pointer-events: none;
}

.landing-page > :is(section, aside),
.landing-page > .wins-marquee {
    width: min(100%, var(--landing-container));
    margin-inline: auto;
}

.landing-page > :is(.games-preview, .game-modes-section, .getting-started-section, .landing-carousel-section, .platform-features, .responsible-gaming, .promotions-section) {
    margin-top: var(--landing-section-space);
}

.landing-page :is(h1, h2, h3, p) {
    text-wrap: pretty;
}

.landing-page .section-kicker,
.landing-page .promotion-eyebrow,
.landing-page .game-mode-label,
.landing-page .preview-card-type {
    color: var(--landing-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.landing-section-heading {
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.landing-section-heading h2,
.landing-page .section-title,
.landing-page .promotion-copy h2,
.landing-page .responsible-gaming h2 {
    margin: .7rem 0 0;
    color: var(--landing-text);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-shadow: none;
}

.landing-page .section-title::before {
    display: none;
    content: none;
}

.landing-section-heading > p,
.landing-section-heading-split > p {
    max-width: 620px;
    margin-top: 1rem;
    color: var(--landing-copy);
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.65;
}

.landing-section-heading-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 2rem;
    align-items: end;
}

.landing-section-heading-split > p {
    margin: 0 0 .35rem;
}

body:has(#homeSection.active) .navbar {
    border-bottom-color: rgba(132, 169, 213, .14);
    background: rgba(5, 8, 14, .88);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .22);
}

body:has(#homeSection.active) .nav-container {
    max-width: 1440px;
}

body:has(#homeSection.active) .nav-link {
    color: #aebbc9;
}

body:has(#homeSection.active) .nav-link:is(:hover, .active) {
    color: var(--accent-primary);
}

.landing-page .hero {
    min-height: clamp(650px, 76svh, 790px);
    display: grid;
    align-items: center;
    margin-top: clamp(1rem, 2.5vw, 2rem);
    padding: clamp(3.25rem, 6vw, 5.75rem) clamp(1.5rem, 5vw, 5rem);
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    background:
        radial-gradient(circle at 80% 45%, rgba(53, 231, 255, .1), transparent 30%),
        radial-gradient(circle at 10% 4%, rgba(184, 85, 255, .09), transparent 28%),
        linear-gradient(120deg, rgba(15, 22, 35, .97), rgba(5, 9, 16, .96));
    box-shadow: var(--landing-shadow), inset 0 1px rgba(255, 255, 255, .035);
    isolation: isolate;
}

.landing-page .hero::before {
    inset: auto -8% -48% 38%;
    width: 68%;
    height: 86%;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 231, 255, .065), transparent 70%);
    box-shadow: none;
}

.landing-page .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .32;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, #000 55%, transparent);
    pointer-events: none;
}

.landing-page .hero-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    gap: clamp(3rem, 6vw, 6.5rem);
    align-items: center;
    margin: 0;
}

.landing-page .hero-content {
    max-width: 640px;
}

.landing-page .hero-eyebrow {
    gap: .8rem;
    margin: 0 0 1.6rem;
    color: var(--landing-cyan);
    font-size: .72rem;
    letter-spacing: .18em;
}

.landing-page .hero-eyebrow > span {
    width: 34px;
    background: var(--landing-gradient);
    box-shadow: 0 0 12px rgba(53, 231, 255, .35);
}

.landing-page .hero-title {
    max-width: 11ch;
    margin: 0;
    line-height: .94;
}

.landing-page .glitch-text {
    color: var(--landing-text);
    font-size: clamp(3.4rem, 6vw, 6.4rem);
    letter-spacing: -.055em;
    text-shadow: 1px 1px 0 rgba(53, 231, 255, .65), 0 18px 44px rgba(0, 0, 0, .45);
    animation: none;
}

.landing-page .hero-subtitle {
    margin-top: 1rem;
    color: var(--landing-cyan);
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.25;
    letter-spacing: .1em;
    text-shadow: none;
}

.landing-page .hero-description {
    max-width: 560px;
    margin: 1.6rem 0 0;
    color: var(--landing-copy);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.65;
}

.landing-page .hero-buttons {
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2.1rem;
}

.landing-page .hero-buttons .btn {
    min-width: 176px;
    min-height: 54px;
    padding: .9rem 1.6rem;
}

.landing-page .hero-buttons .btn-outline {
    border-color: rgba(165, 197, 219, .45);
    background: rgba(255, 255, 255, .025);
    color: #d5e0ec;
}

.landing-page .hero-buttons .btn-outline:hover {
    border-color: var(--landing-cyan);
    background: rgba(53, 231, 255, .075);
    color: var(--landing-cyan);
    box-shadow: none;
}

.landing-page .hero-trust-row {
    gap: .75rem 1.25rem;
    margin-top: 1.5rem;
    color: #99a9bc;
    font-size: .84rem;
}

.landing-page .hero-trust-row i {
    width: 6px;
    height: 6px;
    background: var(--landing-green);
    box-shadow: 0 0 9px rgba(82, 243, 167, .56);
}

.landing-page .hero-stats {
    width: min(100%, 570px);
    gap: 0;
    margin-top: 2.25rem;
}

.landing-page .stat-card {
    padding: .8rem 1.1rem .8rem 0;
    background: transparent;
}

.landing-page .stat-card + .stat-card {
    padding-left: 1.1rem;
    border-left: 1px solid var(--landing-border);
}

.landing-page .stat-value {
    color: var(--landing-cyan);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.landing-page .stat-label {
    color: var(--landing-muted);
    font-size: .66rem;
}

.landing-page .landing-hero-stage {
    width: min(100%, 520px);
    min-height: 500px;
    position: relative;
    justify-self: end;
    isolation: isolate;
    transform: none;
    opacity: 1;
}

.landing-page .landing-hero-stage::before {
    inset: 15% 5% 8%;
    background: radial-gradient(circle, rgba(53, 231, 255, .13), rgba(111, 78, 255, .045) 46%, transparent 72%);
    filter: blur(12px);
}

.hero-stage-grid {
    position: absolute;
    inset: 20% 0 1%;
    z-index: -2;
    opacity: .55;
    background-image: linear-gradient(rgba(53, 231, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(53, 231, 255, .08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse, #000, transparent 70%);
    transform: perspective(600px) rotateX(58deg) translateY(18%);
}

.hero-stage-orbit {
    width: 350px;
    height: 350px;
    position: absolute;
    top: 90px;
    left: 50%;
    z-index: -1;
    border: 1px solid rgba(53, 231, 255, .18);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 40px rgba(53, 231, 255, .025);
}

.hero-stage-heading {
    position: absolute;
    top: 8px;
    left: 2%;
    display: grid;
    gap: .65rem;
    color: #a8b8ca;
    font-family: 'Orbitron', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.hero-stage-heading div {
    display: flex;
    gap: .45rem;
}

.hero-stage-heading i {
    padding: .35rem .55rem;
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    background: rgba(9, 15, 25, .78);
    color: var(--landing-muted);
    font-style: normal;
    letter-spacing: .08em;
}

.landing-page .hero-art-card {
    height: auto;
    overflow: hidden;
    aspect-ratio: 148 / 205;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: var(--landing-surface-raised);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .46), 0 0 20px rgba(53, 231, 255, .055);
}

.landing-page .hero-art-card::after {
    background: linear-gradient(155deg, rgba(255, 255, 255, .12), transparent 34%, rgba(2, 6, 12, .46));
}

.landing-page .hero-art-card > span {
    right: .7rem;
    bottom: .65rem;
    left: .7rem;
    font-size: .58rem;
    letter-spacing: .12em;
}

.landing-page .hero-art-card-whot {
    width: 194px;
    top: 126px;
    left: 50%;
    z-index: 4;
    opacity: 1;
    transform: translateX(-50%) rotate(-2deg);
    animation: landing-stage-float 8s ease-in-out infinite;
}

.landing-page .hero-art-card-poker {
    width: 118px;
    top: 92px;
    right: 1%;
    left: auto;
    z-index: 2;
    opacity: .82;
    transform: rotate(4deg);
    animation: none;
}

.landing-page .hero-art-card-aviator {
    width: 118px;
    right: auto;
    bottom: 34px;
    left: 0;
    z-index: 2;
    opacity: .82;
    transform: rotate(-4deg);
    animation: none;
}

.hero-stage-panel {
    min-width: 164px;
    position: absolute;
    right: 0;
    bottom: 34px;
    z-index: 5;
    display: grid;
    gap: .25rem;
    padding: 1rem;
    border: 1px solid rgba(53, 231, 255, .24);
    border-radius: 14px;
    background: rgba(7, 12, 21, .9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

.hero-stage-panel span {
    color: var(--landing-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.hero-stage-panel strong {
    color: var(--landing-text);
    font-family: 'Orbitron', sans-serif;
    font-size: .98rem;
}

.hero-stage-panel small {
    color: var(--landing-muted);
    font-size: .7rem;
}

@keyframes landing-stage-float {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
    50% { transform: translateX(-50%) translateY(-8px) rotate(-1deg); }
}

.landing-page > .wins-marquee {
    min-height: 56px;
    margin-top: 1rem;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid var(--landing-border-strong);
    border-radius: var(--landing-radius-sm);
    background: rgba(8, 14, 24, .86);
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.landing-page .wins-marquee-label {
    padding-inline: 1.25rem;
    background: var(--landing-gradient);
    color: #05070c;
    font-size: .62rem;
}

.landing-page .marquee-content {
    gap: 2.5rem;
    color: #aab8c9;
}

.landing-page .win-item {
    font-size: .86rem;
}

.landing-page .games-preview {
    padding: 0;
}

.landing-page .preview-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

.landing-page .preview-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-md);
    background: linear-gradient(155deg, rgba(16, 24, 38, .98), rgba(7, 11, 19, .98));
    box-shadow: 0 18px 46px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .035);
    transform: none;
}

.landing-page .preview-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: 4;
    height: 2px;
    background: var(--landing-gradient);
    opacity: .7;
}

.landing-page .preview-card-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-bottom-color: var(--landing-border);
    background: linear-gradient(135deg, #172235, #070b13);
}

.landing-page .preview-game-image {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.landing-page .preview-card .card-badge {
    top: .75rem;
    right: .75rem;
    padding: .42rem .62rem;
    border: 1px solid rgba(53, 231, 255, .26);
    background: rgba(5, 10, 17, .82);
    color: var(--landing-cyan);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.landing-page .preview-card-body {
    padding: 1.4rem;
}

.landing-page .preview-card-type {
    display: block;
    margin-bottom: .55rem;
    color: var(--landing-muted);
    font-size: .58rem;
    letter-spacing: .12em;
}

.landing-page .preview-card h3 {
    margin: 0 0 .55rem;
    color: var(--landing-text);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.landing-page .preview-card p {
    min-height: 4.8em;
    margin: 0 0 1.2rem;
    color: var(--landing-copy);
    font-size: .94rem;
    line-height: 1.6;
}

.landing-page .preview-card .btn {
    min-height: 46px;
    border: 1px solid rgba(53, 231, 255, .24);
    background: rgba(53, 231, 255, .08);
    color: var(--landing-cyan);
    box-shadow: none;
}

.landing-page .preview-card .btn:hover {
    background: var(--landing-gradient);
    color: #05070c;
}

.game-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.game-mode-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-md);
    background:
        radial-gradient(circle at 100% 0, rgba(53, 231, 255, .055), transparent 32%),
        linear-gradient(150deg, rgba(16, 24, 38, .97), rgba(7, 11, 19, .98));
    box-shadow: 0 20px 48px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .03);
}

.game-mode-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--landing-cyan);
    opacity: .75;
}

.game-mode-pvb::before {
    background: var(--landing-violet);
}

.game-mode-odds::before {
    background: var(--landing-gold);
}

.game-mode-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.game-mode-number {
    color: rgba(53, 231, 255, .3);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
}

.game-mode-pvb .game-mode-number,
.game-mode-pvb .game-mode-label {
    color: var(--landing-violet);
}

.game-mode-odds .game-mode-number,
.game-mode-odds .game-mode-label {
    color: var(--landing-gold);
}

.game-mode-header h3 {
    margin-top: .45rem;
    color: var(--landing-text);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.game-mode-copy {
    min-height: 5.4em;
    margin: 1.35rem 0 1.25rem;
    color: var(--landing-copy);
    line-height: 1.65;
}

.mode-game-list {
    display: grid;
    gap: .65rem;
}

.mode-game-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .65rem;
    border: 1px solid rgba(132, 169, 213, .12);
    border-radius: var(--landing-radius-sm);
    background: rgba(4, 8, 14, .56);
}

.mode-game-image {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    background: #111827;
}

.mode-game-card > div {
    min-width: 0;
    display: grid;
    gap: .18rem;
}

.mode-game-card strong {
    overflow: hidden;
    color: #eaf2fb;
    font-size: .93rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mode-game-card div span {
    overflow: hidden;
    color: var(--landing-muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mode-game-card .btn {
    min-width: 66px;
    min-height: 40px;
    padding: .55rem .7rem;
    border: 1px solid var(--landing-border-strong);
    background: rgba(53, 231, 255, .06);
    color: var(--landing-cyan);
    font-size: .78rem;
    box-shadow: none;
}

.mode-game-card .btn:hover {
    background: rgba(53, 231, 255, .14);
    transform: translateY(-1px);
}

.game-mode-disclosure {
    margin-top: 1rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(255, 209, 102, .2);
    border-radius: 10px;
    background: rgba(255, 209, 102, .045);
    color: #c9bd9c;
    font-size: .76rem;
    line-height: 1.5;
}

.game-mode-disclosure strong {
    color: var(--landing-gold);
}

.getting-started-section {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    background:
        linear-gradient(90deg, rgba(53, 231, 255, .035) 1px, transparent 1px),
        linear-gradient(rgba(53, 231, 255, .035) 1px, transparent 1px),
        rgba(9, 15, 25, .78);
    background-size: 42px 42px, 42px 42px, auto;
}

.getting-started-section .landing-section-heading {
    margin-bottom: 2.5rem;
}

.getting-started-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    list-style: none;
}

.getting-started-grid li {
    min-width: 0;
    position: relative;
    padding: 0 clamp(1rem, 2.3vw, 2rem);
}

.getting-started-grid li:first-child {
    padding-left: 0;
}

.getting-started-grid li:last-child {
    padding-right: 0;
}

.getting-started-grid li + li {
    border-left: 1px solid var(--landing-border);
}

.getting-started-grid li > span {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--landing-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.getting-started-grid strong {
    display: block;
    color: var(--landing-text);
    font-family: 'Orbitron', sans-serif;
    font-size: .92rem;
    line-height: 1.4;
}

.getting-started-grid p {
    margin-top: .7rem;
    color: var(--landing-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.landing-page .landing-carousel-section {
    width: min(100%, var(--landing-container));
    padding: 0;
}

.landing-page .banner-carousel {
    min-height: 150px;
    max-height: 240px;
    aspect-ratio: 1773 / 297;
    margin: 0;
    border: 1px solid rgba(255, 209, 102, .22);
    border-radius: var(--landing-radius-md);
    background: var(--landing-surface);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

.landing-page .carousel-slide img {
    object-fit: contain;
}

.landing-page .carousel-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-page .carousel-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .17);
    background: rgba(5, 8, 14, .82);
    backdrop-filter: blur(8px);
}

.landing-page .carousel-btn:hover {
    border-color: var(--landing-cyan);
    background: rgba(53, 231, 255, .12);
}

.landing-page .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

.landing-page .feature-card {
    min-width: 0;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-md);
    background: linear-gradient(150deg, rgba(16, 24, 38, .96), rgba(7, 11, 19, .98));
    text-align: left;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .03);
}

.landing-page .feature-card::before {
    width: 100px;
    height: 100px;
    top: -62px;
    right: -48px;
    background: var(--landing-cyan);
    opacity: .055;
}

.landing-page .feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.35rem;
    border-color: var(--landing-border-strong);
    background: rgba(53, 231, 255, .055);
    color: var(--landing-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: .7rem;
}

.landing-page .feature-card h3 {
    color: var(--landing-text);
    font-size: .94rem;
    line-height: 1.4;
}

.landing-page .feature-card p {
    margin-top: .7rem;
    color: var(--landing-muted);
    font-size: .92rem;
    line-height: 1.6;
}

.landing-page .responsible-gaming {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.4rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.75rem);
    border: 1px solid rgba(255, 209, 102, .2);
    border-radius: var(--landing-radius-md);
    background: linear-gradient(120deg, rgba(255, 209, 102, .055), rgba(9, 14, 23, .86) 40%);
}

.responsible-gaming-mark {
    width: clamp(72px, 9vw, 104px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 209, 102, .4);
    border-radius: 50%;
    color: var(--landing-gold);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 900;
}

.landing-page .responsible-gaming h2 {
    margin-top: .55rem;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.landing-page .responsible-gaming p {
    max-width: 850px;
    margin-top: .8rem;
    color: var(--landing-copy);
    line-height: 1.65;
}

.landing-page .promotions-section {
    padding: 0;
}

.landing-page .promotion-banner {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(184, 85, 255, .32);
    border-radius: var(--landing-radius-lg);
    background:
        radial-gradient(circle at 92% 8%, rgba(184, 85, 255, .18), transparent 31%),
        radial-gradient(circle at 3% 100%, rgba(53, 231, 255, .1), transparent 34%),
        linear-gradient(135deg, #151325, #070b12 64%);
    box-shadow: var(--landing-shadow), inset 0 1px rgba(255, 255, 255, .035);
}

.landing-page .promotion-banner::after {
    width: 300px;
    height: 300px;
    right: -185px;
    bottom: -190px;
    border-color: rgba(53, 231, 255, .065);
}

.landing-page .promotion-copy h2 {
    max-width: 680px;
}

.landing-page .promotion-copy p {
    max-width: 660px;
    margin: 1.2rem 0 1.8rem;
    color: var(--landing-copy);
    font-size: 1.05rem;
    line-height: 1.65;
}

.landing-page .promotion-copy .btn {
    min-height: 52px;
    padding-inline: 1.8rem;
}

.landing-page .promotion-cards {
    gap: .7rem;
}

.landing-page .promotion-mini-card {
    grid-template-columns: 48px minmax(0, 1fr);
    border-color: rgba(132, 169, 213, .15);
    background: rgba(5, 9, 16, .68);
    backdrop-filter: none;
}

.landing-page .promotion-mini-card div {
    display: grid;
    gap: .15rem;
}

.landing-page .promotion-mini-card strong {
    color: #e8f0fa;
}

.landing-page .promotion-mini-card small {
    color: var(--landing-muted);
    font-size: .72rem;
    text-transform: uppercase;
}

body:has(#homeSection.active) .site-footer {
    width: min(calc(100% - clamp(2rem, 6vw, 4rem)), 1280px);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-color: rgba(132, 169, 213, .15);
    border-radius: var(--landing-radius-lg, 30px) var(--landing-radius-lg, 30px) 0 0;
    background:
        radial-gradient(circle at 10% 12%, rgba(53, 231, 255, .06), transparent 25%),
        linear-gradient(145deg, rgba(14, 20, 31, .98), rgba(5, 8, 14, .99));
    box-shadow: 0 -22px 60px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .03);
}

body:has(#homeSection.active) .footer-grid {
    gap: clamp(2rem, 5vw, 4.5rem);
}

body:has(#homeSection.active) .footer-column h3 {
    color: #35e7ff;
}

body:has(#homeSection.active) .social-links a {
    min-height: 42px;
    background: rgba(255, 255, 255, .018);
}

body.nav-menu-open {
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .landing-page .preview-card:hover,
    .landing-page .feature-card:hover,
    .game-mode-card:hover {
        border-color: rgba(53, 231, 255, .34);
        box-shadow: 0 24px 56px rgba(0, 0, 0, .28), 0 0 24px rgba(53, 231, 255, .055);
    }

    .landing-page .preview-card:hover {
        transform: translateY(-5px);
    }

    .landing-page .preview-card:hover .preview-game-image {
        transform: scale(1.035);
    }
}

.landing-page :is(.preview-card, .game-mode-card, .feature-card):focus-within {
    border-color: rgba(53, 231, 255, .5);
    box-shadow: 0 0 0 2px rgba(53, 231, 255, .1);
}

@media (max-width: 1120px) {
    .landing-page .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .76fr);
        gap: clamp(2rem, 4vw, 3.5rem);
    }

    .landing-page .landing-hero-stage {
        min-height: 450px;
    }

    .landing-page .hero-art-card-whot {
        width: 170px;
        top: 124px;
    }

    .landing-page .hero-art-card-poker,
    .landing-page .hero-art-card-aviator {
        width: 100px;
    }

    .landing-page .preview-cards,
    .landing-page .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-mode-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .game-mode-copy {
        min-height: 0;
    }

    .mode-game-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body:has(#homeSection.active) .nav-container {
        position: relative;
    }

    body:has(#homeSection.active) .nav-menu-toggle:not(.hidden) {
        display: flex;
        margin-left: auto;
    }

    body:has(#homeSection.active) .nav-public-panel {
        max-height: calc(100svh - 6.5rem);
        position: absolute;
        top: calc(100% + .75rem);
        right: 1.25rem;
        left: 1.25rem;
        display: none;
        gap: 1rem;
        overflow-y: auto;
        padding: 1rem;
        border: 1px solid rgba(53, 231, 255, .22);
        border-radius: 16px;
        background: rgba(6, 10, 17, .98);
        box-shadow: 0 22px 55px rgba(0, 0, 0, .52);
        backdrop-filter: blur(18px);
    }

    body:has(#homeSection.active) .nav-public-panel.is-open {
        display: grid;
    }

    body:has(#homeSection.active) .nav-public-panel .nav-links {
        display: grid;
        gap: .2rem;
    }

    body:has(#homeSection.active) .nav-public-panel .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: .75rem;
        border-radius: 9px;
    }

    body:has(#homeSection.active) .nav-public-panel .nav-link::after {
        display: none;
    }

    body:has(#homeSection.active) .nav-public-panel .nav-link:is(:hover, .active) {
        background: rgba(53, 231, 255, .075);
    }

    body:has(#homeSection.active) .nav-public-panel .nav-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-page {
        --landing-section-space: clamp(4.75rem, 10vw, 6rem);
    }

    .landing-page .hero {
        min-height: auto;
        padding: clamp(3rem, 7vw, 4.25rem) clamp(1.5rem, 5vw, 3rem);
    }

    .landing-page .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 3.25rem;
    }

    .landing-page .hero-content {
        max-width: 720px;
    }

    .landing-page .landing-hero-stage {
        width: min(100%, 500px);
        min-height: 430px;
        justify-self: center;
    }

    .landing-section-heading-split {
        grid-template-columns: minmax(0, 1fr);
        gap: .5rem;
    }

    .landing-section-heading-split > p {
        margin-top: .7rem;
    }

    .getting-started-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 0;
    }

    .getting-started-grid li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .landing-page .promotion-banner {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#homeSection.active) .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:has(#homeSection.active) .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .landing-page {
        --landing-section-space: 4.5rem;
        padding-inline: .75rem;
    }

    .landing-page .hero {
        margin-top: .75rem;
        padding: 2.75rem 1.25rem 2.5rem;
        border-radius: 24px;
    }

    .landing-page .hero-layout {
        gap: 2.5rem;
    }

    .landing-page .hero-title {
        max-width: 10.5ch;
    }

    .landing-page .glitch-text {
        font-size: clamp(2.8rem, 13vw, 4.25rem);
    }

    .landing-page .hero-subtitle {
        font-size: clamp(1.05rem, 5vw, 1.5rem);
    }

    .landing-page .hero-description {
        font-size: 1rem;
    }

    .landing-page .hero-stats {
        margin-top: 2rem;
    }

    .landing-page .landing-hero-stage {
        min-height: 370px;
    }

    .hero-stage-orbit {
        width: 280px;
        height: 280px;
        top: 65px;
    }

    .hero-stage-heading {
        left: 0;
    }

    .landing-page .hero-art-card-whot {
        width: 158px;
        top: 92px;
    }

    .landing-page .hero-art-card-poker,
    .landing-page .hero-art-card-aviator {
        width: 90px;
    }

    .landing-page .hero-art-card-poker {
        top: 72px;
    }

    .hero-stage-panel {
        bottom: 16px;
    }

    .landing-page .wins-marquee-label {
        padding-inline: .8rem;
        font-size: .56rem;
    }

    .mode-game-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .getting-started-section {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

    .getting-started-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .getting-started-grid li,
    .getting-started-grid li:first-child,
    .getting-started-grid li:last-child,
    .getting-started-grid li:nth-child(3) {
        padding: 1.35rem 0;
        border-left: 0;
    }

    .getting-started-grid li:first-child {
        padding-top: 0;
    }

    .getting-started-grid li:last-child {
        padding-bottom: 0;
    }

    .getting-started-grid li + li {
        border-top: 1px solid var(--landing-border);
    }

    .getting-started-grid li > span {
        margin-bottom: .65rem;
    }

    .landing-page .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-page .responsible-gaming {
        grid-template-columns: minmax(0, 1fr);
    }

    .responsible-gaming-mark {
        width: 72px;
    }

    .landing-page .banner-carousel {
        min-height: 120px;
    }

    body:has(#homeSection.active) .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#homeSection.active) .footer-brand {
        grid-column: auto;
    }

    body:has(#homeSection.active) .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .landing-page .hero-layout {
        gap: 2rem;
    }

    .landing-page .landing-hero-stage {
        min-height: 340px;
    }

    .landing-page .hero-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
        width: 100%;
    }

    .landing-page .hero-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .landing-page .preview-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-page .preview-card p {
        min-height: 0;
    }

    .landing-page .promotion-banner {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

    .landing-page .promotion-mini-card {
        padding: .9rem;
    }

    body:has(#homeSection.active) .site-footer {
        width: calc(100% - 1.5rem);
        padding: 2rem 1.25rem;
        border-radius: 22px 22px 0 0;
    }
}

@media (max-width: 420px) {
    body:has(#homeSection.active) .nav-container {
        padding-inline: .8rem;
    }

    body:has(#homeSection.active) .nav-public-panel {
        right: .7rem;
        left: .7rem;
    }

    .landing-page .hero {
        padding: 2.35rem 1rem 2rem;
    }

    .landing-page .hero-eyebrow {
        font-size: .62rem;
        letter-spacing: .14em;
    }

    .landing-page .glitch-text {
        font-size: clamp(2.45rem, 13vw, 3.15rem);
    }

    .landing-page .hero-trust-row {
        gap: .5rem .75rem;
        font-size: .74rem;
    }

    .landing-page .stat-card {
        padding-right: .6rem;
    }

    .landing-page .stat-card + .stat-card {
        padding-left: .6rem;
    }

    .landing-page .stat-value {
        font-size: 1.05rem;
    }

    .landing-page .stat-label {
        font-size: .56rem;
    }

    .landing-page .landing-hero-stage {
        min-height: 300px;
    }

    .hero-stage-heading {
        font-size: .54rem;
    }

    .hero-stage-orbit {
        width: 230px;
        height: 230px;
        top: 60px;
    }

    .landing-page .hero-art-card-whot {
        width: 140px;
        top: 82px;
    }

    .landing-page .hero-art-card-poker,
    .landing-page .hero-art-card-aviator {
        width: 72px;
    }

    .landing-page .hero-art-card-poker {
        top: 78px;
    }

    .hero-stage-panel {
        min-width: 126px;
        right: 0;
        bottom: 8px;
        padding: .75rem;
    }

    .hero-stage-panel strong {
        font-size: .82rem;
    }

    .hero-stage-panel small {
        max-width: 110px;
        font-size: .62rem;
    }

    .mode-game-card {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: .55rem;
        padding: .55rem;
    }

    .mode-game-image {
        width: 44px;
        height: 44px;
    }

    .mode-game-card .btn {
        min-width: 58px;
        padding-inline: .55rem;
    }

    .landing-page .responsible-gaming,
    .game-mode-card {
        padding: 1.25rem;
    }

    .landing-page .carousel-btn {
        width: 40px;
        height: 40px;
    }

    body:has(#homeSection.active) .nav-public-panel .nav-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .hero-art-card-whot {
        animation: none !important;
    }

    .landing-page .preview-card,
    .landing-page .preview-game-image,
    .landing-page .feature-card,
    .game-mode-card {
        transition: none !important;
    }
}

/* Hero-only photorealistic casino visual upgrade. */
.landing-page .hero {
    background:
        radial-gradient(circle at 81% 35%, rgba(255, 209, 102, .09), transparent 25%),
        radial-gradient(circle at 72% 66%, rgba(53, 231, 255, .095), transparent 30%),
        radial-gradient(circle at 12% 5%, rgba(184, 85, 255, .09), transparent 28%),
        linear-gradient(118deg, rgba(14, 20, 32, .98), rgba(5, 9, 16, .97));
}

.landing-page .hero::after {
    opacity: 1;
    background:
        linear-gradient(90deg, rgba(4, 7, 13, .22), transparent 54%),
        radial-gradient(circle at 76% 48%, rgba(53, 231, 255, .035), transparent 34%);
    background-size: auto;
    mask-image: none;
}

.landing-page .landing-hero-stage {
    perspective: none;
}

.landing-page .landing-hero-stage::before {
    inset: -4% -5%;
    border-radius: 32px;
    background:
        radial-gradient(circle at 76% 70%, rgba(53, 231, 255, .18), transparent 38%),
        radial-gradient(circle at 34% 22%, rgba(255, 209, 102, .13), transparent 34%);
    filter: blur(20px);
}

.premium-casino-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 102, .24);
    border-radius: 24px;
    background: #070b12;
    box-shadow:
        0 30px 65px rgba(0, 0, 0, .48),
        0 0 34px rgba(53, 231, 255, .075),
        inset 0 1px rgba(255, 255, 255, .12);
}

.premium-casino-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(3, 6, 11, .08), transparent 48%, rgba(3, 6, 11, .7)),
        linear-gradient(90deg, rgba(3, 6, 11, .34), transparent 46%);
    pointer-events: none;
}

.premium-casino-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(53, 231, 255, .07), inset 0 -70px 90px rgba(2, 5, 10, .18);
    pointer-events: none;
}

.premium-casino-visual picture,
.premium-casino-visual img {
    width: 100%;
    height: 100%;
    display: block;
}

.premium-casino-visual img {
    object-fit: cover;
    object-position: 67% center;
}

.casino-visual-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    display: grid;
    gap: .35rem;
    padding: .8rem .9rem;
    border-left: 2px solid var(--landing-cyan);
    border-radius: 0 10px 10px 0;
    background: rgba(4, 8, 14, .7);
    backdrop-filter: blur(8px);
}

.casino-visual-caption span {
    color: var(--landing-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.casino-visual-caption strong {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: .82rem;
    letter-spacing: .015em;
}

.casino-visual-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    gap: .55rem;
    align-items: center;
    padding: .48rem .68rem .48rem .52rem;
    border: 1px solid rgba(255, 209, 102, .36);
    border-radius: 999px;
    background: rgba(4, 8, 14, .74);
    color: #d8e2ee;
    font-size: .68rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.casino-visual-badge strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 209, 102, .12);
    color: var(--landing-gold);
    font-family: 'Orbitron', sans-serif;
    font-size: .68rem;
}

@media (max-width: 720px) {
    .premium-casino-visual {
        border-radius: 20px;
    }

    .premium-casino-visual img {
        object-position: 70% center;
    }
}

@media (max-width: 420px) {
    .casino-visual-caption {
        right: .75rem;
        bottom: .75rem;
        left: .75rem;
        padding: .65rem .7rem;
    }

    .casino-visual-caption strong {
        font-size: .72rem;
    }

    .casino-visual-badge {
        top: .75rem;
        right: .75rem;
        padding: .38rem;
    }

    .casino-visual-badge span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* Floating Casino Decorative Accents & Premium Keyframe Animations */
.floating-chip,
.floating-card {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.chip-gold {
    top: 8%;
    left: -4%;
    animation: floatCasinoGold 6s ease-in-out infinite;
}

.chip-red {
    bottom: 12%;
    right: -4%;
    font-size: 2.2rem;
    animation: floatCasinoRed 7.5s ease-in-out infinite 1s;
}

.card-ace {
    top: 72%;
    left: 4%;
    font-size: 1.9rem;
    animation: floatCasinoCard 8s ease-in-out infinite 0.5s;
}

@keyframes floatCasinoGold {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(12deg); }
}

@keyframes floatCasinoRed {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-15deg); }
}

@keyframes floatCasinoCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(8deg); }
}

/* Button Light Sweeps */
.landing-page .hero-buttons .btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #040714;
    font-weight: 800;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-page .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
}

.landing-page .hero-buttons .btn-primary .btn-glow-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: lightSweep 4s infinite ease-in-out;
}

@keyframes lightSweep {
    0% { left: -100%; }
    30%, 100% { left: 200%; }
}

@media (prefers-reduced-motion: reduce) {
    .floating-chip,
    .floating-card,
    .btn-glow-bar {
        animation: none !important;
        transform: none !important;
    }
}

