:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent-color: #e50914;
    /* Red accent */
    --accent-secondary: #ffd700;
    /* Gold accent */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Shippori Mincho', serif;
}

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

body {
    background: linear-gradient(-45deg, #1a0b2e, #13111b, #2c1e14, #000000);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-list a {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    /* Top padding to account for header */
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Ensures no cropping */
    border-radius: 4px;
    /* subtle radius */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 900;
    background: linear-gradient(45deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    padding-bottom: 0.1em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-copy {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

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

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

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
}

.news-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-color);
    background-color: var(--accent-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-right: 1.5rem;
    min-width: 80px;
    text-align: center;
}

.news-link {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Members - Grid for Profile Page */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.member-card img {
    width: 100%;
    height: 300px;
    /* Consitent height */
    object-fit: cover;
    object-position: top;
    /* Focus on faces */
    transition: filter 0.3s;
}

.member-card.core img {
    display: none;
    /* No images for core members yet based on extraction */
}

/* Special styling for cards without images if needed */
.member-card.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    /* smaller for no image */
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-card.no-image h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-secondary);
}

.member-bio {
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 2.8em;
    /* To align buttons roughly if bio lengths differ */
}

.member-info .role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.twitter-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    border: 1px solid var(--text-muted);
    border-radius: 20px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.twitter-link:hover {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
    color: #fff;
    text-decoration: none;
}

/* Album Section in Profile */
.album-section {
    margin-bottom: 4rem;
}

.album-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    letter-spacing: 0.1em;
}

/* Members Teaser (Index) */
.teaser-text {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.btn-wrapper {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    text-transform: none;
}

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


/* Discography */
.album-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.album-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.album-art {
    flex: 0 0 300px;
    max-width: 300px;
}

.album-art img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.album-details {
    flex: 1;
}

.album-title {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.album-meta {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tracklist {
    margin-top: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.tracklist li {
    padding: 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Schedule */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.schedule-table th {
    color: var(--accent-secondary);
    width: 150px;
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    background-color: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-logo img {
    height: 50px;
    margin: 0 auto 2rem;
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    /* Center icons vertically */
}

.footer-icon-link {
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-icon-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    /* Use the text color for the icon fill */
}

.footer-icon-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
/* Animation Logic - Enabled for All Devices */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        justify-content: space-between;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

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

    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }



    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .album-item {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .album-art {
        width: 100%;
        max-width: 100%;
    }

    .album-details {
        text-align: left;
        width: 100%;
    }
}

/* Group Profile Section */
.group-profile {
    margin-bottom: 4rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.group-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.member-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.core-members {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.core-member h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.member-roles {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 1rem;
    display: inline-block;
}

.core-member p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
}

@media (max-width: 768px) {
    .member-roles {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }
}

/* Discography inside Group Profile */
.discography-subheading {
    font-size: 1.1rem;
    color: var(--accent-secondary);
    margin: 2rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.discography-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.discography-item {
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
}

.discography-item h5 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.discography-item p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

/* Core Members (Profile) */
.core-members {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.core-member {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 8px;
}

.core-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    flex-shrink: 0;
}

.core-member-info {
    flex: 1;
}

.core-member h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.core-member .member-roles {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 400;
    margin-left: 0.5rem;
    font-family: var(--font-body);
}

.core-member p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.core-member .links {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .core-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .core-member h4 {
        justify-content: center;
        flex-direction: column;
        gap: 0.2rem;
    }

    .core-member .links {
        justify-content: center;
    }
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.video-link:hover {
    opacity: 0.8;
}

.thumbnail-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #000;
}

.thumbnail-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    transition: transform 0.3s;
}

.video-link:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.video-title {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.4;
    margin-top: 0.5rem;
    font-weight: 700;
}