/* --- GLOBALNE & WSPÓLNE STYLE --- */
:root {
    --bg-dark: #050505;
    --accent: #8b3de3;
    --accent-pink: #c71bd6;
    --accent-cyan: #00f0ff;
    --accent-gold: #ffd700;
    --text-main: #eaeaea;
    --text-dim: #888888;
    --font-heading: 'Rajdhani', sans-serif;
    --font-cyber: 'Orbitron', sans-serif;
    --card-bg: rgba(12, 10, 15, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(139, 61, 227, 0.6), rgba(199, 27, 214, 0.6)); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(199, 27, 214, 0.8), rgba(0, 210, 255, 0.6)); }

html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

html, body {
    width: 100%; max-width: 100%;
    overflow-x: hidden;
    background: #050505 radial-gradient(ellipse 150% 110% at bottom center, #150a24 0%, #08060a 55%, #050308 100%) !important;
    background-attachment: fixed !important; background-size: cover !important; background-repeat: no-repeat !important;
    min-height: 100vh; min-height: 100dvh; color: var(--text-main); font-family: 'Inter', sans-serif;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
html, body { background-color: #050505 !important; }

img, svg { max-width: 100%; }

a, button, .nav-links a, .music-toggle-btn, .menu-toggle, .gallery-item, .hud-card, .gear-card, .video-card, .elite-action-btn, .ticket-code-btn, .year-link {
    touch-action: manipulation;
}

body.home-page { height: 100vh; height: 100dvh; overflow: hidden; }
body.delay-active .common-ui { display: none !important; }

/* Base Routing dla SPA */
.spa-page { display: none; width: 100%; min-height: 100vh; min-height: 100dvh; animation: fadeIn 0.4s ease-out; }
.spa-page.active-page { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- EKRAN WEJŚCIOWY --- */
#entrance-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #050505 url('../img/bg/hltv.webp') center / cover no-repeat;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    cursor: pointer;
}
#entrance-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5,5,5,0.72);
    z-index: 0;
}
.entrance-content { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.entrance-title {
    font-family: var(--font-heading); font-size: clamp(2.2rem, 12vw, 4rem); font-weight: 900; color: #fff;
    letter-spacing: 2px; margin-bottom: 20px; text-shadow: 0 0 20px rgba(139, 61, 227, 0.5);
}
.entrance-title span { color: var(--accent-pink); }
.entrance-click {
    font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dim);
    letter-spacing: 5px; text-transform: uppercase; line-height: 1.5;
    animation: pulseText 1.5s infinite;
}
.entrance-click span.en-click {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 3px;
}
@keyframes pulseText {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}
