:root {
    /* Colors - Suspicious & Toxic Theme */
    --color-bg: #050205;
    --color-text: #e0e0e0;
    --color-primary: #9d00ff;
    /* Vibrant Purple */
    --color-secondary: #00ff9d;
    /* Toxic Green */
    --color-accent: #ff0055;
    --color-surface: #120518;

    /* Fonts */
    --font-heading: 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Shippori Mincho', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 157, 0.08) 0%, transparent 40%);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), transparent);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Cursor Customization */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-secondary);
    transition: width 0.2s, height 0.2s, background-color 0.2s, transform 0.2s;
}

/* Cursor Hover State */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 157, 0.1);
    border-color: transparent;
    mix-blend-mode: difference;
}

body.hovering .cursor-dot {
    background-color: var(--color-secondary);
    transform: translate(-50%, -50%) scale(1.5);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    /* Slightly tighter padding */
    transition: all var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(5, 2, 5, 0.8) 0%, transparent 100%);
    backdrop-filter: blur(5px);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(157, 0, 255, 0.2);
    backdrop-filter: blur(15px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
    transition: all var(--transition-fast);
    filter: invert(1);
}

.logo:hover .logo-img {
    transform: translateY(-1px);
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    position: relative;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 0;
    /* Override section padding */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(5, 2, 5, 0.5), rgba(5, 2, 5, 0.8)),
        url('assets/zenin.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* Ken Burns Effect */
    animation: kenBurns 20s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(157, 0, 255, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(106, 13, 173, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.latest-release {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
    background: rgba(0, 255, 157, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.latest-release .label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-right: var(--spacing-xs);
}

.latest-release .release-link {
    font-weight: 700;
    color: var(--color-secondary);
}

/* News Section */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    /* Spacing between items */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 2px solid var(--color-secondary);
}

.news-item time {
    min-width: 100px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.news-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .news-item time {
        min-width: auto;
    }
}

/* News Toggle - Hide items after 4th by default */
.news-item:nth-child(n+5) {
    display: none;
}

.news-list.expanded .news-item:nth-child(n+5) {
    display: flex;
}

.news-toggle-btn {
    display: block;
    margin: var(--spacing-md) auto 0;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.news-toggle-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Discography Toggle - Hide items after 4th by default */
.disco-item:nth-child(n+5) {
    display: none;
}

.discography-section.expanded .disco-item:nth-child(n+5) {
    display: block;
}

.disco-toggle-btn {
    display: block;
    margin: var(--spacing-md) auto 0;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.disco-toggle-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

.delay-4 {
    transition-delay: 0.4s;
}

/* Discography */
.disco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.disco-item {
    display: block;
    /* Ensure anchor behaves like block */
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.disco-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-primary);
}

.disco-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #000;
    margin-bottom: var(--spacing-sm);
    border-radius: 4px;
    overflow: hidden;
}

.disco-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.disco-item:hover .disco-thumb img {
    transform: scale(1.1);
}



.disco-title {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.disco-type {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 0.2rem;
}

.disco-date {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: var(--spacing-sm);
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.store-btn {
    font-size: 0.7rem;
    padding: 4px 10px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    opacity: 0.8;
}

.store-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
    opacity: 1;
}

/* Profile */
.profile-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bio {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 2;
}

/* Member Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--color-surface);
    margin: 10% auto;
    padding: 0;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 50px rgba(157, 0, 255, 0.2);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--color-text);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image {
    flex: 1;
    min-height: 300px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

@media (min-width: 768px) {
    .modal-image img {
        border-radius: 8px 0 0 8px;
    }
}

.modal-info {
    flex: 1;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.modal-role {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.modal-text {
    line-height: 1.8;
    font-size: 1rem;
}

/* Members Grid Update */
.members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.member {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-align: center;
}

.member:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.member-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
}

.member:hover .member-name {
    color: var(--color-secondary);
}

.member-role {
    display: block;
    font-size: 0.9rem;
    color: var(--color-secondary);
    opacity: 0.8;
}

/* Contact */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-links a {
    font-size: 1.2rem;
    border: 1px solid var(--color-text);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.contact-email {
    text-align: center;
    margin-top: var(--spacing-md);
}

.contact-email a {
    font-size: 1.2rem;
    color: var(--color-primary);
    text-decoration: underline;
    opacity: 0.8;
}

.contact-email a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

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

.schedule-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
    border-left: 2px solid var(--color-primary);
}

.schedule-date {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
}

.schedule-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Schedule Toggle - Hide items after 4th by default */
.schedule-item:nth-child(n+5) {
    display: none;
}

.schedule-section.expanded .schedule-item:nth-child(n+5) {
    display: flex;
}

.schedule-toggle-btn {
    display: block;
    margin: var(--spacing-md) auto 0;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.schedule-toggle-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Footer */
.site-footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 900;
        /* Behind menu toggle */
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        /* Above nav */
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }

    .schedule-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .schedule-date {
        min-width: auto;
    }

    .members {
        grid-template-columns: 1fr;
        /* Single column for mobile */
        gap: var(--spacing-md);
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .social-links a {
        width: 100%;
        text-align: center;
    }
}

/* Movie Section */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.movie-item h3 {
    margin-top: var(--spacing-sm);
    font-size: 1.1rem;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container iframe,
.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.video-container:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border: 2px solid var(--color-text);
    pointer-events: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    /* Centering visual adjustment */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid var(--color-text);
}

.video-container:hover .play-button {
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}