/* SkillCash - Premium Gaming Platform Styles */
/* Copper & Slate Palette */

:root {
    /* Primary Colors - Copper & Slate */
    --copper: #B87333;
    --copper-light: #D4A574;
    --copper-dark: #8B5A2B;
    --slate: #2F3640;
    --slate-light: #4A5568;
    --slate-dark: #1A1D23;
    
    /* Background Colors */
    --bg-primary: #F5F0EB;
    --bg-secondary: #E8E0D5;
    --bg-dark: #2F3640;
    --bg-card: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #2F3640;
    --text-secondary: #6B7280;
    --text-light: #F5F0EB;
    --text-muted: #9CA3AF;
    
    /* Accent Colors */
    --accent-gold: #C9A87C;
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-error: #EF4444;
    
    /* Gradients */
    --gradient-copper: linear-gradient(135deg, #B87333 0%, #D4A574 100%);
    --gradient-dark: linear-gradient(135deg, #2F3640 0%, #1A1D23 100%);
    --gradient-gold: linear-gradient(135deg, #C9A87C 0%, #B87333 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-copper: 0 4px 14px rgba(184, 115, 51, 0.4);
    
    /* Typography */
    --font-display: 'Gambetta', Georgia, serif;
    --font-body: 'Synonym', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Intro Animation */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: introFadeOut 0.8s ease 3.5s forwards;
}

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

.intro-logo {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--copper-light);
    display: flex;
    gap: 0.1em;
    margin-bottom: var(--space-lg);
}

.intro-logo span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterReveal 0.6s ease forwards;
}

.intro-s { animation-delay: 0.1s; }
.intro-k { animation-delay: 0.2s; }
.intro-i { animation-delay: 0.3s; }
.intro-l { animation-delay: 0.4s; }
.intro-l2 { animation-delay: 0.5s; }
.intro-c { animation-delay: 0.6s; }
.intro-a { animation-delay: 0.7s; }
.intro-s2 { animation-delay: 0.8s; }
.intro-h { animation-delay: 0.9s; }

.intro-tagline {
    font-size: 1.5rem;
    color: var(--accent-gold);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.intro-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.intro-particles::before,
.intro-particles::after {
    content: '♔ ♕ ♖ ♘ ♗ ♙';
    position: absolute;
    font-size: 2rem;
    color: rgba(201, 168, 124, 0.1);
    animation: floatParticles 20s linear infinite;
}

.intro-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.intro-particles::after {
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes introFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(0, -60px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 115, 51, 0.1);
    animation: slideDown 0.6s ease 3.5s both;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate);
}

.brand-icon {
    font-size: 2rem;
    color: var(--copper);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--copper);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.balance-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: var(--space-sm) var(--space-md);
    background: var(--gradient-copper);
    border-radius: var(--radius-lg);
    color: white;
}

.balance-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.balance-amount {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-copper);
    color: white;
    box-shadow: var(--shadow-copper);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 115, 51, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--copper);
    border: 2px solid var(--copper);
}

.btn-secondary:hover {
    background: var(--copper);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--slate);
    border: 1px solid var(--slate-light);
}

.btn-outline:hover {
    background: var(--slate);
    color: white;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease 3.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-piece {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    color: var(--copper);
    animation: floatPiece 15s ease-in-out infinite;
}

.piece-1 { top: 10%; left: 10%; animation-delay: 0s; }
.piece-2 { top: 20%; right: 15%; animation-delay: -2s; }
.piece-3 { top: 60%; left: 5%; animation-delay: -4s; }
.piece-4 { bottom: 20%; right: 10%; animation-delay: -6s; }
.piece-5 { top: 40%; left: 20%; animation-delay: -8s; }
.piece-6 { bottom: 30%; left: 15%; animation-delay: -10s; }
.piece-7 { top: 30%; right: 25%; animation-delay: -12s; }
.piece-8 { bottom: 10%; right: 30%; animation-delay: -14s; }

@keyframes floatPiece {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(0, -60px) rotate(0deg); }
    75% { transform: translate(-30px, -30px) rotate(-5deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: var(--gradient-copper);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--copper);
}

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

/* Mascots */
.mascot-container {
    position: absolute;
    bottom: 10%;
    right: 5%;
    display: flex;
    gap: var(--space-xl);
}

.mascot {
    position: relative;
    animation: mascotBounce 3s ease-in-out infinite;
}

.mascot-2 {
    animation-delay: -1.5s;
}

.mascot-body {
    font-size: 4rem;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.mascot:hover .mascot-body {
    transform: scale(1.2);
}

.mascot-speech {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--copper);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: speechPop 4s ease-in-out infinite;
}

.mascot-2 .mascot-speech {
    animation-delay: -2s;
}

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

@keyframes speechPop {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    20%, 80% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Section Styles */
section {
    padding: var(--space-3xl) var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--slate);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    background: var(--bg-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.game-preview {
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-placeholder {
    font-size: 5rem;
}

.game-info {
    padding: var(--space-xl);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--slate);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
}

.game-players {
    color: var(--accent-success);
}

.game-min {
    color: var(--copper);
    font-weight: 500;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--text-muted);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-copper);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--slate);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--copper-light);
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--copper);
    font-size: 1.2rem;
}

.profit-info {
    text-align: center;
    margin-top: var(--space-3xl);
}

.profit-card {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--slate);
    color: var(--text-light);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
}

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

/* Deposit & Withdraw Sections */
.deposit-section,
.withdraw-section {
    background: var(--bg-primary);
}

.deposit-container,
.withdraw-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.deposit-card,
.withdraw-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--slate);
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--copper);
    margin-right: var(--space-sm);
}

.amount-input,
.text-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    font-family: var(--font-body);
    color: var(--slate);
    outline: none;
}

.quick-amounts {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.quick-amount {
    flex: 1;
    padding: var(--space-sm);
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.quick-amount:hover {
    border-color: var(--copper);
    color: var(--copper);
}

.qr-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-secondary);
}

.qr-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: #FEF3C7;
    border-radius: var(--radius-md);
}

.timer-value {
    font-weight: 600;
    color: var(--accent-warning);
}

.qr-code-container {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

#upi-qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.upi-id {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    outline: none;
    transition: border-color var(--transition-fast);
}

.code-input:focus {
    border-color: var(--copper);
}

.deposit-info,
.withdraw-info {
    padding: var(--space-xl);
}

.deposit-info h3,
.withdraw-info h3 {
    margin-bottom: var(--space-lg);
    color: var(--slate);
}

.info-list {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.info-list li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-success);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.balance-show {
    font-size: 2rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: var(--space-lg);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
}

.country-code {
    font-weight: 600;
    color: var(--copper);
    margin-right: var(--space-sm);
    padding-right: var(--space-sm);
    border-right: 1px solid var(--copper-light);
}

.phone-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    outline: none;
}

.qr-upload {
    border: 2px dashed var(--copper-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.qr-upload:hover {
    border-color: var(--copper);
    background: rgba(184, 115, 51, 0.05);
}

.qr-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.upload-icon {
    font-size: 2rem;
}

#qr-preview {
    max-width: 100%;
    max-height: 150px;
    border-radius: var(--radius-md);
}

.withdraw-status {
    text-align: center;
    padding: var(--space-xl);
}

.status-pending {
    padding: var(--space-xl);
}

.status-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-md);
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.pending {
    background: var(--accent-warning);
    color: white;
}

.withdraw-note {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: #DBEAFE;
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

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

/* Footer */
.footer {
    background: var(--slate-dark);
    color: var(--text-light);
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-brand .brand-icon {
    color: var(--copper-light);
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--copper-light);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--slate-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-large .modal-content {
    max-width: 900px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--slate);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bg-secondary);
}

.phone-auth {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.otp-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.3em;
    outline: none;
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 3000;
    display: flex;
}

.admin-sidebar {
    width: 250px;
    background: var(--slate);
    color: var(--text-light);
    padding: var(--space-xl);
}

.admin-sidebar h3 {
    margin-bottom: var(--space-xl);
    color: var(--copper-light);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.admin-nav a {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--copper);
}

.admin-content {
    flex: 1;
    padding: var(--space-xl);
    overflow-y: auto;
}

.admin-section h2 {
    margin-bottom: var(--space-xl);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.admin-table th,
.admin-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--bg-secondary);
}

.admin-table th {
    background: var(--slate);
    color: var(--text-light);
    font-weight: 600;
}

.admin-table tr:hover {
    background: var(--bg-secondary);
}

.admin-table button {
    padding: var(--space-xs) var(--space-md);
    margin-right: var(--space-sm);
}

/* Game Interface */
.game-interface {
    min-height: 500px;
}

.game-board-3d {
    width: 100%;
    height: 500px;
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: var(--space-md);
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
    }
    
    .step-connector::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -10px;
        transform: translateX(50%);
    }
    
    .deposit-container,
    .withdraw-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .mascot-container {
        display: none;
    }
}

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

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

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

/* Chess Board Preview */
.chess-board-preview {
    width: 150px;
    height: 150px;
    background: 
        linear-gradient(45deg, #D4A574 25%, transparent 25%),
        linear-gradient(-45deg, #D4A574 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #8B5A2B 75%),
        linear-gradient(-45deg, transparent 75%, #8B5A2B 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    border-radius: var(--radius-md);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.3),
        0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.chess-board-preview::before {
    content: '♔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Carrom Board Preview */
.carrom-board-preview {
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle at 20% 20%, #1a1a1a 8%, transparent 8%),
        radial-gradient(circle at 80% 20%, #1a1a1a 8%, transparent 8%),
        radial-gradient(circle at 20% 80%, #1a1a1a 8%, transparent 8%),
        radial-gradient(circle at 80% 80%, #1a1a1a 8%, transparent 8%),
        linear-gradient(135deg, #D4A574 0%, #B87333 50%, #8B5A2B 100%);
    border-radius: var(--radius-md);
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    border: 8px solid #3d2817;
}

.carrom-board-preview::before {
    content: '●';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--copper);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--copper-dark);
}