/* =========================================================
   Play Gamez - Elite Portal Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,800;1,900&family=Orbitron:wght@700;900&display=swap');

:root {
    --bg-main: #09090b;
    --card-bg: #131316;
    --card-hover: #1c1c22;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.35);
    --neon-blue: #00f2ff;
    --neon-purple: #a855f7;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: #f4f4f5;
    overflow-x: hidden;
    min-height: 100vh;
}

.font-gaming {
    font-family: 'Orbitron', sans-serif;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(19, 19, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.glass-nav {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Game Card Hover Animations */
.game-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.2), 0 0 20px rgba(0, 0, 0, 0.8);
}

.game-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(9,9,11,0.92) 100%);
}

/* Glowing Elements */
.glow-emerald {
    box-shadow: 0 0 25px var(--accent-glow);
}

.glow-text-emerald {
    text-shadow: 0 0 12px var(--accent-glow);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.animate-float {
    animation: float 3.5s ease-in-out infinite;
}

/* Equalizer Wave Animation */
@keyframes soundwave {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.eq-bar {
    width: 3px;
    background-color: var(--accent);
    border-radius: 999px;
    animation: soundwave 1s ease-in-out infinite;
}
.eq-bar:nth-child(1) { animation-delay: 0.1s; height: 6px; }
.eq-bar:nth-child(2) { animation-delay: 0.3s; height: 14px; }
.eq-bar:nth-child(3) { animation-delay: 0.2s; height: 8px; }
.eq-bar:nth-child(4) { animation-delay: 0.4s; height: 12px; }

/* In-Game Theater Modal */
#theaterModal {
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
#theaterModal.active {
    opacity: 1;
    visibility: visible;
}

/* Touch Active Scaler */
.touch-press {
    transition: transform 0.1s ease;
}
.touch-press:active {
    transform: scale(0.95);
}
