/* ===========================
   NEXTHIT.COM - FUTURISTIC DESIGN
   Schwarzes Sci-Fi Theme mit Neon-Effekten
   =========================== */

/* === ROOT VARIABLES === */
:root {
    --color-black: #000000;
    --color-red: #E63946;
    --color-white: #FFFFFF;
    --color-neon-red: #FF0033;
    --color-dark-gray: #1A1A1A;
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    --font-main: 'Orbitron', 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: 'Orbitron', sans-serif;

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === PARTICLE BACKGROUND === */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* === HEADER === */
.nexthit-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    z-index: 1000;
    padding: 15px 0;
    overflow: hidden; /* Verhindert Scrollbars */
}

.nexthit-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; /* Verhindert Scrollbars im Container */
}

/* Scrollbar im Header verstecken */
.nexthit-header::-webkit-scrollbar {
    display: none;
}

.nexthit-header {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.logo img {
    height: 60px;
    /* Kein Rahmen/Effekt um Logo (User-Anforderung: "weg kein rahmen um das logo") */
    transition: opacity 0.3s var(--transition-smooth);
}

.logo img:hover {
    opacity: 0.9;
}

nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    box-shadow: 0 0 10px var(--color-neon-red);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-red);
}

.nav-link:hover::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* H2 mit h1-style = sieht aus wie H1 (für SEO-Compliance) */
.h1-style {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* === DESKTOP NAVIGATION === */
.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s var(--transition-smooth);
    color: var(--color-white);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-red);
    box-shadow: 0 0 10px var(--color-neon-red);
    transition: width 0.3s var(--transition-smooth);
}

.desktop-nav a:hover {
    color: var(--color-red);
}

.desktop-nav a:hover::after {
    width: 80%;
}

/* Desktop Nav auf Mobile ausblenden */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

/* === GLITCH EFFECT === */
/* Glitch-Effekt DEAKTIVIERT - verursachte störendes Flackern */
.glitch {
    position: relative;
    /* animation: glitch-skew 3s infinite linear alternate-reverse; */
}

.glitch::before,
.glitch::after {
    /* Pseudo-Elemente deaktiviert */
    display: none;
}

/* Glitch Animationen deaktiviert - verursachten Flackern
@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    10% { clip: rect(70px, 9999px, 71px, 0); }
    20% { clip: rect(2px, 9999px, 95px, 0); }
    30% { clip: rect(41px, 9999px, 92px, 0); }
    40% { clip: rect(82px, 9999px, 40px, 0); }
    50% { clip: rect(37px, 9999px, 88px, 0); }
    60% { clip: rect(15px, 9999px, 20px, 0); }
    70% { clip: rect(95px, 9999px, 53px, 0); }
    80% { clip: rect(64px, 9999px, 76px, 0); }
    90% { clip: rect(28px, 9999px, 34px, 0); }
    100% { clip: rect(52px, 9999px, 85px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    10% { clip: rect(52px, 9999px, 74px, 0); }
    20% { clip: rect(79px, 9999px, 85px, 0); }
    30% { clip: rect(63px, 9999px, 24px, 0); }
    40% { clip: rect(21px, 9999px, 45px, 0); }
    50% { clip: rect(90px, 9999px, 66px, 0); }
    60% { clip: rect(35px, 9999px, 12px, 0); }
    70% { clip: rect(18px, 9999px, 99px, 0); }
    80% { clip: rect(73px, 9999px, 30px, 0); }
    90% { clip: rect(47px, 9999px, 81px, 0); }
    100% { clip: rect(56px, 9999px, 19px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-2deg); }
    20% { transform: skew(2deg); }
    30% { transform: skew(-1deg); }
    40% { transform: skew(1deg); }
    50% { transform: skew(0deg); }
    60% { transform: skew(-1deg); }
    70% { transform: skew(2deg); }
    80% { transform: skew(-2deg); }
    90% { transform: skew(1deg); }
    100% { transform: skew(0deg); }
}
*/

/* === TAGLINE === */
.tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 800px;
    text-align: center;
}

/* === NEON BUTTON === */
.neon-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--color-red);
    border: 2px solid var(--color-red);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
    box-shadow:
        0 0 20px rgba(230, 57, 70, 0.5),
        0 0 40px rgba(230, 57, 70, 0.3),
        0 0 60px rgba(230, 57, 70, 0.1);
}

.neon-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s var(--transition-smooth);
}

.neon-button-large:hover {
    background: transparent;
    box-shadow:
        0 0 30px rgba(230, 57, 70, 0.8),
        0 0 60px rgba(230, 57, 70, 0.6),
        0 0 90px rgba(230, 57, 70, 0.4),
        inset 0 0 20px rgba(230, 57, 70, 0.2);
    transform: translateY(-2px);
}

.neon-button-large:hover::before {
    left: 100%;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.button-content svg {
    fill: currentColor;
}

/* === SOUNDWAVE VISUALIZER === */
.soundwave-container {
    margin-top: 80px;
    overflow: hidden !important;
    max-width: 100%;
    position: relative;
}

.soundwave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 80px;
    overflow: hidden !important;
    max-width: 100%;
}

.bar {
    width: 6px;
    background: linear-gradient(to top, var(--color-red), var(--color-neon-red));
    border-radius: 3px;
    animation: soundwave 1.2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.bar:nth-child(2) { height: 50%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 70%; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 50%; animation-delay: 0.5s; }
.bar:nth-child(7) { height: 60%; animation-delay: 0.6s; }
.bar:nth-child(8) { height: 40%; animation-delay: 0.7s; }

@keyframes soundwave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.8); }
}

/* === RANKING SECTION === */
.ranking {
    padding: 100px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.neon-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, var(--color-white), var(--color-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.5));
    display: block;
}

.subtitle {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    font-weight: 400;
}

/* === PODIUM === */
.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
    align-items: flex-end;
}

.podium-item {
    position: relative;
    transition: transform 0.3s var(--transition-smooth);
}

.podium-item:hover {
    transform: translateY(-10px);
}

.rank-1 {
    order: 2;
    transform: scale(1.1);
}

.rank-2 {
    order: 1;
}

.rank-3 {
    order: 3;
}

.rank-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-dark-gray);
    border: 2px solid var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.rank-badge.champion {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-red), var(--color-neon-red));
    border-color: var(--color-white);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.8),
                    0 0 40px rgba(230, 57, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(230, 57, 70, 1),
                    0 0 60px rgba(230, 57, 70, 0.6),
                    0 0 90px rgba(230, 57, 70, 0.3);
    }
}

/* === GLASSMORPHISM CARD === */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-red);
    box-shadow:
        0 8px 32px rgba(230, 57, 70, 0.2),
        inset 0 0 20px rgba(230, 57, 70, 0.05);
}

.cover-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-dark-gray);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-glass-border);
}

.champion-glow {
    width: 100px;
    height: 100px;
    border-color: var(--color-red);
    box-shadow:
        0 0 20px rgba(230, 57, 70, 0.6),
        0 0 40px rgba(230, 57, 70, 0.3);
    animation: rotate-glow 4s linear infinite;
}

@keyframes rotate-glow {
    0% {
        box-shadow:
            0 0 20px rgba(230, 57, 70, 0.6),
            0 0 40px rgba(230, 57, 70, 0.3);
    }
    50% {
        box-shadow:
            0 0 30px rgba(230, 57, 70, 0.8),
            0 0 60px rgba(230, 57, 70, 0.5);
    }
    100% {
        box-shadow:
            0 0 20px rgba(230, 57, 70, 0.6),
            0 0 40px rgba(230, 57, 70, 0.3);
    }
}

.glass-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === PROVISIONS BADGE === */
.provision-badge {
    margin-top: 15px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(230, 57, 70, 0.1));
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
}

.provision-badge:hover {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(230, 57, 70, 0.15));
    border-color: var(--color-red);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.champion-provision {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.4), rgba(230, 57, 70, 0.2));
    border-color: var(--color-red);
    font-size: 0.95rem;
    padding: 10px 20px;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.champion-provision:hover {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.6);
}

.provision-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === RANKING LIST === */
.ranking-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

/* === FOOTER === */
.nexthit-footer {
    background: var(--color-dark-gray);
    border-top: 1px solid var(--color-glass-border);
    padding: 60px 20px 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-red);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color 0.3s var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-glass-border);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-red);
    padding: 20px;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s var(--transition-smooth);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
    color: var(--color-red);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-accept,
.cookie-decline {
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s var(--transition-smooth);
}

.cookie-accept {
    background: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
}

.cookie-accept:hover {
    background: transparent;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

.cookie-decline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .podium {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rank-1,
    .rank-2,
    .rank-3 {
        order: unset;
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-accept,
    .cookie-decline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .neon-button-large {
        padding: 16px 35px;
        font-size: 1rem;
    }
}
