/* =========================================================
   01. RESET + PODSTAWY
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #25213a;
    overflow-x: hidden;
    background: #f7d7e8;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   02. KOLORY
========================================================= */

:root {
    --pink: #ff7eb6;
    --pink-light: #ffd1e5;

    --orange: #ff9a62;
    --orange-light: #ffd0b8;

    --yellow: #ffd86b;
    --yellow-light: #fff0b5;

    --green: #8bd9a8;
    --green-light: #c8f1d7;

    --blue: #7fc8ff;
    --blue-light: #c9e9ff;

    --purple: #9b8cff;

    --dark: #25213a;
    --dark-soft: #4a4563;

    --white: rgba(255, 255, 255, 0.72);
    --white-strong: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   03. TŁO
========================================================= */

.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffd5e7 0%,
            #ffe2b9 28%,
            #fff1b8 50%,
            #cdeed7 72%,
            #cce7ff 100%
        );
}

.blob {
    position: absolute;
    width: 45vw;
    height: 45vw;
    max-width: 520px;
    max-height: 520px;

    border-radius: 50%;
    filter: blur(80px);

    opacity: 0.55;

    animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-pink {
    top: -10%;
    left: -10%;
    background: var(--pink);
}

.blob-orange {
    top: 15%;
    right: -15%;
    background: var(--orange);

    animation-delay: -4s;
}

.blob-yellow {
    bottom: -15%;
    left: 10%;
    background: var(--yellow);

    animation-delay: -8s;
}

.blob-green {
    bottom: 10%;
    right: 5%;
    background: var(--green);

    animation-delay: -12s;
}

.blob-blue {
    top: 40%;
    left: 35%;
    background: var(--blue);

    animation-delay: -15s;
}


@keyframes blobFloat {

    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(40px, -30px, 0) scale(1.08);
    }

    100% {
        transform: translate3d(-30px, 40px, 0) scale(0.95);
    }
}


/* =========================================================
   04. GLASSMORPHISM
========================================================= */

.glass-card {
    background: rgba(255, 255, 255, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
        0 20px 60px rgba(60, 38, 80, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    border-radius: 32px;
}


/* =========================================================
   05. EKRANY
========================================================= */

.screen {
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.hidden {
    display: none;
}


/* =========================================================
   06. LOGIN
========================================================= */

.login-screen {
    position: relative;
}

.login-card {
    width: min(100%, 420px);

    padding: 42px 28px;

    text-align: center;

    animation: loginAppear 0.9s ease both;
}

.login-heart {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 126, 182, 0.75),
            rgba(255, 216, 107, 0.75)
        );

    color: white;

    font-size: 42px;

    box-shadow:
        0 12px 30px rgba(255, 126, 182, 0.28);
}

.login-card h1 {
    margin-bottom: 12px;

    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.login-card > p {
    color: var(--dark-soft);
    line-height: 1.65;
}

.login-card label {
    display: block;

    margin-top: 28px;
    margin-bottom: 8px;

    font-size: 0.9rem;
    font-weight: 700;

    color: var(--dark-soft);
}

#date-input {
    width: 100%;

    padding: 16px 18px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;

    outline: none;

    background: rgba(255, 255, 255, 0.6);

    color: var(--dark);

    text-align: center;

    font-size: 1.1rem;
    font-weight: 600;

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

#date-input::placeholder {
    color: rgba(37, 33, 58, 0.4);
}

#date-input:focus {
    border-color: rgba(255, 126, 182, 0.8);

    box-shadow:
        0 0 0 5px rgba(255, 126, 182, 0.12);

    transform: translateY(-1px);
}

#login-button {
    width: 100%;

    margin-top: 14px;

    padding: 16px 20px;

    border: none;
    border-radius: 18px;

    color: white;

    font-weight: 800;
    letter-spacing: 0.04em;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--orange)
        );

    box-shadow:
        0 14px 30px rgba(255, 126, 182, 0.25);

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

#login-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(255, 126, 182, 0.35);
}

#login-button:active {
    transform: translateY(0) scale(0.98);
}

.login-error {
    display: none;

    margin-top: 14px !important;

    color: #d44c78 !important;

    font-size: 0.9rem;
    font-weight: 700;
}

.login-error.show {
    display: block;
}

.login-card.shake {
    animation: shake 0.45s ease;
}


@keyframes loginAppear {

    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-10px);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(-7px);
    }

    80% {
        transform: translateX(7px);
    }
}


/* =========================================================
   07. GŁÓWNE SEKCJE
========================================================= */

.section {
    position: relative;

    width: 100%;
    min-height: 100svh;

    padding: 100px 20px;
}

.section-heading {
    width: min(100%, 720px);

    margin: 0 auto 60px;

    text-align: center;
}

.section-icon {
    display: block;

    margin-bottom: 14px;

    font-size: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 9vw, 4rem);

    line-height: 1;

    letter-spacing: -0.05em;

    margin-bottom: 18px;
}

.section-heading p {
    color: var(--dark-soft);

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   08. HERO
========================================================= */

.hero {
    min-height: 100svh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: flex;
    flex-direction: column;

    align-items: center;

    line-height: 0.9;

    animation: heroLogoAppear 1.2s ease both;
}

.hero-logo span {
    font-size: clamp(2.4rem, 11vw, 5rem);

    font-weight: 700;

    letter-spacing: -0.06em;

    color: #fff;

    text-shadow:
        0 8px 30px rgba(88, 47, 90, 0.18);
}

.hero-logo strong {
    margin-top: 8px;

    font-size: clamp(3.2rem, 15vw, 7rem);

    font-weight: 900;

    letter-spacing: -0.07em;

    background:
        linear-gradient(
            135deg,
            #ff5fa2,
            #ff9b62,
            #ffd85d
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    filter:
        drop-shadow(
            0 10px 25px rgba(255, 126, 182, 0.22)
        );
}

.hero-subtitle {
    margin-top: 30px;

    font-size: clamp(1rem, 4vw, 1.25rem);

    font-weight: 700;

    color: var(--dark);

    animation: heroSubtitleAppear 1s 0.4s ease both;
}

.scroll-indicator {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 7px;

    color: var(--dark-soft);

    font-size: 0.8rem;
    font-weight: 700;

    animation: scrollIndicatorAppear 1s 1s ease both;
}

.scroll-arrow {
    font-size: 1.5rem;

    animation: arrowBounce 1.8s ease-in-out infinite;
}

.hero-decor {
    position: absolute;

    z-index: 1;

    color: rgba(255, 255, 255, 0.8);

    pointer-events: none;
}

.hero-star-1 {
    top: 18%;
    left: 15%;

    font-size: 2rem;

    animation: floatDecor 4s ease-in-out infinite;
}

.hero-star-2 {
    top: 30%;
    right: 13%;

    font-size: 1.5rem;

    animation: floatDecor 5s -1s ease-in-out infinite;
}

.hero-heart-1 {
    bottom: 24%;
    left: 12%;

    font-size: 2.2rem;

    color: rgba(255, 255, 255, 0.65);

    animation: floatDecor 5s -2s ease-in-out infinite;
}

.hero-heart-2 {
    bottom: 32%;
    right: 10%;

    font-size: 1.7rem;

    color: rgba(255, 255, 255, 0.65);

    animation: floatDecor 4.5s -3s ease-in-out infinite;
}


@keyframes heroLogoAppear {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


@keyframes heroSubtitleAppear {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

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


@keyframes scrollIndicatorAppear {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes arrowBounce {

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

    50% {
        transform: translateY(7px);
    }
}


@keyframes floatDecor {

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

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}


/* =========================================================
   09. RESPONSYWNOŚĆ
========================================================= */

@media (min-width: 700px) {

    .section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .login-card {
        padding: 50px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================================================
   10. ŻYCZENIA
========================================================= */

.wishes-section {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 126, 182, 0.08)
        );
}

.wishes-container {
    width: min(100%, 900px);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 22px;
}

.wish-card {
    position: relative;

    padding: 30px 26px 32px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.wish-card::before {
    content: "";

    position: absolute;

    top: -70px;
    right: -70px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: rgba(255, 126, 182, 0.18);

    filter: blur(10px);
}

.wish-card:nth-child(2)::before {
    background: rgba(255, 154, 98, 0.2);
}

.wish-card:nth-child(3)::before {
    background: rgba(255, 216, 107, 0.22);
}

.wish-card:nth-child(4)::before {
    background: rgba(139, 217, 168, 0.22);
}

.wish-card:nth-child(5)::before {
    background: rgba(127, 200, 255, 0.22);
}

.wish-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 28px 70px rgba(60, 38, 80, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wish-number {
    display: block;

    margin-bottom: 16px;

    font-size: 0.75rem;

    font-weight: 900;

    letter-spacing: 0.18em;

    color: rgba(37, 33, 58, 0.4);
}

.wish-card h3 {
    position: relative;

    margin-bottom: 14px;

    font-size: clamp(1.45rem, 6vw, 2rem);

    letter-spacing: -0.04em;
}

.wish-card p {
    position: relative;

    color: var(--dark-soft);

    line-height: 1.8;

    font-size: 0.98rem;
}


/* =========================================================
   11. GALERIA ZDJĘĆ
========================================================= */

.photos-section {
    overflow: hidden;
}

.photo-gallery {
    width: min(100%, 1000px);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.photo-card {
    position: relative;

    min-height: 230px;

    overflow: hidden;

    border-radius: 28px;

    border: 7px solid rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.3);

    box-shadow:
        0 18px 45px rgba(60, 38, 80, 0.14);

    transform: rotate(-2deg);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.photo-card:nth-child(2) {
    transform: rotate(2.5deg);
}

.photo-card:nth-child(3) {
    transform: rotate(1deg);
}

.photo-card:nth-child(4) {
    transform: rotate(-2.8deg);
}

.photo-card:nth-child(5) {
    transform: rotate(-1.5deg);
}

.photo-card:nth-child(6) {
    transform: rotate(2deg);
}

.photo-card:nth-child(7) {
    transform: rotate(2.5deg);
}

.photo-card:nth-child(8) {
    transform: rotate(-1.5deg);
}

.photo-card:nth-child(9) {
    transform: rotate(1deg);
}

.photo-card:hover {
    z-index: 5;

    transform:
        rotate(0deg)
        translateY(-8px)
        scale(1.025);

    box-shadow:
        0 30px 70px rgba(60, 38, 80, 0.22);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 230px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 126, 182, 0.25),
            rgba(255, 216, 107, 0.2)
        );

    color: rgba(37, 33, 58, 0.5);

    text-align: center;
}

.photo-card:nth-child(2) .photo-placeholder {
    background:
        linear-gradient(
            135deg,
            rgba(255, 154, 98, 0.25),
            rgba(255, 216, 107, 0.2)
        );
}

.photo-card:nth-child(3) .photo-placeholder {
    background:
        linear-gradient(
            135deg,
            rgba(139, 217, 168, 0.25),
            rgba(127, 200, 255, 0.2)
        );
}

.photo-placeholder span {
    font-size: 2.5rem;
}

.photo-placeholder small {
    font-size: 0.75rem;
    font-weight: 800;
}

.photos-ending {
    width: min(100%, 600px);

    margin: 70px auto 0;

    text-align: center;

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--dark-soft);
}
.photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================
   12. 18 RZECZY
========================================================= */

.reasons-section {
    background:
        linear-gradient(
            180deg,
            rgba(255, 126, 182, 0.08),
            rgba(255, 216, 107, 0.08)
        );
}

.reasons-grid {
    width: min(100%, 900px);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.reason-card {
    position: relative;

    height: 180px;

    perspective: 1000px;

    cursor: pointer;
}

.reason-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transition:
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);

    transform-style: preserve-3d;
}

.reason-card.flipped .reason-inner {
    transform: rotateY(180deg);
}

.reason-front,
.reason-back {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 18px;

    text-align: center;

    border-radius: 28px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    background:
        rgba(255, 255, 255, 0.45);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 16px 40px rgba(60, 38, 80, 0.1);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reason-front {
    gap: 7px;
}

.reason-front > span {
    font-size: 1.4rem;

    color: rgba(255, 126, 182, 0.8);
}

.reason-front strong {
    font-size: 2.4rem;

    line-height: 1;

    letter-spacing: -0.05em;
}

.reason-front small {
    margin-top: 4px;

    font-size: 0.65rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: rgba(37, 33, 58, 0.4);
}

.reason-back {
    transform: rotateY(180deg);

    background:
        linear-gradient(
            135deg,
            rgba(255, 126, 182, 0.55),
            rgba(255, 216, 107, 0.4)
        );
}

.reason-back p {
    font-size: 1rem;

    font-weight: 800;

    line-height: 1.4;
}

.reason-back span {
    margin-top: 12px;

    font-size: 1.2rem;

    color: rgba(255, 255, 255, 0.8);
}

.reason-card:nth-child(3n) .reason-back {
    background:
        linear-gradient(
            135deg,
            rgba(139, 217, 168, 0.55),
            rgba(127, 200, 255, 0.4)
        );
}

.reason-card:nth-child(4n) .reason-back {
    background:
        linear-gradient(
            135deg,
            rgba(255, 154, 98, 0.55),
            rgba(255, 216, 107, 0.45)
        );
}

.reasons-ending {
    width: min(100%, 600px);

    margin: 65px auto 0;

    text-align: center;

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--dark-soft);
}


/* =========================================================
   13. WIDOKI
========================================================= */

.places-section {
    overflow: hidden;
}

.places-container {
    width: min(100%, 800px);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 70px;
}

.place-card {
    position: relative;

    overflow: hidden;

    border-radius: 36px;

    background:
        rgba(255, 255, 255, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 25px 70px rgba(60, 38, 80, 0.14);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.place-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(127, 200, 255, 0.4),
            rgba(139, 217, 168, 0.35)
        );
}

.place-card:nth-child(2) .place-image {
    background:
        linear-gradient(
            135deg,
            rgba(255, 126, 182, 0.4),
            rgba(255, 216, 107, 0.35)
        );
}

.place-card:nth-child(3) .place-image {
    background:
        linear-gradient(
            135deg,
            rgba(255, 154, 98, 0.4),
            rgba(255, 126, 182, 0.3)
        );
}

.place-image span {
    font-size: 4rem;

    opacity: 0.5;
}

.place-content {
    position: relative;

    padding: 28px;
}

.place-number {
    display: block;

    margin-bottom: 8px;

    font-size: 0.7rem;

    font-weight: 900;

    letter-spacing: 0.2em;

    color: rgba(37, 33, 58, 0.4);
}

.place-content h3 {
    margin-bottom: 10px;

    font-size: 1.7rem;

    letter-spacing: -0.04em;
}

.place-content p {
    color: var(--dark-soft);

    line-height: 1.7;
}

.places-ending {
    margin: 70px auto 0;

    text-align: center;

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--dark-soft);
}


/* =========================================================
   14. WIELKA 18
========================================================= */

.eighteen-section {
    min-height: 100svh;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.45),
            transparent 50%
        );
}

.eighteen-content {
    position: relative;

    z-index: 2;
}

.eighteen-number {
    font-size: clamp(10rem, 55vw, 24rem);

    line-height: 0.75;

    font-weight: 1000;

    letter-spacing: -0.12em;

    background:
        linear-gradient(
            135deg,
            #ff5fa2,
            #ff9a62,
            #ffd85d,
            #8bd9a8,
            #7fc8ff
        );

    background-size: 300% 300%;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        gradientMove 8s ease infinite,
        numberFloat 5s ease-in-out infinite;

    filter:
        drop-shadow(
            0 25px 40px rgba(60, 38, 80, 0.12)
        );
}

.eighteen-content h2 {
    margin-top: 35px;

    font-size: clamp(1.7rem, 7vw, 3.5rem);

    letter-spacing: -0.05em;
}

.eighteen-content p {
    margin-top: 14px;

    color: var(--dark-soft);

    font-size: 1.1rem;

    font-weight: 700;
}

.confetti {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.confetti span {
    position: absolute;

    font-size: 2rem;

    animation: confettiFloat 6s ease-in-out infinite;
}

.confetti span:nth-child(1) {
    top: 15%;
    left: 12%;
}

.confetti span:nth-child(2) {
    top: 20%;
    right: 16%;

    animation-delay: -1s;
}

.confetti span:nth-child(3) {
    bottom: 20%;
    left: 15%;

    animation-delay: -2s;
}

.confetti span:nth-child(4) {
    bottom: 15%;
    right: 13%;

    animation-delay: -3s;
}

.confetti span:nth-child(5) {
    top: 45%;
    left: 8%;

    animation-delay: -4s;
}

.confetti span:nth-child(6) {
    top: 50%;
    right: 8%;

    animation-delay: -5s;
}


@keyframes gradientMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes numberFloat {

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

    50% {
        transform: translateY(-12px);
    }
}


@keyframes confettiFloat {

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

    50% {
        transform: translateY(-30px) rotate(12deg);
    }
}


/* =========================================================
   15. JESZCZE NIE
========================================================= */

.not-over-section {
    min-height: 80svh;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.not-over-content {
    width: min(100%, 600px);

    display: flex;

    flex-direction: column;

    align-items: center;
}

.not-over-content h2 {
    margin-bottom: 35px;

    font-size: clamp(2.2rem, 10vw, 4.5rem);

    line-height: 1;

    letter-spacing: -0.06em;
}

#not-over-button {
    padding: 18px 30px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.45);

    color: var(--dark);

    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(60, 38, 80, 0.12);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#not-over-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 45px rgba(60, 38, 80, 0.18);
}

#not-over-button:active {
    transform: scale(0.96);
}


/* =========================================================
   16. FINAŁ
========================================================= */

.final-section {
    min-height: 100svh;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(108, 84, 170, 0.4),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #151225,
            #24203d
        );
}

.final-content {
    width: min(100%, 700px);

    padding: 30px;
}

.final-line {
    opacity: 0;
}

.final-line-1 {
    font-size: 1.2rem;

    color: rgba(255, 255, 255, 0.6);
}

.final-line-2 {
    margin-top: 30px;

    font-size: clamp(1.5rem, 7vw, 2.8rem);

    font-weight: 700;
}

.final-line-3 {
    margin-top: 35px;

    font-size: 1.05rem;

    color: rgba(255, 255, 255, 0.65);
}

.final-line-4 {
    margin-top: 55px;

    font-size: clamp(2.5rem, 12vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.07em;

    background:
        linear-gradient(
            135deg,
            #ff7eb6,
            #ffd86b,
            #ffffff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.final-section.active .final-line-1 {
    animation: finalAppear 1s ease forwards;
}

.final-section.active .final-line-2 {
    animation: finalAppear 1s 1.2s ease forwards;
}

.final-section.active .final-line-3 {
    animation: finalAppear 1s 2.5s ease forwards;
}

.final-section.active .final-line-4 {
    animation: finalAppear 1.3s 4s ease forwards;
}


@keyframes finalAppear {

    from {
        opacity: 0;

        transform:
            translateY(25px);

        filter: blur(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);

        filter: blur(0);
    }
}


/* =========================================================
   17. MODAL ZDJĘĆ
========================================================= */

.photo-modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(15, 12, 28, 0.78);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.photo-modal.active {
    display: flex;
}

.photo-modal img {
    max-width: 100%;
    max-height: 90svh;

    border-radius: 24px;

    object-fit: contain;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.4);

    animation: modalAppear 0.4s ease;
}

.close-modal {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 2rem;

    line-height: 1;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


@keyframes modalAppear {

    from {
        opacity: 0;

        transform:
            scale(0.9);

        filter: blur(8px);
    }

    to {
        opacity: 1;

        transform:
            scale(1);

        filter: blur(0);
    }
}


/* =========================================================
   18. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   19. TABLET / DESKTOP
========================================================= */

@media (min-width: 700px) {

    .wishes-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .wish-card:last-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 11px);

        justify-self: center;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);

        align-items: center;
    }

    .photo-card {
        min-height: 280px;
    }

    .photo-placeholder {
        min-height: 280px;
    }

    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reason-card {
        height: 210px;
    }
}


/* =========================================================
   20. MAŁE TELEFONY
========================================================= */

@media (max-width: 380px) {

    .section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .reasons-grid {
        gap: 10px;
    }

    .reason-card {
        height: 165px;
    }

    .reason-front strong {
        font-size: 2rem;
    }

    .reason-front small {
        font-size: 0.58rem;
    }

    .photo-gallery {
        gap: 12px;
    }

    .photo-card {
        border-width: 5px;
        border-radius: 22px;
    }
    

}
/* =========================================================
   21. DARK MODE BUTTON
========================================================= */

.theme-toggle {
    position: fixed;

    top: calc(16px + env(safe-area-inset-top));
    left: 16px;

    z-index: 2100;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.48);

    color: var(--dark);

    font-size: 1.45rem;

    box-shadow:
        0 10px 30px rgba(60, 38, 80, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

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

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.04);
}

.theme-toggle:active {
    transform: scale(0.95);
}


/* =========================================================
   22. PLAYER MUZYCZNY
========================================================= */

.music-player {
    position: fixed;

    top: calc(16px + env(safe-area-inset-top));
    right: 16px;

    z-index: 2000;

    width: min(360px, calc(100vw - 96px));

    padding: 17px;

    border-radius: 26px;

    border: 1px solid rgba(255, 255, 255, 0.72);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0.38)
        );

    box-shadow:
        0 20px 60px rgba(60, 38, 80, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-20px)
        scale(0.94);

    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0.55s,
        background 0.4s ease,
        border-color 0.4s ease;
}


.music-player.music-visible {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================
   GÓRA PLAYERA
========================================= */

.music-player-top {
    display: flex;

    align-items: center;

    gap: 12px;
}


.music-cover {
    flex-shrink: 0;

    width: 45px;
    height: 45px;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 22px rgba(255, 126, 182, 0.28);

    transition:
        transform 0.35s ease;
}

.music-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.music-info {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.music-info strong {
    overflow: hidden;

    font-size: 0.94rem;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.music-info span {
    color: var(--dark-soft);

    font-size: 0.77rem;
    font-weight: 600;

    transition: color 0.4s ease;
}


.music-playing-dot {
    flex-shrink: 0;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: rgba(37, 33, 58, 0.2);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.music-player.music-playing .music-playing-dot {
    background: #65d890;

    box-shadow:
        0 0 0 5px rgba(101, 216, 144, 0.14),
        0 0 15px rgba(101, 216, 144, 0.55);

    animation: musicDotPulse 1.6s ease-in-out infinite;
}


/* =========================================
   GŁÓWNE PRZYCISKI
========================================= */

.music-main-controls {
    margin-top: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 17px;
}


.music-play-button,
.music-control-small {
    border: none;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        transform 0.2s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.music-play-button {
    width: 49px;
    height: 49px;

    border-radius: 17px;

    color: white;

    font-size: 1rem;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--orange)
        );

    box-shadow:
        0 10px 25px rgba(255, 126, 182, 0.28);
}


.music-control-small {
    width: 38px;
    height: 38px;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.44);

    color: var(--dark);

    font-size: 0.69rem;

    font-weight: 800;
}


.music-play-button:hover,
.music-control-small:hover {
    transform: translateY(-2px);
}


.music-play-button:active,
.music-control-small:active {
    transform: scale(0.92);
}


/* =========================================
   PASEK UTWORU
========================================= */

.music-progress-row {
    margin-top: 16px;

    display: grid;

    grid-template-columns: 34px 1fr 34px;

    align-items: center;

    gap: 8px;
}


.music-progress-row span {
    color: var(--dark-soft);

    font-size: 0.67rem;

    font-weight: 700;

    text-align: center;

    transition: color 0.4s ease;
}


/* =========================================
   RANGE
========================================= */

.music-player input[type="range"] {
    width: 100%;

    height: 5px;

    margin: 0;

    border-radius: 999px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange) var(--range-progress, 0%),
            rgba(37, 33, 58, 0.16) var(--range-progress, 0%),
            rgba(37, 33, 58, 0.16) 100%
        );
}


.music-player input[type="range"]::-webkit-slider-thumb {
    width: 14px;
    height: 14px;

    border: 3px solid rgba(255, 255, 255, 0.92);

    border-radius: 50%;

    appearance: none;
    -webkit-appearance: none;

    background: var(--pink);

    box-shadow:
        0 2px 8px rgba(60, 38, 80, 0.25);
}


.music-player input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border: 3px solid rgba(255, 255, 255, 0.92);

    border-radius: 50%;

    background: var(--pink);
}


/* =========================================
   GŁOŚNOŚĆ
========================================= */

.music-volume-row {
    margin-top: 14px;

    display: grid;

    grid-template-columns: 25px 1fr;

    align-items: center;

    gap: 9px;
}


.music-volume-row span {
    font-size: 0.8rem;
}


#music-volume {
    --range-progress: 10%;
}


/* =========================================
   PLAYER ANIMACJE
========================================= */

@keyframes musicDotPulse {

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

    50% {
        transform: scale(1.25);
    }
}


/* =========================================================
   23. CIEMNY TRYB
========================================================= */

body {
    transition:
        color 0.45s ease,
        background 0.45s ease;
}


.background::after {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 20% 15%,
            rgba(186, 85, 140, 0.25),
            transparent 36%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(87, 130, 188, 0.22),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #151322,
            #211b33 45%,
            #181b2b
        );

    transition:
        opacity 0.6s ease;
}


body.dark-mode {
    --dark: #f6f3ff;
    --dark-soft: #cbc5db;

    color: #f6f3ff;

    background: #171421;
}


body.dark-mode .background::after {
    opacity: 1;
}


body.dark-mode .blob {
    opacity: 0.26;

    filter: blur(100px);
}


/* =========================================
   SZKŁO DARK
========================================= */

body.dark-mode .glass-card,
body.dark-mode .reason-front,
body.dark-mode .place-card {
    background:
        rgba(40, 35, 58, 0.58);

    border-color:
        rgba(255, 255, 255, 0.13);

    box-shadow:
        0 22px 65px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}


body.dark-mode .theme-toggle {
    color: white;

    background:
        rgba(40, 35, 58, 0.68);

    border-color:
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.26);
}


/* =========================================
   PLAYER DARK
========================================= */

body.dark-mode .music-player {
    background:
        linear-gradient(
            135deg,
            rgba(43, 37, 62, 0.82),
            rgba(28, 25, 43, 0.66)
        );

    border-color:
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


body.dark-mode .music-control-small {
    background:
        rgba(255, 255, 255, 0.08);

    color: white;
}


body.dark-mode .music-player input[type="range"] {
    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange) var(--range-progress, 0%),
            rgba(255, 255, 255, 0.14) var(--range-progress, 0%),
            rgba(255, 255, 255, 0.14) 100%
        );
}


/* =========================================
   POLA / TEKSTY DARK
========================================= */

body.dark-mode #date-input {
    color: white;

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.13);
}


body.dark-mode #date-input::placeholder {
    color:
        rgba(255, 255, 255, 0.38);
}


body.dark-mode .wish-number,
body.dark-mode .place-number,
body.dark-mode .reason-front small {
    color:
        rgba(255, 255, 255, 0.42);
}


body.dark-mode .photo-card {
    border-color:
        rgba(255, 255, 255, 0.14);

    background:
        rgba(255, 255, 255, 0.06);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.22);
}


body.dark-mode .photo-placeholder {
    color:
        rgba(255, 255, 255, 0.58);
}


body.dark-mode #not-over-button {
    color: white;

    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.13);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   24. PLAYER — TELEFON
========================================================= */

@media (max-width: 600px) {

    .theme-toggle {
        top: calc(12px + env(safe-area-inset-top));
        left: 12px;

        width: 46px;
        height: 46px;

        border-radius: 15px;
    }


    .music-player {
        top: calc(70px + env(safe-area-inset-top));
        right: 12px;

        width: calc(100vw - 24px);

        padding: 15px;

        border-radius: 23px;
    }


    .music-cover {
        width: 44px;
        height: 44px;

        border-radius: 14px;
    }


    .music-main-controls {
        margin-top: 12px;
    }


    .music-progress-row {
        margin-top: 13px;
    }


    .music-volume-row {
        margin-top: 12px;
    }
}
/* =========================================================
   25. PLAYER — ZWIJANIE / ROZWIJANIE
========================================================= */

.music-player {
    width: min(350px, calc(100vw - 90px));

    padding: 12px;

    border-radius: 22px;

    overflow: hidden;

    transition:
        width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        padding 0.35s ease,
        border-radius 0.35s ease,
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.4s ease;
}


/* =========================================
   GÓRNY PASEK
========================================= */

.music-player-top {
    gap: 10px;
}


.music-cover {
    width: 45px;
    height: 45px;

    border-radius: 14px;

    transition:
        transform 0.35s ease;
}


.music-player.music-playing .music-cover {
    transform: scale(1.04);
}


.music-info strong {
    font-size: 0.9rem;
}


.music-info span {
    font-size: 0.72rem;
}


/* =========================================
   PLAY W MAŁYM PLAYERZE
========================================= */

.music-player-top .music-play-button {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    border-radius: 13px;

    font-size: 0.82rem;
}


/* =========================================
   STRZAŁKA ROZWIJANIA
========================================= */

.music-expand-button {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.4);

    color: var(--dark);

    font-size: 1.15rem;
    font-weight: 900;

    transition:
        transform 0.35s ease,
        background 0.25s ease,
        color 0.4s ease;
}


.music-expand-button:hover {
    background:
        rgba(255, 255, 255, 0.62);
}


.music-expand-button:active {
    transform: scale(0.9);
}


/* =========================================
   UKRYTA CZĘŚĆ
========================================= */

.music-player-details {
    max-height: 0;

    opacity: 0;

    overflow: hidden;

    pointer-events: none;

    transform: translateY(-8px);

    transition:
        max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.3s ease,
        transform 0.4s ease;
}


/* =========================================
   ROZWINIĘTY PLAYER
========================================= */

.music-player.expanded {
    padding: 16px;

    border-radius: 26px;
}


.music-player.expanded .music-player-details {
    max-height: 220px;

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}


.music-player.expanded .music-expand-button {
    transform: rotate(180deg);
}


/* =========================================
   DROBNE STEROWANIE
========================================= */

.music-main-controls {
    margin-top: 16px;

    display: grid;

    grid-template-columns: 42px 1fr 42px;

    align-items: center;

    gap: 12px;
}


.music-controls-title {
    text-align: center;

    color: var(--dark-soft);

    font-size: 0.67rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


/* =========================================
   DARK MODE
========================================= */

body.dark-mode .music-expand-button {
    color: white;

    background:
        rgba(255, 255, 255, 0.08);
}


body.dark-mode .music-expand-button:hover {
    background:
        rgba(255, 255, 255, 0.14);
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .music-player {
    top: calc(12px + env(safe-area-inset-top));

    left: 76px;
    right: 12px;

    width: auto;

    padding: 10px;
    border-radius: 19px;
}


    .music-player.expanded {
    top: calc(70px + env(safe-area-inset-top));

    left: 12px;
    right: 12px;

    width: auto;

    padding: 15px;

    border-radius: 24px;
}


    .music-cover {
        width: 42px;
        height: 42px;

        border-radius: 13px;
    }


    .music-player-top .music-play-button {
        width: 38px;
        height: 38px;
    }


    .music-expand-button {
        width: 36px;
        height: 36px;
    }


    .music-player:not(.expanded) .music-playing-dot {
        display: none;
    }

}


/* =========================================================
   BARDZO MAŁE TELEFONY
========================================================= */

@media (max-width: 360px) {

    .music-info span {
        display: none;
    }


    .music-player:not(.expanded) {
        width: calc(100vw - 76px);
    }

}
/* =========================================================
   26. FILMIKI
========================================================= */

.videos-section {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(127, 200, 255, 0.04),
            rgba(255, 126, 182, 0.07)
        );
}


.videos-container {
    width: min(100%, 850px);

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 45px;
}


/* =========================================================
   KARTA VIDEO
========================================================= */

.video-card {
    overflow: hidden;

    border-radius: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.7);

    background:
        rgba(255, 255, 255, 0.46);

    box-shadow:
        0 25px 70px rgba(60, 38, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter:
        blur(25px) saturate(140%);

    -webkit-backdrop-filter:
        blur(25px) saturate(140%);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 32px 80px rgba(60, 38, 80, 0.2);
}


/* =========================================================
   SAM FILM
========================================================= */

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 126, 182, 0.28),
            rgba(255, 216, 107, 0.25),
            rgba(127, 200, 255, 0.24)
        );
}


.memory-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   DUŻY PLAY NA ŚRODKU
========================================================= */

.video-big-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 23px;

    background:
        rgba(255, 255, 255, 0.6);

    color: var(--dark);

    font-size: 1.3rem;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}


.video-big-play:hover {
    transform:
        translate(-50%, -50%)
        scale(1.07);
}


.video-card.video-playing .video-big-play {
    opacity: 0;

    pointer-events: none;

    transform:
        translate(-50%, -50%)
        scale(0.85);
}


/* =========================================================
   DOLNY PANEL
========================================================= */

.video-controls {
    min-height: 68px;

    padding: 13px 16px;

    display: grid;

    grid-template-columns:
        42px
        35px
        minmax(0, 1fr)
        35px
        42px
        42px;

    align-items: center;

    gap: 8px;
}


/* =========================================================
   PRZYCISKI
========================================================= */

.video-play,
.video-volume,
.video-fullscreen {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 13px;

    color: var(--dark);

    background:
        rgba(255, 255, 255, 0.44);

    transition:
        transform 0.2s ease,
        background 0.25s ease,
        color 0.4s ease;
}


.video-play {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--orange)
        );

    box-shadow:
        0 8px 22px
        rgba(255, 126, 182, 0.23);
}


.video-play:hover,
.video-volume:hover,
.video-fullscreen:hover {
    transform: translateY(-2px);
}


.video-play:active,
.video-volume:active,
.video-fullscreen:active {
    transform: scale(0.92);
}


/* =========================================================
   CZAS
========================================================= */

.video-current,
.video-duration {
    font-size: 0.65rem;

    font-weight: 800;

    text-align: center;

    color: var(--dark-soft);
}


/* =========================================================
   SUWAK
========================================================= */

.video-progress {
    width: 100%;

    height: 5px;

    border-radius: 999px;

    appearance: none;
    -webkit-appearance: none;

    outline: none;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--video-progress, 0%),

            rgba(37, 33, 58, 0.15)
            var(--video-progress, 0%),

            rgba(37, 33, 58, 0.15)
            100%
        );
}


.video-progress::-webkit-slider-thumb {
    width: 15px;
    height: 15px;

    border:
        3px solid rgba(255, 255, 255, 0.95);

    border-radius: 50%;

    appearance: none;
    -webkit-appearance: none;

    background: var(--pink);

    box-shadow:
        0 3px 8px rgba(60, 38, 80, 0.22);
}


.video-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border:
        3px solid rgba(255, 255, 255, 0.95);

    border-radius: 50%;

    background: var(--pink);
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .video-card {
    background:
        rgba(40, 35, 58, 0.6);

    border-color:
        rgba(255, 255, 255, 0.13);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0
        rgba(255, 255, 255, 0.08);
}


body.dark-mode .video-big-play {
    color: white;

    background:
        rgba(35, 31, 50, 0.68);

    border-color:
        rgba(255, 255, 255, 0.15);
}


body.dark-mode .video-volume,
body.dark-mode .video-fullscreen {
    color: white;

    background:
        rgba(255, 255, 255, 0.08);
}


body.dark-mode .video-progress {
    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--video-progress, 0%),

            rgba(255, 255, 255, 0.14)
            var(--video-progress, 0%),

            rgba(255, 255, 255, 0.14)
            100%
        );
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .videos-container {
        gap: 32px;
    }


    .video-card {
        border-radius: 24px;
    }


    .video-controls {
        padding: 11px;

        grid-template-columns:
            39px
            31px
            minmax(0, 1fr)
            31px
            39px;

        gap: 6px;
    }


    .video-fullscreen {
        display: none;
    }


    .video-play,
    .video-volume {
        width: 38px;
        height: 38px;

        border-radius: 12px;
    }


    .video-big-play {
        width: 60px;
        height: 60px;

        border-radius: 20px;
    }

}
/* =========================================================
   VIDEO - CINEMA MODE
========================================================= */

.video-card {
    position: relative;
}


/* X W PRAWYM GÓRNYM ROGU */

.video-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 20;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 14px;

    background: rgba(20, 18, 28, 0.55);

    color: white;

    font-size: 1rem;
    font-weight: 800;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: scale(0.8);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}


.video-card.video-expanded .video-close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: scale(1);
}


/* =========================================================
   ROZSZERZONY FILM
========================================================= */

.video-card.video-expanded {
    position: fixed;

    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;

    width: auto;
    height: auto;

    z-index: 5000;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 28px;

    background: rgba(18, 16, 25, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.5);

    transform: none;
}


.video-card.video-expanded:hover {
    transform: none;
}


/* =========================================================
   TŁO ZA ROZSZERZONYM FILMEM
========================================================= */

.video-cinema-backdrop {
    position: fixed;

    inset: 0;

    z-index: 4900;

    background: rgba(10, 8, 16, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;

    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.video-cinema-backdrop.active {
    opacity: 1;

    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   VIDEO W TRYBIE ROZSZERZONYM
========================================================= */

.video-card.video-expanded .video-wrapper {
    flex: 1;

    width: 100%;

    min-height: 0;

    aspect-ratio: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(60, 48, 78, 0.75),
            rgba(12, 10, 18, 1)
        );
}


.video-card.video-expanded .memory-video {
    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #000;
}


/* =========================================================
   STEROWANIE
========================================================= */

.video-controls {
    grid-template-columns:
        42px
        38px
        minmax(80px, 1fr)
        38px
        minmax(100px, 150px)
        42px;
}


.video-card.video-expanded .video-controls {
    flex-shrink: 0;

    min-height: 78px;

    padding:
        14px
        18px
        calc(14px + env(safe-area-inset-bottom));

    background: rgba(28, 24, 38, 0.96);

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   GŁOŚNOŚĆ
========================================================= */

.video-volume-box {
    display: flex;
    align-items: center;

    gap: 8px;
}


.video-volume-slider {
    width: 100%;

    min-width: 55px;

    height: 5px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 999px;

    outline: none;

    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--video-volume, 80%),

            rgba(37, 33, 58, 0.18)
            var(--video-volume, 80%),

            rgba(37, 33, 58, 0.18)
            100%
        );
}


.video-volume-slider::-webkit-slider-thumb {
    width: 14px;
    height: 14px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;
}


.video-volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;
}


/* =========================================================
   BLOKADA SCROLLA
========================================================= */

body.video-open {
    overflow: hidden;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .video-card.video-expanded {
    background: rgba(16, 14, 22, 0.97);
}


body.dark-mode .video-card.video-expanded .video-controls {
    background: rgba(24, 21, 32, 0.97);
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .video-card.video-expanded {
        top: calc(10px + env(safe-area-inset-top));
        left: 10px;
        right: 10px;

        bottom:
            calc(10px + env(safe-area-inset-bottom));

        border-radius: 24px;
    }


    .video-card.video-expanded .video-controls {
        min-height: 72px;

        padding: 11px;
    }


    .video-card.video-expanded .video-close {
        top: 10px;
        right: 10px;

        width: 42px;
        height: 42px;
    }


    .video-controls {
        grid-template-columns:
            38px
            30px
            minmax(60px, 1fr)
            30px
            40px;

        gap: 6px;
    }


    .video-volume-box {
        display: none;
    }


    .video-fullscreen {
        display: flex;
    }

}
/* =========================================================
   27. VIDEO - MOBILE CONTROLS FIX
========================================================= */

@media (max-width: 600px) {

    /* =========================================
       STEROWANIE W ROZSZERZONYM FILMIE
    ========================================== */

    .video-card.video-expanded .video-controls {
        display: grid;

        grid-template-columns:
            40px
            36px
            minmax(0, 1fr)
            36px
            40px;

        grid-template-areas:
            "play current progress duration fullscreen"
            "volume volume volume volume volume";

        gap: 10px 7px;

        align-items: center;

        padding:
            12px
            12px
            calc(12px + env(safe-area-inset-bottom));

        min-height: auto;

        background:
            rgba(28, 24, 38, 0.96);
    }


    /* PLAY */

    .video-card.video-expanded .video-play {
        grid-area: play;

        width: 40px;
        height: 40px;
    }


    /* AKTUALNY CZAS */

    .video-card.video-expanded .video-current {
        grid-area: current;

        font-size: 0.64rem;

        color:
            rgba(255, 255, 255, 0.7);
    }


    /* PASEK FILMU */

    .video-card.video-expanded .video-progress {
        grid-area: progress;

        width: 100%;
        min-width: 0;
    }


    /* DŁUGOŚĆ */

    .video-card.video-expanded .video-duration {
        grid-area: duration;

        font-size: 0.64rem;

        color:
            rgba(255, 255, 255, 0.7);
    }


    /* FULLSCREEN */

    .video-card.video-expanded .video-fullscreen {
        grid-area: fullscreen;

        display: flex;

        width: 40px;
        height: 40px;

        flex-shrink: 0;

        color: white;

        background:
            rgba(255, 255, 255, 0.08);

        border:
            1px solid
            rgba(255, 255, 255, 0.08);
    }


    /* =========================================
       GŁOŚNOŚĆ - DRUGI RZĄD
    ========================================== */

    .video-card.video-expanded .video-volume-box {
        grid-area: volume;

        display: grid;

        grid-template-columns:
            40px
            minmax(0, 1fr);

        align-items: center;

        gap: 10px;

        width: 100%;
    }


    .video-card.video-expanded .video-volume {
        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: white;

        background:
            rgba(255, 255, 255, 0.08);

        border:
            1px solid
            rgba(255, 255, 255, 0.08);

        border-radius: 12px;
    }


    .video-card.video-expanded .video-volume-slider {
        display: block;

        width: 100%;

        min-width: 0;
    }


    /* =========================================
       GDY FILM NIE JEST ROZSZERZONY
    ========================================== */

    .video-card:not(.video-expanded) .video-volume-box {
        display: none;
    }

}
/* =========================================================
   PRAWDZIWY FULLSCREEN
========================================================= */

.video-card:fullscreen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100vw;
    height: 100vh;

    border-radius: 0;
}


.video-card:-webkit-full-screen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100vw;
    height: 100vh;

    border-radius: 0;
}
/* =========================================================
   28. NASZA PIOSENKA - OCB
========================================================= */

.song-section {
    overflow: hidden;
}


/* =========================================================
   GŁÓWNA KARTA
========================================================= */

.song-card {
    width: min(100%, 900px);

    margin: 0 auto;

    padding: 22px;

    display: grid;

    grid-template-columns:
        minmax(180px, 260px)
        minmax(0, 1fr);

    gap: 26px;

    align-items: center;

    border-radius: 32px;

    overflow: hidden;

    position: relative;
}


/* delikatna poświata */

.song-card::before {
    content: "";

    position: absolute;

    inset: -30%;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 126, 182, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(127, 200, 255, 0.18),
            transparent 35%
        );

    pointer-events: none;
}


/* =========================================================
   OKŁADKA
========================================================= */

.song-cover-large {
    position: relative;

    z-index: 1;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 24px;

    box-shadow:
        0 22px 55px rgba(40, 28, 60, 0.22);
}


.song-cover-large img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   PRAWA CZĘŚĆ
========================================================= */

.song-content {
    position: relative;

    z-index: 1;

    min-width: 0;
}


/* =========================================================
   NAGŁÓWEK
========================================================= */

.song-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 28px;
}


.song-info {
    min-width: 0;
}


.song-label {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 0.66rem;

    font-weight: 900;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--pink);
}


.song-info h3 {
    margin: 0;

    font-size: clamp(2.2rem, 6vw, 4rem);

    line-height: 0.95;

    letter-spacing: -0.05em;

    color: var(--dark);
}


.song-info p {
    margin-top: 10px;

    font-size: 0.95rem;

    font-weight: 700;

    color: var(--dark-soft);
}


.song-heart {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.42);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    font-size: 1.25rem;
}


/* =========================================================
   PASEK POSTĘPU
========================================================= */

.song-progress-row {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        42px;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;
}


.song-progress-row span {
    font-size: 0.68rem;

    font-weight: 800;

    text-align: center;

    color: var(--dark-soft);
}


.song-progress {
    width: 100%;

    height: 6px;

    appearance: none;
    -webkit-appearance: none;

    outline: none;

    border-radius: 999px;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--song-progress, 0%),

            rgba(37, 33, 58, 0.14)
            var(--song-progress, 0%),

            rgba(37, 33, 58, 0.14)
            100%
        );
}


.song-progress::-webkit-slider-thumb {
    width: 16px;
    height: 16px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;

    box-shadow:
        0 3px 10px
        rgba(60, 38, 80, 0.22);
}


.song-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;
}


/* =========================================================
   GŁÓWNE STEROWANIE
========================================================= */

.song-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 22px;
}


.song-play-button {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 22px;

    color: white;

    font-size: 1.2rem;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--orange)
        );

    box-shadow:
        0 18px 38px
        rgba(255, 126, 182, 0.3);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.song-play-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 22px 48px
        rgba(255, 126, 182, 0.38);
}


.song-play-button:active {
    transform: scale(0.93);
}


.song-small-button {
    width: 48px;
    height: 48px;

    border: none;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.42);

    color: var(--dark);

    font-size: 0.76rem;

    font-weight: 900;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.65);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.song-small-button:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.62);
}


.song-small-button:active {
    transform: scale(0.92);
}


/* =========================================================
   GŁOŚNOŚĆ
========================================================= */

.song-volume-row {
    display: grid;

    grid-template-columns:
        30px
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    width: min(100%, 340px);

    margin: 0 auto;
}


.song-volume-row span {
    text-align: center;
}


.song-volume {
    width: 100%;

    height: 5px;

    appearance: none;
    -webkit-appearance: none;

    outline: none;

    border-radius: 999px;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--song-volume, 50%),

            rgba(37, 33, 58, 0.14)
            var(--song-volume, 50%),

            rgba(37, 33, 58, 0.14)
            100%
        );
}


.song-volume::-webkit-slider-thumb {
    width: 15px;
    height: 15px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;
}


.song-volume::-moz-range-thumb {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--pink);

    border: 3px solid white;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .song-card {
    background:
        rgba(39, 34, 54, 0.62);

    border-color:
        rgba(255, 255, 255, 0.12);

    box-shadow:
        0 26px 80px
        rgba(0, 0, 0, 0.3);
}


body.dark-mode .song-heart,
body.dark-mode .song-small-button {
    background:
        rgba(255, 255, 255, 0.08);

    color: white;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.08);
}


body.dark-mode .song-progress {
    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--song-progress, 0%),

            rgba(255, 255, 255, 0.13)
            var(--song-progress, 0%),

            rgba(255, 255, 255, 0.13)
            100%
        );
}


body.dark-mode .song-volume {
    background:
        linear-gradient(
            90deg,
            var(--pink) 0%,
            var(--orange)
            var(--song-volume, 50%),

            rgba(255, 255, 255, 0.13)
            var(--song-volume, 50%),

            rgba(255, 255, 255, 0.13)
            100%
        );
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 650px) {

    .song-card {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 16px;

        border-radius: 26px;
    }


    .song-cover-large {
        width: min(100%, 340px);

        margin: 0 auto;

        border-radius: 22px;
    }


    .song-header {
        margin-bottom: 22px;
    }


    .song-info h3 {
        font-size: 3rem;
    }


    .song-info p {
        font-size: 0.86rem;
    }


    .song-controls {
        gap: 15px;
    }


    .song-play-button {
        width: 64px;
        height: 64px;

        border-radius: 20px;
    }


    .song-small-button {
        width: 46px;
        height: 46px;
    }

}
/* =========================================================
   GALERIA - DESKTOP
========================================================= */

@media (min-width: 769px) {

    .photo-gallery {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        gap: 22px;

        width: min(100%, 1150px);

        margin-left: auto;
        margin-right: auto;

        columns: unset;
    }


    .photo-card {
        width: 100%;

        aspect-ratio: 4 / 5;

        margin: 0;

        overflow: hidden;

        border-radius: 26px;
    }


    .photo-card img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
    }

}
/* =========================================================
   29. WIELKA 18 - WOW EFFECT
========================================================= */

.eighteen-section {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   WRAPPER
========================================================= */

.eighteen-wrap {
    position: relative;

    width: min(100%, 650px);

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;
}


/* =========================================================
   POŚWIATA ZA 18
========================================================= */

.eighteen-glow {
    position: absolute;

    width: 70%;
    aspect-ratio: 1 / 1;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 126, 182, 0.38) 0%,
            rgba(255, 154, 98, 0.24) 35%,
            rgba(127, 200, 255, 0.12) 55%,
            transparent 72%
        );

    filter: blur(24px);

    z-index: -1;

    animation:
        eighteenGlow 4s ease-in-out infinite;
}


/* =========================================================
   LICZBA 18
========================================================= */

.eighteen-number {
    position: relative;

    z-index: 2;

    font-size:
        clamp(9rem, 27vw, 18rem);

    font-weight: 1000;

    line-height: 0.82;

    letter-spacing: -0.08em;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--pink) 0%,
            var(--orange) 30%,
            var(--yellow) 52%,
            var(--blue) 78%,
            var(--pink) 100%
        );

    background-size: 200% 200%;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    filter:
        drop-shadow(
            0 18px 30px
            rgba(255, 126, 182, 0.2)
        );

    animation:
        eighteenGradient 7s ease infinite,
        eighteenFloat 4s ease-in-out infinite;
}


/* =========================================================
   GWIAZDKI I SERDUSZKA
========================================================= */

.eighteen-stars {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;
}


.eighteen-stars span {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--pink);

    font-weight: 900;

    text-shadow:
        0 8px 18px
        rgba(255, 126, 182, 0.28);

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


/* LEWY GÓRNY */

.eighteen-stars span:nth-child(1) {
    top: 12%;
    left: 7%;

    font-size: 2rem;

    color: var(--yellow);

    animation-delay: 0s;
}


/* PRAWY GÓRNY */

.eighteen-stars span:nth-child(2) {
    top: 17%;
    right: 8%;

    font-size: 2.2rem;

    color: var(--pink);

    animation-delay: 0.6s;
}


/* LEWY DÓŁ */

.eighteen-stars span:nth-child(3) {
    bottom: 18%;
    left: 11%;

    font-size: 1.8rem;

    color: var(--blue);

    animation-delay: 1.1s;
}


/* PRAWY DÓŁ */

.eighteen-stars span:nth-child(4) {
    bottom: 13%;
    right: 11%;

    font-size: 1.8rem;

    color: var(--orange);

    animation-delay: 1.7s;
}


/* NAD 18 */

.eighteen-stars span:nth-child(5) {
    top: 2%;
    left: 50%;

    transform: translateX(-50%);

    font-size: 1.5rem;

    color: var(--yellow);

    animation-delay: 2.1s;
}


/* =========================================================
   TEKST POD 18
========================================================= */

.eighteen-content h2 {
    position: relative;

    z-index: 2;

    margin-top: 10px;

    font-size:
        clamp(1.8rem, 5vw, 3rem);

    line-height: 1.05;

    letter-spacing: -0.035em;
}


.eighteen-content > p {
    position: relative;

    z-index: 2;

    margin-top: 12px;

    font-size:
        clamp(0.95rem, 2.5vw, 1.15rem);
}


/* =========================================================
   ANIMACJE
========================================================= */

@keyframes eighteenGlow {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(0.95);

        opacity: 0.7;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.08);

        opacity: 1;
    }

}


@keyframes eighteenGradient {

    0% {
        background-position:
            0% 50%;
    }

    50% {
        background-position:
            100% 50%;
    }

    100% {
        background-position:
            0% 50%;
    }

}


@keyframes eighteenFloat {

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

    50% {
        transform:
            translateY(-8px);
    }

}


@keyframes eighteenStarFloat {

    0%,
    100% {
        translate: 0 0;

        opacity: 0.65;
    }

    50% {
        translate: 0 -10px;

        opacity: 1;
    }

}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .eighteen-glow {
    background:
        radial-gradient(
            circle,
            rgba(255, 126, 182, 0.32) 0%,
            rgba(255, 154, 98, 0.16) 35%,
            rgba(127, 200, 255, 0.12) 55%,
            transparent 72%
        );
}


body.dark-mode .eighteen-number {
    filter:
        drop-shadow(
            0 20px 36px
            rgba(255, 126, 182, 0.24)
        );
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .eighteen-wrap {
        width: 100%;

        margin-bottom: 16px;
    }


    .eighteen-number {
        font-size:
            clamp(9rem, 46vw, 13rem);
    }


    .eighteen-glow {
        width: 95%;

        filter: blur(28px);
    }


    .eighteen-stars span:nth-child(1) {
        left: 3%;
    }


    .eighteen-stars span:nth-child(2) {
        right: 3%;
    }


    .eighteen-stars span:nth-child(3) {
        left: 5%;
    }


    .eighteen-stars span:nth-child(4) {
        right: 5%;
    }

}
.eighteen-number {
    padding-right: 0.08em;
}

@media (max-width: 600px) {

    .eighteen-number {
        letter-spacing: -0.05em;
    }

}

/* =========================================================
   30. FINAŁ - BOX
========================================================= */

.final-section {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding-top: 100px;
    padding-bottom: 100px;

    color: white;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(255, 126, 182, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(127, 200, 255, 0.12),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #21192b 0%,
            #16121f 55%,
            #0d0b12 100%
        );
}


/* =========================================================
   GLOW
========================================================= */

.final-background-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(650px, 120vw);
    aspect-ratio: 1 / 1;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 126, 182, 0.18),
            rgba(255, 154, 98, 0.08) 35%,
            transparent 70%
        );

    filter: blur(35px);

    pointer-events: none;

    animation:
        finalGlow 5s ease-in-out infinite;
}


/* =========================================================
   GWIAZDKI
========================================================= */

.final-stars {
    position: absolute;

    inset: 0;

    pointer-events: none;
}


.final-stars span {
    position: absolute;

    font-size: 1.8rem;

    opacity: 0.6;

    animation:
        finalStarFloat
        4s ease-in-out infinite;
}


.final-stars span:nth-child(1) {
    top: 14%;
    left: 10%;

    color: #ffd86b;
}


.final-stars span:nth-child(2) {
    top: 23%;
    right: 11%;

    color: #ff7eb6;

    animation-delay: 0.8s;
}


.final-stars span:nth-child(3) {
    bottom: 18%;
    left: 12%;

    color: #7fc8ff;

    animation-delay: 1.5s;
}


.final-stars span:nth-child(4) {
    bottom: 12%;
    right: 13%;

    color: #ff9a62;

    animation-delay: 2.2s;
}


/* =========================================================
   TREŚĆ
========================================================= */

.final-content {
    position: relative;

    z-index: 2;

    width: min(100%, 720px);

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   MAŁE SERCE
========================================================= */

.final-small-heart {
    width: 58px;
    height: 58px;

    margin: 0 auto 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: #ff8fba;

    font-size: 2rem;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 18px 50px
        rgba(255, 126, 182, 0.12);

    animation:
        finalHeart 2.8s ease-in-out infinite;
}


/* =========================================================
   TEKSTY
========================================================= */

.final-line {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
}


.final-line-2 {
    margin: 0;

    font-size:
        clamp(1.35rem, 4vw, 2rem);

    font-weight: 800;

    color:
        rgba(255, 255, 255, 0.96);
}


.final-line-3 {
    margin:
        18px 0 0;

    font-size:
        clamp(1rem, 3vw, 1.25rem);

    font-weight: 600;

    color:
        rgba(255, 255, 255, 0.6);
}


/* =========================================================
   DIVIDER
========================================================= */

.final-divider {
    width: min(100%, 420px);

    margin: 36px auto;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 14px;
}


.final-divider span {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.22)
        );
}


.final-divider span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.22),
            transparent
        );
}


.final-divider strong {
    color: #ffd86b;

    font-size: 1rem;
}


/* =========================================================
   OSTATNIA KARTA
========================================================= */

.final-box-message {
    width: min(100%, 560px);

    margin: 0 auto;

    padding:
        34px
        28px;

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter:
        blur(28px) saturate(130%);

    -webkit-backdrop-filter:
        blur(28px) saturate(130%);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.32),
        inset 0 1px 0
        rgba(255, 255, 255, 0.08);
}


.final-box-icon {
    display: block;

    margin-bottom: 18px;

    font-size: 3rem;

    animation:
        finalGift 2.8s ease-in-out infinite;
}


.final-box-message h2 {
    margin: 0;

    font-size:
        clamp(2.1rem, 7vw, 4rem);

    line-height: 0.95;

    letter-spacing: -0.05em;

    background:
        linear-gradient(
            135deg,
            #ff8fba,
            #ffb267,
            #ffe078
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.final-box-message p {
    margin:
        14px 0 0;

    font-size:
        clamp(1rem, 3vw, 1.25rem);

    font-weight: 700;

    color:
        rgba(255, 255, 255, 0.82);
}


/* =========================================================
   POJAWIANIE SIĘ PO WEJŚCIU W FINAŁ
========================================================= */

.final-section.active .final-line-2 {
    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 0.15s;
}


.final-section.active .final-line-3 {
    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 0.7s;
}


.final-section.active .final-divider {
    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 1.25s;
}


.final-section.active .final-line-4 {
    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 1.7s;
}


/* =========================================================
   ANIMACJE
========================================================= */

@keyframes finalGlow {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(0.95);

        opacity: 0.7;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.08);

        opacity: 1;
    }

}


@keyframes finalStarFloat {

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

    50% {
        transform:
            translateY(-12px)
            rotate(8deg);
    }

}


@keyframes finalHeart {

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

    50% {
        transform:
            scale(1.08);
    }

}


@keyframes finalGift {

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

    35% {
        transform:
            translateY(-5px)
            rotate(-4deg);
    }

    65% {
        transform:
            translateY(-5px)
            rotate(4deg);
    }

}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .final-section {
        min-height: 100svh;

        padding:
            90px
            18px
            calc(70px + env(safe-area-inset-bottom));
    }


    .final-small-heart {
        width: 54px;
        height: 54px;

        margin-bottom: 26px;

        border-radius: 18px;
    }


    .final-divider {
        margin:
            30px auto;
    }


    .final-box-message {
        padding:
            30px
            20px;

        border-radius: 26px;
    }


    .final-box-icon {
        font-size: 2.7rem;
    }

}
/* =========================================================
   FINAL - FIX STARYCH STYLI
========================================================= */

/* wyłączamy stare animacje finału */
.final-content,
.final-line,
.final-line-2,
.final-line-3,
.final-line-4 {
    animation: none !important;
}


/* reset starego stylu final-line-4 */
.final-line-4 {
    position: relative !important;

    width: min(100%, 560px);

    height: auto !important;

    min-height: 0 !important;

    margin: 0 auto !important;

    line-height: normal !important;

    font-size: inherit !important;

    text-align: center;

    overflow: visible !important;
}


/* nagłówek w boxie */
.final-box-message h2 {
    position: relative;

    display: block;

    margin: 0 !important;

    padding: 0;

    line-height: 1 !important;

    transform: none;

    font-size:
        clamp(2.1rem, 7vw, 4rem);
}


/* tekst POD "Odłóż telefon" */
.final-box-message p {
    position: relative;

    display: block;

    margin: 16px 0 0 !important;

    padding: 0;

    line-height: 1.4 !important;

    transform: none;

    font-size:
        clamp(1rem, 3vw, 1.25rem);

    color:
        rgba(255, 255, 255, 0.82);
}


/* nasze nowe pojawianie się - tylko raz */
.final-line {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
}


.final-section.active .final-line-2 {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.15s;
}


.final-section.active .final-line-3 {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.7s;
}


.final-section.active .final-divider {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 1.25s;
}


.final-section.active .final-line-4 {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 1.7s;
}
/* =========================================================
   FINAL - FIX EMOJI PREZENTU
========================================================= */

.final-box-icon {
    display: block !important;

    position: relative !important;
    z-index: 5 !important;

    margin-bottom: 18px !important;

    font-size: 3rem !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    color: initial !important;
    -webkit-text-fill-color: initial !important;

    background: none !important;

    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
}
/* =========================================================
   VIDEO - BEZ FULLSCREEN
========================================================= */

.video-controls {
    grid-template-columns:
        42px
        38px
        minmax(80px, 1fr)
        38px
        minmax(100px, 150px);
}


/* TELEFON */

@media (max-width: 600px) {

    .video-card.video-expanded .video-controls {
        grid-template-columns:
            40px
            36px
            minmax(0, 1fr)
            36px;

        grid-template-areas:
            "play current progress duration"
            "volume volume volume volume";
    }

}
/* =========================================================
   VIDEO - FIX MAŁEGO PLAYERA NA TELEFONIE
========================================================= */

@media (max-width: 600px) {

    .video-card:not(.video-expanded) .video-controls {
        display: grid;

        grid-template-columns:
            40px
            34px
            minmax(0, 1fr)
            34px;

        gap: 7px;

        align-items: center;

        padding: 11px 12px;
    }


    .video-card:not(.video-expanded) .video-play {
        width: 40px;
        height: 40px;
    }


    .video-card:not(.video-expanded) .video-current,
    .video-card:not(.video-expanded) .video-duration {
        font-size: 0.62rem;

        text-align: center;
    }


    .video-card:not(.video-expanded) .video-progress {
        width: 100%;
        min-width: 0;
    }


    .video-card:not(.video-expanded) .video-volume-box {
        display: none;
    }

}
/* =========================================================
   DARK MODE - WYSOKOŚĆ JAK PLAYER
========================================================= */

@media (max-width: 600px) {

    .theme-toggle {
        top: calc(12px + env(safe-area-inset-top));

        width: 62px;
        height: 62px;

        border-radius: 19px;

        display: flex;
        align-items: center;
        justify-content: center;

        box-sizing: border-box;

        font-size: 2rem;
    }

}
.back-to-retro {
    position: fixed;

    left: 18px;
    bottom: 18px;

    z-index: 9999;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 16px;

    border-radius: 14px;

    background:
        rgba(20, 18, 30, 0.78);

    border:
        1px solid rgba(255,255,255,0.12);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    color: #ffffff;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-decoration: none;

    box-shadow:
        0 8px 26px rgba(0,0,0,0.22);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.back-to-retro:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 105, 180, 0.18);

    box-shadow:
        0 10px 30px rgba(255,105,180,0.16);
}

@media (max-width: 600px) {
    .back-to-retro {
        left: 12px;
        bottom: 12px;

        min-height: 42px;

        padding: 0 12px;

        font-size: 0.64rem;
    }
}