:root {
    --c-bg: #0b0a10;
    --c-bg-light: #15131c;
    --c-red: #c9171e;
    --c-red-dark: #8b0000;
    --c-gold: #d4af37;
    --c-gold-dim: #aa8c2c;
    --c-text: #e0e0e0;
    --c-text-dim: #a0a0a0;
    --font-ja: 'Noto Serif JP', serif;
    --font-en: 'Cinzel', serif;
    --transition-standard: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-ja);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Screen Reader Only (SEO text hiding) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

h1,
h2,
h3,
.cinzel-text {
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

/* Background Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Section Common */
.section {
    position: relative;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 3rem;
    color: var(--c-gold);
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    border-bottom: 2px solid var(--c-red-dark);
    display: inline-block;
    padding-bottom: 10px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(30, 20, 20, 0) 0%, var(--c-bg) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 90%;
    width: 800px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(201, 23, 30, 0.5));
    animation: float 6s ease-in-out infinite;
}

.catchphrase {
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--c-gold);
    font-family: var(--font-en);
    letter-spacing: 0.3em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    color: var(--c-text-dim);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--c-red), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* SNS Links */
.sns-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--c-gold);
    transition: var(--transition-standard);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.sns-icon:hover {
    background: rgba(201, 23, 30, 0.2);
    color: var(--c-red);
    border-color: var(--c-red);
    transform: translateY(-5px);
}

.sns-icon svg {
    width: 24px;
    height: 24px;
}

/* Concept Section */
#concept {
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="none" stroke="%23c9171e" stroke-width="0.5" stroke-opacity="0.1"/></svg>') repeat;
}

.concept-text {
    font-size: 1.2rem;
    line-height: 2.2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.concept-text p {
    margin-bottom: 1em;
}

/* Members Section */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.member-card {
    background: var(--c-bg-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-standard);
    overflow: hidden;
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-red), transparent);
    transform: scaleX(0);
    transition: var(--transition-standard);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(201, 23, 30, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #000;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2);
    transition: var(--transition-standard);
}

.member-card:hover .member-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.8rem;
    color: var(--c-gold);
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.9rem;
    color: var(--c-red);
    font-family: var(--font-en);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.member-desc {
    font-size: 0.9rem;
    color: var(--c-text-dim);
    line-height: 1.8;
}

/* Discography Section */
.discography-item {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jacket-wrapper {
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(201, 23, 30, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.jacket-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-standard);
}

.jacket-wrapper:hover .jacket-img {
    transform: scale(1.05);
}

.album-info {
    text-align: center;
    margin-bottom: 30px;
}

.album-title {
    font-size: 2.5rem;
    color: var(--c-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-subtitle {
    font-size: 1rem;
    font-family: var(--font-en);
    color: var(--c-red);
    margin-top: 5px;
}

.album-link {
    color: var(--c-gold);
    text-decoration: none;
    transition: var(--transition-standard);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.album-link::after {
    content: '▶';
    font-size: 1.2rem;
    color: var(--c-red);
    transition: var(--transition-standard);
}

.album-link:hover {
    color: var(--c-text);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.album-link:hover::after {
    transform: translateX(5px);
    color: var(--c-gold);
}

.album-desc {
    margin-top: 15px;
    color: var(--c-text-dim);
}

/* Audio Player */
.audio-player-container {
    background: var(--c-bg-light);
    border: 1px solid rgba(201, 23, 30, 0.3);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.current-track-info {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--c-gold);
    font-weight: bold;
    min-height: 1.8em;
}

.custom-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.control-btn {
    background: var(--c-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
}

.control-btn:hover {
    background: var(--c-red-dark);
    transform: scale(1.1);
}

.progress-bar-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--c-red), var(--c-gold));
    border-radius: 3px;
    width: 0%;
    pointer-events: none;
}

.time-display {
    font-size: 0.9rem;
    font-family: var(--font-en);
    min-width: 90px;
    text-align: right;
}

.track-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

/* Custom Scrollbar */
.track-list::-webkit-scrollbar {
    width: 8px;
}

.track-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.track-list::-webkit-scrollbar-thumb {
    background: var(--c-red-dark);
    border-radius: 4px;
}

.track-list li {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition-standard);
    color: var(--c-text-dim);
}

.track-list li:hover {
    background: rgba(201, 23, 30, 0.1);
    color: var(--c-gold);
    padding-left: 30px;
}

.track-list li.playing {
    background: rgba(212, 175, 55, 0.1);
    color: var(--c-gold);
    border-left: 3px solid var(--c-red);
    padding-left: 27px;
    font-weight: bold;
}

.furigana {
    font-size: 0.8rem;
    color: var(--c-text-dim);
    margin-left: 10px;
    opacity: 0.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--c-text-dim);
}

/* Fade In Animation for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .custom-controls {
        flex-direction: column;
    }

    .time-display {
        text-align: center;
    }
}