:root {
    --bg-base: #050505;
    --bg-alt: #0a0a0a;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    /* L'accent est dynamique depuis l'index, fallback au jaune électrique */
    --accent: #ccff00; 
    --border: #222222;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; transition: 0.3s; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.op-50 { opacity: 0.5; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-alt { background-color: var(--bg-alt); }
.section-title { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 15px; text-transform: uppercase; }
.section-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.accent-line { width: 60px; height: 4px; background: var(--accent); margin: 20px 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 28px; font-family: var(--font-heading); font-weight: 700;
    font-size: 14px; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; border: none; cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(204, 255, 0, 0.3); }
.btn-outline { border: 1px solid var(--border); color: var(--text-main); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.glow-btn:hover { box-shadow: 0 0 25px rgba(204, 255, 0, 0.5); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0;
    transition: all 0.4s ease; background: transparent;
}
.navbar.scrolled { background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid var(--border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.nav-logo img { height: 60px; transition: 0.3s; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link { font-family: var(--font-heading); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.nav-link:hover { color: var(--accent); }
.btn-header { border: 1px solid var(--accent); color: var(--accent); padding: 8px 16px; border-radius: 4px; }
.btn-header:hover { background: var(--accent); color: #000; }

/* Mobile Menu */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 30px; height: 2px; background: #fff; transition: 0.3s; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--bg-base);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    transition: 0.5s ease-in-out; z-index: 999;
}
.mobile-menu.active { right: 0; }
.mobile-menu .nav-link { font-size: 24px; }

/* Hero Section */
.hero-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img, .hero-bg source { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; }
.hero-title { font-size: 12vw; font-weight: 900; line-height: 0.9; margin-bottom: 10px; letter-spacing: -2px; }
.hero-title .dot { color: var(--accent); }
.hero-subtitle { font-size: 20px; font-weight: 300; letter-spacing: 5px; color: var(--text-muted); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 20px; justify-content: center; }

/* About Section */
.split-layout { display: flex; gap: 60px; align-items: center; }
.about-image-container { flex: 1; }
.image-wrapper { position: relative; border-radius: 8px; overflow: hidden; }
.profile-img { width: 100%; display: block; filter: grayscale(50%) contrast(1.1); transition: 0.5s; }
.image-wrapper:hover .profile-img { filter: grayscale(0%) contrast(1.1); }
.glow-effect::after { content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; border: 2px solid var(--accent); z-index: -1; border-radius: 12px; filter: blur(20px); opacity: 0.3; transition: 0.5s; }
.image-wrapper:hover.glow-effect::after { opacity: 0.6; }
.about-text-container { flex: 1; }
.bio-text { font-size: 18px; color: #ccc; margin-bottom: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge { padding: 6px 12px; background: #111; border: 1px solid var(--border); border-radius: 30px; font-size: 12px; font-weight: 600; font-family: var(--font-heading); color: #fff; text-transform: uppercase; }
.badge.border-accent { border-color: var(--accent); color: var(--accent); }
.social-links-inline { display: flex; gap: 20px; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.social-links-inline a:hover { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* Tracks */
.tracks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: start; }
.track-card { background: #111; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.track-card:hover { transform: translateY(-5px); border-color: #333; }
.spotify-embed { display: flex; width: 100%; line-height: 0; font-size: 0; }
.spotify-embed iframe { width: 100%; height: 152px; border: none; display: block; margin: 0; padding: 0; border-radius: 0; }
.spotify-embed:last-child iframe { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.default-embed { padding: 40px 20px; display: flex; align-items: center; justify-content: center; background: #151515; line-height: 1.6; font-size: 16px; }
.track-info { padding: 20px; border-top: 1px solid var(--border); }
.track-desc { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Events */
.events-list { max-width: 800px; margin: 0 auto; }
.timeline-event { display: flex; align-items: center; gap: 30px; padding: 25px; border: 1px solid var(--border); margin-bottom: 15px; border-radius: 8px; background: rgba(255,255,255,0.02); transition: 0.3s; }
.timeline-event:hover { background: rgba(255,255,255,0.05); border-color: #333; transform: translateX(10px); }
.event-date { width: 80px; text-align: center; border-right: 1px solid var(--border); padding-right: 20px; }
.event-date .day { display: block; font-size: 32px; font-family: var(--font-heading); font-weight: 900; line-height: 1; }
.event-date .month { display: block; font-size: 14px; color: var(--accent); font-weight: 600; }
.event-details { flex: 1; }
.event-details h3 { margin-bottom: 5px; font-size: 20px; }
.event-meta span { font-size: 14px; color: var(--text-muted); margin-right: 15px; }

/* Social Feed */
.social-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.social-post-item { position: relative; padding-bottom: 100%; display: block; overflow: hidden; border-radius: 4px; }
.social-post-item img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.social-hover { position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(204, 255, 0, 0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.social-hover span { color: #000; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; transform: translateY(20px); transition: 0.3s; }
.social-post-item:hover img { transform: scale(1.1); }
.social-post-item:hover .social-hover { opacity: 1; }
.social-post-item:hover .social-hover span { transform: translateY(0); }

/* Forms */
.form-row { display: flex; gap: 20px; }
.flex-1 { flex: 1; }
.input-modern { width: 100%; padding: 15px 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 4px; color: #fff; font-family: var(--font-body); font-size: 15px; margin-bottom: 20px; transition: 0.3s; }
.input-modern:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.06); }
.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; text-align: left; }
.alert-success { background: rgba(0, 200, 81, 0.1); border: 1px solid #00C851; color: #00C851; }
.alert-error { background: rgba(255, 68, 68, 0.1); border: 1px solid #ff4444; color: #ff4444; }

/* Footer */
.footer { background: #000; padding: 60px 0 40px; text-align: center; border-top: 1px solid var(--border); }
.footer-logo { height: 40px; margin-bottom: 30px; opacity: 0.5; transition: 0.3s; }
.footer-logo:hover { opacity: 1; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 30px; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; }
.footer-links a:hover { color: var(--accent); }
.copyright { color: #555; font-size: 12px; }
.admin-link { color: #333; margin-left: 10px; text-decoration: none;}
.admin-link:hover { color: #888; }

/* Responsive */
@media (max-width: 900px) {
    .split-layout { flex-direction: column; text-align: center; }
    .social-links-inline { justify-content: center; }
    .timeline-event { flex-direction: column; align-items: flex-start; gap: 15px; }
    .event-date { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 15px; width: 100%; text-align: left; display: flex; gap: 10px; align-items: baseline; }
    .event-date .day { font-size: 24px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 15vw; }
    .form-row { flex-direction: column; gap: 0; }
    .hero-cta { flex-direction: column; gap: 10px; padding: 0 40px;}
    .nav-container { padding: 0 20px;}
}
