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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07070a;
    color: #fff;
    overflow-x: hidden;
}

body::selection {
    background: #ff5f9e;
    color: white;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(142, 75, 255, .18), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(255, 70, 130, .13), transparent 30%),
        #07070a;
}

.glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .25;
    animation: drift 10s ease-in-out infinite alternate;
}

.glow-1 {
    top: -240px;
    left: -160px;
    background: #7c42ff;
}

.glow-2 {
    right: -180px;
    bottom: -240px;
    background: #ff4f94;
    animation-delay: -4s;
}

.grid {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.noise {
    position: absolute;
    inset: 0;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 95, 158, .12), transparent 65%);
    opacity: 0;
    transition: opacity .3s ease;
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 45px 24px;
}

.hero-content {
    width: min(900px, 100%);
    animation: appear 1s ease both;
}

.floating-badge,
.final-label {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: #9e95a7;
    background: rgba(255,255,255,.035);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.vasya-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
    animation: float 4s ease-in-out infinite;
}

.vasya {
    width: 155px;
    height: 155px;
    object-fit: cover;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
    transition: transform .35s ease, filter .35s ease;
}

.vasya-label {
    position: absolute;
    z-index: 4;
    right: -22px;
    bottom: -10px;
    padding: 8px 13px;
    border-radius: 9px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 1000;
    transform: rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
}

.vasya-wrap:hover .vasya {
    transform: rotate(2deg) scale(1.04);
    filter: saturate(1.15) contrast(1.05);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-1 {
    width: 205px;
    height: 205px;
    left: -25px;
    top: -25px;
    animation: spin 12s linear infinite;
}

.orbit-2 {
    width: 235px;
    height: 235px;
    left: -40px;
    top: -40px;
    border-color: rgba(255,95,158,.08);
    animation: spin 18s linear infinite reverse;
}

.small-text {
    color: #a49baa;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.6;
    margin-bottom: 18px;
}

.hello {
    font-size: clamp(22px, 4vw, 35px);
    font-weight: 800;
    margin-bottom: 10px;
}

.wrong-name {
    color: #5f5865;
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #ff5f9e;
    margin-right: 8px;
}

.correct-name {
    color: #fff;
}

h1 {
    font-size: clamp(70px, 12vw, 125px);
    line-height: .88;
    letter-spacing: -6px;
    margin-bottom: 25px;
}

h1 span,
.card h2 span,
.section-heading h2 span,
.final h2 span {
    background: linear-gradient(100deg, #ff609c, #9c67ff, #5ce1e6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 5s linear infinite;
}

.subtitle {
    color: #bcb3c3;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 34px;
}

button {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border: 0;
    padding: 17px 24px 17px 28px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 45px rgba(255,255,255,.08);
}

button b {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #111;
    color: white;
    font-size: 17px;
    transition: transform .25s ease;
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 65px rgba(255,255,255,.15);
}

button:hover b {
    transform: translateX(4px);
}

button:active {
    transform: scale(.97);
}

.scroll-hint {
    margin-top: 55px;
    color: #5d5663;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bob 2s ease-in-out infinite;
}

.section {
    width: min(950px, 100%);
    margin: 0 auto;
    padding: 130px 24px;
}

.hidden {
    display: none;
}

.card {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 75px);
    text-align: center;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 34px;
    box-shadow: 0 40px 120px rgba(0,0,0,.32);
    backdrop-filter: blur(20px);
}

.card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -120px;
    right: -80px;
    border-radius: 50%;
    background: #ff5f9e;
    filter: blur(100px);
    opacity: .14;
}

.card-number {
    position: absolute;
    top: 25px;
    left: 30px;
    color: #514b57;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.card h2 {
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 35px;
}

.divider {
    width: 70px;
    height: 2px;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, #ff609c, #9c67ff);
}

.card p:not(.small-text) {
    color: #c8c0ce;
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.card strong {
    color: #fff;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(45px, 7vw, 75px);
    line-height: .95;
    letter-spacing: -4px;
}

.joke-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.joke-card {
    position: relative;
    min-height: 280px;
    padding: 30px;
    border-radius: 27px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    transition: transform .35s ease, border-color .35s ease;
}

.joke-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    border-color: rgba(255,95,158,.3);
}

.joke-icon {
    font-size: 38px;
    margin-bottom: 28px;
}

.joke-number {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -2px;
}

.joke-card h3 {
    font-size: 18px;
    margin: 5px 0 12px;
}

.joke-card p {
    color: #938b99;
    font-size: 14px;
    line-height: 1.6;
}

.quote-section {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 50px 24px 150px;
}

.quote {
    position: relative;
    padding: 55px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.quote p {
    color: #d2cad7;
    font-size: clamp(21px, 3vw, 29px);
    line-height: 1.65;
}

.quote-mark {
    position: absolute;
    top: 10px;
    left: 0;
    color: #ff609c;
    font-size: 75px;
    font-family: Georgia, serif;
}

.quote-mark.end {
    top: auto;
    left: auto;
    right: 0;
    bottom: -28px;
}

.final {
    min-height: 90vh;
    min-height: 90svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 24px;
}

.final h2 {
    font-size: clamp(58px, 10vw, 110px);
    line-height: .88;
    letter-spacing: -5px;
    margin-bottom: 30px;
}

.final p:not(.small-text) {
    color: #c7bfcd;
    font-size: 21px;
    line-height: 1.8;
}

.signature {
    margin-top: 55px;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.signature span {
    color: #756d7c;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.signature strong {
    font-size: 30px;
    background: linear-gradient(90deg, #fff, #ff6a9f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.venom-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0 35px;
    background: #020203;
    overflow: hidden;
}

.venom-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(115,255,48,.08), transparent 45%);
    pointer-events: none;
}

.venom-top-text {
    position: relative;
    z-index: 2;
    color: #6f6874;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.venom-image-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.venom {
    display: block;
    width: min(100%, 1100px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 0;
    filter: saturate(1.05) contrast(1.04);
    transition: transform .5s ease, filter .5s ease;
}

.venom:hover {
    transform: scale(1.015);
    filter: saturate(1.2) contrast(1.08);
}

.venom-caption {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    padding: 11px 16px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: 1px;
    box-shadow: 0 10px 35px rgba(0,0,0,.5);
}

.venom-bottom {
    position: relative;
    z-index: 2;
    margin-top: 25px;
    color: #454149;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -25px;
    width: 9px;
    height: 15px;
    border-radius: 2px;
    animation: fall 3.2s linear forwards;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

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

@keyframes drift {
    from { transform: translate(0, 0); }
    to { transform: translate(80px, 40px); }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes gradientMove {
    to { background-position: 200% center; }
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

@media (max-width: 700px) {
    .joke-grid {
        grid-template-columns: 1fr;
    }

    .joke-card {
        min-height: auto;
    }

    .card {
        border-radius: 25px;
    }

    .quote {
        padding: 45px 28px;
    }

    .venom-caption {
        bottom: 7%;
        font-size: 11px;
    }
}


/* ===== EXTRA SITE ANIMATIONS ===== */

.hero-content {
    position: relative;
}

.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    pointer-events: none;
    animation: tinyFloat 5s ease-in-out infinite;
}

.hero-content::before {
    left: 7%;
    top: 26%;
}

.hero-content::after {
    right: 8%;
    top: 45%;
    width: 4px;
    height: 4px;
    animation-delay: -2s;
}

.vasya-wrap::after {
    content: "17";
    position: absolute;
    z-index: 5;
    top: -17px;
    left: -25px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 11px;
    font-weight: 1000;
    transform: rotate(-12deg);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    animation: badgeWiggle 3s ease-in-out infinite;
}

.hero-joke {
    margin: 25px auto 0;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px dashed rgba(255,255,255,.13);
    border-radius: 12px;
    color: #716a78;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: rotate(-1deg);
}

.hero-joke b {
    color: #b9ff6a;
    animation: blinkStatus 1.8s steps(2, end) infinite;
}

.joke-card:nth-child(1) {
    animation: cardFloat 5s ease-in-out infinite;
}

.joke-card:nth-child(2) {
    animation: cardFloat 5s ease-in-out infinite -1.6s;
}

.joke-card:nth-child(3) {
    animation: cardFloat 5s ease-in-out infinite -3.2s;
}

.joke-card:hover {
    animation-play-state: paused;
}

.quote {
    overflow: hidden;
}

.quote::after {
    content: "";
    position: absolute;
    top: 0;
    left: -25%;
    width: 18%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.055),
        transparent
    );
    transform: skewX(-18deg);
    animation: shine 5s ease-in-out infinite;
}

.final-content {
    position: relative;
}

.final-content::before {
    content: "✦";
    position: absolute;
    left: -80px;
    top: 5%;
    color: #ff609c;
    font-size: 18px;
    animation: orbitTiny 4s linear infinite;
}

.final-content::after {
    content: "✦";
    position: absolute;
    right: -80px;
    bottom: 20%;
    color: #9c67ff;
    font-size: 14px;
    animation: orbitTiny 5s linear infinite reverse;
}

.secret-button {
    margin-top: 35px;
    padding: 9px 13px;
    background: transparent;
    color: #4e4854;
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: none;
    font-size: 10px;
    font-weight: 500;
}

.secret-button:hover {
    color: #918797;
    background: rgba(255,255,255,.03);
    box-shadow: none;
    transform: translateY(-2px);
}

.secret-message {
    opacity: 0;
    height: 0;
    overflow: hidden;
    color: #ff6b9d !important;
    font-size: 14px !important;
    transition: opacity .4s ease, height .4s ease;
}

.secret-message.show {
    opacity: 1;
    height: 25px;
    margin-top: 10px;
}

@keyframes tinyFloat {
    0%, 100% { transform: translate(0, 0); opacity: .35; }
    50% { transform: translate(12px, -18px); opacity: .9; }
}

@keyframes badgeWiggle {
    0%, 100% { transform: rotate(-12deg) scale(1); }
    50% { transform: rotate(-5deg) scale(1.08); }
}

@keyframes blinkStatus {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: .35; }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shine {
    0% { left: -25%; }
    45%, 100% { left: 120%; }
}

@keyframes orbitTiny {
    from { transform: rotate(0deg) translateX(10px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@media (max-width: 700px) {
    .final-content::before,
    .final-content::after {
        display: none;
    }

    .hero-joke {
        font-size: 9px;
    }
}


/* ===== FRIENDLY WISHES ===== */

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wish {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 25px;
    background: rgba(255,255,255,.035);
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.wish:hover {
    transform: translateX(8px);
    background: rgba(255,255,255,.055);
    border-color: rgba(255,95,158,.2);
}

.wish-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    font-size: 31px;
}

.wish-number {
    color: #6f6875;
    font-size: 10px;
    letter-spacing: 2px;
}

.wish h3 {
    margin: 5px 0 9px;
    font-size: 21px;
}

.wish p {
    color: #9d95a3;
    font-size: 14px;
    line-height: 1.65;
    max-width: 680px;
}

@media (max-width: 650px) {
    .wish {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wish-icon {
        width: 54px;
        height: 54px;
        font-size: 25px;
    }
}
