/* ============================================
   CSS VARIABLES & DESIGN SYSTEM
   ============================================ */
:root {
    /* Base Layers */
    --bg-primary: #0b0b0f;
    --bg-secondary: #14141a;
    --bg-elevated: rgba(255,255,255,0.04);
    --bg-elevated-hover: rgba(255,255,255,0.07);
    
    /* Accents */
    --accent-primary: #7f1d1d;
    --accent-secondary: #b91c1c;
    --accent-highlight: #eab308;
    --accent-purple: #2e1065;
    --accent-mist: rgba(255,255,255,0.06);
    
    /* Typography */
    --text-primary: #f5f5f5;
    --text-secondary: #d4d4d8;
    --text-muted: #71717a;
    
    /* UI */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow-red: 0 0 20px rgba(127,29,29,0.3);
    --shadow-glow-gold: 0 0 20px rgba(234,179,8,0.2);
    
    /* Spacing */
    --container-max: 1320px;
    --section-gap: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-display: 'Cinzel', 'Georgia', serif;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-highlight);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-highlight);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: rgba(20, 20, 26, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
}

/* ============================================
   FOG & PARTICLES OVERLAY
   ============================================ */
.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.fog-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(127,29,29,0.03) 0%, transparent 70%);
    opacity: 0.5;
}

.fog-layer-1 {
    top: -20%;
    animation: fogDrift 40s ease-in-out infinite;
}

.fog-layer-2 {
    bottom: -30%;
    animation: fogDrift 55s ease-in-out infinite reverse;
    background: radial-gradient(ellipse at center, rgba(46,16,101,0.04) 0%, transparent 70%);
}

.fog-layer-3 {
    top: 30%;
    animation: fogDrift 45s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.01) 0%, transparent 60%);
    opacity: 0.3;
}

.dust-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(234,179,8,0.08);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(11, 11, 15, 0.92);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    border-bottom-color: rgba(234,179,8,0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-emblem {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(127,29,29,0.4));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.logo-accent {
    color: var(--accent-secondary);
}

.logo-domain {
    color: var(--text-muted);
    font-weight: 400;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent-secondary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(24px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    text-align: center;
    padding: 32px;
}

.mobile-nav-list {
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: block;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    padding: 16px 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-secondary);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-nav-footer {
    margin-top: 40px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #fff;
    border: 1px solid rgba(185,28,28,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-red);
    filter: brightness(1.1);
    color: #fff;
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-sm {
    font-size: 13px;
    padding: 8px 18px;
}

.btn-lg {
    font-size: 16px;
    padding: 16px 32px;
}

.btn-full {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 16px rgba(127,29,29,0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 24px rgba(185,28,28,0.4);
}

.btn-icon {
    font-size: 18px;
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(127,29,29,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(46,16,101,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.8) 0%, transparent 50%);
}

.hero-castle-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

.hero-moon {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234,179,8,0.15) 0%, rgba(234,179,8,0.05) 40%, transparent 70%);
    box-shadow: 0 0 60px rgba(234,179,8,0.1), 0 0 120px rgba(234,179,8,0.05);
    animation: moonPulse 6s ease-in-out infinite;
}

.hero-bats {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 30%;
}

.bat {
    position: absolute;
    font-size: 20px;
    opacity: 0.2;
    animation: batFly 15s ease-in-out infinite;
}

.bat-1 { top: 10%; left: 20%; animation-delay: 0s; }
.bat-2 { top: 40%; left: 60%; animation-delay: -5s; font-size: 14px; }
.bat-3 { top: 25%; left: 80%; animation-delay: -10s; font-size: 16px; }

.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Hero Content */
.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-highlight);
    background: rgba(234,179,8,0.08);
    border: 1px solid rgba(234,179,8,0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-highlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-game-preview {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-game-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(127,29,29,0.2) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-game-frame {
    position: relative;
    z-index: 1;
    background: rgba(20,20,26,0.8);
    border: 1px solid rgba(127,29,29,0.3);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.hero-slot-display {
    padding: 24px;
}

.slot-header {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, rgba(127,29,29,0.3), rgba(46,16,101,0.2));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.slot-title-display {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-highlight);
    letter-spacing: 2px;
}

.slot-reels {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.slot-reel {
    width: 72px;
    height: 80px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.slot-info-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-game-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 2;
}

.badge-hot {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow-red);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-secondary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   DASHBOARD SECTION
   ============================================ */
.dashboard-section {
    padding: 40px 0 0;
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.dashboard-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    gap: 24px;
    flex-wrap: wrap;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-icon {
    font-size: 24px;
}

.avatar-level {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--accent-highlight);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

.dashboard-greeting {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.text-accent {
    color: var(--accent-secondary);
}

.dashboard-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-stats-row {
    display: flex;
    gap: 32px;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-stat-icon {
    font-size: 20px;
}

.dash-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.dash-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.dashboard-actions {
    display: flex;
    gap: 12px;
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-section {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 3;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-highlight);
    background: rgba(234,179,8,0.08);
    border: 1px solid rgba(234,179,8,0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.game-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.game-frame-wrapper {
    position: relative;
}

.game-frame-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(127,29,29,0.2), rgba(46,16,101,0.1));
    border-radius: calc(var(--radius-xl) + 4px);
    z-index: 0;
    animation: glowPulse 5s ease-in-out infinite;
}

.game-frame {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border: 1px solid rgba(127,29,29,0.25);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-loading-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.game-loading-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.skeleton-pulse {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 16px;
}

.skeleton-text {
    font-size: 14px;
    color: var(--text-muted);
    animation: pulse 1.5s ease-in-out infinite;
}

.game-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.game-control-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.game-control-btn:hover {
    background: rgba(127,29,29,0.4);
    border-color: rgba(127,29,29,0.5);
}

.game-control-btn.active {
    background: rgba(127,29,29,0.5);
    border-color: var(--accent-secondary);
}

.control-icon {
    font-size: 16px;
}

/* Game Info */
.game-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.game-info-card {
    padding: 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.game-info-card:hover {
    background: var(--bg-elevated-hover);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-highlight);
}

.game-description {
    padding: 28px;
}

.game-description h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.game-description p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.game-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-feature-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.game-feature-tag:hover {
    background: rgba(127,29,29,0.15);
    border-color: rgba(127,29,29,0.3);
    color: var(--text-primary);
}

/* ============================================
   RECENTLY PLAYED
   ============================================ */
.recently-played-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title-sm {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle-sm {
    font-size: 14px;
    color: var(--text-muted);
}

.link-arrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-secondary);
    transition: all var(--transition-fast);
}

.link-arrow:hover {
    color: var(--accent-highlight);
}

.games-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-card {
    transition: all var(--transition-base);
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(127,29,29,0.2);
}

.game-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.game-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.game-card:hover .game-card-placeholder {
    transform: scale(1.05);
}

.game-card-emoji {
    font-size: 48px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,11,15,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.badge-new {
    background: rgba(234,179,8,0.2);
    color: var(--accent-highlight);
    border: 1px solid rgba(234,179,8,0.3);
}

.badge-jackpot {
    background: rgba(234,179,8,0.15);
    color: var(--accent-highlight);
    border: 1px solid rgba(234,179,8,0.25);
}

.game-card-body {
    padding: 16px;
}

.game-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.game-card-provider {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.favorite-mini {
    font-size: 18px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.favorite-mini:hover,
.favorite-mini.active {
    color: var(--accent-secondary);
}

.favorite-mini.active::after {
    content: '';
}

/* Gradient placeholders */
.gothic-gradient-1 { background: linear-gradient(135deg, #1a0a0a, #2d1010, #0f0518); }
.gothic-gradient-2 { background: linear-gradient(135deg, #0f0518, #1a0a0a, #2d1010); }
.gothic-gradient-3 { background: linear-gradient(135deg, #0a0a1a, #1a0a1a, #0f0518); }
.gothic-gradient-4 { background: linear-gradient(135deg, #1a1005, #2d1010, #0a0a1a); }
.gothic-gradient-5 { background: linear-gradient(135deg, #2d1010, #1a0518, #0a0a1a); }
.gothic-gradient-6 { background: linear-gradient(135deg, #0f0518, #2d0a1a, #1a0a0a); }
.gothic-gradient-7 { background: linear-gradient(135deg, #0a1a0a, #1a0a1a, #0a0a1a); }
.gothic-gradient-8 { background: linear-gradient(135deg, #1a0a0a, #0a1a1a, #0f0518); }
.gothic-gradient-9 { background: linear-gradient(135deg, #1a1a0a, #2d0a1a, #0f0518); }
.gothic-gradient-10 { background: linear-gradient(135deg, #0a0a1a, #1a0a0a, #2d1010); }

/* ============================================
   FEATURED GAMES
   ============================================ */
.featured-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.game-filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.search-icon {
    font-size: 16px;
    opacity: 0.5;
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tag:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

.filter-tag.active {
    color: var(--text-primary);
    background: rgba(127,29,29,0.2);
    border-color: var(--accent-primary);
}

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

.games-page-grid {
    grid-template-columns: repeat(4, 1fr);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 32px;
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-4px);
    background: var(--bg-elevated-hover);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(127,29,29,0.15);
    margin-bottom: 8px;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.connector-line {
    width: 40px;
    height: 1px;
    background: rgba(127,29,29,0.3);
}

.connector-dot {
    display: none;
}

/* Social Casino Notice */
.social-casino-notice {
    display: flex;
    gap: 16px;
    padding: 24px 28px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.social-casino-notice h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-highlight);
}

.social-casino-notice p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   PROMOTIONS
   ============================================ */
.promos-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.promos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.promos-full-grid {
    grid-template-columns: repeat(3, 1fr);
}

.promo-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-featured {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(127,29,29,0.1) 0%, transparent 70%);
}

.promo-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-highlight);
    background: rgba(234,179,8,0.1);
    border: 1px solid rgba(234,179,8,0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.promo-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.promo-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-value {
    margin-bottom: 20px;
}

.promo-coins {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-highlight);
}

.promo-coins-label {
    font-size: 13px;
    color: var(--text-muted);
}

.promo-timer {
    margin-bottom: 20px;
}

.timer-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.timer-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-highlight);
}

.promo-streak {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.streak-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all var(--transition-fast);
}

.streak-dot.active {
    background: rgba(127,29,29,0.3);
    border-color: var(--accent-secondary);
}

.streak-dot.current {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 12px rgba(185,28,28,0.4);
    animation: pulse 2s ease-in-out infinite;
}

.streak-dot.special {
    border-color: var(--accent-highlight);
}

/* Promo Hero (Promotions Page) */
.promos-page-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.promo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

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

.promo-hero-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.promo-hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.promo-hero-values {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
}

.promo-hero-value {
    display: flex;
    flex-direction: column;
}

.phv-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-highlight);
}

.phv-label {
    font-size: 12px;
    color: var(--text-muted);
}

.promo-hero-visual {
    position: relative;
    z-index: 1;
}

.promo-hero-emoji {
    font-size: 100px;
    opacity: 0.6;
    filter: drop-shadow(0 0 40px rgba(127,29,29,0.3));
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

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

.testimonial-card {
    padding: 28px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--accent-highlight);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    font-size: 28px;
    width: 44px;
    height: 44px;
    background: rgba(127,29,29,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-level {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 64px;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(127,29,29,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(46,16,101,0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    z-index: 3;
    background: radial-gradient(ellipse at 50% 80%, rgba(127,29,29,0.08) 0%, transparent 60%);
}

.page-hero-sm {
    padding: 120px 0 48px;
}

.page-hero-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
    align-items: start;
}

.about-text {
    max-width: 640px;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

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

.about-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-highlight);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.values-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    padding: 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper {
    padding: 36px;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    padding: 24px;
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
}

.legal-document h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.legal-document h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-document h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-document p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-document ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-document li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4px;
    list-style: disc;
}

.legal-document a {
    color: var(--accent-secondary);
}

.legal-document a:hover {
    color: var(--accent-highlight);
}

.legal-nav {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.legal-nav a {
    color: var(--text-muted);
    padding: 0 4px;
}

.legal-nav a:hover {
    color: var(--accent-secondary);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255,255,255,0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(127,29,29,0.15);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.form-link {
    font-size: 13px;
    color: var(--accent-secondary);
}

.form-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.form-footer a {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.reward-modal-content {
    max-width: 560px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(127,29,29,0.3);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-emblem {
    font-size: 40px;
    margin-bottom: 12px;
}

.reward-emblem {
    animation: pulse 2s ease-in-out infinite;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Daily Reward Grid */
.reward-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.reward-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 4px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    position: relative;
    transition: all var(--transition-fast);
}

.reward-day.claimed {
    border-color: rgba(127,29,29,0.3);
    background: rgba(127,29,29,0.1);
}

.reward-day.active {
    border-color: var(--accent-secondary);
    background: rgba(127,29,29,0.2);
    box-shadow: 0 0 16px rgba(185,28,28,0.2);
}

.reward-day.locked {
    opacity: 0.4;
}

.reward-day.special {
    border-color: rgba(234,179,8,0.3);
}

.reward-day-label {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.reward-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.reward-amount {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-highlight);
}

.reward-check {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--accent-secondary);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reward-pulse {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-secondary);
    animation: rewardPulse 2s ease-in-out infinite;
}

.reward-badge {
    font-size: 8px;
    font-weight: 800;
    color: var(--accent-highlight);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 88px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3000;
    pointer-events: none;
}

.toast {
    background: rgba(20,20,26,0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(127,29,29,0.3);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow-red);
    pointer-events: auto;
    animation: toastIn 0.4s ease forwards;
    max-width: 360px;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

/* ============================================
   GAMES LIBRARY (games page)
   ============================================ */
.games-library {
    padding: 0 0 var(--section-gap);
    position: relative;
    z-index: 3;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(14,14,20,0.8);
    padding-top: 64px;
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(127,29,29,0.2);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 16px;
    line-height: 1.7;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   UTILITY
   ============================================ */
.muted-text {
    color: var(--text-muted);
    font-size: 13px;
}

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

[hidden] {
    display: none !important;
}
/* ENDFILE */