:root {
    --neon-red: #ff003c;
    --neon-green: #00ff87;
    --bg-dark: #050505;
    --bg-darker: #020202;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cursor Glow */
#cursor-glow {
    position: fixed; top: 0; left: 0; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,255,135,0.15), transparent 70%);
    pointer-events: none; transform: translate(-50%, -50%); z-index: 999;
    mix-blend-mode: screen; opacity: 0; transition: opacity 0.3s;
}
#cursor-glow.active { opacity: 1; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5,5,5,0.7); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border); z-index: 100;
    transition: var(--transition);
}
.navbar.scrolled { padding: 0.8rem 5%; background: rgba(2,2,2,0.95); border-bottom-color: var(--neon-red); }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; letter-spacing: 2px; }
.neon-red { color: var(--neon-red); text-shadow: 0 0 15px var(--neon-red); }
.neon-green { color: var(--neon-green); text-shadow: 0 0 15px var(--neon-green); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem; letter-spacing: 2px;
    position: relative; transition: var(--transition); font-weight: 500;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-green)); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 110%; height: auto; opacity: 0.4; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.2), var(--bg-dark)); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.glitch-text {
    font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 8rem); font-weight: 900;
    position: relative; display: inline-block;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.tagline { font-size: 1.1rem; color: var(--text-muted); letter-spacing: 4px; margin-top: 1rem; }
.hero-buttons { margin-top: 2.5rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn {
    padding: 1rem 2.5rem; border: none; font-family: var(--font-heading); font-size: 0.9rem;
    letter-spacing: 2px; cursor: pointer; transition: var(--transition); text-transform: uppercase;
    text-decoration: none; display: inline-block;
}
.btn-red { background: var(--neon-red); color: #000; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.btn-green { background: transparent; color: var(--neon-green); border: 2px solid var(--neon-green); clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,255,135,0.3); }
.btn-red:hover { box-shadow: 0 10px 30px rgba(255,0,60,0.4); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; }
.scroll-indicator span { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--neon-red); margin: 0 auto; animation: scrollLine 1.5s infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0); opacity: 0; } }

/* Sections */
.section { padding: 6rem 5%; position: relative; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 3rem; letter-spacing: 2px; }
.highlight { color: var(--neon-red); text-shadow: 0 0 15px var(--neon-red); }
.highlight-green { color: var(--neon-green); text-shadow: 0 0 15px var(--neon-green); }
.bg-darker { background: var(--bg-darker); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Members */
.members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.member-card {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px;
    overflow: hidden; position: relative; transition: var(--transition);
}
.member-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(255,0,60,0.2); border-color: var(--neon-red); }
.img-wrapper { width: 100%; height: 350px; overflow: hidden; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.member-card:hover .img-wrapper img { transform: scale(1.1); }
.card-info { padding: 1.5rem; text-align: center; position: relative; }
.card-info h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.3rem; }
.card-info p { color: var(--neon-green); font-size: 0.9rem; letter-spacing: 1px; }
.neon-border { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--neon-red), transparent); transform: scaleX(0); transition: 0.4s; }
.member-card:hover .neon-border { transform: scaleX(1); }

/* MV Section */
.mv-container { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.mv-frame { flex: 2; min-width: 300px; border-radius: 10px; overflow: hidden; border: 1px solid var(--glass-border); }
.mv-frame iframe { width: 100%; aspect-ratio: 16/9; display: block; background: #111; }
.mv-info { flex: 1; min-width: 250px; }
.badge { display: inline-block; background: var(--neon-red); color: #000; padding: 0.3rem 0.8rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 1rem; }
.mv-info h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 0.5rem; }
.mv-info p { color: var(--text-muted); margin-bottom: 2rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.news-item {
    background: var(--glass); padding: 2rem; border-left: 3px solid var(--neon-green);
    transition: var(--transition);
}
.news-item:hover { background: rgba(255,255,255,0.05); transform: translateX(10px); }
.news-item time { color: var(--neon-green); font-size: 0.8rem; display: block; margin-bottom: 0.5rem; }
.news-item h3 { font-family: var(--font-heading); margin-bottom: 0.8rem; }
.news-item p { color: var(--text-muted); margin-bottom: 1.5rem; }
.read-more { color: var(--neon-red); text-decoration: none; font-weight: 700; font-size: 0.9rem; }

/* Footer */
footer { background: #020202; padding: 4rem 5% 2rem; border-top: 1px solid var(--glass-border); text-align: center; }
.footer-logo { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 2rem; letter-spacing: 3px; }
.social-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 2rem; }
.social-links a { color: var(--text-muted); font-size: 1.5rem; transition: var(--transition); }
.social-links a:hover { color: var(--neon-green); text-shadow: 0 0 15px var(--neon-green); transform: translateY(-3px); }
.copyright { color: var(--text-muted); font-size: 0.8rem; }

/* Gallery */
.gallery-grid { column-count: 3; column-gap: 1rem; }
.gallery-item { margin-bottom: 1rem; break-inside: avoid; position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease, filter 0.4s; }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.7); }
.gallery-item::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    color: #fff; font-size: 2rem; transition: 0.3s; opacity: 0;
}
.gallery-item:hover::after { transform: translate(-50%, -50%) scale(1); opacity: 1; text-shadow: 0 0 20px var(--neon-green); }
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000;
    display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border: 2px solid var(--neon-red); box-shadow: 0 0 40px rgba(255,0,60,0.5); }
.close-lb { position: absolute; top: 2rem; right: 2rem; color: #fff; font-size: 2rem; cursor: pointer; }

/* Discography */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2.5rem; }
.album-card { perspective: 1000px; cursor: pointer; }
.album-inner { transition: transform 0.6s; transform-style: preserve-3d; }
.album-card:hover .album-inner { transform: rotateY(180deg); }
.album-front, .album-back { backface-visibility: hidden; border-radius: 8px; overflow: hidden; }
.album-front img { width: 100%; display: block; box-shadow: 0 5px 25px rgba(0,255,135,0.3); }
.album-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--glass); border: 1px solid var(--neon-green); display: flex; align-items: center; justify-content: center; transform: rotateY(180deg); padding: 1rem; text-align: center; }
.album-title { font-family: var(--font-heading); font-size: 0.9rem; margin-top: 0.8rem; text-align: center; letter-spacing: 1px; }
.album-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1001;
    display: none; align-items: center; justify-content: center; padding: 2rem;
}
.album-modal.active { display: flex; }
.modal-content { background: #111; padding: 2rem; border-radius: 10px; max-width: 600px; width: 100%; border: 1px solid var(--neon-green); max-height: 80vh; overflow-y: auto; }
.close-modal { float: right; cursor: pointer; font-size: 1.5rem; color: var(--neon-red); }
.tracklist { margin-top: 1.5rem; list-style: none; }
.tracklist li { padding: 0.5rem 0; border-bottom: 1px solid var(--glass-border); color: var(--text-muted); display: flex; justify-content: space-between; }

/* Calendar */
.calendar-container { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px; padding: 2rem; max-width: 900px; margin: 0 auto; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.cal-header h3 { font-family: var(--font-heading); font-size: 1.8rem; }
.cal-nav button {
    background: none; border: 1px solid var(--neon-red); color: var(--neon-red); padding: 0.5rem 1rem;
    cursor: pointer; font-family: var(--font-heading); transition: var(--transition);
}
.cal-nav button:hover { background: var(--neon-red); color: #000; }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 1rem; color: var(--text-muted); font-weight: bold; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
.cal-cell {
    aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 1px solid var(--glass-border); cursor: pointer; transition: var(--transition); position: relative;
    background: rgba(255,255,255,0.02);
}
.cal-cell:hover { background: rgba(255,255,255,0.08); }
.cal-cell.today { border-color: var(--neon-green); box-shadow: 0 0 15px rgba(0,255,135,0.4); }
.cal-cell.has-event::after {
    content: ''; position: absolute; bottom: 6px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red);
}
.cal-cell.selected { background: var(--neon-red); color: #000; border-color: var(--neon-red); }
.event-tooltip {
    position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%);
    background: #000; border: 1px solid var(--neon-green); padding: 0.5rem; white-space: nowrap;
    font-size: 0.8rem; display: none; z-index: 10; pointer-events: none;
}
.cal-cell:hover .event-tooltip { display: block; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: rgba(2,2,2,0.95); flex-direction: column; padding: 5rem 2rem;
        transition: 0.4s ease; backdrop-filter: blur(10px);
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: block; }
    .gallery-grid { column-count: 2; }
    .hero-buttons { flex-direction: column; }
    .cal-cell { font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .gallery-grid { column-count: 1; }
}