:root {
    --bg-sky: #fff4da;
    --bg-sunset: #ffc4a3;
    --bg-rose: #ff8a8a;
    --panel: rgba(255, 252, 245, 0.78);
    --panel-strong: rgba(255, 249, 238, 0.92);
    --text-main: #402218;
    --text-soft: #7c5548;
    --accent: #cc5a3c;
    --shadow: 0 24px 60px rgba(94, 41, 19, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 28%),
        radial-gradient(circle at right 20%, rgba(255, 215, 173, 0.8), transparent 20%),
        linear-gradient(135deg, var(--bg-sky), var(--bg-sunset) 52%, var(--bg-rose));
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
    opacity: 0.4;
}

body::before {
    top: 8%;
    right: -60px;
    background: rgba(255, 255, 255, 0.8);
}

body::after {
    bottom: 6%;
    left: -80px;
    background: rgba(255, 180, 140, 0.8);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.hero,
.showcase-panel,
.gallery-section {
    backdrop-filter: blur(18px);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero {
    padding: 36px;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-soft);
}

h1,
h2,
blockquote {
    font-family: 'Fraunces', serif;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 0.95;
}

.hero-copy {
    max-width: 640px;
    margin: 18px 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.shuffle-button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 700;
    color: #fffaf6;
    background: linear-gradient(135deg, #cf6848, #b74446);
    cursor: pointer;
    box-shadow: 0 16px 35px rgba(183, 68, 70, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.shuffle-button:hover,
.music-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(183, 68, 70, 0.34);
}

.music-button {
    border: 1px solid rgba(183, 68, 70, 0.2);
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255, 249, 238, 0.88);
    cursor: pointer;
    box-shadow: 0 16px 35px rgba(94, 41, 19, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.music-status {
    margin: 14px 4px 0;
    color: var(--text-soft);
}

main {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
}

.phrase-label {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

blockquote {
    margin: 14px 0 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.25;
}

.gallery-section {
    padding: 28px;
}

.photo-stage {
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 32px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 232, 214, 0.82)),
        rgba(255, 249, 238, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 48px rgba(94, 41, 19, 0.16);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: photo-fade 700ms ease;
}

.empty-state {
    display: grid;
    place-items: center;
    height: 100%;
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--text-soft);
    line-height: 1.7;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.gallery-status {
    margin: 12px 2px 0;
    color: var(--text-soft);
}

@keyframes card-rise {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes photo-fade {
    from {
        opacity: 0.4;
        transform: scale(1.03);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .hero,
    .showcase-panel,
    .gallery-section {
        border-radius: 22px;
    }

    .hero,
    .showcase-panel,
    .gallery-section {
        padding: 22px;
    }

    .showcase-panel {
        grid-template-columns: 1fr;
    }

    blockquote {
        font-size: 1.6rem;
    }
}
