/* 
  Golden Rock Club - Stylesheet
  Aesthetics: Midnight Dark theme, Glassmorphism, Neon/Gold highlights, Claymorphic and organic micro-interactions.
*/

:root {
    /* Color Palette */
    --color-bg-dark: #07070F;
    --color-bg-light: #0F0F23;
    --color-surface: rgba(21, 21, 41, 0.6);
    --color-surface-hover: rgba(33, 33, 61, 0.8);
    --color-primary: #7C3AED;
    --color-primary-glow: rgba(124, 58, 237, 0.4);
    --color-secondary: #A78BFA;
    --color-gold: #F59E0B;
    --color-gold-light: #FBBF24;
    --color-gold-glow: rgba(245, 158, 11, 0.4);
    --color-green: #10B981;
    --color-red: #EF4444;
    --color-text-main: #F1F5F9;
    --color-text-muted: #94A3B8;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-active: 1px solid rgba(167, 139, 250, 0.4);
    
    /* Layout & Dimensions */
    --sidebar-width: 260px;
    --header-height: 80px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: 'Share Tech Mono', monospace;
}

/* Global Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.6);
}

/* Background Ambient Glows */
.bg-glow-purple {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-gold {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Canvas Confetti */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* App Container Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(11, 11, 23, 0.85);
    backdrop-filter: blur(20px);
    border-right: var(--border-glass);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-area {
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 8px var(--color-gold-glow));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FFF 30%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.nav-item:hover {
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    color: var(--color-text-main);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(124, 58, 237, 0.05) 100%);
    box-shadow: inset 0 0 12px rgba(167, 139, 250, 0.1);
    border-left: 3px solid var(--color-primary);
}

.sidebar-footer {
    padding: 20px 16px;
    border-top: var(--border-glass);
}

.vip-progress-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 14px;
}

.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vip-badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.vip-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
}

.vip-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.vip-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 3px;
    transition: width 0.4s ease;
}

.vip-points {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: right;
}

/* Main Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 0 40px 40px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header */
.top-header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-glass);
    margin-bottom: 20px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    padding: 6px 12px;
    border-radius: 20px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-green);
    animation: status-pulse 1.8s infinite;
}

.status-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(21, 21, 41, 0.8) 0%, rgba(33, 33, 61, 0.4) 100%);
    border: var(--border-glass);
    padding: 8px 18px 8px 8px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.balance-icon-bg {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--color-gold-glow);
}

.gold-coin-icon {
    width: 20px;
    height: 20px;
    color: #FFF;
    animation: coin-spin 3s linear infinite;
}

.balance-details {
    display: flex;
    flex-direction: column;
}

.balance-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.balance-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFF;
    text-shadow: 0 0 8px rgba(255,255,255,0.1);
}

.header-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.header-action-btn svg {
    width: 18px;
    height: 18px;
}

.header-action-btn:hover {
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header-action-btn:active {
    transform: translateY(0);
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Ticker Section */
.ticker-section {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.06), rgba(245, 158, 11, 0.06));
    border: var(--border-glass);
    border-radius: 12px;
    padding: 10px 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-content span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-main);
}

/* View Containers */
.content-container {
    flex: 1;
    position: relative;
}

.game-view {
    display: none;
    animation: view-fade-in 0.4s ease-out forwards;
}

.game-view.active {
    display: block;
}

/* 1. Lobby View Styles */
.hero-banner {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(20, 20, 35, 0.5) 100%);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFF 40%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--color-gold), #D97706);
    color: #FFF;
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--color-gold-glow);
    transition: all 0.2s ease-in-out;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.primary-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    border: var(--border-glass);
    color: var(--color-text-main);
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.secondary-btn:active {
    transform: translateY(0);
}

.pulse-glow-btn {
    animation: button-pulse 2s infinite;
}

.hero-visual {
    flex-shrink: 0;
}

.floating-gold-rock {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 10px 20px rgba(245,158,11,0.3));
    animation: float-rock 4s ease-in-out infinite;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.bento-item {
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.bento-item:hover {
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stat-card {
    justify-content: center;
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(245, 158, 11, 0.08));
    border-color: rgba(167, 139, 250, 0.2);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFF;
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-green {
    color: var(--color-green) !important;
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

/* Game Selector Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Themes backgrounds for cards */
.slots-theme {
    background: linear-gradient(135deg, #1E1B4B 0%, #311042 100%);
}
.roulette-theme {
    background: linear-gradient(135deg, #022C22 0%, #064E3B 100%);
}
.spin-theme {
    background: linear-gradient(135deg, #1A1C2E 0%, #15182C 100%);
}

.symbol-pulse {
    font-size: 3.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

.game-card:hover .symbol-pulse {
    transform: scale(1.1) rotate(5deg);
    animation: shake-heartbeat 0.8s ease-in-out infinite alternate;
}

.game-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.game-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFF;
}

.badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.badge-purple {
    background: rgba(124, 58, 237, 0.2);
    color: var(--color-secondary);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-gold-light);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.game-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.card-play-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    transition: transform 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 25px var(--color-primary-glow);
}

.game-card:hover .card-play-action {
    color: var(--color-gold-light);
    transform: translateX(4px);
}

/* 2. Slots Game Layout */
.game-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.glass-card {
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.slot-cabinet {
    display: flex;
    flex-direction: column;
}

.cabinet-top {
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
    border-bottom: var(--border-glass);
    text-align: center;
}

.cabinet-marquee {
    display: inline-block;
    padding: 6px 30px;
    border-radius: 20px;
    background: #000;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.marquee-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #FFF;
    letter-spacing: 0.15em;
    animation: marquee-glow 1.5s ease-in-out infinite alternate;
}

.slots-screen-container {
    padding: 30px;
    position: relative;
    background: radial-gradient(circle at center, rgba(12, 10, 29, 0.8), #06050C);
    border-bottom: var(--border-glass);
}

.slots-screen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 16px;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.8);
}

.slots-reel-window {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(180deg, #10101C 0%, #15152A 50%, #10101C 100%);
    box-shadow: inset 0 10px 15px rgba(0, 0, 0, 0.7), inset 0 -10px 15px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
}

.slots-reel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.slots-symbol {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    user-select: none;
    transition: transform 0.1s ease;
}

.slots-reel.spinning {
    animation: reel-spin-loop 0.15s linear infinite;
    filter: blur(4px);
}

/* Paylines Overlay Visuals */
.payline-visual-lines {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    pointer-events: none;
    z-index: 10;
}

.payline-line {
    position: absolute;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 8px currentColor;
}

.payline-line.active-win {
    opacity: 0.95;
    animation: win-flash-line 0.5s step-end infinite;
}

.line-1 { /* Center horizontal */
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #FF007F;
    color: #FF007F;
    transform: translateY(-50%);
}

.line-2 { /* Top horizontal */
    top: 20%;
    left: 0;
    right: 0;
    height: 4px;
    background: #00FFFF;
    color: #00FFFF;
}

.line-3 { /* Bottom horizontal */
    bottom: 20%;
    left: 0;
    right: 0;
    height: 4px;
    background: #7FFF00;
    color: #7FFF00;
}

.line-4 { /* Diagonal down */
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FFD700;
    color: #FFD700;
    transform: rotate(16deg);
    transform-origin: top left;
}

.line-5 { /* Diagonal up */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FF4500;
    color: #FF4500;
    transform: rotate(-16deg);
    transform-origin: bottom left;
}

/* Jackpot Banner Overlays */
.jackpot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    animation: view-fade-in 0.3s ease;
}

.jackpot-content {
    text-align: center;
}

.jackpot-title {
    font-size: 2.2rem;
    color: var(--color-gold-light);
    text-shadow: 0 0 15px var(--color-gold-glow);
    animation: shake-heartbeat 0.6s ease infinite alternate;
}

.jackpot-win-amount {
    font-family: 'Share Tech Mono', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFF;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 20px var(--color-gold);
}

/* Cabinet Controls */
.cabinet-controls {
    padding: 30px;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.value-stepper {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border: var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
}

.step-btn {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-btn:hover {
    color: #FFF;
    background: rgba(255,255,255,0.03);
}

.step-btn:active {
    background: rgba(255,255,255,0.06);
}

.stepper-value {
    width: 60px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
}

.win-output {
    font-size: 1.35rem;
    font-weight: 700;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    min-width: 100px;
}

.spin-action-wrapper {
    flex-shrink: 0;
}

.spin-btn {
    background: linear-gradient(135deg, var(--color-primary), #6D28D9);
    border: none;
    color: #FFF;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 0 15px var(--color-primary-glow);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
}

.spin-btn:active {
    transform: scale(0.95);
}

.spin-btn:disabled {
    background: rgba(255,255,255,0.05) !important;
    color: var(--color-text-muted) !important;
    cursor: not-allowed;
    box-shadow: none !important;
    animation: none !important;
}

/* Paytable Sidebar */
.game-sidebar {
    padding: 24px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    border-bottom: var(--border-glass);
    padding-bottom: 10px;
}

.paytable-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.paytable-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.01);
    border: var(--border-glass);
    border-radius: 8px;
}

.pay-symbols {
    font-size: 1.1rem;
}

.pay-multiplier {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
}

.paytable-rules {
    border-top: var(--border-glass);
    padding-top: 20px;
}

.rule-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.paylines-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payline-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.line-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.l1 { background: #FF007F; }
.l2 { background: #00FFFF; }
.l3 { background: #7FFF00; }
.l4 { background: #FFD700; }
.l5 { background: #FF4500; }

/* 3. Roulette View Layout */
.roulette-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
}

.roulette-table-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.board-container {
    width: 100%;
    overflow-x: auto;
}

.betting-board {
    display: grid;
    grid-template-columns: 50px repeat(12, 1fr);
    grid-template-rows: repeat(3, 50px) 44px 44px;
    gap: 3px;
    background: rgba(255,255,255,0.02);
    padding: 6px;
    border-radius: 12px;
    border: var(--border-glass);
    min-width: 650px;
}

/* Board Items styling */
.board-cell {
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.15s ease, transform 0.1s ease;
}

.board-cell:hover {
    transform: scale(1.03);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.board-cell.red-number {
    background: #7F1D1D;
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, 0.2);
}
.board-cell.red-number:hover {
    background: #991B1B;
}

.board-cell.black-number {
    background: #111827;
    color: #D1D5DB;
    border-color: rgba(255, 255, 255, 0.05);
}
.board-cell.black-number:hover {
    background: #1F2937;
}

.board-cell.zero-cell {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    background: #064E3B;
    color: #6EE7B7;
    border-color: rgba(16, 185, 129, 0.2);
}
.board-cell.zero-cell:hover {
    background: #047857;
}

.board-cell.dozen-cell {
    grid-row: 4;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
}
.board-cell.dozen-cell:hover {
    background: rgba(255,255,255,0.06);
    color: #FFF;
}

.board-cell.outside-cell {
    grid-row: 5;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
}
.board-cell.outside-cell:hover {
    background: rgba(255,255,255,0.06);
    color: #FFF;
}

.board-cell.red-outside {
    background: rgba(127, 29, 29, 0.3) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5 !important;
}
.board-cell.red-outside:hover {
    background: rgba(127, 29, 29, 0.5) !important;
}

.board-cell.black-outside {
    background: rgba(17, 24, 39, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #D1D5DB !important;
}
.board-cell.black-outside:hover {
    background: rgba(31, 41, 55, 0.8) !important;
}

.cell-chip {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #6D28D9);
    border: 1px dashed rgba(255,255,255,0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    color: #FFF;
    z-index: 10;
    animation: scale-up 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cell-chip.blue-chip { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.cell-chip.green-chip { background: linear-gradient(135deg, #10B981, #047857); }
.cell-chip.red-chip { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.cell-chip.gold-chip { background: linear-gradient(135deg, #F59E0B, #B45309); }

/* Chip selector tray */
.chips-container {
    border-top: var(--border-glass);
    padding-top: 20px;
}

.section-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.chips-row {
    display: flex;
    gap: 16px;
}

.bet-chip {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFF;
    border: 2px dashed rgba(255,255,255,0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.bet-chip.blue { background: linear-gradient(135deg, #3B82F6, #1d4ed8); }
.bet-chip.green { background: linear-gradient(135deg, #10B981, #047857); }
.bet-chip.red { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.bet-chip.gold { background: linear-gradient(135deg, #F59E0B, #B45309); }

.bet-chip:hover {
    transform: translateY(-4px) rotate(15deg);
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.8);
}

.bet-chip.active {
    transform: translateY(-6px) scale(1.05);
    border: 2.5px solid #FFF;
    box-shadow: 0 0 15px currentColor;
}

.roulette-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: var(--border-glass);
    padding-top: 20px;
}

/* Roulette Wheel Section */
.roulette-wheel-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.roulette-wheel-container {
    position: relative;
    width: 240px;
    height: 240px;
}

.roulette-wheel-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #3E2723, #1A0C08);
    border: 8px solid #5D4037;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 2px 10px rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.roulette-wheel-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 6s cubic-bezier(0.1, 0.8, 0.1, 1);
}

#wheel-svg {
    width: 100%;
    height: 100%;
}

.roulette-ball {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FFF;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(255,255,255,0.8);
    top: 30px;
    left: 114px; /* Centered top */
    z-index: 10;
    transform-origin: 6px 90px; /* Spin orbit relative to wheel center (240/2 = 120, offset by top) */
    transition: transform 6s cubic-bezier(0.15, 0.75, 0.2, 1);
}

.wheel-center-cone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BDBDBD, #424242);
    border: 3px solid #757575;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    z-index: 8;
}

.roulette-stats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roulette-result-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.3);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 12px 20px;
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.winning-number-spot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFF;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    animation: scale-up 0.3s ease;
}

.winning-number-spot.empty {
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    border-radius: 6px;
    box-shadow: none;
}

.winning-number-spot.red { background: #EF4444; box-shadow: 0 0 12px rgba(239, 68, 68, 0.5); }
.winning-number-spot.black { background: #1F2937; border: 1px solid rgba(255,255,255,0.1); }
.winning-number-spot.green { background: #10B981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.5); }

.bets-list-wrapper {
    flex: 1;
}

.active-bets-list {
    list-style: none;
    max-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

.bets-list-item {
    font-size: 0.82rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bet-item-desc {
    color: var(--color-text-main);
    font-weight: 500;
}

.bet-item-amount {
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
    color: var(--color-gold);
}

.empty-list-msg {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    padding: 20px 0;
}

/* 4. Lucky Spin Layout */
.spin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.spin-wheel-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wheel-pointer {
    position: absolute;
    top: 20px;
    z-index: 20;
    width: 24px;
    height: 36px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.wheel-border-glow {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 6px;
    background: #000;
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 25px var(--color-gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-wheel-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.spin-wheel-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.spin-wheel-inner svg {
    width: 100%;
    height: 100%;
}

.spin-control-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.spin-button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: 10px;
}

.spin-wheel-btn {
    padding: 16px 36px;
    font-size: 1.05rem;
    min-width: 200px;
}

.timer-display {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 8px 16px;
    background: rgba(255,255,255,0.02);
    border: var(--border-glass);
    border-radius: 8px;
}

.spin-history-container {
    border-top: var(--border-glass);
    padding-top: 24px;
    margin-top: 10px;
}

.spin-history-list {
    list-style: none;
    max-height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-item {
    font-size: 0.82rem;
    padding: 8px 14px;
    background: rgba(255,255,255,0.02);
    border: var(--border-glass);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-reward-name {
    font-weight: 600;
    color: #FFF;
}

.history-reward-time {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

/* Animations */
@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; box-shadow: 0 0 12px var(--color-green); }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes view-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee-glow {
    from { text-shadow: 0 0 4px var(--color-primary-glow), 0 0 10px rgba(255,255,255,0.2); }
    to { text-shadow: 0 0 12px var(--color-primary), 0 0 20px rgba(167,139,250,0.5); }
}

@keyframes reel-spin-loop {
    from { transform: translateY(0); }
    to { transform: translateY(-360px); } /* Reels cycle height */
}

@keyframes win-flash-line {
    from, to { opacity: 0.95; }
    50% { opacity: 0.2; }
}

@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes float-rock {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes scale-up {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shake-heartbeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.1); }
    40% { transform: scale(1); }
    60% { transform: scale(1.15); }
    80%, 100% { transform: scale(1); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-layout, .roulette-layout, .spin-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .roulette-wheel-section {
        order: -1; /* Spin wheel displays on top of layout on tablet/mobile */
    }
    
    .hero-banner {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .floating-gold-rock {
        display: none;
    }
}

/* Mobile-Specific Bottom Navigation Pattern (Apple HIG & Material compliant) */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
        --header-height: 70px;
    }

    body {
        padding-bottom: 74px; /* Space for bottom nav */
    }

    .sidebar {
        width: 100%;
        height: 64px;
        flex-direction: row;
        top: auto;
        bottom: 0;
        border-right: none;
        border-top: var(--border-glass);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
        justify-content: space-around;
        padding: 0;
    }

    .logo-area, .sidebar-footer {
        display: none !important; /* Hide logo and VIP progress from mobile bottom bar */
    }

    .nav-menu {
        flex-direction: row;
        width: 100%;
        height: 100%;
        justify-content: space-around;
        padding: 0;
        gap: 0;
    }

    .nav-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding: 0;
        width: 25%;
        border-radius: 0;
        font-size: 0.72rem;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-item svg {
        width: 22px;
        height: 22px;
    }

    .nav-item.active {
        color: var(--color-gold-light);
    }

    .main-wrapper {
        margin-left: 0;
        padding: 0 16px 20px 16px;
    }

    .top-header {
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .slots-screen-container {
        padding: 16px;
    }
    
    .slots-symbol {
        font-size: 4rem;
        height: 140px;
    }

    .slots-reel-window {
        height: 140px;
    }

    .cabinet-controls {
        padding: 20px;
        justify-content: center;
    }

    .spin-btn {
        width: 80px;
        height: 80px;
        font-size: 1.1rem;
    }

    .betting-board {
        min-width: 100%;
        grid-template-columns: 35px repeat(12, 1fr);
        grid-template-rows: repeat(3, 40px) 36px 36px;
    }
    
    .board-cell {
        font-size: 0.75rem;
    }
    
    .wheel-border-glow {
        width: 240px;
        height: 240px;
    }

    .spin-control-section {
        padding: 20px 10px;
    }
}

/* Custom Logo Image */
.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Landing Page Layout and Styles */
body.landing-active {
    background-color: #06050C;
}

body.landing-active .sidebar {
    display: none !important;
}

body.landing-active .top-header {
    display: none !important;
}

body.landing-active .ticker-section {
    display: none !important;
}

body.landing-active .main-wrapper {
    margin-left: 0 !important;
    padding: 0 !important;
}

body.landing-active .content-container {
    padding: 0 !important;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 20px;
}

.landing-logo {
    width: 160px;
    height: 160px;
    border-radius: 28px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 30px var(--color-gold-glow);
    margin-bottom: 20px;
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #FFF 30%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.landing-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    line-height: 1.6;
}

.landing-cta {
    margin-top: 15px;
    padding: 16px 44px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-secondary);
    box-shadow: 0 8px 24px var(--color-primary-glow);
}

.feature-icon {
    font-size: 3rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #FFF;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.landing-vip-showcase {
    padding: 50px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(21, 21, 41, 0.4) 100%);
    border-color: rgba(167, 139, 250, 0.15);
}

.vip-showcase-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.landing-vip-showcase h2 {
    font-size: 2.2rem;
    color: #FFF;
}

.landing-vip-showcase p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.vip-tiers-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.vip-badge {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-badge.bronze { background: rgba(205, 127, 50, 0.15); color: #CD7F32; border-color: rgba(205, 127, 50, 0.3); }
.vip-badge.silver { background: rgba(192, 192, 192, 0.15); color: #C0C0C0; border-color: rgba(192, 192, 192, 0.3); }
.vip-badge.gold { background: rgba(245, 158, 11, 0.15); color: var(--color-gold); border-color: rgba(245, 158, 11, 0.3); }
.vip-badge.platinum { background: rgba(229, 228, 226, 0.15); color: #E5E4E2; border-color: rgba(229, 228, 226, 0.3); }
.vip-badge.diamond { background: rgba(185, 242, 255, 0.15); color: #B9F2FF; border-color: rgba(185, 242, 255, 0.3); }

.landing-trust-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 30px 10px;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.05));
}

.trust-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.landing-footer {
    text-align: center;
    padding-bottom: 20px;
}

.landing-footer p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
.animate-float {
    animation: float-logo 4s ease-in-out infinite;
}

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

/* Responsive Overrides for Landing Page */
@media (max-width: 1024px) {
    .landing-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 40px 16px;
        gap: 40px;
    }

    .landing-title {
        font-size: 2.4rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .landing-vip-showcase {
        padding: 30px 20px;
    }

    .landing-vip-showcase h2 {
        font-size: 1.8rem;
    }

    .landing-trust-bar {
        gap: 24px;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
}

/* Login Form & Authenticated Profile Styling */
.w-full {
    width: 100% !important;
}

.login-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: rgba(21, 21, 41, 0.45);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: var(--border-glass);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFF 30%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.form-input {
    background: rgba(0, 0, 0, 0.35);
    border: var(--border-glass);
    border-radius: 10px;
    padding: 12px 16px;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    background: rgba(0, 0, 0, 0.5);
}

.login-error-msg {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-red);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    animation: scale-up 0.25s ease;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* User Welcome Tag in Lobby Header */
.user-profile-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    padding: 8px 16px;
    border-radius: 12px;
    margin-right: 4px;
}

.user-welcome-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
}

.user-username-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-gold);
    text-shadow: 0 0 8px var(--color-gold-glow);
}

#logout-btn {
    color: var(--color-red) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
}

#logout-btn:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2) !important;
}

/* Scroll swipe indicator on mobile */
.table-scroll-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 12px;
    color: var(--color-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse-indicator-scale 2s infinite alternate;
}

@keyframes pulse-indicator-scale {
    from { opacity: 0.7; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1.02); }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    /* Safe-Area Bottom Navigation adjustments */
    .sidebar {
        height: calc(64px + env(safe-area-inset-bottom)) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    .nav-menu {
        align-items: flex-start !important;
    }

    .nav-item {
        padding-top: 6px !important;
        height: 60px !important;
    }

    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    }

    /* Swipe indicators for Roulette Betting Grid */
    .table-scroll-indicator {
        display: flex;
    }
    
    .board-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .board-container::-webkit-scrollbar {
        height: 4px;
    }

    .board-container::-webkit-scrollbar-thumb {
        background: rgba(245, 158, 11, 0.3);
        border-radius: 2px;
    }

    /* Small screen chip selectors */
    .chips-row {
        gap: 8px;
        justify-content: center;
    }

    .bet-chip {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    /* Fluid slots cabinet scaling down to fit mobile screens */
    .slots-screen-container {
        padding: 12px !important;
    }

    .slots-screen {
        padding: 10px !important;
        gap: 10px !important;
    }

    .slots-symbol {
        font-size: 3rem !important;
        height: 110px !important;
    }

    .slots-reel-window {
        height: 110px !important;
    }

    @keyframes reel-spin-loop {
        from { transform: translateY(0); }
        to { transform: translateY(-220px); } /* Sized relative to symbol height (110px * 2) */
    }

    .cabinet-controls {
        padding: 16px 10px !important;
        gap: 12px !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .spin-btn {
        width: 74px !important;
        height: 74px !important;
        font-size: 1.05rem !important;
    }
}

@media (max-width: 480px) {
    /* Bento Grid Stack to 1 Column */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .bento-item {
        padding: 16px !important;
    }

    .stat-value {
        font-size: 1.5rem !important;
    }

    .top-header {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    /* Login layout adjustments */
    .login-card {
        padding: 24px 16px !important;
    }

    .landing-title {
        font-size: 2.1rem !important;
    }
}
