@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Poppins:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* =============================================
   MASTER BILLIARDS PRO — PREMIUM CSS SYSTEM
   Ultra-Dark Billiards Arena Theme v2.0
   ============================================= */

:root {
    /* === CORE COLORS === */
    --bg-main: #030508;
    --bg-card: rgba(8, 18, 12, 0.82);
    --bg-card-hover: rgba(12, 28, 18, 0.92);
    --bg-felt: #071a0e;
    
    /* === NEON PALETTE === */
    --neon-green: #00ff87;
    --neon-blue: #00e5ff;
    --neon-gold: #ffc107;
    --neon-pink: #ff0055;
    --neon-purple: #bf00ff;
    --neon-orange: #ff6b00;
    
    /* === GLOW SHADOWS === */
    --green-glow: 0 0 25px rgba(0, 255, 135, 0.5), 0 0 50px rgba(0, 255, 135, 0.2);
    --blue-glow: 0 0 25px rgba(0, 229, 255, 0.5), 0 0 50px rgba(0, 229, 255, 0.2);
    --gold-glow: 0 0 25px rgba(255, 193, 7, 0.5), 0 0 50px rgba(255, 193, 7, 0.2);
    --pink-glow: 0 0 25px rgba(255, 0, 85, 0.5), 0 0 50px rgba(255, 0, 85, 0.2);
    --purple-glow: 0 0 25px rgba(191, 0, 255, 0.5);
    
    /* === BORDERS === */
    --border-color: rgba(0, 255, 135, 0.1);
    --glass-border: rgba(0, 255, 135, 0.12);
    --glass-border-focus: rgba(0, 229, 255, 0.4);
    
    /* === GLASS === */
    --glass-bg: rgba(255, 255, 255, 0.012);
    --glass-shadow: 0 12px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    
    /* === WOOD === */
    --wood-dark: #1a0c05;
    --wood-mid: #3d2212;
    --wood-light: #6b3a1a;
    --felt-green: #0a3018;
    --felt-mid: #0d3d1c;
    
    /* === FONTS === */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Rajdhani', sans-serif;
    
    /* === ANIMATION === */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(0, 255, 135, 0.05) 0px, transparent 50%),
        radial-gradient(ellipse at 85% 90%, rgba(0, 229, 255, 0.04) 0px, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(7, 26, 14, 0.6) 0%, var(--bg-main) 80%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='none'/%3E%3Cline x1='0' y1='0' x2='80' y2='80' stroke='rgba(0,255,135,0.015)' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='0' y2='80' stroke='rgba(0,255,135,0.01)' stroke-width='1'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Particle canvas overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 135, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0%   { opacity: 0.5; }
    100% { opacity: 1; }
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

p { color: #b0b0c8; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.grid     { display: grid; gap: 24px; }
.grid-2   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4   { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* =============================================
   BILLIARDS CUE DIVIDER
   ============================================= */
.cue-divider {
    height: 8px;
    background: linear-gradient(
        90deg,
        #2a1708 0%,
        #d4af37 4%, #ffd700 8%, #d4af37 12%,
        #4a2810 13%, #1a0c05 85%,
        #e8e8e8 86%, #ffffff 90%, #b0b0b0 92%,
        #00e5ff 93%, #00b8cc 96%, #00e5ff 100%
    );
    border-radius: 4px;
    margin: 40px auto;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 8px rgba(0,229,255,0.2);
    position: relative;
}

/* =============================================
   BILLIARD BALL ELEMENTS
   ============================================= */
.billiard-ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: var(--font-heading);
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7), inset -4px -4px 12px rgba(0,0,0,0.7), inset 3px 3px 8px rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.15);
    animation: ballFloat 3s ease-in-out infinite;
    transition: var(--transition);
}

.billiard-ball:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset -4px -4px 12px rgba(0,0,0,0.7);
}

.billiard-ball:nth-child(1) { animation-delay: 0s; }
.billiard-ball:nth-child(2) { animation-delay: 0.4s; }
.billiard-ball:nth-child(3) { animation-delay: 0.8s; }
.billiard-ball:nth-child(4) { animation-delay: 1.2s; }
.billiard-ball:nth-child(5) { animation-delay: 1.6s; }

@keyframes ballFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-8px) rotate(5deg); }
}

.billiard-ball.yellow { background: radial-gradient(circle at 35% 30%, #fffde7 0%, #ffeb3b 35%, #f9a825 70%, #e65100 100%); color: #1a1a00; text-shadow: 0 1px 2px rgba(255,255,255,0.5); }
.billiard-ball.blue   { background: radial-gradient(circle at 35% 30%, #e3f2fd 0%, #42a5f5 35%, #1565c0 70%, #0d47a1 100%); color: #fff; }
.billiard-ball.red    { background: radial-gradient(circle at 35% 30%, #ffcdd2 0%, #ef5350 35%, #c62828 70%, #7f0000 100%); color: #fff; }
.billiard-ball.black  { background: radial-gradient(circle at 35% 30%, #616161 0%, #212121 50%, #000000 100%); color: #fff; border: 2px solid #444; }
.billiard-ball.white  { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f5f5f5 50%, #e0e0e0 100%); color: #222; }
.billiard-ball.purple { background: radial-gradient(circle at 35% 30%, #e1bee7 0%, #ab47bc 35%, #6a1b9a 70%, #4a148c 100%); color: #fff; }
.billiard-ball.orange { background: radial-gradient(circle at 35% 30%, #fff3e0 0%, #ffa726 35%, #e65100 70%, #bf360c 100%); color: #fff; }
.billiard-ball.green  { background: radial-gradient(circle at 35% 30%, #e8f5e9 0%, #66bb6a 35%, #2e7d32 70%, #1b5e20 100%); color: #fff; }

/* =============================================
   POOL TABLE FRAME
   ============================================= */
.pool-table-frame {
    background: var(--felt-green);
    background-image:
        radial-gradient(ellipse at center, rgba(0, 255, 135, 0.06) 0%, transparent 70%),
        repeating-linear-gradient(
            0deg, transparent, transparent 39px, rgba(0, 255, 135, 0.025) 40px
        ),
        repeating-linear-gradient(
            90deg, transparent, transparent 39px, rgba(0, 255, 135, 0.025) 40px
        );
    border: 14px solid var(--wood-mid);
    border-radius: 20px;
    position: relative;
    padding: 35px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.9),
        inset 0 0 40px rgba(0,0,0,0.5),
        0 0 0 2px var(--wood-dark),
        0 0 0 16px var(--wood-mid),
        0 0 0 18px var(--wood-dark);
    transition: var(--transition);
}

.pool-table-frame:hover {
    box-shadow:
        0 25px 70px rgba(0,0,0,0.9),
        inset 0 0 50px rgba(0,0,0,0.4),
        0 0 0 2px var(--wood-dark),
        0 0 0 16px var(--wood-mid),
        0 0 0 18px var(--wood-dark),
        0 0 40px rgba(0, 255, 135, 0.06);
}

/* Pocket Holes */
.pool-table-frame::before, .pool-table-frame::after {
    content: '';
    position: absolute;
    width: 28px; height: 28px;
    background: radial-gradient(circle at 30% 30%, #333, #000);
    border-radius: 50%;
    box-shadow: inset 0 3px 8px rgba(255,255,255,0.1), 0 3px 6px rgba(0,0,0,1);
    z-index: 5;
}
.pool-table-frame::before { top: -8px; left: -8px; }
.pool-table-frame::after  { top: -8px; right: -8px; }

.pool-table-pockets {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}
.pool-table-pockets::before {
    content: '';
    position: absolute;
    bottom: -8px; left: -8px;
    width: 28px; height: 28px;
    background: radial-gradient(circle at 30% 30%, #333, #000);
    border-radius: 50%;
    box-shadow: inset 0 3px 8px rgba(255,255,255,0.1);
}
.pool-table-pockets::after {
    content: '';
    position: absolute;
    bottom: -8px; right: -8px;
    width: 28px; height: 28px;
    background: radial-gradient(circle at 30% 30%, #333, #000);
    border-radius: 50%;
    box-shadow: inset 0 3px 8px rgba(255,255,255,0.1);
}

/* =============================================
   GLASSMORPHISM CARDS
   ============================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Top shimmer line */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0;
    transition: var(--transition-slow);
}

/* Inner glow on hover */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at top, rgba(0,255,135,0.04), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 135, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 135, 0.06), inset 0 1px 0 rgba(255,255,255,0.06);
}

.card:hover::before { left: 100%; opacity: 1; }
.card:hover::after  { opacity: 1; }

.card.blue::before  { background: linear-gradient(90deg, transparent, var(--neon-blue), transparent); }
.card.blue:hover    { border-color: rgba(0, 229, 255, 0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 229, 255, 0.08); }
.card.blue::after   { background: radial-gradient(ellipse at top, rgba(0,229,255,0.04), transparent 70%); }

.card.gold::before  { background: linear-gradient(90deg, transparent, var(--neon-gold), transparent); }
.card.gold:hover    { border-color: rgba(255, 193, 7, 0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 193, 7, 0.08); }
.card.gold::after   { background: radial-gradient(ellipse at top, rgba(255,193,7,0.04), transparent 70%); }

.card.pink::before  { background: linear-gradient(90deg, transparent, var(--neon-pink), transparent); }
.card.pink:hover    { border-color: rgba(255, 0, 85, 0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 0, 85, 0.08); }
.card.pink::after   { background: radial-gradient(ellipse at top, rgba(255,0,85,0.04), transparent 70%); }

/* =============================================
   NAVIGATION BAR
   ============================================= */
.navbar {
    background: rgba(3, 5, 8, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 255, 135, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

/* Animated bottom border glow */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: navGlow 4s ease-in-out infinite;
}

@keyframes navGlow {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.8; }
}

.navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    white-space: nowrap;
}

.navbar .logo::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    transition: var(--transition);
}

.navbar .logo:hover::after { width: 100%; }

.site-logo {
    display: inline-block;
    max-width: 3in;
    max-height: 3in;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.15);
}

.navbar .logo img {
    display: inline-block;
    max-width: 2.2in;
    max-height: 2.2in;
    width: auto;
    height: auto;
    object-fit: contain;
}

.navbar .logo span {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
}

@media (max-width: 900px) {
    .navbar .logo img {
        max-height: 48px;
    }
    .navbar .logo span {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .navbar .logo img {
        max-height: 42px;
    }
    .navbar .logo span {
        display: none;
    }
    .navbar .logo {
        gap: 8px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #808090;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--neon-green);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: var(--transition);
    box-shadow: var(--green-glow);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-green);
    background: rgba(0, 255, 135, 0.05);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 60%;
}

.nav-btn {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid var(--neon-green);
    color: var(--neon-green) !important;
    padding: 10px 22px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.15);
    transition: var(--transition);
    background: rgba(0, 255, 135, 0.04);
}

.nav-btn:hover {
    background: var(--neon-green) !important;
    color: #030508 !important;
    box-shadow: var(--green-glow);
    transform: translateY(-2px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    padding: 130px 0 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated spotlight */
.hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(0, 255, 135, 0.07) 0%, transparent 70%);
    animation: spotlightPulse 5s ease-in-out infinite;
    pointer-events: none;
}

/* Table baize felt ring */
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(7, 26, 14, 0.5) 0%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes spotlightPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}

.hero h1 {
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 24px;
    background: linear-gradient(160deg, #ffffff 0%, #c8d8ff 50%, #a0f0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlideUp 0.8s ease forwards;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0,255,135,0.4));
    display: inline-block;
}

.hero p {
    font-size: 17px;
    color: #909098;
    max-width: 660px;
    margin: 0 auto 40px auto;
    animation: fadeSlideUp 0.8s 0.15s ease both;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

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

/* =============================================
   FORMS & CONTROLS
   ============================================= */
.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #808090;
    margin-bottom: 9px;
    font-family: var(--font-accent);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(0, 255, 135, 0.15);
    border-radius: 10px;
    padding: 13px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder { color: #505060; }

.form-control:focus {
    border-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08), 0 0 15px rgba(0, 229, 255, 0.15);
}

.form-control:hover:not(:focus) {
    border-color: rgba(0, 255, 135, 0.25);
}

select.form-control option {
    background: #0a1810;
    color: #fff;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

/* Ripple shimmer on buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: var(--transition);
}
.btn:hover::before { left: 100%; }

.btn-green {
    background: linear-gradient(135deg, #00ff87 0%, #00cc6a 50%, #008a48 100%);
    color: #030508;
    box-shadow: 0 4px 20px rgba(0, 255, 135, 0.35);
}
.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: var(--green-glow), 0 8px 25px rgba(0,0,0,0.4);
    color: #030508;
}

.btn-blue {
    background: linear-gradient(135deg, #00e5ff 0%, #00b0cc 50%, #007a90 100%);
    color: #030508;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}
.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: var(--blue-glow), 0 8px 25px rgba(0,0,0,0.4);
    color: #030508;
}

.btn-gold {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 50%, #e65100 100%);
    color: #030508;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow), 0 8px 25px rgba(0,0,0,0.4);
    color: #030508;
}

.btn-pink {
    background: linear-gradient(135deg, #ff0055 0%, #cc0044 50%, #800030 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.35);
}
.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: var(--pink-glow), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(0, 255, 135, 0.2);
    color: #c8c8d8;
}
.btn-secondary:hover {
    background: rgba(0, 255, 135, 0.07);
    border-color: rgba(0, 255, 135, 0.4);
    color: var(--neon-green);
    transform: translateY(-3px);
}

.btn-purple {
    background: linear-gradient(135deg, #bf00ff 0%, #7b00cc 50%, #4a008a 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(191, 0, 255, 0.35);
}
.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: var(--purple-glow), 0 8px 25px rgba(0,0,0,0.4);
}

/* =============================================
   BADGES
   ============================================= */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-accent);
}

.badge-pending   { background: rgba(255, 193, 7, 0.12);  color: var(--neon-gold);  border: 1px solid rgba(255, 193, 7, 0.25); }
.badge-confirmed { background: rgba(0, 255, 135, 0.12); color: var(--neon-green); border: 1px solid rgba(0, 255, 135, 0.25); }
.badge-cancelled { background: rgba(255, 0, 85, 0.12);  color: var(--neon-pink);  border: 1px solid rgba(255, 0, 85, 0.25); }
.badge-active    { background: rgba(0, 229, 255, 0.12); color: var(--neon-blue);  border: 1px solid rgba(0, 229, 255, 0.25); }

/* =============================================
   BOOKING SLOTS
   ============================================= */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.slot-btn {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(0, 255, 135, 0.12);
    border-radius: 10px;
    padding: 12px 6px;
    color: #808090;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    transition: var(--transition);
}

.slot-btn:hover:not(.occupied) {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.04);
    transform: translateY(-2px);
}

.slot-btn.selected {
    background: linear-gradient(135deg, var(--neon-blue), #007a90) !important;
    border-color: var(--neon-blue) !important;
    color: #030508 !important;
    font-weight: 700;
    box-shadow: var(--blue-glow);
    transform: translateY(-2px);
}

.slot-btn.occupied {
    background: rgba(255, 0, 85, 0.06);
    border-color: rgba(255, 0, 85, 0.15);
    color: rgba(255, 0, 85, 0.35);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(4, 8, 6, 0.97);
    border: 1px solid rgba(0, 255, 135, 0.2);
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 0 20px rgba(0,255,135,0.06);
    min-width: 290px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: toastSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    backdrop-filter: blur(16px);
}

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

.toast.success { border-left: 3px solid var(--neon-green); }
.toast.error   { border-left: 3px solid var(--neon-pink); }
.toast.info    { border-left: 3px solid var(--neon-blue); }
.toast-close   { cursor: pointer; color: #606070; font-size: 18px; transition: var(--transition-fast); }
.toast-close:hover { color: #fff; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-box {
    background: rgba(8, 18, 12, 0.98);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 35px;
    box-shadow: var(--blue-glow), 0 30px 80px rgba(0,0,0,0.8);
    position: relative;
    transform: scale(0.88) translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }

/* =============================================
   ANNOUNCEMENT BANNER
   ============================================= */
.announcement-banner {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.06);
}

/* =============================================
   STATS COUNTER SECTION
   ============================================= */
.stat-number {
    font-size: 40px;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
    animation: countUp 1.5s ease-out;
}

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

/* =============================================
   ALERT STYLES
   ============================================= */
.alert-error {
    background: rgba(255, 0, 85, 0.08);
    border: 1px solid rgba(255, 0, 85, 0.25);
    color: #ff527b;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 13px;
    border-left: 3px solid var(--neon-pink);
}

.alert-success {
    background: rgba(0, 255, 135, 0.06);
    border: 1px solid rgba(0, 255, 135, 0.2);
    color: var(--neon-green);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 13px;
    border-left: 3px solid var(--neon-green);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: 1px solid rgba(0, 255, 135, 0.08);
    padding: 50px 0 35px;
    margin-top: 100px;
    text-align: center;
    color: #505060;
    font-size: 13px;
    background: linear-gradient(to top, rgba(0, 255, 135, 0.02), transparent);
    position: relative;
}

.footer-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-branding img {
    height: 42px;
    width: auto;
    max-width: 180px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 0 22px rgba(0, 255, 135, 0.12);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.3;
}

/* =============================================
   ADMIN SIDEBAR / NAV
   ============================================= */
.admin-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.admin-nav a {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #808090;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.25);
    color: var(--neon-blue);
    transform: translateY(-2px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: var(--font-accent);
    margin-bottom: 8px;
    display: block;
}

.section-heading {
    font-size: 30px;
    margin-bottom: 50px;
    margin-top: 5px;
}

/* =============================================
   TABLE ELEMENT
   ============================================= */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead th {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #606070;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.025);
    transition: var(--transition);
}

tbody tr:hover {
    background: rgba(0, 255, 135, 0.025);
}

tbody td {
    padding: 14px 16px;
    color: #c0c0d0;
    vertical-align: middle;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-blue));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon-green); }

/* =============================================
   SELECTION
   ============================================= */
::selection {
    background: rgba(0, 255, 135, 0.2);
    color: #fff;
}

/* =============================================
   KEYGEN / LICENSE TERMINAL STYLES
   ============================================= */
.terminal-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--neon-green);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.terminal-box::before {
    content: '● ● ●';
    display: block;
    font-size: 10px;
    color: #505060;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.key-display {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid var(--neon-blue);
    padding: 16px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #fff;
    text-shadow: var(--blue-glow);
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    animation: keyPulse 2s ease-in-out infinite;
}

@keyframes keyPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0,229,255,0.2); }
    50%       { box-shadow: 0 0 25px rgba(0,229,255,0.5), inset 0 0 10px rgba(0,229,255,0.05); }
}

/* =============================================
   FLOATING PARTICLES (decorative)
   ============================================= */
.particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    animation: floatParticle linear infinite;
    opacity: 0;
    z-index: 0;
}

@keyframes floatParticle {
    0%   { opacity: 0;   transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { opacity: 0;   transform: translateY(-10vh) scale(1); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .hero h1   { font-size: 40px; }
    .hero p    { font-size: 15px; }
    .navbar .nav-links { display: none; }
    .card      { padding: 20px; }
    .pool-table-frame { border-width: 8px; padding: 20px; }
}

@media (max-width: 600px) {
    .hero      { padding: 80px 0 60px; }
    .hero h1   { font-size: 30px; }
    .container { padding: 0 16px; }
    .btn       { padding: 11px 22px; font-size: 11px; }
    .grid-3    { grid-template-columns: 1fr; }
    .grid-4    { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   PULSE ANIMATION UTILITIES
   ============================================= */
.pulse-green  { animation: pulseGreen 2s ease-in-out infinite; }
.pulse-blue   { animation: pulseBlue  2s ease-in-out infinite; }
.pulse-gold   { animation: pulseGold  2s ease-in-out infinite; }

@keyframes pulseGreen { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,135,0.4); } 50% { box-shadow: 0 0 0 8px rgba(0,255,135,0); } }
@keyframes pulseBlue  { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.4); } 50% { box-shadow: 0 0 0 8px rgba(0,229,255,0); } }
@keyframes pulseGold  { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,7,0.4); } 50% { box-shadow: 0 0 0 8px rgba(255,193,7,0); } }

/* =============================================
   SPIN ANIMATION (loading)
   ============================================= */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* =============================================
   BALL SPIN (NAVBAR LOGO)
   ============================================= */
@keyframes ballSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* =============================================
   GLOW TEXT UTILITIES
   ============================================= */
.text-green  { color: var(--neon-green);  text-shadow: var(--green-glow); }
.text-blue   { color: var(--neon-blue);   text-shadow: var(--blue-glow); }
.text-gold   { color: var(--neon-gold);   text-shadow: var(--gold-glow); }
.text-pink   { color: var(--neon-pink);   text-shadow: var(--pink-glow); }
.text-muted  { color: #606070; }
