/* ============================================
   NEXUS FM - Main Stylesheet
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
    --bg-color: #0f1014;
    --card-bg: #1e1f24;
    --accent: #5865F2;
    --text-main: #ffffff;
    --text-muted: #b9bbbe;
    --success: #3ba55c;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    background-image: radial-gradient(circle at 50% 0%, #2f3136 0%, var(--bg-color) 70%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: rgba(30, 31, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2f3136;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav-logo span { 
    color: var(--accent); 
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0.5rem;
        border-bottom: 1px solid #2f3136;
    }
    .nav-links.active {
        display: flex;
    }
    .navbar {
        position: relative;
    }
}

/* ============================================
   MAIN CONTENT & LAYOUT
   ============================================ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 200px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-title span { 
    color: var(--accent); 
}

.content-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 1px solid #2f3136;
    margin-bottom: 2rem;
}

.iframe-container {
    border-radius: 12px;
    overflow: hidden;
}

.iframe-container iframe {
    display: block;
}

/* ============================================
   STICKY PLAYER
   ============================================ */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 31, 36, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #2f3136;
    padding: 0.5rem;
    z-index: 1000;
}

.sticky-player iframe {
    display: block;
    margin: 0 auto;
    max-width: 800px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer,
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #2f3136;
    margin-top: 3rem;
}

.footer a,
.site-footer a { 
    color: var(--text-muted); 
    text-decoration: none; 
    transition: color 0.2s;
}

.footer a:hover,
.site-footer a:hover { 
    color: var(--accent); 
}

.footer-links {
    margin: 0.5rem 0;
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ============================================
   HOME PAGE - PLAYER
   ============================================ */
.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.home-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.home-logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.home-logo span { 
    color: var(--accent); 
}

.home-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 1px solid #2f3136;
    position: relative;
    overflow: hidden;
}

.album-art {
    width: 150px;
    height: 150px;
    background-color: #000;
    border-radius: 12px;
    margin: 0 auto 1.5rem auto;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background-image: url('https://source.unsplash.com/random/300x300/?technology,security'); 
    transition: transform 0.3s ease;
}

.is-playing .album-art {
    transform: scale(1.05);
}

.song-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.play-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: #4752c4;
}

.status {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.home-footer {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

.home-footer a { 
    color: var(--text-muted); 
    text-decoration: none; 
    transition: color 0.2s;
}

.home-footer a:hover { 
    color: var(--accent); 
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ============================================
   TEAM PAGE
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #2f3136;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    background-size: cover;
    background-position: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-social {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.2rem;
}

.team-social a:hover {
    color: var(--accent);
}

.team-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   IMPRESSUM / LEGAL PAGE
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2f3136;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content ul {
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: rgba(88, 101, 242, 0.1);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.contact-info p {
    margin: 0.3rem 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
