:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent-color: #ff00e0; /* Vibrant Pink */
    --accent-secondary: #ffd700;
    --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 15%; /* Significantly increased to move logo/menu further inward */
    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: 38px; /* Further reduced as requested */
    width: auto;
    filter: invert(1) drop-shadow(0 0 10px rgba(255, 0, 224, 0.4)); /* Invert for dark theme + Pink glow */
}

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

.nav-list a {
    color: var(--accent-color); /* Pink */
    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.stealth-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-list a.stealth-link::after {
    display: none;
}

.nav-list a.stealth-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-list a:not(.stealth-link):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(--accent-color); /* Pink */
}

/* Hyper-Impact Hero Redesign - Ultra Premium (Visible Fix) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px; /* Stronger offset for header visibility */
    background: #020202;
    overflow: hidden;
    perspective: 2500px;
}

/* Moving Mesh Background - Increased Speed */
.hero-mesh-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(229, 9, 20, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(138, 43, 226, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 35%);
    filter: blur(40px);
    animation: meshRotate 8s linear infinite; /* Faster rotation */
    z-index: 1;
    opacity: 0.9;
}

@keyframes meshRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); } /* More dynamic scale */
    100% { transform: rotate(360deg) scale(1); }
}

.hero-vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 15%, rgba(0,0,0,1) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: -5vh; /* Push everything slightly up to avoid overlap at bottom */
}

.hero-perspective-container {
    width: 100%;
    max-width: 500px; /* Reduced further from 720px to shrink emblem */
    perspective: 3000px;
    margin-bottom: 5.5rem; /* Increased significantly to clear text from scroll line */
    transform-style: preserve-3d;
}

.hero-logo-container {
    position: relative;
    transform-style: preserve-3d;
    /* overflow: hidden; REMOVED to avoid square frame */
    animation: explosiveEntrance 2.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    backface-visibility: hidden; /* Fix mobile square artifacts */
    -webkit-backface-visibility: hidden;
}

/* Internal Logo Glint - Strictly inside the emblem shape */
.logo-glint-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    mask-image: url('images/jAcKp☆TrASHロゴ.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('images/jAcKp☆TrASHロゴ.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.logo-glint-beam {
    position: absolute;
    top: -100%;
    left: -150%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: innerGlint 5s ease-in-out infinite 1.5s;
}

@keyframes innerGlint {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

@keyframes explosiveEntrance {
    0% { 
        transform: translateY(60px) scale(0.9) translateZ(-200px); 
        opacity: 0; 
        filter: brightness(2) blur(15px); 
    }
    100% { 
        transform: translateY(0) scale(1) translateZ(0); 
        opacity: 1; 
        filter: brightness(1) blur(0); 
    }
}

.hero-main-logo {
    width: 100%;
    height: auto;
    /* Soft Glow Aura - Highly optimized to avoid mobile rendering bugs */
    filter: drop-shadow(0 0 30px rgba(255, 0, 224, 0.6));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: filter, transform;
}

.logo-flash {
    position: absolute;
    top: 50%; left: 50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, #fff 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 11;
}

/* Mega Glint Pulse Triggered by JS */
.logo-mega-pulse .logo-flash {
    animation: megaGlintPulse 1s ease-out forwards;
}

.logo-mega-pulse .logo-glint-beam {
    animation: innerGlint 1s ease-in-out forwards;
}

@keyframes megaGlintPulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.logo-flash {
    will-change: transform, opacity;
}


.hero-tagline-reveal {
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.2rem;
    color: var(--accent-color); /* Pink */
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 0, 224, 0.4);
    opacity: 0;
    animation: explosiveEntrance 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-description {
    font-size: 1.1rem;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: explosiveEntrance 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes tagReveal {
    0% { transform: translateY(100%); letter-spacing: 4rem; opacity: 0; }
    100% { transform: translateY(0); letter-spacing: 1.8rem; opacity: 1; }
}

.btn-ultra-glow {
    position: relative;
    display: inline-block;
    padding: 1.6rem 5.5rem;
    background: rgba(255, 0, 224, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.5rem;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 0, 224, 0.4);
    overflow: hidden;
    transition: 0.5s;
}

.btn-ultra-glow:hover {
    background: var(--accent-color);
    box-shadow: 0 0 80px rgba(255, 0, 224, 1);
    transform: translateY(-8px) scale(1.08);
}

.scroll-ind-modern {
    position: absolute;
    bottom: 30px; /* Clearly at the bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 50px; /* Reduced height to avoid text */
    background: rgba(255,255,255,0.15);
    overflow: hidden;
    z-index: 100;
}

.scroll-dot {
    width: 100%; height: 25%;
    background: var(--accent-color);
    animation: scrollSlide 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollSlide {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(500%); }
}

@media (max-width: 768px) {
    .hero { padding-top: 100px; }
    .hero-tagline { font-size: 1.2rem; letter-spacing: 0.8rem; }
    .hero-perspective-container { max-width: 240px; } /* Shrink emblem further on mobile */
    .hero-description { font-size: 0.9rem; letter-spacing: 0.15rem; }
}

/* Spark Elements - Elite Physics (High-Visibility Update) */
.spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.8 !important; /* Force high visibility */
    bottom: -10px;
    filter: blur(0.5px); /* Sharper definition */
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    z-index: 5;
    mix-blend-mode: plus-lighter; /* Additive glow for vibrancy */
}

@keyframes sparkFly {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-150vh) translateX(var(--drift)) scale(0.4); opacity: 0; }
}

/* Footer Refinements */
.footer-logo {
    margin-bottom: 1.5rem;
}
.footer-logo img {
    height: 60px;
    margin: 0 auto;
    filter: invert(1) drop-shadow(0 0 10px rgba(255, 0, 224, 0.4)); /* Invert + Pink glow */
}
/* Footer Copyright Styles from Snippet */
.footer-copyright {
    margin-top: 30px;
    font-family: inherit;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    display: block; /* Ensure it's a block container */
}

.stealth-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.stealth-link:hover {
    text-decoration: none;
    opacity: 0.8;
    color: inherit;
}

.footer-copyright .separator {
    margin: 0 5px;
    opacity: 0.5;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .footer-copyright .separator {
        display: none;
    }
    .footer-copyright .produced-by {
        display: block;
        margin-top: 8px;
    }
}
/* Star Glitter / Sparkle Glint */
.logo-sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    /* Use radial-gradient instead of clip-path to avoid mobile "square" artifacts */
    background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.8) 20%, transparent 70%);
    box-shadow: 0 0 15px #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 12;
    will-change: transform, opacity;
}

/* Also add a cross-shape to make it look more like a star without clip-path */
.logo-sparkle::before,
.logo-sparkle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.logo-sparkle::before { width: 100%; height: 2px; }
.logo-sparkle::after { width: 2px; height: 100%; }


/* Core Members - Image Fix for Profile */
.core-member img {
    display: block !important;
}




/* 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);
}

/* Flashy Hero Animations */
.animate-title {
    animation: trackIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, titleGlow 4s linear infinite alternate 1.5s;
    opacity: 0;
}

.animate-subtitle {
    animation: slideUpFade 1s ease forwards 0.8s;
    opacity: 0;
}

.animate-copy {
    animation: slideUpFade 1s ease forwards 1.2s;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes trackIn {
    0% { letter-spacing: 0.5em; opacity: 0; transform: scale(1.1) translateY(-20px); filter: blur(5px); }
    100% { letter-spacing: 0; opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(255,255,255,0.2), 0 0 20px rgba(229,9,20,0.2); }
    100% { text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(229,9,20,0.6), 0 0 80px rgba(229,9,20,0.4); }
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 5px 25px rgba(0,0,0,0.5), 0 0 0 rgba(229,9,20,0); }
    100% { box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 40px rgba(229,9,20,0.3); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        justify-content: space-between;
        padding: 1rem 1.5rem; /* Reset padding for mobile to keep logo/menu at edges */
    }

    .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;
}

/* Premium Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 0, 224, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 35px rgba(255, 0, 224, 0.8);
}

.back-to-top svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Inline Form Feedback */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: none;
}

.form-status.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.form-status.success {
    background: rgba(0, 255, 128, 0.1);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.3);
}

.form-status.error {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}