:root {
    --pink-accent: #d6488a;
    --bg-main: #000000;
    --bg-soft: #161616;
    --text-main: #ffffff;
    --text-muted: #d6488a;
}

/* =========================
   GLOBAL
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    position: relative;
    animation: pageFadeIn 0.35s ease;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #000000 62%, rgba(150, 145, 150, 0.28) 100%);
    pointer-events: none;
    z-index: -1;
    animation: framePulse 6s ease-in-out infinite;
}

@keyframes framePulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(190, 185, 190, 0.14) 0%, rgba(190, 185, 190, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    animation: smokeDrift 18s linear infinite;
}

@keyframes smokeDrift {
    0% {
        transform: translateX(-60vw);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    50% {
        transform: translateX(60vw);
        opacity: 0.8;
    }
    85% {
        opacity: 0;
    }
    100% {
        transform: translateX(160vw);
        opacity: 0;
    }
}

body.no-ambient-glow::before,
body.no-ambient-glow::after {
    animation: none;
    opacity: 0;
}

.wind-quote {
    position: fixed;
    top: 50%;
    left: 0;
    width: 55vw;
    margin-top: -0.6em;
    text-align: center;
    transform: translateX(-60vw);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.22);
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    will-change: transform, opacity;
    -webkit-font-smoothing: antialiased;
}

.wind-quote.drift {
    animation: smokeDrift 18s linear;
}

.rain-overlay {
    position: fixed;
    inset: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.raindrop {
    position: absolute;
    top: -120px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(190, 205, 225, 0.6));
    transform: rotate(8deg);
    animation-name: rainFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes rainFall {
    to {
        transform: translateY(115vh) rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    body::before,
    body::after {
        animation: none;
    }

    .wind-quote {
        display: none;
    }

    .slogan {
        animation: none;
        color: #383838;
    }

    .rain-overlay {
        display: none;
    }
}

.go-back {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);


    padding: 12px 18px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;

    color: var(--text-main);
    background: linear-gradient(135deg, #d6488a, #000000);
    text-decoration: none;

    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(214, 72, 138, 0.35);

    z-index: 300;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.go-back:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 10px 28px rgba(214, 72, 138, 0.55);
}

.rain-overlay + * {
    padding-top: 150px;
}

.dainsleif-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 90vh;
    padding-bottom: 60px;
    text-align: center;
}

.dainsleif-placeholder-text {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    max-width: 900px;
}

.dainsleif-placeholder-img {
    max-width: 480px;
    width: 85vw;
    border-radius: 14px;
    border: 2px solid var(--text-main);
}

/* =========================
   SLIDER
========================= */
.slider-wrapper {
    padding-top: 90px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Высота слайдера */
    overflow: hidden;
    background-color: #000;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Плавность смены */
    z-index: 1;

}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-duo {
    display: flex;
    background-image: none;
}

.slide-duo-half {
    flex: 1 1 50%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.slide-duo-divider {
    width: 2px;
    height: 100%;
    flex-shrink: 0;
    background-color: var(--text-main);
    opacity: 0.25;
}

/* Заголовок поверх слайдера */
.slider-title {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 100%;
}

.slider-title h1 {
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Точки навигации */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--pink-accent);
}



.neon-text {
    text-align: center;
    margin: 60px auto 10px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #ffffff,
        0 0 22px #ffffff,
        0 0 40px rgba(255, 255, 255, 0.7);
}

.beta-notice {
    color: #777777;
    text-shadow: none;
}

/* =========================
   FLOATING NAV
========================= */
.floating-nav {
    position: fixed;
    top: 24px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 36px;
    z-index: 100;
}

.floating-nav a {
    font-size: 1.15rem; /* увеличили */
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.8);
    padding: 6px 14px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.floating-nav a:hover {
    color: var(--pink-accent);
    transform: translateY(-2px);
    text-shadow: 0 0 14px rgba(214, 72, 138, 0.7);
    background-color: #000000;
    border-color: #8c3a3a;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 14px;

    display: none;
    flex-direction: column;
    gap: 10px;

    min-width: 160px;
    z-index: 150;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    text-align: center;
    white-space: nowrap;
}

.slogan {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 90;

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    color: #141414;
    pointer-events: none;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.8);

    animation: sloganPulse 7s ease-in-out infinite;
}

@keyframes sloganPulse {
    0%, 100% {
        color: #141414;
    }
    50% {
        color: #5c5c5c;
    }
}

.floating-brand {
    position: fixed;
    top: 24px;
    left: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    text-decoration: none;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.8);
    padding: 6px 14px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    z-index: 100;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        text-shadow 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.floating-brand:hover {
    color: var(--pink-accent);
    transform: translateY(-2px);
    text-shadow: 0 0 14px rgba(214, 72, 138, 0.7);
    background-color: #000000;
    border-color: #8c3a3a;
}


/* =========================
   INTRO (Name under header)
========================= */
.intro {
    text-align: center;
    padding: 60px 20px 40px;
}

.intro h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================
   HERO
========================= */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.hero--top-align {
    justify-content: flex-start;
    min-height: 90vh;
}

.hero-item {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-main);
    text-decoration: none;
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.hero-item:hover {
    color: var(--pink-accent);
    transform: scale(1.05);
    letter-spacing: 6px;
    text-shadow: 0 0 18px rgba(214, 72, 138, 0.7);
}

.hero-item--dainsleif {
    color: #1e3a63;
}

.hero-item--dainsleif:hover {
    color: #f0b400;
    transform: none;
    letter-spacing: 3px;
    text-shadow: 0 0 18px rgba(240, 180, 0, 0.85);
}

.hero-item--mot {
    color: #1e3a63;
}

.hero-item--mot:hover {
    color: #000000;
    text-shadow: none;
}

.hero-item-disabled {
    color: #777777;
    cursor: default;
    pointer-events: none;
}

.hero-item-disabled:hover {
    color: #777777;
    transform: none;
    letter-spacing: 3px;
    text-shadow: none;
}

.hero-item-push-down {
    margin-top: 30px;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 500px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    margin: 10px 0;
}

/* =========================
   PROJECT BLOCK + PROGRESS
========================= */
.project-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.project-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--text-main);
    background-color: var(--bg-soft);
    flex-shrink: 0;
}

.project-thumb-spacer {
    width: 90px;
    height: 90px;
    visibility: hidden;
    flex-shrink: 0;
}

.project-block .description {
    margin: 0;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.project-block--blue .description {
    color: #1e3a63;
}

.project-block--blue .progress-bar {
    border-color: #1e3a63;
}

.project-block--blue .progress-fill {
    background-color: #1e3a63;
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    width: 240px;
    max-width: 60vw;
    height: 16px;
    background-color: var(--bg-soft);
    border: 2px solid var(--text-main);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--pink-accent);
    transition: width 0.4s ease;
}

.progress-percent {
    font-weight: 700;
    font-size: 1.05rem;
    min-width: 46px;
}

/* =========================
   NAV GROUP (card links)
========================= */
.full-divider {
    width: 100%;
    height: 2px;
    margin: 0;
    background-color: var(--text-main);
    opacity: 0.25;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-label {
    margin: 0 0 4px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffd93d;
}

.current-project-layout {
    position: relative;
    width: 100%;
    max-width: 1900px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.current-project-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 140px;
    width: 100%;
}

.note-box {
    position: absolute;
    right: 20px;
    top: 0;
    width: 280px;
    padding: 24px 26px;
    border: 2px solid var(--text-main);
    border-radius: 14px;
    background-color: var(--bg-soft);
}

.note-box h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

@media (max-width: 1000px) {
    .note-box {
        position: static;
        transform: none;
        width: 100%;
        max-width: 400px;
        margin: 10px auto 0;
    }

    .project-row {
        justify-content: center;
        gap: 50px;
    }
}

.note-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
}

@media (max-width: 700px) {
    .note-box--toggle {
        position: fixed;
        top: 14px;
        left: 14px;
        right: auto;
        display: inline-flex;
        width: auto;
        max-width: none;
        padding: 10px 22px;
        cursor: pointer;
        border: none;
        border-radius: 10px;
        background-color: transparent;
        overflow: hidden;
        z-index: 120;
    }

    .note-box--toggle h3 {
        margin: 0;
        color: var(--pink-accent);
    }

    .note-box--toggle::before {
        content: "";
        position: absolute;
        inset: -60%;
        background: conic-gradient(
            from 0deg,
            transparent 0%,
            var(--pink-accent) 10%,
            transparent 22%
        );
        animation: cosbandsBeam 3s linear infinite;
        z-index: -2;
    }

    .note-box--toggle::after {
        content: "";
        position: absolute;
        inset: 3px;
        background-color: #000000;
        border-radius: 7px;
        z-index: -1;
    }

    .note-modal {
        position: fixed;
        inset: 0;
        z-index: 500;
        display: none;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 20px;
    }

    .note-modal.open {
        display: flex;
    }

    .note-modal-box {
        position: relative;
        max-width: 400px;
        width: 100%;
        padding: 40px 30px;
        background-color: var(--bg-soft);
        border: 2px solid var(--text-main);
        border-radius: 18px;
        text-align: center;
    }

    .note-modal-box h3 {
        margin: 0 0 12px;
        font-size: 1.2rem;
        font-weight: 800;
        letter-spacing: 1px;
        color: var(--text-main);
    }

    .note-modal-box p {
        margin: 0;
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-main);
        opacity: 0.9;
    }

    .note-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 34px;
        height: 34px;
        border: 2px solid var(--text-main);
        border-radius: 50%;
        background: none;
        color: var(--text-main);
        font-size: 1rem;
        cursor: pointer;
        transition: border-color 0.25s ease, color 0.25s ease;
    }

    .note-modal-close:hover {
        border-color: var(--pink-accent);
        color: var(--pink-accent);
    }
}

.nav-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    margin: 10px auto;
    padding: 30px 40px;

    max-width: 900px;
    border: 2px solid var(--text-main);
    border-radius: 14px;
    background-color: var(--bg-soft);
}

.nav-card {
    flex: 1 1 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 20px;

    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    text-decoration: none;

    border: 2px solid var(--text-main);
    border-radius: 10px;
    background-color: var(--bg-main);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.nav-card:hover {
    color: var(--pink-accent);
    border-color: var(--pink-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
}

.nav-group--wide {
    max-width: 1400px;
    padding: 40px 70px;
    background-color: #0a0a12;
}

.nav-group--wide .nav-card {
    flex: 1 1 220px;
    padding: 26px 24px;
    font-size: 1.8rem;
}

/* =========================
   NEWS
========================= */
.news-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;

    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 150px 20px 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 320px;
    max-width: 400px;
}

.news-card {
    position: relative;
    padding: 26px 28px;

    border: 2px solid var(--text-main);
    border-radius: 14px;
    background-color: var(--bg-soft);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;

    animation: newsGlow 3s ease-in-out infinite;
}

.news-item:nth-child(2) .news-card {
    animation-delay: 1s;
}

.news-item:nth-child(3) .news-card {
    animation-delay: 2s;
}

@keyframes newsGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(155, 89, 255, 0.15);
        border-color: rgba(155, 89, 255, 0.35);
    }
    50% {
        box-shadow: 0 0 24px rgba(155, 89, 255, 0.65);
        border-color: rgba(155, 89, 255, 0.9);
    }
}

.news-card:hover {
    animation-play-state: paused;
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
    transform: translateY(-4px);
}

.news-warning {
    position: absolute;
    top: -14px;
    right: -14px;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.news-date {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--pink-accent);
}

.news-date-underline {
    width: 40px;
    height: 2px;
    margin: 10px 0 16px;
    background-color: var(--pink-accent);
    opacity: 0.6;
}

.news-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
}

.news-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pink-accent);
    cursor: pointer;
}

.news-toggle-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.news-item.news-open .news-toggle-arrow {
    transform: rotate(180deg);
}

.news-reveal {
    padding: 0 28px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        padding-top 0.4s ease;
}

.news-item.news-open .news-reveal {
    max-height: 200px;
    opacity: 1;
    padding-top: 14px;
    pointer-events: auto;
}

.news-extra {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.85;
}

/* =========================
   REVEAL TEXT (light-sweep)
========================= */
.reveal-text {
    background: radial-gradient(
        ellipse 220px 700px at var(--rx, 50%) var(--ry, 50%),
        #fff 0%,
        #fff 20%,
        rgba(0, 0, 0, 0.6) 60%,
        #000 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

.mot-center {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mot-footer-note {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto 60px;
    padding: 0 20px;
    text-align: center;
}

/* =========================
   CURRENTLY BOX
========================= */
.currently-wrap {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.currently-box {
    display: inline-block;
    max-width: 420px;
    padding: 26px 30px;
    background-color: #000000;
    border: 2px solid rgba(214, 190, 60, 0.3);
    border-radius: 14px;
}

.currently-box h3 {
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.currently-box ul {
    margin: 0;
    padding-left: 20px;
    color: #ffffff;
}

.currently-box li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.currently-box li:last-child {
    margin-bottom: 0;
}

/* =========================
   CONTENT FRAME
========================= */
.content-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;

    margin: 20px auto;
    padding: 30px 50px;
    max-width: 900px;

    border: 2px solid var(--text-main);
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.content-frame--small {
    gap: 14px;
    padding: 20px 30px;
    max-width: 640px;
}

.content-frame h1 {
    margin: 0;
}

.frame-header {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--text-main);
}

/* =========================
   SOCIAL BAR
========================= */
.social-bar {
    position: fixed;
    left: 0;
    bottom: 20px;
    z-index: 200;

    display: flex;
    flex-direction: column;

    background-color: var(--pink-accent);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #000000;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-bar a:hover {
    background-color: #000000;
    color: var(--pink-accent);
}

@media (max-width: 768px) {
    .social-bar a {
        width: 38px;
        height: 38px;
    }

    .social-bar svg {
        width: 17px;
        height: 17px;
    }
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    color: #99999962;
    background-color: #00000083;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .header {
        padding: 20px;
    }

    .header-nav {
        position: static;
        margin-top: 15px;
    }

    .intro h1 {
        font-size: 2.4rem;
    }

    .hero-item {
        font-size: 2.8rem;
    }
}


.page-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto;
}

/* =========================
   PROFILE (about.html)
========================= */
.profile-avatar {
    display: block;
    width: 260px;
    height: auto;
    margin: 150px auto 0;
    padding-top: 0;
    border-radius: 14px;
    border: 3px solid #2b2b2b;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
}

.profile-section {
    max-width: 1350px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.profile-bio-box {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 0 20px;
    text-align: center;
}

.profile-bio-title {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #732fda;
}

.profile-bio-box .description {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
}

.profile-bio-box .description:last-child {
    margin-bottom: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 16px;
}

.profile-field {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 2px solid var(--text-main);
    border-radius: 10px;
}

.profile-field-label {
    display: flex;
    align-items: center;
    flex: 0 0 46%;
    padding: 12px 16px;
    background-color: #000000;
    color: #b4145f;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.profile-field-value {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 12px 16px;
    background-color: var(--bg-soft);
    color: var(--text-main);
    font-size: 0.95rem;
}

.profile-field-toggle {
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-field-toggle .profile-field-label {
    flex: 1;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 22px 16px;
}

.profile-field-toggle:hover {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.3);
}

.profile-field-arrow {
    display: inline-block;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.profile-field-toggle.open .profile-field-arrow {
    transform: rotate(180deg);
}

/* =========================
   PERFORMANCES NOTE
========================= */
.performances-note-wrap {
    max-width: 1800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.performances-note-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--pink-accent);
}

.performances-note-toggle.open .profile-field-arrow {
    transform: rotate(180deg);
}

.performances-note-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        margin-top 0.4s ease;
}

.performances-note-reveal.open {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.performances-note-reveal p {
    margin: 0;
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.85;
}

/* =========================
   COSBANDS
========================= */
.cosbands-wrap {
    position: fixed;
    top: 170px;
    right: 260px;
    z-index: 150;
    text-align: center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.cosbands-note {
    margin: 100px 0 0;
    font-size: 1rem;
    color: var(--text-main);
    opacity: 0.8;
    white-space: nowrap;
}

.cosbands-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #39ff6a;
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
    transition: opacity 0.25s ease;
}

.cosbands-toggle::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        #39ff6a 10%,
        transparent 22%
    );
    animation: cosbandsBeam 3s linear infinite;
    z-index: -2;
}

.cosbands-toggle::after {
    content: "";
    position: absolute;
    inset: 3px;
    background-color: #000000;
    border-radius: 7px;
    z-index: -1;
}

@keyframes cosbandsBeam {
    to {
        transform: rotate(360deg);
    }
}

.nav-card--beam-red,
.nav-card--beam-purple {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border: none;
}

.nav-card--beam-red::before,
.nav-card--beam-purple::before {
    content: "";
    position: absolute;
    inset: -60%;
    animation: cosbandsBeam 3s linear infinite;
    z-index: -2;
}

.nav-card--beam-red::after,
.nav-card--beam-purple::after {
    content: "";
    position: absolute;
    inset: 3px;
    background-color: #000000;
    border-radius: 8px;
    z-index: -1;
}

.nav-card--beam-red {
    color: #b3242c;
}

.nav-card--beam-red::before {
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        #8a1c22 10%,
        transparent 22%
    );
}

.nav-card--beam-purple::before {
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        #6a2fbf 10%,
        transparent 22%
    );
}

.nav-card--beam-red:hover {
    color: #b3242c;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(179, 36, 44, 0.4);
}

.nav-card--beam-purple:hover {
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(106, 47, 191, 0.45);
}

.cosbands-toggle:hover {
    opacity: 0.75;
}

.cosbands-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
}

.cosbands-modal.open {
    display: flex;
}

.cosbands-box {
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 36px;
    background-color: var(--bg-soft);
    border: 2px solid var(--text-main);
    border-radius: 18px;
    text-align: center;
}

.cosbands-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 2px solid var(--text-main);
    border-radius: 50%;
    background: none;
    color: var(--text-main);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.cosbands-close:hover {
    border-color: var(--pink-accent);
    color: var(--pink-accent);
}

.cosbands-back {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    border: 2px solid var(--text-main);
    border-radius: 8px;
    background: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-8px);
    pointer-events: none;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.cosbands-back.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.cosbands-back:hover {
    border-color: var(--pink-accent);
    color: var(--pink-accent);
}

.cosbands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.cosband-entry {
    flex: 1 1 320px;
    max-width: 500px;
    padding: 0;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        flex-basis 0.4s ease,
        max-width 0.4s ease,
        margin 0.4s ease,
        padding 0.4s ease,
        border-color 0.4s ease;
}

.cosband-entry + .cosband-entry {
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 20px;
}

.cosbands-row.selected-mode .cosband-entry {
    border-left: none;
    padding-left: 0;
}

.cosband-entry.hidden-band {
    opacity: 0;
    transform: scale(0.9);
    flex-basis: 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
}

.cosband-entry.active {
    flex: 1 1 100%;
    max-width: 600px;
}

.cosband-header {
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    transition: color 0.25s ease;
}

.cosband-header:hover {
    color: var(--pink-accent);
}

.cosband-status {
    font-weight: 600;
    opacity: 0.7;
}

.cosband-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        margin-top 0.4s ease;
}

.cosband-entry.active .cosband-body {
    max-height: 3000px;
    opacity: 1;
    margin-top: 18px;
}

.cosband-body p {
    margin: 0 0 14px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-main);
    opacity: 0.9;
    text-align: left;
}

.cosband-entry.active .cosband-body p {
    text-align: center;
}

.cosband-body p:last-of-type {
    margin-bottom: 0;
}

.cosband-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.cosband-photo {
    width: 190px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    background-color: var(--bg-main);
}

body.noscroll {
    overflow: hidden;
}

/* =========================
   PERFORMANCES TV
========================= */
.performances-tv-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;

    max-width: 1400px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.tv-frame {
    flex: 0 0 auto;
    width: 860px;
    max-width: 100%;
    margin-left: -260px;
    position: sticky;
    top: 110px;
}

.tv-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #000000;
    border: 14px solid #1a1a1a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 3px #2b2b2b,
        0 25px 50px rgba(0, 0, 0, 0.6);
}

.tv-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
}

.tv-label {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 5;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.tv-play-btn {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background-color: rgba(214, 72, 138, 0.35);
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 6;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.tv-play-btn:hover {
    background-color: rgba(214, 72, 138, 0.6);
    transform: translate(-50%, -50%) scale(1.08);
}

.tv-lost-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    z-index: 6;
}

.tv-lost-note {
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 14px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.75;
}

.tv-stand {
    width: 140px;
    height: 26px;
    margin: 0 auto;
    background-color: #1a1a1a;
    border-radius: 0 0 10px 10px;
}

.performances-list {
    flex: 1 1 420px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.performances-year-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.performances-year-heading {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--pink-accent);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--text-main);
}

.performance-item {
    border: 2px solid var(--text-main);
    border-radius: 14px;
    background-color: var(--bg-soft);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.performance-item.open {
    border-color: var(--pink-accent);
}

.performance-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.25s ease;
}

.performance-item-header:hover {
    color: var(--pink-accent);
}

.performance-item.open .performance-item-header {
    color: var(--pink-accent);
}

.performance-item.open .profile-field-arrow {
    transform: rotate(180deg);
}

.performance-item-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 22px;
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        padding 0.5s ease;
}

.performance-item.open .performance-item-body {
    max-height: 1400px;
    opacity: 1;
    padding: 0 22px 22px;
}

.performance-meta {
    margin-bottom: 16px;
}

.performance-meta p {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.9;
}

.performance-meta p:last-child {
    margin-bottom: 0;
}

.performance-meta-label {
    margin-right: 4px;
    font-weight: 800;
    color: var(--pink-accent);
}

.performance-meta-spacer {
    height: 8px;
}

.performance-video-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.video-switch-btn {
    padding: 8px 16px;
    border: 2px solid var(--text-main);
    border-radius: 8px;
    background: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease;
}

.video-switch-btn:hover {
    border-color: var(--pink-accent);
    color: var(--pink-accent);
}

.video-switch-btn.active {
    background-color: var(--pink-accent);
    border-color: var(--pink-accent);
    color: #ffffff;
}

.performance-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.performance-photo {
    width: 140px;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    background-color: var(--bg-main);
}

.performance-divider {
    height: 2px;
    margin: 18px 0;
    background-color: var(--text-main);
    opacity: 0.25;
}

.performance-divider--full {
    margin-left: -22px;
    margin-right: -22px;
}

.performance-subhead {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--pink-accent);
}

.performance-reward {
    width: 160px;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    background-color: var(--bg-main);
}

.performance-description {
    margin: 0;
    min-height: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
}

@media (max-width: 900px) {
    .tv-frame {
        position: static;
        margin: 0 auto;
    }
}

.music-reveal {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        padding 0.5s ease,
        margin 0.5s ease,
        border-width 0.3s ease;
}

.music-reveal.open {
    max-height: 2600px;
    opacity: 1;
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-width: 2px;
}

.page-photo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.split-columns {
    display: flex;
    align-items: flex-start;
    gap: 200px;

    max-width: 2150px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 60px;
}

.split-left {
    flex: 0 0 480px;
    max-width: 480px;
}

.split-left .page-photo,
.split-left .arts-description {
    margin-left: 0;
    margin-right: 0;
}

.split-left .page-photo {
    width: 100%;
}

.split-right {
    flex: 1 1 auto;
    min-width: 0;
}

.split-right .location-section {
    max-width: 1000px;
    padding: 30px;
}

.split-right .location-photos {
    max-width: 940px;
    margin: 0 auto;
    gap: 20px;
}

.split-right .location-photo {
    width: 300px;
    height: 340px;
    border: none;
    border-radius: 0;
}

.split-right h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 24px;
    color: var(--text-main);
}

@media (max-width: 900px) {
    .split-columns {
        flex-direction: column;
        gap: 40px;
    }

    .split-left {
        max-width: 100%;
        width: 100%;
    }

    .split-right {
        padding-right: 0;
    }

    .split-right .location-section {
        max-width: 100%;
        padding: 24px 20px;
    }

    .split-right .location-photos {
        max-width: 100%;
    }

    .split-right .location-photo {
        width: 42vw;
        height: 48vw;
    }
}

.section-divider {
    width: 60%;
    max-width: 400px;
    height: 2px;
    margin: 60px auto;
    background-color: var(--text-main);
    opacity: 0.25;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.creators-row:has(.hover-expand:hover) + .section-divider {
    transform: translateY(320px);
}

.creators-row:has(.hover-expand:hover) ~ .creators-row {
    transform: translateY(320px);
}

.hover-expand.tap-open .creator-secondary {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}

.creators-row:has(.hover-expand.tap-open) + .section-divider {
    transform: translateY(320px);
}

.creators-row:has(.hover-expand.tap-open) ~ .creators-row {
    transform: translateY(320px);
}

.arts-description .section-divider {
    margin: 30px auto;
}

/* =========================
   LOCATION SECTIONS
========================= */
.location-section {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto;
    padding: 30px 40px;

    text-align: center;
    border: 2px solid var(--text-main);
    border-radius: 14px;
}

.merlin-frame {
    max-width: 1900px;
    padding: 50px 60px;
}

.merlin-frame .location-photo {
    width: auto;
    height: 400px;
    max-width: 100%;
    object-fit: unset;
    background: none;
    border: none;
}

.merlin-slider-note {
    display: none;
    margin: 18px 0 0;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

.location-section--hidden {
    display: none;
}

.location-section--visible {
    animation: locationSectionIn 0.5s ease forwards;
}

@keyframes locationSectionIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-section h2 {
    margin: 0 0 24px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
}

.location-section .description {
    margin: -14px 0 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.content-frame .description {
    margin: -6px 0 0;
    font-size: 1rem;
    color: var(--text-main);
    opacity: 1;
}

.location-select-row {
    margin-bottom: 16px;
}

.location-select {
    width: 100%;
    max-width: 420px;
    padding: 12px 40px 12px 18px;

    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
    background-color: var(--bg-main);

    border: 2px solid var(--text-main);
    border-radius: 8px;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;

    transition: border-color 0.25s ease;
}

.location-select:hover,
.location-select:focus {
    border-color: var(--pink-accent);
    outline: none;
}

#location-date {
    margin-top: 0;
    margin-bottom: 24px;
}

.location-more-note {
    flex-basis: 100%;
    margin: 10px 0 0;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

.location-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.location-photos + .location-photos {
    margin-top: 16px;
}

.location-photo {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    background-color: var(--bg-soft);
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.location-photo:hover {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
    transform: translateY(-4px);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.92);
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: 82vw;
    max-height: 82vh;
    border: 2px solid var(--text-main);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.25s ease;
}

.lightbox-close:hover {
    color: var(--pink-accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3rem;
    line-height: 1;
    padding: 0 16px;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.lightbox-nav:hover {
    color: var(--pink-accent);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.lightbox-next {
    right: 12px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(4px);
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
}

.lightbox-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.lightbox-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox-dot.active {
    background-color: var(--pink-accent);
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 2rem;
        padding: 0 8px;
    }

    .lightbox-close {
        top: 14px;
        right: 16px;
    }
}

.music-item {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.music-item:hover .location-photo {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
    transform: translateY(-4px);
}

#anime-frame {
    max-width: 1600px;
}

#anime-frame .location-photo {
    width: 230px;
    height: 330px;
    object-fit: contain;
}

.location-section[id^="location-"] .location-photo {
    object-fit: contain;
    background-color: var(--bg-soft);
}

.music-number {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    font-weight: 800;
    color: #000000;
    background-color: var(--pink-accent);
    border: 2px solid var(--bg-main);
    border-radius: 50%;
}

/* =========================
   PHOTO CATEGORIES
========================= */
.photo-categories {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: center;
}

.photo-categories__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.photo-category-btn {
    padding: 22px 60px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    background-color: var(--bg-soft);
    border: 2px solid var(--text-main);
    border-radius: 10px;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.photo-category-btn:hover {
    border-color: var(--pink-accent);
    color: var(--pink-accent);
}

.photo-category-btn.active {
    color: var(--pink-accent);
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
}

.photo-categories__hint {
    margin: 18px 0 0;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
}

.photo-character-row {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 34px;
}

.photo-character-row.is-open {
    display: flex;
}

.photo-character {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.photo-character.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.photo-character__img {
    width: 380px;
    height: 380px;
    background-color: var(--bg-soft);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 12px;
    border: 2px solid var(--text-main);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.photo-character:hover .photo-character__img {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
    transform: translateY(-4px);
}

.photo-character__name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.photo-character:hover .photo-character__name {
    color: var(--pink-accent);
}

@media (max-width: 768px) {
    .location-section {
        padding: 24px 20px;
    }

    .location-photo {
        width: 42vw;
        height: 58vw;
    }

    .photo-character__img {
        width: 220px;
        height: 220px;
    }
}

.info-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.info-block p {
    margin: 0 0 14px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-main);
}

.info-block p:last-child {
    margin-bottom: 0;
}

.arts-description {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    text-align: center;
}

.arts-description--top {
    margin-top: 150px;
}

.arts-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-main);
    opacity: 0.9;
}

.arts-description h1 {
    text-align: center;
}

.keep-one-line {
    white-space: nowrap;
    font-size: 1.05rem;
}

.baron-hover {
    position: relative;
    display: inline-block;
}

.baron-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 14px;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 60;
    transition:
        max-height 0.4s ease,
        opacity 0.35s ease;
}

.baron-hover:hover .baron-popup {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
}

.baron-popup-photo {
    display: block;
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    background-color: var(--bg-soft);
}

.inline-link {
    color: var(--pink-accent);
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

.inline-link:hover {
    text-shadow: 0 0 12px rgba(214, 72, 138, 0.7);
}

/* =========================
   CREATORS
========================= */
.creators-header {
    max-width: 800px;
    margin: 110px auto 0;
    padding: 0 20px;
    text-align: center;
}

.creators-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;

    max-width: 2000px;
    margin: 20px auto 60px;
    padding: 0 20px;

    transform: translateY(0);
    transition: transform 0.4s ease;
}

.creator-card {
    position: relative;
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;

    transition: transform 0.25s ease;
}

.creator-card:hover {
    transform: translateY(-4px);
}

.hover-hint {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #1a1a1a;
    opacity: 0.22;
    transition: opacity 0.01s linear 0.4s;
}

.creator-card:hover .hover-hint {
    opacity: 0;
    transition: opacity 0s linear 0s;
}


.creator-secondary {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    padding-top: 16px;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 60;
    transition:
        max-height 0.4s ease,
        opacity 0.35s ease;
}

.creator-card:hover .creator-secondary {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}

.creator-icon {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--text-main);
    margin-bottom: 16px;
    background-color: var(--bg-soft);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.creator-card:hover .creator-icon {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
}

.creator-card a {
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
}

.zoom-frame {
    position: relative;
    display: block;
    width: 300px;
    height: 380px;
    overflow: hidden;
    border: 2px solid var(--text-main);
    border-radius: 10px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.zoom-frame:hover {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
}

.creator-photo-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 375px;
    height: 475px;
    margin: 0;
    transform: translate(-50%, -50%);
}

.creator-photo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--text-main);
    margin: 0 auto 16px;
    background-color: var(--bg-soft);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        opacity 0.5s ease;
}

.creator-photo:hover {
    border-color: var(--pink-accent);
    box-shadow: 0 8px 20px rgba(214, 72, 138, 0.35);
}

.creator-photo-zoom:hover {
    transform: translate(-50%, -50%);
}

.zoom-frame:hover {
    transform: translateY(-4px);
}

.creator-photo-main {
    width: 300px;
    height: 380px;
    object-fit: cover;
    object-position: top center;
}

.creator-photo-secondary {
    width: 240px;
    height: 280px;
    object-fit: cover;
}

.creator-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0 0 8px;
    color: var(--text-main);
}

.creator-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .creators-row {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .creators-row {
        margin-bottom: 10px;
    }

    .creators-row + .section-divider {
        display: none;
    }

    .creators-row ~ .creators-row {
        margin-top: 0;
    }
}

/* =========================
   MOBILE NAV (hamburger)
========================= */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 18px;
    right: 16px;
    z-index: 400;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background-color: var(--bg-soft);
    border: 2px solid var(--text-main);
    border-radius: 50%;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 390;
    background-color: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
}

.mobile-nav-overlay.open {
    display: flex;
}

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-nav-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.mobile-nav-panel a {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.25s ease;
}

.mobile-nav-panel a:hover {
    color: var(--pink-accent);
}

@media (max-width: 700px) {
    .floating-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }
}

/* =========================
   MOBILE LAYOUT FIXES
========================= */
@media (max-width: 700px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .go-back {
        top: 14px;
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .floating-brand {
        top: 14px;
        left: 14px;
        font-size: 1rem;
        padding: 5px 10px;
    }

    .slogan {
        top: 66px;
        font-size: 0.9rem;
    }

    .wind-quote {
        font-size: 0.75rem;
    }

    .rain-overlay + * {
        padding-top: 100px;
    }

    .hero-row {
        flex-direction: column;
        gap: 30px;
    }

    .slider-container {
        height: 55vh;
    }

    .slide-duo {
        flex-direction: column;
    }

    .slide-duo-half {
        flex: 1 1 0;
        width: 100%;
        height: auto;
    }

    .slide-duo-divider {
        width: 100%;
        height: 2px;
    }

    .slide-duo--force-row {
        flex-direction: row;
    }

    .slide-duo--force-row .slide-duo-half {
        height: 100%;
    }

    .slide-duo--force-row .slide-duo-divider {
        width: 2px;
        height: 100%;
    }

    .slide-duo-half--mobile-hide,
    .slide-duo-divider--mobile-hide {
        display: none;
    }

    .cosbands-wrap {
        top: 130px;
        right: 12px;
    }

    .cosbands-toggle {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .cosbands-note {
        margin-top: 60px;
        font-size: 0.85rem;
        white-space: normal;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }

    .profile-avatar {
        margin-top: 90px;
        padding-top: 0;
    }

    .music-reveal.open {
        max-height: 65vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #anime-frame .location-photo {
        width: 42vw;
        height: 60vw;
    }

    .split-columns {
        padding-left: 16px;
        padding-right: 16px;
    }

    .creators-header {
        margin-top: 90px;
    }

    .arts-description--top {
        margin-top: 110px;
    }

    .nav-group--wide {
        padding: 30px 20px;
    }

    .photo-category-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .zoom-frame,
    .creator-photo-main {
        width: 100%;
        max-width: 300px;
    }

    .social-bar a {
        width: 30px;
        height: 30px;
    }

    .social-bar svg {
        width: 15px;
        height: 15px;
    }

    .keep-one-line {
        white-space: normal;
        font-size: 0.95rem;
    }

    .content-frame {
        padding: 20px 16px;
        max-width: 100%;
    }

    .content-frame h1 {
        font-size: 1.7rem;
    }

    .hero-item {
        font-size: 2rem;
        text-align: center;
        word-break: break-word;
    }

    .reveal-text {
        background: radial-gradient(
            ellipse 80px 400px at var(--rx, 50%) var(--ry, 50%),
            #fff 0%,
            #fff 20%,
            rgba(0, 0, 0, 0.6) 60%,
            #000 80%
        );
        -webkit-background-clip: text;
        background-clip: text;
    }

    .arts-description h1.reveal-text {
        font-size: 1.7rem;
        line-height: 1.4;
    }

    .mot-footer-note {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .project-thumb,
    .project-thumb-spacer {
        width: 54px;
        height: 54px;
    }

    .neon-text {
        font-size: 0.85rem;
        margin: 40px auto 8px;
    }

    .merlin-frame {
        padding: 24px 16px;
    }

    .merlin-frame .location-photo {
        height: 280px;
    }

    .merlin-frame .location-photo:nth-child(n + 3) {
        display: none;
    }

    .merlin-slider-note {
        display: block;
    }
}