/* ====================================================================
   Dance Revolution - Modern Design System & Keyframe Animations
   ==================================================================== */

:root {
    --color-primary: #10101A;
    --color-surface: rgba(23, 23, 35, 0.75);
    --color-surface-hover: rgba(32, 32, 48, 0.85);
    --color-accent-pink: #ec4899;
    --color-accent-pink-glow: rgba(236, 72, 153, 0.4);
    --color-accent-purple: #a855f7;
    --color-accent-purple-glow: rgba(168, 85, 247, 0.4);
    --color-accent-cyan: #06b6d4;
}

/* Custom Dark Neon Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d15;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec4899, #a855f7);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f43f5e, #9333ea);
}

/* Base Body Styles */
body {
    background-color: var(--color-primary);
    color: #e2e8f0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh;
    position: relative !important;
    pointer-events: auto !important;
}

/* Guard: body can never be frozen even if ambient-bg class is attached */
body.ambient-bg {
    position: relative !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* Cyber Grid & Ambient Glow Background (always behind content, never blocking clicks) */
.ambient-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: -10 !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 15% 15%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.09) 0%, transparent 45%),
                radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
                linear-gradient(180deg, #0d0d15 0%, #10101A 50%, #0a0a10 100%);
}

.ambient-grid {
    position: absolute;
    inset: 0;
    pointer-events: none !important;
    user-select: none !important;
    z-index: -5 !important;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.ambient-orb,
.ambient-orb-1,
.ambient-orb-2 {
    pointer-events: none !important;
    user-select: none !important;
    z-index: -5 !important;
}

.ambient-orb-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, transparent 70%);
    filter: blur(60px);
    top: -100px;
    left: -100px;
    animation: orb-float 14s ease-in-out infinite alternate;
}

.ambient-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.16) 0%, transparent 70%);
    filter: blur(80px);
    top: 20%;
    right: -150px;
    animation: orb-float 18s ease-in-out infinite alternate-reverse;
}

/* Glassmorphism 2.0 Card Tokens */
.glass-card {
    background: rgba(18, 18, 30, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.glass-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 25px 55px -10px rgba(236, 72, 153, 0.15),
                0 15px 30px -10px rgba(0, 0, 0, 0.7),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Glass Inputs */
.glass-input {
    background: rgba(15, 15, 25, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.glass-input:focus {
    background: rgba(20, 20, 35, 0.85) !important;
    border-color: var(--color-accent-pink) !important;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.25) !important;
    outline: none !important;
}

/* Neon Gradient Buttons */
.btn-neon-pink {
    position: relative;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-neon-pink:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 15px 35px -5px rgba(236, 72, 153, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-neon-pink:active {
    transform: translateY(1px);
}

.btn-neon-purple {
    position: relative;
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #7e22ce 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-neon-purple:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 15px 35px -5px rgba(168, 85, 247, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Shimmer Overlay on Buttons */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
}

.shimmer-effect:hover::after {
    animation: shimmer-slide 1.2s ease-in-out infinite;
}

/* Gradient Headings */
.gradient-text-pink-purple {
    background: linear-gradient(135deg, #ffffff 10%, #f472b6 45%, #c084fc 80%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: text-shine 8s linear infinite;
}

/* Hologram Ticket Card Effect */
.hologram-card {
    position: relative;
    border-radius: 1.5rem;
    background: #121220;
    z-index: 1;
}

.hologram-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.6rem;
    background: conic-gradient(
        from 0deg,
        #ec4899,
        #a855f7,
        #06b6d4,
        #ec4899
    );
    z-index: -1;
    animation: rotate-border 6s linear infinite;
    opacity: 0.8;
}

.hologram-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 1.45rem;
    background: #10101e;
    z-index: -1;
}

/* Neon Glow Pulse Badges */
.badge-neon {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-neon-pink {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #f472b6;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

.badge-neon-purple {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.badge-neon-green {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.badge-neon-blue {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #22d3ee;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.badge-neon-yellow {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: #facc15;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

/* Keyframes */
@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes shimmer-slide {
    0% { left: -60%; }
    100% { left: 140%; }
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes text-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes float-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-anim {
    animation: float-subtle 4s ease-in-out infinite;
}

/* Sponsoren-Karten: Edler weißer Hintergrund für perfekte Logo-Erkennbarkeit */
.sponsor-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsor-card:hover {
    background: #ffffff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 40px -5px rgba(236, 72, 153, 0.3),
                0 0 25px rgba(255, 255, 255, 0.25);
    border-color: rgba(236, 72, 153, 0.5);
}
