/* DANCE STUDIO NEO — HP Styles: Red × Black Street Theme */
:root {
    --red: hsl(0, 85%, 50%);
    --red-bright: hsl(5, 100%, 58%);
    --red-dark: hsl(0, 70%, 35%);
    --glow-red: hsla(0, 100%, 50%, 0.35);
    --glow-red-soft: hsla(0, 100%, 50%, 0.12);
    --gold: hsl(42, 85%, 55%);
    --bg-1: hsl(0, 0%, 4%);
    --bg-2: hsl(0, 5%, 7%);
    --bg-3: hsl(0, 3%, 10%);
    --surface: hsla(0, 5%, 12%, 0.8);
    --surface-hover: hsla(0, 5%, 16%, 0.9);
    --surface-glass: hsla(0, 5%, 14%, 0.6);
    --border: hsla(0, 10%, 25%, 0.3);
    --text: hsl(0, 0%, 95%);
    --text-sec: hsl(0, 5%, 70%);
    --text-muted: hsl(0, 3%, 45%);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-en: 'Outfit', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: var(--font-jp);
    background: var(--bg-1);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all .3s
}

.header.scrolled {
    background: hsla(0, 0%, 4%, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .1em
}

.logo-main {
    color: var(--text)
}

.logo-accent {
    color: var(--red-bright);
    text-shadow: 0 0 20px var(--glow-red)
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px
}

.nav-link {
    font-family: var(--font-en);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--text-sec);
    transition: color .2s
}

.nav-link:hover {
    color: var(--text)
}

.nav-cta {
    color: #fff !important;
    background: var(--red);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: .78rem;
    transition: all .3s
}

.nav-cta:hover {
    background: var(--red-bright);
    box-shadow: 0 4px 20px var(--glow-red)
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all .3s;
    border-radius: 2px
}

@media(max-width:768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        background: hsla(0, 0%, 6%, .97);
        backdrop-filter: blur(20px);
        transition: right .4s cubic-bezier(.4, 0, .2, 1)
    }

    .nav.open {
        right: 0
    }

    .nav-link {
        font-size: 1.1rem
    }

    .menu-toggle {
        display: flex
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px)
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .4
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, hsla(0, 0%, 0%, .7) 0%, hsla(0, 0%, 0%, .4) 40%, hsla(0, 0%, 0%, .8) 100%)
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: repeating-linear-gradient(90deg, hsla(0, 0%, 100%, .02) 0px, transparent 1px, transparent 80px), repeating-linear-gradient(0deg, hsla(0, 0%, 100%, .02) 0px, transparent 1px, transparent 80px)
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: hsla(0, 100%, 40%, .12);
    top: -10%;
    right: -10%;
    animation: glowPulse 6s ease-in-out infinite
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: hsla(0, 100%, 50%, .06);
    bottom: -5%;
    left: -5%;
    animation: glowPulse 8s ease-in-out infinite 2s
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .6
    }

    50% {
        transform: scale(1.2);
        opacity: 1
    }
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
    animation: pFloat 5s ease-in-out infinite;
    z-index: 3
}

.p1 {
    top: 15%;
    left: 20%;
    animation-duration: 4.2s
}

.p2 {
    top: 35%;
    left: 80%;
    animation-delay: .8s;
    animation-duration: 5.5s
}

.p3 {
    top: 60%;
    left: 10%;
    animation-delay: 1.5s;
    animation-duration: 4.8s
}

.p4 {
    top: 75%;
    left: 65%;
    animation-delay: 2.2s
}

.p5 {
    top: 25%;
    left: 55%;
    animation-delay: 3s;
    animation-duration: 4.5s;
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold)
}

.p6 {
    top: 85%;
    left: 40%;
    animation-delay: 1s;
    animation-duration: 5.2s
}

@keyframes pFloat {

    0%,
    100% {
        opacity: .2;
        transform: translateY(0) scale(.7)
    }

    50% {
        opacity: 1;
        transform: translateY(-25px) scale(1.3)
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px
}

.hero-tag {
    font-family: var(--font-en);
    font-size: .72rem;
    letter-spacing: .2em;
    color: var(--text-muted);
    margin-bottom: 24px
}

.hero-title {
    margin-bottom: 24px
}

.title-line {
    display: block;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: .05em;
    line-height: 1.05;
    color: var(--text)
}

.title-accent {
    color: var(--red-bright);
    text-shadow: 0 0 40px var(--glow-red), 0 0 80px hsla(0, 100%, 50%, .15);
    filter: drop-shadow(0 0 30px var(--glow-red))
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-sec);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: .1em
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3
}

.hero-scroll span {
    font-family: var(--font-en);
    font-size: .65rem;
    letter-spacing: .2em;
    color: var(--text-muted)
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--red), transparent);
    animation: scrollPulse 2s ease-in-out infinite
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .3;
        height: 30px
    }

    50% {
        opacity: 1;
        height: 50px
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: .9rem;
    font-weight: 700;
    font-family: var(--font-jp);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all .3s;
    text-decoration: none
}

.btn-primary {
    color: #fff;
    background: var(--red);
    box-shadow: 0 4px 20px var(--glow-red)
}

.btn-primary:hover {
    background: var(--red-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-red)
}

.btn-ghost {
    color: var(--text-sec);
    background: none;
    border: 1px solid var(--border)
}

.btn-ghost:hover {
    color: var(--text);
    border-color: hsla(0, 0%, 50%, .4);
    background: hsla(0, 0%, 100%, .03)
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem
}

.btn-sm {
    padding: 10px 24px;
    font-size: .82rem
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0
}

.section-header {
    text-align: center;
    margin-bottom: 56px
}

.section-tag {
    font-family: var(--font-en);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--red);
    display: block;
    margin-bottom: 12px
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px
}

.about-card {
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s
}

.about-card:hover {
    border-color: hsla(0, 80%, 50%, .3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px hsla(0, 80%, 50%, .08)
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 16px
}

.about-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px
}

.about-card p {
    font-size: .85rem;
    color: var(--text-sec);
    line-height: 1.8
}

/* ===== CLASSES ===== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px
}

.class-card {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s;
    position: relative;
    overflow: hidden
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .3s;
    transform-origin: left
}

.class-card:hover::before {
    transform: scaleX(1)
}

.class-card:hover {
    border-color: hsla(0, 80%, 50%, .25);
    transform: translateY(-4px)
}

.class-badge {
    font-family: var(--font-en);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--red);
    background: hsla(0, 80%, 50%, .1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 12px
}

.class-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px
}

.class-card p {
    font-size: .85rem;
    color: var(--text-sec);
    margin-bottom: 16px;
    line-height: 1.7
}

.class-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .78rem;
    color: var(--text-muted)
}

.class-card-cta {
    border-color: hsla(0, 80%, 50%, .3);
    background: hsla(0, 80%, 50%, .05)
}

.class-card-cta:hover {
    background: hsla(0, 80%, 50%, .1)
}

/* ===== STAFF ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px
}

.staff-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s
}

.staff-card:hover {
    border-color: hsla(0, 80%, 50%, .25);
    transform: translateY(-3px)
}

.staff-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border)
}

.staff-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.staff-info {
    flex: 1;
    min-width: 0
}

.staff-info h3 {
    font-size: 1rem;
    margin-bottom: 4px
}

.staff-genre {
    font-family: var(--font-en);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--red);
    display: block;
    margin-bottom: 8px
}

.staff-info p {
    font-size: .82rem;
    color: var(--text-sec);
    line-height: 1.7
}

/* ===== SCHEDULE ===== */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap
}

.tab-btn {
    font-family: var(--font-jp);
    font-size: .9rem;
    font-weight: 700;
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: none;
    color: var(--text-sec);
    cursor: pointer;
    transition: all .25s
}

.tab-btn:hover {
    color: var(--text);
    border-color: hsla(0, 0%, 50%, .4)
}

.tab-btn.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 4px 16px var(--glow-red)
}

.schedule-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    min-height: 200px
}

.schedule-slot {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border)
}

.schedule-slot:last-child {
    border-bottom: none
}

.slot-time {
    font-family: var(--font-en);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-sec);
    min-width: 140px
}

.slot-class {
    font-size: .92rem;
    font-weight: 600
}

.slot-instructor {
    font-size: .78rem;
    color: var(--text-muted);
    margin-left: auto
}

.schedule-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted)
}

.schedule-note {
    text-align: center;
    margin-top: 24px
}

/* ===== DIAGNOSIS CTA ===== */
.diagnosis-cta {
    padding: 60px 0
}

.diagnosis-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, hsla(0, 80%, 50%, .1), hsla(0, 60%, 30%, .05));
    border: 1px solid hsla(0, 80%, 50%, .2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden
}

.diagnosis-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, hsla(0, 100%, 50%, .06), transparent 60%);
    pointer-events: none
}

.diagnosis-content {
    flex: 1;
    position: relative
}

.diagnosis-tag {
    font-size: .85rem;
    color: var(--red);
    font-weight: 700;
    display: block;
    margin-bottom: 12px
}

.diagnosis-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px
}

.diagnosis-content p {
    font-size: .9rem;
    color: var(--text-sec);
    margin-bottom: 24px;
    line-height: 1.8
}

.diagnosis-visual {
    flex-shrink: 0;
    position: relative
}

.diagnosis-emoji {
    font-size: 5rem;
    display: block;
    animation: danceBounce 2.5s ease-in-out infinite
}

@keyframes danceBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    25% {
        transform: translateY(-8px) rotate(-5deg)
    }

    50% {
        transform: translateY(0) rotate(5deg)
    }

    75% {
        transform: translateY(-5px) rotate(-3deg)
    }
}

@media(max-width:640px) {
    .diagnosis-card {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center
    }

    .diagnosis-visual {
        order: -1
    }
}

/* ===== ACCESS ===== */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start
}

@media(max-width:768px) {
    .access-grid {
        grid-template-columns: 1fr
    }
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.access-item {
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px
}

.access-label {
    font-family: var(--font-en);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--red);
    display: block;
    margin-bottom: 6px
}

.access-item p {
    font-size: .88rem;
    color: var(--text-sec);
    line-height: 1.7
}

.access-item a {
    color: var(--text);
    transition: color .2s;
    border-bottom: 1px solid var(--border)
}

.access-item a:hover {
    color: var(--red-bright);
    border-color: var(--red)
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 0
}

.contact-card {
    text-align: center;
    padding: 56px 32px;
    background: linear-gradient(180deg, hsla(0, 80%, 50%, .08), var(--surface));
    border: 1px solid hsla(0, 80%, 50%, .2);
    border-radius: var(--radius-lg)
}

.contact-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 12px
}

.contact-card p {
    font-size: .95rem;
    color: var(--text-sec);
    margin-bottom: 32px
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border)
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center
}

.footer-logo {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .1em;
    display: flex;
    gap: 6px
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: .8rem
}

.footer-links a {
    color: var(--text-muted);
    transition: color .2s
}

.footer-links a:hover {
    color: var(--text)
}

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

@media(max-width:480px) {
    .section {
        padding: 60px 0
    }

    .hero-actions {
        flex-direction: column;
        align-items: center
    }
}