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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Noto Sans', sans-serif;
}

:root {
    --header-top: 60px;
    --logo-width: 260px;
    --logo-max-height: 72px;
    --play-btn-size: 60px;
    /* Reserve space for logo row + play button */
    --header-zone: 150px;
    /* Lift centered content above bottom-heavy backgrounds */
    --vcenter-lift: min(11vh, 100px);
    --slide5-lift: min(16vh, 145px);
}

.slider-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.slide.active .slide-bg {
    animation: zoomIn var(--audio-duration, 10s) linear forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.content {
    position: absolute;
    left: 80px;
    top: var(--header-zone);
    bottom: 80px;
    z-index: 5;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    overflow: hidden;
}

.logo {
    position: absolute;
    left: 80px;
    top: var(--header-top);
    z-index: 5;
    width: var(--logo-width);
    max-height: var(--logo-max-height);
    height: auto;
    object-fit: contain;
    object-position: left top;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .logo {
    animation: fadeUp 1s forwards;
}

.text-line {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .text-line:nth-child(1) {
    animation: fadeUp 1s .8s forwards;
}

.slide.active .text-line:nth-child(2) {
    animation: fadeUp 1s 1.5s forwards;
}

.slide.active .text-line:nth-child(3) {
    animation: fadeUp 1s 2.2s forwards;
}

.slide.active .text-line:nth-child(4) {
    animation: fadeUp 1s 2.9s forwards;
}

.headline {
    margin-top: 5px;
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(6.5vw, 110px);
    line-height: 0.95;
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.headline.sans-font {
    font-family: 'Noto Sans', sans-serif;
    font-size: min(4.5vw, 75px);
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: normal;
    text-transform: uppercase;
}


.orange {
    background: linear-gradient(135deg, #ff6b2d 0%, #ff2a85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.description {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.4rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-top: 15px;
    max-width: 600px;
    letter-spacing: 0.5px;
}

.description.delayed {
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .description.delayed {
    animation: fadeUp 1s 2.2s forwards;
}

/* Slide 1 - Custom Elements */
.practice-list {
    margin-top: 15px;
    margin-bottom: 15px;
    list-style: none;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .practice-list {
    animation: fadeUp 1s 2s forwards;
}

.list-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 12px;
    font-family: 'Noto Sans', sans-serif;
}

.practice-item {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Noto Sans', sans-serif;
}

.practice-item::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 3px;
    border-radius: 2px;
}

/* Dash colors matching the mockups */
.practice-item:nth-child(2)::before { background: #ff6b2d; }
.practice-item:nth-child(3)::before { background: #ff4b3e; }
.practice-item:nth-child(4)::before { background: #ff2a85; }
.practice-item:nth-child(5)::before { background: #e01a88; }
.practice-item:nth-child(6)::before { background: #9d1ae0; }

.bullet-list .practice-item {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.bullet-list .practice-item::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b2d;
}

/* Slide 1 - Right Side Vertical indicators */
.vertical-indicators {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 10;
}

.indicator-bar {
    width: 6px;
    height: 120px;
    border-radius: 3px;
    opacity: 0.8;
}

.indicator-bar:nth-child(1) { background: linear-gradient(180deg, #ff6b2d, #ff4b3e); }
.indicator-bar:nth-child(2) { background: linear-gradient(180deg, #ff4b3e, #ff2a85); }
.indicator-bar:nth-child(3) { background: linear-gradient(180deg, #ff2a85, #9d1ae0); }

/* Divider Line (Slide 2, 3, 4) */
.divider-line {
    width: 280px;
    height: 2px;
    background: linear-gradient(90deg, #ff2a85 0%, #ff6b2d 100%);
    margin-top: 15px;
    margin-bottom: 15px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.slide.active .divider-line {
    animation: expandWidth 1s 1.5s forwards;
}

@keyframes expandWidth {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Orange text highlighting */
.orange-text {
    color: #ff6b2d;
    font-weight: 400;
}

.pink-text {
    color: #ff2a85;
    font-weight: 400;
}

.red-text {
    color: #c42d5a;
    font-weight: 400;
}

/* Slide 3 - Tanpura Control Panel */
.tanpura-panel {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translate(30px, -50%);
    font-family: 'Noto Sans', sans-serif;
}

.slide.active .tanpura-panel {
    animation: slideInPanel 1s 1.2s forwards;
}

@keyframes slideInPanel {
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.panel-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.panel-menu-dots {
    display: flex;
    gap: 2px;
}

.panel-menu-dots span {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.sliders-container {
    display: flex;
    justify-content: space-between;
    height: 180px;
    margin-bottom: 25px;
    padding: 0 10px;
}

.slider-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.slider-label-top {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.slider-label-bottom {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-weight: 500;
}

.vertical-slider-wrapper {
    position: relative;
    width: 20px;
    height: 110px;
    display: flex;
    justify-content: center;
}

.slider-track-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-track-filled {
    position: absolute;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to top, #ff2a85, #ff6b2d);
    border-radius: 1px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-thumb-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    box-shadow: 0 0 8px rgba(255, 107, 45, 0.8);
    cursor: pointer;
}

.panel-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.panel-icon-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-icon-btn:hover {
    color: #fff;
}

.waveform-visualizer {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
}

.waveform-visualizer span {
    width: 2px;
    background: #ff6b2d;
    border-radius: 1px;
    animation: waveBounce 1s ease-in-out infinite alternate;
}

.waveform-visualizer span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.waveform-visualizer span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.waveform-visualizer span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.waveform-visualizer span:nth-child(4) { height: 16px; animation-delay: 0.5s; }
.waveform-visualizer span:nth-child(5) { height: 8px; animation-delay: 0.4s; }

@keyframes waveBounce {
    from { transform: scaleY(0.7); }
    to { transform: scaleY(1.3); }
}

/* Slide 5 - Evolution Timeline */
.slide.layout-slide5 .overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.slide.layout-slide5 .logo {
    left: 80px;
    right: auto;
    top: var(--header-top);
    width: 220px;
}

.slide5-header {
    position: absolute;
    /* top: var(--header-zone); */
    top: -22vh;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: min(92%, calc(100% - 200px));
    max-width: 960px;
    padding-right: calc(var(--play-btn-size) + 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide5-headline {
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(6.8vw, 102px);
    line-height: 0.86;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

.slide5-headline .headline-row {
    opacity: 0;
    transform: translateY(30px);
}

.slide5-headline .line-orange {
    color: #ff6b2d;
}

.slide5-headline .line-white {
    color: rgba(255, 255, 255, 0.92);
}

.slide5-headline .line-pink {
    color: #ff2a85;
}

.slide.active .slide5-headline .headline-row.row-1 {
    animation: fadeUp 1s 0.6s forwards;
}

.slide.active .slide5-headline .headline-row.row-2 {
    animation: fadeUp 1s 1.1s forwards;
}

.slide5-divider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 55vw);
    margin: 16px auto 14px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
}

.slide.active .slide5-divider-row {
    animation: expandWidth 1s 2s forwards;
}

.divider-line-segment {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.divider-diamond {
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #ff6b2d, #d4a853);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin: 0 10px;
}

.slide5-subhead {
    font-family: 'Noto Sans', sans-serif;
    font-size: min(1.25vw, 17px);
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    font-weight: 300;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide5-subhead {
    animation: fadeUp 1s 2.4s forwards;
}

.slide5-timeline {
    display: none;
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1180px;
    z-index: 5;
    padding: 0 2%;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-top: 5px;
}

.timeline-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.slide.active .timeline-items::before {
    animation: expandWidth 1.2s 1.8s forwards;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    padding: 0 4px;
}

.timeline-item:first-child { flex: 0.9; }
.timeline-item:last-child { flex: 0.9; }

.slide.active .timeline-item:nth-child(1) { animation: fadeUp 0.8s 2.6s forwards; }
.slide.active .timeline-item:nth-child(2) { animation: fadeUp 0.8s 2.8s forwards; }
.slide.active .timeline-item:nth-child(3) { animation: fadeUp 0.8s 3s forwards; }
.slide.active .timeline-item:nth-child(4) { animation: fadeUp 0.8s 3.2s forwards; }

.timeline-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin: -4px auto 14px;
    box-shadow: 0 0 10px currentColor;
}

.timeline-dot.orange { background: #ff6b2d; color: #ff6b2d; }
.timeline-dot.blue { background: #6ecfff; color: #6ecfff; }
.timeline-dot.pink { background: #ff2a85; color: #ff2a85; }

.timeline-label {
    font-family: 'Noto Sans', sans-serif;
    font-size: min(0.95vw, 12px);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.timeline-label.orange { color: #ff6b2d; }
.timeline-label.blue { color: #6ecfff; }
.timeline-label.pink { color: #ff2a85; }

/* Slide 6 - Journey */
.slide.layout-slide6 .overlay {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.32) 38%,
        rgba(0, 0, 0, 0.08) 62%,
        rgba(0, 0, 0, 0.02) 100%
    );
}

.slide6-content {
    position: absolute;
    left: 80px;
    top: var(--header-zone);
    bottom: 80px;
    z-index: 5;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.slide6-headline {
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(4.2vw, 62px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide6-headline {
    animation: fadeUp 1s 0.8s forwards;
}

.slide6-headline .grad-text {
    background: linear-gradient(135deg, #ff6b2d 0%, #ff2a85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.slide6-headline .white-text {
    color: rgba(255, 255, 255, 0.95);
}

.slide6-divider-row {
    display: flex;
    align-items: center;
    width: 240px;
    margin: 18px 0 16px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.slide.active .slide6-divider-row {
    animation: expandWidth 1s 1.5s forwards;
}

.slide6-list-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide6-list-title {
    animation: fadeUp 1s 2s forwards;
}

.slide6-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .feature-item:nth-child(1) { animation: fadeUp 0.8s 2.3s forwards; }
.slide.active .feature-item:nth-child(2) { animation: fadeUp 0.8s 2.6s forwards; }
.slide.active .feature-item:nth-child(3) { animation: fadeUp 0.8s 2.9s forwards; }

.feature-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.feature-label.orange { color: #ff6b2d; }
.feature-label.purple { color: #b44dff; }
.feature-label.pink { color: #ff2a85; }

/* Slide 12 - Founder's Note */
.slide.layout-slide12 .overlay {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.35) 42%,
        rgba(0, 0, 0, 0.08) 68%,
        rgba(0, 0, 0, 0.02) 100%
    );
}

.slide12-content {
    position: absolute;
    left: 80px;
    top: var(--header-zone);
    bottom: 80px;
    z-index: 5;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.slide12-eyebrow {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4a853;
    font-weight: 400;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide12-eyebrow {
    animation: fadeUp 1s 0.5s forwards;
}

.slide12-headline {
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(4.5vw, 68px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide12-headline {
    animation: fadeUp 1s 0.8s forwards;
}

.slide12-headline .grad-text {
    background: linear-gradient(135deg, #ff6b2d 0%, #ff2a85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide12-divider-row {
    display: flex;
    align-items: center;
    width: 260px;
    margin: 18px 0 20px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.slide.active .slide12-divider-row {
    animation: expandWidth 1s 1.5s forwards;
}

.slide12-features {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.slide12-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(20px);
}

.slide12-feature:not(:last-child) {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.slide.active .slide12-feature:nth-child(1) { animation: fadeUp 0.8s 2s forwards; }
.slide.active .slide12-feature:nth-child(2) { animation: fadeUp 0.8s 2.3s forwards; }
.slide.active .slide12-feature:nth-child(3) { animation: fadeUp 0.8s 2.6s forwards; }
.slide.active .slide12-feature:nth-child(4) { animation: fadeUp 0.8s 2.9s forwards; }

.slide12-feature-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}

.slide12-feature-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
}

/* Slide 16 - Closing */
.slide.layout-slide16 .overlay {
    background: transparent;
}

.slide16-header {
    position: absolute;
    top: var(--header-zone);
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: 92%;
    max-width: 1000px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: var(--vcenter-lift);
    overflow: hidden;
}

.slide16-headline {
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(6.8vw, 102px);
    line-height: 0.86;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

.slide16-headline .headline-row {
    color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide16-headline .headline-row.row-1 {
    animation: fadeUp 1s 0.6s forwards;
}

.slide.active .slide16-headline .headline-row.row-2 {
    animation: fadeUp 1s 1s forwards;
}

.slide16-subhead {
    font-family: 'Noto Sans', sans-serif;
    font-size: min(2.8vw, 42px);
    line-height: 1.55;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 100px;
    background: linear-gradient(90deg, #ff6b2d 0%, #ff2a85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide16-subhead {
    animation: fadeUp 1s 1.5s forwards;
}

/* Slide 15 - Explore / QR */
.slide.layout-slide15 .overlay {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 35%,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0) 100%
    );
}

.slide15-content {
    position: absolute;
    left: 80px;
    top: var(--header-zone);
    bottom: 80px;
    transform: none;
    z-index: 5;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.slide15-explore {
    font-family: 'Medula One', cursive, sans-serif;
    font-size: min(3.8vw, 58px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide15-explore {
    animation: fadeUp 1s 0.6s forwards;
}

.slide15-logo {
    width: min(22vw, 300px);
    height: auto;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide15-logo {
    animation: fadeUp 1s 1s forwards;
}

.slide15-divider-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin-bottom: 22px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.slide.active .slide15-divider-row {
    animation: expandWidth 1s 1.4s forwards;
}

.slide15-qr {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(25px);
}

.slide.active .slide15-qr {
    animation: fadeUp 1s 1.8s forwards;
}


.controls {
    position: absolute;
    right: 50px;
    bottom: 60px;
    z-index: 10;
    display: flex;
    gap: 20px;
}

.nav-btn {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .05);
    color: white;
    font-size: 28px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: .3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.nav-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ff6b2d, #ff2a85);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, .15);
}

.progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, .08);
    z-index: 20;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ff6b2d;
}

.play-screen {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.play-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .05);
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: .3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.play-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ff6b2d, #ff2a85);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.play-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, .15);
}

.play-text {
    margin-top: 30px;
    letter-spacing: 4px;
    color: #888;
}

.main-logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    margin-bottom: 50px;
}

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

.top-controls {
    position: absolute;
    right: 80px;
    top: var(--header-top);
    z-index: 15;
}

.play-pause-btn {
    position: relative;
    width: var(--play-btn-size);
    height: var(--play-btn-size);
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .05);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.play-pause-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ff6b2d, #ff2a85);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.play-pause-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, .15);
}

.slider-container.paused * {
    animation-play-state: paused !important;
}

/* Laptop / short viewports — between mobile and large desktop */
@media (max-height: 820px), (max-width: 1366px) and (max-height: 900px) {
    :root {
        --header-top: 45px;
        --logo-width: 200px;
        --logo-max-height: 56px;
        --play-btn-size: 52px;
        --header-zone: 120px;
        --vcenter-lift: min(9vh, 75px);
        --slide5-lift: min(13vh, 110px);
    }

    .content {
        left: 60px;
        bottom: 70px;
        max-width: 580px;
        justify-content: center;
    }

    .logo {
        left: 60px;
    }

    .headline {
        font-size: min(5.5vw, 72px);
        line-height: 1;
        letter-spacing: 1px;
    }

    .headline.sans-font {
        font-size: min(4vw, 58px);
        line-height: 1.05;
    }

    .description {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-top: 10px;
    }

    .practice-item {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .list-title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .bullet-list .practice-item {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .top-controls {
        right: 60px;
    }

    .play-pause-btn {
        width: var(--play-btn-size);
        height: var(--play-btn-size);
    }

    .slide.layout-slide5 .logo {
        left: 60px;
        width: 180px;
    }

    .slide5-header {
        width: min(94%, calc(100% - 160px));
        padding-right: calc(var(--play-btn-size) + 16px);
        bottom: 70px;
        justify-content: center;
    }

    .slide5-headline {
        font-size: min(5.8vw, 72px);
        line-height: 1;
        letter-spacing: 2px;
    }

    .slide5-headline .headline-row {
        white-space: normal;
    }

    .slide5-subhead {
        font-size: min(1.4vw, 14px);
        letter-spacing: 2px;
    }

    .slide6-content {
        left: 60px;
        max-width: 360px;
        bottom: 70px;
        justify-content: center;
    }

    .slide6-headline {
        font-size: min(3.6vw, 48px);
        line-height: 1.1;
    }

    .slide12-content {
        left: 60px;
        max-width: 400px;
        bottom: 70px;
        justify-content: center;
    }

    .slide12-headline {
        font-size: min(3.8vw, 52px);
        line-height: 1.05;
    }

    .slide12-feature {
        padding: 10px 0;
    }

    .slide12-feature-text {
        font-size: 0.95rem;
    }

    .slide15-content {
        left: 60px;
    }

    .slide16-headline {
        font-size: min(5.8vw, 72px);
        line-height: 1;
    }

    .slide16-header {
        padding-bottom: var(--vcenter-lift);
    }

    .slide16-headline .headline-row {
        white-space: normal;
    }

    .slide16-subhead {
        font-size: min(2.4vw, 32px);
        margin-top: 16px;
    }

    .controls {
        right: 40px;
        bottom: 50px;
    }

    .nav-btn {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }
}

@media(max-width:768px) {
    :root {
        --header-top: 40px;
        --logo-width: 180px;
        --logo-max-height: 50px;
        --play-btn-size: 50px;
        --header-zone: 110px;
        --vcenter-lift: min(7vh, 55px);
        --slide5-lift: min(10vh, 80px);
    }

    .tanpura-panel {
        display: none !important;
    }

    .content {
        left: 30px;
        right: 30px;
        top: var(--header-zone);
        bottom: 100px;
        max-height: none;
        transform: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .logo {
        position: absolute;
        left: 30px;
        top: var(--header-top);
        width: var(--logo-width);
        max-height: var(--logo-max-height);
    }

    .main-logo {
        width: 220px;
        margin-bottom: 40px;
    }

    .headline {
        font-size: 10vw;
        margin-top: 0;
        line-height: 1.15;
    }

    .headline.sans-font {
        font-size: 7.5vw;
        line-height: 1.1;
    }

    .description {
        font-size: 4.4vw;
        margin-top: 15px;
        line-height: 1.55;
        max-width: 100%;
    }

    .practice-list {
        text-align: left;
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        max-width: 100%;
    }

    .practice-item {
        text-align: left;
        align-items: flex-start;
    }

    .practice-item::before {
        margin-top: 0.55em;
        flex-shrink: 0;
    }

    .controls {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
    }

    .top-controls {
        right: 30px;
        top: var(--header-top);
    }

    .play-pause-btn {
        width: var(--play-btn-size);
        height: var(--play-btn-size);
    }

    .slide.layout-slide5 .logo {
        left: 30px;
        right: auto;
        top: var(--header-top);
        width: 150px;
    }

    .slide5-header {
        bottom: 100px;
        padding-bottom: var(--slide5-lift);
        justify-content: center;
    }

    .slide5-headline {
        font-size: 9vw;
        letter-spacing: 2px;
    }

    .slide5-headline .headline-row {
        white-space: normal;
    }

    .slide5-divider-row {
        width: 70vw;
        margin: 12px auto 10px;
    }

    .slide5-subhead {
        font-size: 2.6vw;
        letter-spacing: 2px;
    }

    .slide5-timeline {
        bottom: 100px;
        width: 94%;
        padding: 0;
    }

    .timeline-label {
        font-size: 1.8vw;
        letter-spacing: 1px;
        white-space: normal;
    }

    .timeline-dot {
        width: 7px;
        height: 7px;
        margin: -3px auto 10px;
    }

    .slide6-content {
        left: 30px;
        right: 30px;
        top: var(--header-zone);
        bottom: 100px;
        max-width: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .slide6-headline {
        font-size: 7.5vw;
        line-height: 1.05;
        letter-spacing: 0.5px;
    }

    .slide6-divider-row {
        width: 60vw;
        margin: 14px auto 12px;
        transform-origin: center;
    }

    .slide6-list-title {
        font-size: 3.5vw;
    }

    .slide6-features {
        align-items: flex-start;
        width: 100%;
        max-width: 280px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-label {
        font-size: 4vw;
    }

    .slide12-content {
        left: 30px;
        right: 30px;
        top: var(--header-zone);
        bottom: 100px;
        transform: none;
        max-width: none;
        max-height: none;
        justify-content: center;
    }

    .slide12-eyebrow {
        font-size: 2.4vw;
        margin-bottom: 16px;
    }

    .slide12-headline {
        font-size: 8vw;
        letter-spacing: 1px;
    }

    .slide12-divider-row {
        width: 65vw;
        margin: 14px 0 16px;
    }

    .slide12-feature-icon {
        width: 44px;
        height: 44px;
    }

    .slide12-feature-text {
        font-size: 3.4vw;
    }

    .slide15-content {
        left: 30px;
        right: 30px;
        top: var(--header-zone);
        bottom: 100px;
        transform: none;
        max-width: none;
        align-items: center;
        justify-content: center;
    }

    .slide15-explore {
        font-size: 9vw;
    }

    .slide15-logo {
        width: 65vw;
        max-width: 280px;
    }

    .slide15-divider-row {
        max-width: 70vw;
        margin-bottom: 18px;
    }

    .slide15-qr {
        max-width: 75vw;
    }

    .slide16-header {
        top: var(--header-zone);
        bottom: 100px;
        transform: translateX(-50%);
        width: 94%;
        padding-bottom: var(--vcenter-lift);
    }

    .slide16-headline {
        font-size: 11vw;
        letter-spacing: 2px;
    }

    .slide16-headline .headline-row {
        white-space: normal;
    }

    .slide16-subhead {
        font-size: 4.8vw;
        letter-spacing: 1.5px;
        margin-top: 18px;
        line-height: 1.5;
    }
}

/* Mobile landscape — wide but very short (e.g. 846×414) */
@media (orientation: landscape) and (max-height: 520px) {
    :root {
        --header-top: 20px;
        --logo-width: 110px;
        --logo-max-height: 26px;
        --play-btn-size: 38px;
        --header-zone: 52px;
        --vcenter-lift: min(5vh, 28px);
        --slide5-lift: min(8vh, 42px);
    }

    .tanpura-panel,
    .vertical-indicators {
        display: none !important;
    }

    .content {
        left: 24px;
        right: 72px;
        top: var(--header-zone);
        bottom: 48px;
        max-width: none;
        max-height: none;
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        column-gap: 20px;
        row-gap: 4px;
        align-content: center;
        align-items: center;
        text-align: left;
        overflow: hidden;
        padding-top: 0;
    }

    .content:not(:has(.practice-list)) {
        grid-template-columns: 1fr;
        right: 24px;
    }

    /* Bullet-list slides (e.g. slide 10) — stack in one column on the left */
    .content:has(.bullet-list) {
        grid-template-columns: 1fr;
        max-width: min(44vw, 360px);
        right: auto;
        row-gap: 2px;
    }

    .content:has(.bullet-list) .headline,
    .content:has(.bullet-list) .practice-list,
    .content:has(.bullet-list) .divider-line {
        grid-column: 1;
    }

    .content:has(.bullet-list) .headline {
        font-size: clamp(16px, 5.5vh, 28px);
        line-height: 1.05;
    }

    .content:has(.bullet-list) .divider-line {
        width: min(140px, 30vw);
        margin: 2px 0;
    }

    .content:has(.bullet-list) .bullet-list .practice-item {
        font-size: clamp(8px, 2.1vh, 11px);
        line-height: 1.25;
        margin-bottom: 1px;
        gap: 6px;
    }

    .content:has(.bullet-list) .bullet-list .practice-item::before {
        width: 5px;
        height: 5px;
        margin-top: 0.35em;
        flex-shrink: 0;
    }

    .logo {
        left: 24px;
        top: var(--header-top);
    }

    .headline {
        font-size: clamp(18px, 6.2vh, 32px);
        line-height: 1.05;
        margin-top: 0;
        letter-spacing: 1px;
        grid-column: 1;
    }

    .headline.sans-font {
        font-size: clamp(16px, 5.5vh, 28px);
        line-height: 1.08;
    }

    .practice-list {
        grid-column: 2;
        margin-top: 0;
        margin-bottom: 0;
    }

    .list-title {
        font-size: clamp(10px, 2.8vh, 13px);
        margin-bottom: 4px;
    }

    .practice-item {
        font-size: clamp(9px, 2.4vh, 12px);
        margin-bottom: 2px;
        gap: 8px;
    }

    .practice-item::before {
        width: 10px;
        height: 2px;
    }

    .bullet-list .practice-item {
        font-size: clamp(10px, 2.6vh, 13px);
        margin-bottom: 4px;
    }

    .divider-line {
        grid-column: 1 / -1;
        width: min(200px, 40vw);
        margin: 4px 0;
    }

    .description {
        grid-column: 1 / -1;
        font-size: clamp(10px, 2.6vh, 13px);
        line-height: 1.4;
        margin-top: 4px;
        max-width: 100%;
    }

    .content:has(.practice-list) .description {
        grid-column: 1;
    }

    /* Dash-list slides (e.g. slide 4) — stack under headline, items in one row */
    .content:has(.practice-list):not(:has(.bullet-list)) {
        grid-template-columns: 1fr;
        max-width: min(52vw, 420px);
        right: auto;
    }

    .content:has(.practice-list):not(:has(.bullet-list)) .headline {
        order: 1;
    }

    .content:has(.practice-list):not(:has(.bullet-list)) .description {
        order: 2;
    }

    .content:has(.practice-list):not(:has(.bullet-list)) .practice-list {
        order: 3;
        grid-column: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 10px;
        row-gap: 2px;
    }

    .content:has(.practice-list):not(:has(.bullet-list)) .list-title {
        flex: 0 0 100%;
        margin-bottom: 2px;
    }

    .content:has(.practice-list):not(:has(.bullet-list)) .practice-item {
        flex: 0 0 auto;
        margin-bottom: 0;
        gap: 6px;
        white-space: nowrap;
    }

    .top-controls {
        right: 20px;
        top: var(--header-top);
    }

    .play-pause-btn {
        width: var(--play-btn-size);
        height: var(--play-btn-size);
    }

    .controls {
        right: 20px;
        left: auto;
        transform: none;
        bottom: 10px;
        gap: 10px;
    }

    .nav-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .progress-wrapper {
        height: 4px;
    }

    /* Slide 5 */
    .slide.layout-slide5 .logo {
        left: 24px;
        width: 100px;
    }

    .slide5-header {
        top: var(--header-zone);
        bottom: 48px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        padding-right: calc(var(--play-btn-size) + 12px);
        padding-left: calc(var(--logo-width) + 12px);
        padding-bottom: var(--slide5-lift);
        box-sizing: border-box;
        justify-content: center;
    }

    .slide5-headline {
        font-size: clamp(20px, 6.5vh, 34px);
        line-height: 1.05;
        letter-spacing: 1px;
    }

    .slide5-divider-row {
        width: min(240px, 50vw);
        margin: 6px auto 4px;
    }

    .slide5-subhead {
        font-size: clamp(8px, 2.2vh, 11px);
        letter-spacing: 1.5px;
        line-height: 1.5;
    }

    /* Slide 6 */
    .slide6-content {
        left: 24px;
        right: 72px;
        top: var(--header-zone);
        bottom: 48px;
        max-width: none;
        max-height: none;
        text-align: left;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
        align-content: center;
        align-items: center;
        overflow: hidden;
    }

    .slide6-headline {
        grid-column: 1 / -1;
        font-size: clamp(16px, 5vh, 26px);
        line-height: 1.1;
    }

    .slide6-divider-row {
        grid-column: 1 / -1;
        width: min(180px, 35vw);
        margin: 6px 0;
    }

    .slide6-list-title {
        grid-column: 1 / -1;
        font-size: clamp(10px, 2.6vh, 12px);
        margin-bottom: 6px;
    }

    .slide6-features {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: max-content max-content;
        column-gap: 16px;
        row-gap: 8px;
        justify-items: start;
    }

    .feature-item {
        gap: 8px;
    }

    .feature-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .feature-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .feature-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .feature-label {
        font-size: clamp(10px, 2.5vh, 12px);
    }

    /* Slide 12 — single column on the left */
    .slide12-content {
        left: 24px;
        right: auto;
        top: var(--header-zone);
        bottom: 48px;
        max-width: min(46vw, 380px);
        max-height: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        overflow: hidden;
    }

    .slide12-eyebrow {
        font-size: clamp(7px, 1.8vh, 9px);
        margin-bottom: 3px;
        letter-spacing: 2px;
    }

    .slide12-divider-row {
        display: none;
    }

    .slide12-headline {
        font-size: clamp(14px, 4.5vh, 24px);
        line-height: 1.05;
        margin-bottom: 6px;
    }

    .slide12-features {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .slide12-feature {
        padding: 3px 0;
        gap: 6px;
    }

    .slide12-feature:not(:last-child) {
        border-bottom-style: dashed;
        border-bottom-width: 1px;
        border-bottom-color: rgba(255, 255, 255, 0.12);
    }

    .slide12-feature-icon {
        width: 20px;
        height: 20px;
    }

    .slide12-feature-text {
        font-size: clamp(7px, 2vh, 10px);
        line-height: 1.25;
    }

    /* Slide 15 */
    .slide15-content {
        left: 24px;
        right: auto;
        top: var(--header-zone);
        bottom: 48px;
        transform: none;
        max-width: min(40vw, 280px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .slide15-explore {
        font-size: clamp(18px, 5vh, 28px);
        margin-bottom: 4px;
    }

    .slide15-logo {
        width: min(28vw, 140px);
        margin-bottom: 8px;
    }

    .slide15-divider-row {
        max-width: 140px;
        margin-bottom: 12px;
    }

    .slide15-qr {
        max-width: min(32vh, 180px);
    }

    /* Slide 16 */
    .slide16-header {
        top: var(--header-zone);
        bottom: 48px;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        padding-bottom: var(--vcenter-lift);
    }

    .slide16-headline {
        font-size: clamp(20px, 6.5vh, 34px);
        line-height: 1.05;
        letter-spacing: 1px;
    }

    .slide16-subhead {
        font-size: clamp(12px, 3.5vh, 18px);
        letter-spacing: 1px;
        margin-top: 8px;
        line-height: 1.35;
    }
}
