/* Design 02: Rock / Dense / Monotone */

:root {
    --bg-black: #000000;
    --bg-dark: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333333;
    --accent: #ffffff;

    --font-head: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    --bg-black: #000000;
    --bg-dark: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333333;
    --accent: #ffffff;

    --font-head: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Subtle Logo Removed */

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #888;
    text-decoration: underline;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

#loading-screen.fade-out {
    transform: translateY(-100%);
}

.loading-logo {
    font-family: var(--font-head);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    animation: undulate 3s infinite ease-in-out;
}

@keyframes undulate {
    0% {
        opacity: 0.7;
        filter: blur(1px);
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1.02);
    }

    100% {
        opacity: 0.7;
        filter: blur(1px);
        transform: scale(0.98);
    }
}

/* Intro Logo Overlay */
#intro-logo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9000;
    /* Below loading (10000) but above header (1000) */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through */
    opacity: 0;
    animation: introLogoSequence 4s ease-in-out 2.5s forwards;
}

#intro-logo-overlay img {
    width: 200px;
    /* Moderate size */
    filter: invert(1);
    /* Assuming black logo on dark bg needs inversion, or adjust based on image */
}

@keyframes introLogoSequence {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Video Background (Fixed) */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* Zoom slightly to avoid borders */
    transform: scale(1.2);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    z-index: 1;
    /* Optional: Grid pattern for texture */
    background-image: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.3) 3px,
            rgba(0, 0, 0, 0.3) 4px);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.main-header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-header nav a {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* Hero Spacer (Transparent area) */
.hero-spacer {
    height: 90vh;
    /* Shows video */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    /* For logo positioning */
}

.main-title {
    font-family: var(--font-head);
    font-size: 8rem;
    line-height: 0.8;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    mix-blend-mode: overlay;
    /* Blends nicely with video */
}

.scroll-prompt {
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: 0.2rem;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Solid Content Area */
.solid-content {
    background-color: var(--bg-black);
    position: relative;
    z-index: 20;
    /* Box shadow to separate from video */
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 1);
    border-top: 1px solid var(--border-color);
}

.section-dense {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-left: 10px solid var(--text-white);
    padding-left: 20px;
    line-height: 1;
}

/* NEWS List */
.news-list {
    list-style: none;
    border: 1px solid var(--border-color);
}

.news-list li {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    align-items: baseline;
    transition: background 0.2s;
}

.news-list li:hover {
    background: #111;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list .date {
    font-family: var(--font-head);
    color: var(--text-gray);
    width: 100px;
    flex-shrink: 0;
}

.news-list .category {
    font-family: var(--font-head);
    color: var(--text-white);
    font-weight: 700;
    margin-right: 20px;
    width: 80px;
}

/* LIVE Table */
.live-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.live-row {
    background: #111;
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.live-date {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    width: 200px;
    flex-shrink: 0;
}

.live-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.live-venue {
    font-weight: 700;
    font-size: 1.2rem;
}

.live-event {
    color: var(--text-gray);
}

.live-action button {
    background: var(--text-white);
    color: var(--bg-black);
    border: none;
    padding: 10px 30px;
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.live-action button:hover {
    background: #ccc;
}

/* MEMBERS */
.group-photo {
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.member-card {
    position: relative;
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.member-card:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.member-name {
    position: absolute;
    bottom: 30px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 2px 10px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
}

.member-role {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    color: #000;
    padding: 1px 5px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Member Modal */
.member-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.member-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.member-modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--text-white);
    padding: 40px;
    width: 95%;
    max-width: 900px;
    /* Wider for 2 cols */
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.member-modal-overlay.active .member-modal-content {
    transform: scale(1);
}

.modal-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.modal-image-col {
    flex: 0 0 40%;
    max-width: 300px;
}

.modal-info-col {
    flex: 1;
}

#modal-member-img {
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-details-list {
    list-style: none;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.modal-details-list li {
    margin-bottom: 10px;
    font-family: var(--font-head);
    display: flex;
    align-items: baseline;
}

.modal-details-list li:last-child {
    margin-bottom: 0;
}

.modal-details-list .label {
    width: 120px;
    font-weight: 700;
    color: var(--text-gray);
    flex-shrink: 0;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.modal-body h3 {
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.modal-body p#modal-member-role {
    font-family: var(--font-head);
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.modal-body p#modal-member-desc {
    line-height: 1.8;
}

/* Responsive adjustment for modal */
@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
        gap: 20px;
    }

    .modal-image-col {
        max-width: 100%;
        width: 100%;
    }

    .modal-body h3 {
        font-size: 2rem;
    }
}

/* DISCOGRAPHY */
.disc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.disc-item {
    display: block;
    /* Make anchor block */
    border: 1px solid var(--border-color);
    background: #111;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.disc-item:hover {
    transform: scale(1.02);
    border-color: var(--text-white);
}

.disc-meta {
    padding: 15px;
    text-align: center;
}

.disc-meta h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-white);
}

.disc-meta p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* GALLERY REMOVED per user request */

/* Footer */
.footer-dense {
    background: #050505;
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #fff;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1rem;
    opacity: 0.3;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    font-family: var(--font-head);
    font-weight: 700;
    margin: 0 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid transparent;
}

.footer-links a:hover {
    border-bottom: 2px solid #fff;
    text-decoration: none;
}

.copyright {
    color: #555;
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 4rem;
    }

    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .main-header nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .gallery-layout,
    .members-grid {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: 1fr 1fr;
    }

    .live-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .live-date {
        width: auto;
    }

    .live-action {
        width: 100%;
    }

    .live-action button {
        width: 100%;
    }

    .news-list li {
        flex-direction: column;
        gap: 5px;
    }

    .news-list .category {
        margin-right: 0;
    }
}