@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #0f1221;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    user-select: none;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
}

/* Header */
header {
    background: #0f1221;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header .logo {
    cursor: pointer;
    background: white;
    z-index: 1100;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    color: #0f1221;
    padding: 0 10px;
    font-size: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
}

/* Hamburger Menu Styles */
.hamburger {
    border: solid 2px white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
    width: 40px;
    height: 40px;
}

.hamburger i {
    z-index: 1100;
    font-size: 1.8em;
    transition: 0.3s;
}

/* LINEFM+ header button */
.linefm-plus {
    border: solid 2px #cfa63e;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
    height: 40px;
    transition: all 0.2s ease;
}

/* Navigation Menu Styles */
nav .menu {
    visibility: hidden;
    opacity: 0;
    list-style: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #0f1221;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1000;
}

/* Make header nav inline so buttons sit next to hamburger */
nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav .menu.active {
    visibility: visible;
    opacity: 1;
}

nav .menu li {
    margin: 20px 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease-in-out forwards;
}

nav .menu li a {
    font-size: 1.8em;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s, color 0.3s;
    border: solid 3px transparent;
    width: 500px;
    padding: 20px 30px;
    border-radius: 50px;
    display: inline-block;
}

nav .menu li a:hover {
    border: solid 3px #FFF;
}

body.menu-open {
    overflow: hidden;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    font-family: 'Syncopate', sans-serif;
    height: 100vh;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(-7deg);
    transform-origin: center;
}

.hero-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-emojis span {
    position: absolute;
    top: -15%;
    font-size: 1.8rem;
    opacity: 0;
    animation: emojiFall 8s linear infinite;
    will-change: transform, opacity;
}

.hero-emojis span:nth-child(1) {
    left: 8%;
    animation-delay: 0s;
    animation-duration: 8.4s;
}

.hero-emojis span:nth-child(2) {
    left: 18%;
    animation-delay: 0.4s;
    animation-duration: 7.6s;
    font-size: 1.5rem;
}

.hero-emojis span:nth-child(3) {
    left: 31%;
    animation-delay: 1.1s;
    animation-duration: 8.9s;
    font-size: 2.1rem;
}

.hero-emojis span:nth-child(4) {
    left: 47%;
    animation-delay: 0.9s;
    animation-duration: 7.2s;
    font-size: 1.7rem;
}

.hero-emojis span:nth-child(5) {
    left: 64%;
    animation-delay: 1.7s;
    animation-duration: 8.1s;
    font-size: 1.55rem;
}

.hero-emojis span:nth-child(6) {
    left: 79%;
    animation-delay: 2.3s;
    animation-duration: 7.8s;
    font-size: 1.9rem;
}

@keyframes emojiFall {
    0% {
        transform: translate(0, -18vh) rotate(0deg);
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        transform: translate(12px, 24vh) rotate(25deg);
    }

    45% {
        transform: translate(-10px, 46vh) rotate(110deg);
    }

    65% {
        transform: translate(10px, 72vh) rotate(210deg);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 120vh) rotate(360deg);
        opacity: 0;
    }
}

.scroll-hint {
    position: absolute;
    cursor: pointer;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    opacity: 0.95;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.scroll-hint .mouse {
    width: 30px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    position: relative;
}

.scroll-hint .mouse::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    width: 2px;
    height: 9px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    border-radius: 1px;
}

.text-banner {
    position: absolute;
    transform: skewY(-7deg);
    text-align: center;
    color: white;
}

.text-banner span {
    display: inline-block;
    font-weight: 900;
    text-transform: uppercase;
}

.text-banner .heading {
    font-size: 5rem;
}

.text-banner .subheading {
    background: white;
    color: var(--accent);
    padding: 0 10px;
    font-size: 3rem;
}

.button {
    background: none;
    text-decoration: none;
    border: solid 3px #FFF;
    color: #FFF;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s, color 0.3s;
}

.button:hover {
    background: #FFF;
    border: solid 3px #FFF;
    color: var(--accent);
}

/* Station Banner Section */
.station-banner-section {
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 0 2rem;
    overflow: hidden;
}

.station-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.station-info {
    margin: 2rem auto 4rem;
    padding: 2rem;
    background: #1c223b;
    border-radius: 15px;
}

.station-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

/* Recently Played Songs Section */
.recent-songs-section {
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.recent-songs-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.playerbar-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
}

.playerbar {
    width: 100%;
    max-width: 1400px;
    background: linear-gradient(-145deg, var(--accent), transparent);
    backdrop-filter: blur(30px);
    margin: 0 auto;
    padding: 7px 10px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.station-icon {
    width: 75px;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.track-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.track-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    margin: 4px 0 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-button {
    width: 75px;
    height: 75px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, background 0.25s ease;
}

body {
    padding-bottom: 132px;
}

/* Playlists Section */
.playlists-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.discord-banner {
    background: #7289da;
    padding: 3rem 2rem;
    margin: 3rem 0 0;
}

.discord-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.discord-copy {
    color: #ffffff;
    max-width: 740px;
}

.discord-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.discord-banner h3 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    line-height: 1.1;
}

.discord-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    max-width: 720px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: #5865F2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.discord-button:hover {
    background: #545ed1;
    border: none;
    color: white;
}

/* Song List Styling */
.song-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.song-list li {
    background: #1c223b;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.song-list li span {
    background: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
    flex-shrink: 0;
}

.song-list li strong {
    color: #ffffff;
}

.song-list li hr {
    display: none;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cards-container {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    scroll-behavior: smooth;
}

/* Drag-scroll cursor states */
.cards-container {
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.cards-container.dragging {
    cursor: grabbing;
}

.card {
    flex: 0 0 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    z-index: 10;
}

.card-overlay h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* Song Metadata Display */
.song-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.song-artist {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* Loading State */
.card-overlay .loading {
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-overlay .loading i {
    animation: spin 1s linear infinite;
}

/* Spinning Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.faq-section {
    margin-top: 3rem;
    padding: 3rem 0 1rem;
}

.faq-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background: #1c223b;
    border-radius: 20px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: #fff;
    padding: 1.5rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.75rem 1.5rem;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

/* Footer Grundlayout */
.footer {
    width: 100%;
    color: #fff;
}

/* Container = fix 1000px & zentriert */
.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    margin-bottom: -30px;
}

/* Trennlinie */
hr {
    width: 100%;
    border: none;
    height: 2px;
    background: white;
    margin: 20px 0 40px 0;
}

/* 3-Spalten Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: left;
    line-height: 2rem;
}

/* Logo */
.footer-logo {
    max-width: 240px;
}

/* Text */
.footer-brand p {
    font-size: 0.95em;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
    width: fit-content;
    border-bottom: 2px solid transparent;
}

.footer-col a:hover {
    border-bottom: 2px solid white;
}

/* Social Icons unten */
.footer-flex {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/* Responsive */
@media (max-width: 1000px) {
    .text-banner .heading {
        font-size: 2.5rem;
    }

    .text-banner .subheading {
        font-size: 1.5rem;
    }

    nav .menu li a {
        width: 350px;
    }

    .card {
        flex: 0 0 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer .footer-links a {
        margin: 10px 5px;
        font-size: 0.9em;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-flex {
        justify-content: center;
    }
    .discord-inner {
        flex-direction: column;
        text-align: center;
    }

    .discord-copy {
        max-width: 100%;
    }

    .discord-banner h3 {
        font-size: 1.7rem;
    }

    .discord-button {
        width: 100%;
        justify-content: center;
    }
    
    .linefm-plus {
        display: none;
    }
}

.link {
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s, color 0.3s;
    border-bottom: solid 2px transparent;
}

.link:hover {
    border-bottom: solid 2px #ffffff;
}