/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-color: #0a0a0a;
    --bg-alt: #111111;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #ff3333;
    /* Bold Red Accent */
    --accent-hover: #cc0000;

    --font-head: 'Anton', sans-serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;

    --container-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: table;
    margin: 0 auto 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-list a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    /* Restore flex */
    justify-content: center;
    /* Restore horizontal center */
    align-items: center;
    /* Vertical center */
    text-align: center;
    z-index: 10;
    /* Ensure overlay elements are clickable if z-index logic allows */
}

/* Audio Control */
.audio-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 20;
    padding: 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-control:hover {
    opacity: 1;
}

.audio-control svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    /* Fallback */
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay darkness */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.hero-content {
    z-index: 1;
    padding: 0 1rem;
}

/* Glitch Effect for H1 */
.glitch-text {
    font-size: 6rem;
    font-weight: bold;
    color: white;
    position: relative;
    mix-blend-mode: lighten;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: #00fff9;
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-2px, 0);
    }

    100% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(2px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0% 0 0% 0);
        transform: translate(-2px, 0);
    }
}

.tagline {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-family: var(--font-head);
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: white;
    color: black;
}

/* =========================================
   Content Sections
   ========================================= */
.content-section {
    padding: 6rem 1rem;
}

.dark-alt {
    background-color: var(--bg-alt);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.news-date {
    font-family: var(--font-head);
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.news-content p {
    color: var(--text-muted);
}

/* Bio */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bio-image {
    flex: 1;
}

.bio-image img {
    width: 100%;
    filter: grayscale(100%);
    transition: 0.5s;
}

.bio-image:hover img {
    filter: grayscale(0%);
}

.bio-text {
    flex: 1;
}

.bio-text p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
}

/* Discography */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.album-card img {
    width: 100%;
    transition: 0.3s;
    margin-bottom: 1rem;
}

.album-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.album-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.album-card p {
    color: var(--text-muted);
}

/* Live */
.tour-list {
    max-width: 800px;
    margin: 0 auto;
}

.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.tour-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 1rem;
    padding-right: 1rem;
}

.tour-date {
    font-family: var(--font-head);
    color: var(--accent);
    width: 120px;
}

.tour-venue {
    font-weight: bold;
    flex: 1;
}

.tour-location {
    color: var(--text-muted);
    width: 150px;
}

.btn-small {
    padding: 0.5rem 1.5rem;
    border: 1px solid white;
    font-size: 0.8rem;
    font-weight: bold;
}

.btn-small:hover {
    background: white;
    color: black;
}

.btn-small.sold-out {
    border-color: #555;
    color: #555;
    cursor: default;
}

.btn-small.sold-out:hover {
    background: transparent;
    color: #555;
}

/* Footer */
footer {
    padding: 4rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    margin: 0 1rem;
    font-family: var(--font-head);
    letter-spacing: 1px;
}

.newsletter {
    margin-bottom: 3rem;
}

.newsletter h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.newsletter input {
    padding: 0.8rem;
    width: 300px;
    background: transparent;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-head);
}

.newsletter button {
    padding: 0.8rem 2rem;
    background: white;
    border: none;
    font-family: var(--font-head);
    cursor: pointer;
    margin-left: -5px;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* =========================================
   Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .glitch-text {
        font-size: 3rem;
    }

    .navbar {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: 0.3s;
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .album-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .tour-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .tour-date,
    .tour-location {
        width: auto;
    }

    .newsletter input {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    .newsletter button {
        width: 100%;
        max-width: 300px;
        margin-left: 0;
    }
}