/* ROOT VARIABLES */
:root {
    --purple: #4b0082;
    --dark-purple: #1a0033;
    --neon-blue: #00d4ff;
    --neon-yellow: #ccff00;
    --black: #000000;
    --white: #ffffff;
    --grey-bg: #2a2a2a;
    
    --rarity-grey-1: #a9a9a9;
    --rarity-grey-2: #696969;
    --rarity-blue-1: #0070dd;
    --rarity-blue-2: #003a73;
    --rarity-gold-1: #ffb700;
    --rarity-gold-2: #b38000;
    --rarity-gold-3: #ffea00;
    
    --mythic-1: #ff004c;
    --mythic-2: #8a0029;
    --epic-1: #b300ff;
    --epic-2: #590080;
}

/* GLOBAL */
* {
    box-sizing: border-box;
    cursor: crosshair !important;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0d001a;
    font-family: 'Open Sans', sans-serif;
    color: var(--white);
    overflow: hidden; /* Hide desktop scrollbar */
}

h1, h2, h3, .cta-button, .date, .prize-rank, .warning-icon, .step-icon {
    font-family: 'Luckiest Guy', cursive;
    text-transform: uppercase;
    margin: 0;
}

/* UTILS */
.skewed { transform: skew(-10deg); }
.unskewed { transform: skew(10deg); }
.text-center { text-align: center; }

.thick-border {
    border: 5px solid var(--black);
    box-shadow: 6px 6px 0 var(--black);
}

/* DESKTOP WRAPPER */
.desktop-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100dvh;
    height: auto;
    background: radial-gradient(circle at center, #2d004d 0%, #0d001a 100%);
    position: relative;
    overflow-x: hidden;
}

.storm-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
      45deg,
      rgba(75, 0, 130, 0.1),
      rgba(75, 0, 130, 0.1) 10px,
      rgba(0, 0, 0, 0.1) 10px,
      rgba(0, 0, 0, 0.1) 20px
    );
    z-index: 1;
    pointer-events: none;
    animation: stormScroll 20s linear infinite;
}

@keyframes stormScroll {
    from { background-position: 0 0; }
    to { background-position: 100vw 100vh; }
}

/* PARALLAX BALLOONS */
.parallax-bg {
    position: absolute;
    z-index: 2;
    opacity: 1;
}

.parallax-bg img {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
}

.balloon1 {
    top: 5%;
    left: 2%;
    animation: float1 15s ease-in-out infinite;
}

.balloon2 {
    bottom: 5%;
    right: 3%;
    width: 250px;
    animation: float2 20s ease-in-out infinite reverse;
}

.balloon2 img { width: 250px; }

.balloon3 {
    top: 60%;
    right: 12%;
    width: 400px;
    animation: float1 18s ease-in-out infinite reverse;
}

.balloon3 img { width: 400px; }

.balloon4 {
    top: 50%;
    left: 10%;
    width: 300px;
    animation: float2 22s ease-in-out infinite;
}

.balloon4 img { width: 300px; }

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

@keyframes float2 {
    0%, 100% { transform: translateY(0) scale(0.9) rotate(-3deg); }
    50% { transform: translateY(80px) scale(1) rotate(2deg); }
}

/* MOBILE APP CONTAINER */
.mobile-app {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: var(--dark-purple);
    background-image: 
      repeating-linear-gradient(
        45deg,
        rgba(138, 43, 226, 0.15),
        rgba(138, 43, 226, 0.15) 15px,
        rgba(0, 0, 0, 0.3) 15px,
        rgba(0, 0, 0, 0.3) 30px
      ),
      radial-gradient(circle at top center, #3a0ca3 0%, #0d001a 100%);
    background-attachment: scroll, scroll;
    background-size: 200vw 200vh, 100% 100%;
    animation: mobileStorm 15s linear infinite;
    overflow-x: hidden;
}

@keyframes mobileStorm {
    0% { background-position: 0 0, center; }
    100% { background-position: 100vw 100vh, center; }
}

@media (min-width: 768px) {
    .mobile-app {
        width: 414px;
        height: 850px;
        border: 14px solid #111;
        border-radius: 45px;
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.4), inset 0 0 20px rgba(0,0,0,1);
        margin: auto;
        overflow-y: auto;
        background-attachment: fixed, fixed;
        scroll-behavior: smooth;
    }
    
    .mobile-app::-webkit-scrollbar {
        width: 0;
        display: none;
    }
    .mobile-app {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) sepia(0.8) hue-rotate(240deg) saturate(3);
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--neon-yellow);
    text-shadow: 4px 4px 0px var(--black), -2px -2px 0px var(--black), 2px -2px 0px var(--black), -2px 2px 0px var(--black);
    line-height: 1;
    margin-bottom: 20px;
    transform: rotate(-3deg);
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 15px;
    border: 3px solid var(--neon-blue);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0 var(--black);
    color: #fff;
    transform: skew(-2deg);
}

/* BUTTONS */
.cta-button {
    background-color: var(--neon-yellow);
    color: var(--black);
    font-size: 1.8rem;
    padding: 15px 30px;
    border: 5px solid var(--black);
    box-shadow: 6px 6px 0 var(--neon-blue);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
    transform: skew(-10deg);
}

.cta-button span {
    display: inline-block;
    transform: skew(10deg);
}

.cta-button:hover, .cta-button:active {
    transform: skew(-10deg) scale(1.15);
    background-color: #fff;
    box-shadow: 8px 8px 0 var(--neon-blue);
}

/* SECTIONS */
section {
    padding: 60px 20px;
    position: relative;
}

h2 {
    font-size: 2.2rem;
    color: var(--neon-blue);
    text-shadow: 4px 4px 0px var(--black);
    margin-bottom: 30px;
    text-align: center;
    transform: rotate(-2deg);
    letter-spacing: 1px;
}

/* NEW: EQUIPMENT (STEPS) */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    background: var(--grey-bg);
    border: 4px solid var(--neon-blue);
    box-shadow: 6px 6px 0 var(--black);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: swipe 3s infinite;
}

@keyframes swipe {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.step-inner {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-icon {
    font-size: 3rem;
    color: var(--neon-yellow);
    text-shadow: 3px 3px 0 var(--black);
    background: rgba(0,0,0,0.5);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--black);
    border-radius: 10px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 5px 0;
    color: var(--white);
    text-shadow: 2px 2px 0 var(--black);
    font-size: 1.3rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}


/* NEW: PRIZES */
.prize-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.prize-card {
    border: 5px solid var(--black);
    box-shadow: 6px 6px 0 var(--black);
    position: relative;
    overflow: visible; /* To let rank badge pop out */
}

.prize-card:active {
    transform: skew(-10deg) scale(0.95);
}

.prize-inner {
    padding: 45px 20px 20px; /* Zmniejszony padding, aby zbliżyć nagłówek do rangi */
    position: relative;
    text-align: center;
}

.prize-rank {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 5px 20px;
    font-size: 1.8rem;
    border: 3px solid var(--white);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
    z-index: 2;
    white-space: nowrap; /* Zapobiega łamaniu się tekstu do nowej linii (np. Miejsce\n1) */
    width: max-content;
}

.prize-tier {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prize-card p {
    margin: 0;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.4;
}

.prize-card.mythic {
    background: linear-gradient(135deg, var(--mythic-1), var(--mythic-2));
    border-color: #ffb700;
    box-shadow: 6px 6px 0 var(--black), 0 0 25px rgba(255, 0, 76, 0.6);
}
.prize-card.mythic .prize-rank { color: #ffb700; border-color: #ffb700; }
.prize-card.mythic .prize-tier { color: var(--white); text-shadow: 2px 2px 0 var(--black); }

.prize-card.legendary {
    background: linear-gradient(135deg, var(--rarity-gold-1), var(--rarity-gold-2));
    border-color: var(--rarity-gold-3);
    box-shadow: 6px 6px 0 var(--black), 0 0 20px rgba(255, 234, 0, 0.4);
}
.prize-card.legendary .prize-rank { color: var(--rarity-gold-3); border-color: var(--rarity-gold-3); }
.prize-card.legendary .prize-tier { color: var(--white); text-shadow: 2px 2px 0 var(--black); }

.prize-card.epic {
    background: linear-gradient(135deg, var(--epic-1), var(--epic-2));
    border-color: #e066ff;
    box-shadow: 6px 6px 0 var(--black), 0 0 20px rgba(179, 0, 255, 0.4);
}
.prize-card.epic .prize-rank { color: #e066ff; border-color: #e066ff; }
.prize-card.epic .prize-tier { color: var(--white); text-shadow: 2px 2px 0 var(--black); }


/* NEW: STORM TIMER */
.timer-box {
    background: #11001a;
    border-color: #ff004c;
    box-shadow: 6px 6px 0 var(--black), 0 0 25px rgba(255, 0, 76, 0.4);
    text-align: center;
}

.timer-inner {
    padding: 30px 20px;
}

.warning-icon {
    font-size: 1.5rem;
    color: #ff004c;
    margin-bottom: 10px;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { opacity: 1; text-shadow: 0 0 10px #ff004c; }
    to { opacity: 0.5; text-shadow: none; }
}

.timer-box h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 var(--black);
}

.timer-box p {
    font-weight: 700;
    margin-bottom: 20px;
    color: #ccc;
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: #000;
    border: 3px solid #ff004c;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-bar.animated-stripes {
    height: 100%;
    width: 80%; /* Assuming 80% full */
    background-color: #000;
    background-image: linear-gradient(
        -45deg,
        #ff004c 25%,
        transparent 25%,
        transparent 50%,
        #ff004c 50%,
        #ff004c 75%,
        transparent 75%,
        transparent 100%
    );
    background-size: 40px 40px;
    animation: moveStripes 1s linear infinite;
}

@keyframes moveStripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* NEW FLOATING GRAPHICS */
.llama-pinata {
    top: 50%;
    left: 5%;
    width: 200px;
    animation: float3 12s ease-in-out infinite;
}
.llama-pinata img { width: 100%; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.6)); }

.shield-potion {
    bottom: 30%;
    right: 5%;
    width: 120px;
    animation: float4 10s ease-in-out infinite alternate;
}
.shield-potion img { width: 100%; filter: drop-shadow(0 10px 20px rgba(0,212,255,0.8)); }

@keyframes float3 {
    0%, 100% { transform: translateY(0) scale(1) rotate(5deg); }
    50% { transform: translateY(-30px) scale(1.05) rotate(-5deg); }
}

@keyframes float4 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40px) rotate(15deg); }
}

.inner-graphic {
    position: absolute;
    pointer-events: none; /* Let clicks pass through to content */
}

.floating-bob {
    animation: floatBob 5s infinite ease-in-out alternate;
}

.floating-bob img {
    width: 100%;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.6));
}

@keyframes floatBob {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(8deg); }
}

/* GALLERY (PAST EVENTS) */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 200px;
    border: 5px solid var(--black);
    box-shadow: 6px 6px 0 var(--black);
    cursor: crosshair;
}

.gallery-item img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%; left: -10%;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) skew(10deg);
    background: var(--neon-blue);
    color: var(--black);
    padding: 5px 15px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    border: 3px solid var(--black);
    white-space: nowrap;
    text-shadow: 1px 1px 0 var(--white);
    pointer-events: none;
}

/* ABOUT US REVAMPED */
.about-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border: 5px solid var(--neon-yellow);
    box-shadow: 6px 6px 0 var(--black), 0 0 30px rgba(204, 255, 0, 0.4);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.about-overlay {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.about-hero h2 {
    color: var(--neon-yellow);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 var(--black);
    line-height: 1.1;
}

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

.about-badges .badge {
    background: var(--neon-blue);
    color: var(--black);
    font-family: 'Luckiest Guy', cursive;
    padding: 5px 10px;
    font-size: 1.2rem;
    border: 3px solid var(--black);
    transform: rotate(-3deg);
    box-shadow: 3px 3px 0 var(--black);
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 0 var(--black);
}

.about-highlight {
    font-family: 'Luckiest Guy', cursive;
    color: #ff004c;
    font-size: 1.8rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 3px 3px 0 var(--black);
    margin: 0;
    padding: 10px;
    border: 3px dashed #ff004c;
    background: rgba(0,0,0,0.5);
    transform: skew(-5deg);
}


/* ATTRACTIONS (LOOT) */
.loot-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loot-card {
    background: var(--grey-bg);
    border: 4px solid var(--black);
    box-shadow: 6px 6px 0 var(--black);
    transform: skew(-5deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.loot-card:active {
    transform: skew(-5deg) scale(0.95);
}

.card-inner {
    padding: 20px;
}

.loot-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    text-shadow: 2px 2px 0px var(--black);
    letter-spacing: 0.5px;
}

.loot-card p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f0f0f0;
}

/* RARITIES */
.rarity-grey {
    background: linear-gradient(135deg, var(--rarity-grey-1), var(--rarity-grey-2));
    border-color: #fff;
}

.rarity-blue {
    background: linear-gradient(135deg, var(--rarity-blue-1), var(--rarity-blue-2));
    border-color: var(--neon-blue);
}

.rarity-gold {
    background: linear-gradient(135deg, var(--rarity-gold-1), var(--rarity-gold-2));
    border-color: var(--rarity-gold-3);
    box-shadow: 6px 6px 0 var(--black), 0 0 20px rgba(255, 234, 0, 0.4);
}

.rarity-gold h3 {
    color: var(--neon-yellow);
    text-shadow: 3px 3px 0 var(--black), 0 0 10px var(--rarity-gold-3);
}

/* LOCATION */
.map-container {
    width: 100%;
    height: 300px;
    background: #000;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.map-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%; left: -10%;
}

.drop-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: red;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px red;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 5px red; }
    to { transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 25px red; }
}

.ticket-box {
    margin-top: 20px;
}

.date {
    font-size: 2.5rem;
    color: var(--neon-yellow);
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--black);
}

.ticket-btn {
    width: 100%;
    font-size: 2.2rem;
    padding: 20px;
}

/* TERMINAL FOOTER */
.terminal-footer {
    padding: 20px;
    background: #000;
}

.terminal-container {
    border: 2px solid #333;
    border-radius: 5px;
    background: #050505;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
}

.terminal-header {
    background: #222;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-header .title {
    color: #888;
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.terminal-body {
    padding: 15px;
    color: #0f0;
}

.terminal-body p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

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

.footer-links a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.terminal-text::after {
    content: '_';
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* SCROLL ANIMATIONS */
.scroll-anim {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Override skew for scroll anims applied to already skewed elements */
.loot-card.scroll-anim, .step-card.scroll-anim, .prize-card.scroll-anim, .timer-box.scroll-anim, .gallery-item.scroll-anim, .pool-card.scroll-anim {
    transform: translateY(50px) skew(-5deg);
}
.loot-card.scroll-anim.visible, .step-card.scroll-anim.visible, .prize-card.scroll-anim.visible, .timer-box.scroll-anim.visible, .gallery-item.scroll-anim.visible, .pool-card.scroll-anim.visible {
    transform: translateY(0) skew(-5deg);
}

.map-container.scroll-anim {
    transform: translateY(50px) skew(-10deg);
}
.map-container.scroll-anim.visible {
    transform: translateY(0) skew(-10deg);
}

/* AAA LOADER */
.aaa-loader {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100vw; height: 100dvh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.aaa-loader.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.loader-bg {
    position: absolute;
    top: -5%; left: -5%; width: 110%; height: 110%;
    background-image: url('assets/flying_bus.png');
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.4);
    animation: pulseBg 4s infinite alternate;
}

.loader-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 600px;
}

.loader-title {
    font-family: 'Luckiest Guy', cursive;
    color: var(--neon-yellow);
    font-size: 5rem;
    text-shadow: 4px 4px 0 var(--black), 0 0 30px rgba(204, 255, 0, 0.5);
    margin-bottom: 40px;
    letter-spacing: 2px;
    transform: skew(-5deg);
    animation: titleEntrance 1s ease-out forwards;
    opacity: 0;
}

.loader-spinner {
    width: 100px;
    height: 100px;
    margin-bottom: 40px;
}

.loading-llama {
    width: 100%;
    animation: bounceSpin 2s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.loading-bar-container {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 4px solid var(--black);
    box-shadow: 4px 4px 0 var(--black), 0 0 15px var(--neon-blue);
    position: relative;
    overflow: hidden;
    transform: skew(-10deg);
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-blue), #00ffcc);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
    animation: fillBar 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.loading-text {
    font-family: 'Luckiest Guy', cursive;
    color: var(--white);
    margin-top: 15px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: blinkText 1.5s infinite;
}

@keyframes pulseBg {
    0% { transform: scale(1); filter: blur(10px) brightness(0.3); }
    100% { transform: scale(1.05); filter: blur(10px) brightness(0.6); }
}

@keyframes titleEntrance {
    0% { opacity: 0; transform: translateY(30px) skew(-5deg); }
    100% { opacity: 1; transform: translateY(0) skew(-5deg); }
}

@keyframes bounceSpin {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-40px) scale(1.1) rotate(15deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes fillBar {
    0% { width: 0%; }
    40% { width: 45%; }
    70% { width: 75%; }
    100% { width: 100%; }
}

@keyframes blinkText {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--neon-blue); }
    50% { opacity: 0.3; text-shadow: none; }
}

body.loading {
    overflow: hidden;
}
