.page-karaoke-landing {
    --karaoke-border: rgba(180, 130, 100, 0.22);
    --karaoke-border-strong: rgba(180, 130, 100, 0.36);
}

.page-karaoke-landing .btn-primary {
    box-shadow: none;
}

.page-karaoke-landing .btn-primary:hover {
    box-shadow: none;
}

.karaoke-hero {
    min-height: calc(100vh - var(--header-height) - 72px);
    position: relative;
    overflow: visible;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 1.5rem 0 2rem;
}

.karaoke-hero .theme-decor {
    position: absolute;
    pointer-events: none;
    background-image: url('/wedding_theme_elements/watercolor_blue_ink_splash.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.karaoke-hero .decor-3 {
    left: -8vw;
    top: -8vh;
    width: 34vw;
    height: 48vh;
    transform: rotate(-24deg);
}

.karaoke-hero .decor-4 {
    right: -7vw;
    bottom: -10vh;
    width: 42vw;
    height: 54vh;
    transform: rotate(18deg);
}

.karaoke-hero-layout {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.karaoke-hero-layout > * {
    min-width: 0;
}

.karaoke-hero-content {
    padding: 1rem 0;
    min-width: 0;
}

.page-karaoke-landing .hero-headline {
    font-size: 4.65rem;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.page-karaoke-landing .hero-subhead {
    font-family: 'SatsukiGendaiMincho', 'Noto Serif TC', serif;
    letter-spacing: 0;
    font-size: 1.35rem;
    margin-bottom: 1.4rem;
    max-width: 34rem;
}

.karaoke-cta-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.karaoke-stage-preview {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.36);
    border: 1px solid var(--karaoke-border-strong);
    border-radius: 16px;
    overflow: hidden;
}

.stage-preview-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--karaoke-border);
    background: rgba(255, 255, 255, 0.26);
}

.stage-preview-header span {
    font-family: 'MadelynRegular', 'Times New Roman', serif;
    font-size: 2.3rem;
    line-height: 1;
    color: var(--color-primary);
}

.stage-preview-header strong {
    font-family: 'ChenYuluoyan', 'SatsukiGendaiMincho', serif;
    font-size: 2.4rem;
    font-weight: normal;
    color: var(--color-text-main);
}

.stage-preview-body {
    position: relative;
    min-height: 340px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, transparent 48%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.34) 100%);
}

.stage-preview-lyrics {
    --lyric-row-height: 3.9rem;
    --lyric-row-gap: 0.5rem;
    --lyric-row-step: calc(var(--lyric-row-height) + var(--lyric-row-gap));
    width: min(100%, 520px);
    height: calc((var(--lyric-row-height) * 3) + (var(--lyric-row-gap) * 2));
    overflow: hidden;
    font-size: 1.28rem;
}

.stage-preview-lyrics-track {
    display: grid;
    gap: var(--lyric-row-gap);
    transition: transform 520ms ease;
    will-change: transform;
}

.stage-preview-lyrics.is-sliding .stage-preview-lyrics-track {
    transform: translateY(calc(var(--lyric-row-step) * -1));
}

.stage-preview-lyric-line {
    margin: 0;
    min-width: 0;
    height: var(--lyric-row-height);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--karaoke-border);
    color: var(--color-text-light);
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        color 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        opacity 220ms ease;
}

.stage-preview-lyric-line.top,
.stage-preview-lyric-line.bottom,
.stage-preview-lyric-line.incoming {
    opacity: 0.72;
}

.stage-preview-lyric-line.active {
    color: var(--color-text-main);
    border-color: transparent;
    background: rgba(255, 255, 255, 0.24);
    opacity: 1;
}

.stage-preview-actions {
    margin-top: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.stage-preview-answer-btn,
.stage-preview-replay-btn {
    border: 1px solid var(--karaoke-border-strong);
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.stage-preview-answer-btn {
    padding: 0.55rem 1.2rem;
}

.stage-preview-replay-btn {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.stage-preview-answer-btn:hover,
.stage-preview-answer-btn:focus-visible,
.stage-preview-replay-btn:hover,
.stage-preview-replay-btn:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    outline: none;
}

.stage-preview-answer-btn:disabled {
    cursor: default;
    color: var(--color-text-light);
    border-color: var(--karaoke-border);
    background: rgba(255, 255, 255, 0.22);
}

.karaoke-flow-section,
.karaoke-modes-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

.karaoke-flow-section {
    padding-top: 2rem;
}

.karaoke-flow-section h2,
.karaoke-modes-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.karaoke-flow-grid,
.karaoke-modes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.karaoke-modes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.karaoke-flow-item,
.karaoke-mode-item {
    background: transparent;
    border-bottom: 1px solid var(--karaoke-border);
    padding: 0 0 1.5rem;
}

.karaoke-mode-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    display: block;
}

.karaoke-flow-video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: block;
    background: var(--karaoke-border, #f0e9e2);
}

.karaoke-flow-item .flow-heading {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.flow-number {
    display: inline;
    font-family: 'MadelynRegular', 'Times New Roman', serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--color-primary);
    flex-shrink: 0;
}

.karaoke-flow-item h3,
.karaoke-mode-item h3 {
    font-size: 1.28rem;
    margin-bottom: 0.55rem;
}

.karaoke-flow-item h3 {
    margin-bottom: 0;
}

.karaoke-flow-item p,
.karaoke-mode-item p {
    font-size: 1.03rem;
    margin: 0;
}

.karaoke-program-visual {
    flex: 1;
    min-height: 340px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid var(--karaoke-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.28);
}

.program-line {
    position: absolute;
    left: 2.6rem;
    top: 3rem;
    bottom: 3rem;
    width: 1px;
    background: var(--karaoke-border-strong);
}

.program-point {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.7rem;
    color: var(--color-text-light);
}

.program-point::before {
    content: '';
    position: absolute;
    left: 0.22rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--color-surface-solid);
    border: 1px solid var(--karaoke-border-strong);
}

.program-point.active {
    color: var(--color-text-main);
}

.program-point.active::before {
    background: var(--color-primary);
}

.program-point strong {
    font-weight: normal;
    color: var(--color-primary);
}

.karaoke-screen-stack {
    flex: 1;
    display: grid;
    gap: 1rem;
}

.screen-card {
    border: 1px solid var(--karaoke-border);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.28);
}

.screen-card-main {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.38);
}

.screen-card span {
    display: block;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.screen-card strong {
    font-size: 1.45rem;
    font-weight: normal;
    color: var(--color-text-main);
}

.karaoke-songs-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

.karaoke-songs-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.karaoke-songs-intro {
    max-width: 52rem;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.karaoke-songs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.karaoke-song-card {
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid var(--karaoke-border);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.karaoke-song-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.55rem;
    color: var(--color-text-main);
}

.song-card-desc {
    font-size: 0.98rem;
    color: var(--color-text-light);
    margin: 0 0 1rem;
    line-height: 1.55;
}

.song-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px solid var(--karaoke-border);
}

.song-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--karaoke-border);
    font-size: 1rem;
    color: var(--color-text-main);
    line-height: 1.4;
}

.song-list li:last-child {
    border-bottom: none;
}

.song-list li span {
    color: var(--color-text-light);
    font-size: 0.92rem;
    margin-left: 0.3rem;
}

.karaoke-song-card-feature {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid var(--karaoke-border-strong);
    border-radius: 16px;
    padding: 2rem 2.2rem;
    margin-bottom: 2.5rem;
}

.karaoke-song-card-feature h3 {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
    color: var(--color-primary);
}

.karaoke-song-card-feature .song-card-desc {
    font-size: 1.05rem;
    max-width: 44rem;
    margin-bottom: 1.2rem;
}

.song-list-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
    border-top: none;
}

.song-list-examples li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--karaoke-border);
    color: var(--color-text-main);
}

.karaoke-songs-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .karaoke-songs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .karaoke-songs-grid {
        grid-template-columns: 1fr;
    }

    .karaoke-song-card-feature {
        padding: 1.6rem 1.4rem;
    }

    .song-list-examples {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.karaoke-final-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .karaoke-hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .karaoke-stage-preview {
        max-width: 680px;
        margin: 0 auto;
        width: 100%;
    }

    .stage-preview-body {
        min-height: 420px;
    }

    .karaoke-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .karaoke-hero {
        min-height: auto;
        padding: 1rem 0 3rem;
    }

    .karaoke-hero .theme-decor {
        display: none;
    }

    .karaoke-hero-layout {
        padding: 0 1.25rem;
    }

    .page-karaoke-landing .hero-headline {
        font-size: 3.7rem;
    }

    .page-karaoke-landing .hero-subhead {
        font-size: 1.12rem;
    }

    .karaoke-cta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-karaoke-landing .cta-group {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .page-karaoke-landing .hero-headline,
    .page-karaoke-landing .hero-subhead {
        max-width: 100%;
    }

    .stage-preview-header {
        flex-direction: column;
        gap: 0.15rem;
    }

    .stage-preview-header span {
        font-size: 2rem;
    }

    .stage-preview-header strong {
        font-size: 2.1rem;
    }

    .stage-preview-body {
        min-height: 310px;
        padding: 1.2rem;
    }

    .stage-preview-lyrics {
        --lyric-row-height: 3.4rem;
        font-size: 1.02rem;
    }

    .karaoke-flow-grid,
    .karaoke-modes-grid {
        grid-template-columns: 1fr;
    }

    .karaoke-program-visual {
        min-height: 300px;
        width: 100%;
    }

    .screen-card strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-karaoke-landing .hero-headline {
        font-size: 3.2rem;
    }

    .stage-preview-header,
    .stage-preview-body,
    .stage-preview-lyrics {
        min-width: 0;
    }

    .stage-preview-lyric-line {
        padding: 0.65rem 0.7rem;
    }

    .stage-preview-actions {
        width: 100%;
    }

    .stage-preview-answer-btn {
        flex: 1;
    }
}
