:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00f2ff;
    --secondary-color: #ff00ea;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at bottom, #090A0F 0%, #000000 100%);
    overflow: hidden;
}

.stars-background::before,
.stars-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent;
}

/* 小さな星 (超高密度・多階調) */
.stars-background::before {
    box-shadow:
        10vw 20vh #eee, 35vw 45vh #666, 60vw 10vh #999, 85vw 80vh #555, 15vw 90vh #ccc,
        40vw 15vh #777, 70vw 60vh #bbb, 95vw 30vh #444, 25vw 55vh #ddd, 50vw 85vh #888,
        05vw 10vh #aaa, 22vw 33vh #555, 44vw 55vh #ccc, 66vw 77vh #666, 88vw 11vh #eee,
        12vw 88vh #777, 32vw 65vh #aaa, 52vw 42vh #555, 72vw 21vh #ccc, 92vw 05vh #888,
        02vw 95vh #eee, 18vw 25vh #444, 38vw 50vh #bbb, 58vw 75vh #666, 78vw 05vh #ccc,
        98vw 40vh #888, 08vw 70vh #eee, 28vw 15vh #444, 48vw 35vh #ccc, 68vw 85vh #777,
        03vw 22vh #bbb, 13vw 42vh #666, 23vw 62vh #eee, 33vw 82vh #555, 43vw 02vh #aaa,
        53vw 32vh #444, 63vw 52vh #ccc, 73vw 72vh #888, 83vw 92vh #eee, 93vw 12vh #666,
        07vw 97vh #aaa, 17vw 77vh #555, 27vw 57vh #bbb, 37vw 37vh #444, 47vw 17vh #eee,
        57vw 07vh #777, 67vw 27vh #ccc, 77vw 47vh #888, 87vw 67vh #aaa, 97vw 87vh #555,
        15vw 15vh #eee, 25vw 25vh #444, 35vw 35vh #bbb, 45vw 45vh #666, 55vw 55vh #ccc,
        65vw 65vh #888, 75vw 75vh #eee, 85vw 85vh #444, 95vw 95vh #ccc, 05vw 05vh #777,
        12vw 52vh #aaa, 22vw 72vh #555, 32vw 92vh #ccc, 42vw 12vh #666, 52vw 32vh #eee,
        62vw 52vh #444, 72vw 72vh #bbb, 82vw 92vh #888, 92vw 12vh #ccc, 02vw 32vh #777;
    width: 1px;
    height: 1px;
    animation: stars-move-slow 250s linear infinite;
}

/* 少し大きめの星 (中密度・多階調・点滅) */
.stars-background::after {
    box-shadow:
        5vw 85vh #fff, 25vw 15vh #777, 45vw 60vh #eee, 65vw 10vh #666, 85vw 45vh #bbb,
        15vw 35vh #999, 35vw 90vh #fff, 55vw 25vh #444, 75vw 80vh #ccc, 95vw 55vh #888,
        10vw 05vh #eee, 30vw 25vh #555, 50vw 50vh #bbb, 70vw 75vh #666, 90vw 95vh #fff,
        20vw 40vh #ccc, 40vw 10vh #444, 60vw 80vh #eee, 80vw 30vh #777, 05vw 60vh #999,
        12vw 22vh #fff, 32vw 42vh #555, 52vw 62vh #eee, 72vw 82vh #666, 92vw 02vh #bbb,
        02vw 12vh #999, 22vw 32vh #fff, 42vw 52vh #444, 62vw 72vh #ccc, 82vw 92vh #888;
    width: 2px;
    height: 2px;
    animation: stars-move-fast 150s linear infinite, stars-blink 6s ease-in-out infinite alternate;
}

@keyframes stars-move-slow {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100vh);
    }
}

@keyframes stars-move-fast {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100vh);
    }
}

@keyframes stars-blink {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.2;
    }
}

/* Bright Stars (Spica-style) */
.stars-spica {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.stars-spica::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent;
    box-shadow:
        15vw 15vh 1px 1px #b3d9ff,
        45vw 65vh 1px 0.5px #b3d9ff,
        75vw 25vh 1px 1.5px #b3d9ff,
        85vw 85vh 1px 0.5px #b3d9ff,
        25vw 75vh 1px 1px #b3d9ff,
        60vw 40vh 1px 1.5px #b3d9ff;
    width: 2px;
    height: 2px;
    /* Adjusted Glow effect for smaller size */
    filter: drop-shadow(0 0 6px rgba(179, 217, 255, 0.8)) drop-shadow(0 0 12px rgba(179, 217, 255, 0.4));
    /* Match white stars movement (fast layer: 150s) */
    animation: stars-move-fast 150s linear infinite, stars-blink-spica 8s ease-in-out infinite alternate;
}

@keyframes stars-blink-spica {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

.glass-morphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

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

.glitch-text {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    background: linear-gradient(to bottom, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Sections */
.section {
    padding: 100px 10%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Music Section */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

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

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* News Section */
.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.news-list {
    list-style: none;
}

.news-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.news-item:hover .news-title {
    color: var(--accent-color);
}

.news-detail {
    display: none;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
    white-space: pre-wrap;
    word-break: break-all;
    animation: fadeIn 0.4s ease;
}

.news-detail a {
    color: var(--accent-color);
    text-decoration: underline;
}

.news-toggle-btn {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    color: var(--accent-color);
    cursor: pointer;
    border: 1px dashed var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.news-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    letter-spacing: 1px;
}

/* About Section */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

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

.member-card {
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.member-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.member-card:hover .member-img {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.member-sns-link {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-left: 10px;
    vertical-align: middle;
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
    display: inline-block;
}

.member-sns-link:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
    opacity: 0.6;
    border-top: 1px solid var(--glass-border);
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.sns-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.sns-links a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

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

@media (max-width: 768px) {
    .glitch-text {
        font-size: 3rem;
    }
}

/* Goods Section */
.goods-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.goods-content p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.goods-images-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.goods-card {
    width: 280px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.goods-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.goods-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.goods-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00f2ff, #ff00ea);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.goods-btn i {
    margin-right: 10px;
}

.goods-btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(255, 0, 234, 0.3);
}

/* Contact Form */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}

.contact-lead {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.submit-btn {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Form Status Messages */
.form-status {
    margin-top: 1.5 srem;
    text-align: center;
    font-weight: 600;
}

.success-msg {
    color: #00ff88;
    animation: fadeIn 0.5s ease;
}

.error-msg {
    color: #ff4444;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem;
        gap: 3rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

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

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}