.snowflakes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    cursor: default;
    user-select: none;
    z-index: 1;
    opacity: 0.8;
    will-change: transform;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translate(15px, 25vh) rotate(45deg);
    }

    50% {
        transform: translate(-15px, 50vh) rotate(90deg);
    }

    75% {
        transform: translate(15px, 75vh) rotate(135deg);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 110vh) rotate(180deg);
        opacity: 0;
    }
}

.snowflake:nth-child(1) {
    left: 1%;
    animation-duration: 12s;
    animation-delay: -1s;
}

.snowflake:nth-child(2) {
    left: 5%;
    animation-duration: 8s;
    animation-delay: -5s;
}

.snowflake:nth-child(3) {
    left: 10%;
    animation-duration: 11s;
    animation-delay: -9s;
}

.snowflake:nth-child(4) {
    left: 15%;
    animation-duration: 6s;
    animation-delay: -2s;
}

.snowflake:nth-child(5) {
    left: 20%;
    animation-duration: 13s;
    animation-delay: -8s;
}

.snowflake:nth-child(6) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: -4s;
}

.snowflake:nth-child(7) {
    left: 30%;
    animation-duration: 14s;
    animation-delay: -12s;
}

.snowflake:nth-child(8) {
    left: 35%;
    animation-duration: 7s;
    animation-delay: -3s;
}

.snowflake:nth-child(9) {
    left: 40%;
    animation-duration: 10s;
    animation-delay: -7s;
}

.snowflake:nth-child(10) {
    left: 45%;
    animation-duration: 15s;
    animation-delay: -11s;
}

.snowflake:nth-child(11) {
    left: 50%;
    animation-duration: 8s;
    animation-delay: -1s;
}

.snowflake:nth-child(12) {
    left: 55%;
    animation-duration: 12s;
    animation-delay: -6s;
}

.snowflake:nth-child(13) {
    left: 60%;
    animation-duration: 9s;
    animation-delay: -10s;
}

.snowflake:nth-child(14) {
    left: 65%;
    animation-duration: 14s;
    animation-delay: -2s;
}

.snowflake:nth-child(15) {
    left: 70%;
    animation-duration: 7s;
    animation-delay: -8s;
}

.snowflake:nth-child(16) {
    left: 75%;
    animation-duration: 11s;
    animation-delay: -3s;
}

.snowflake:nth-child(17) {
    left: 80%;
    animation-duration: 13s;
    animation-delay: -9s;
}

.snowflake:nth-child(18) {
    left: 85%;
    animation-duration: 6s;
    animation-delay: -5s;
}

.snowflake:nth-child(19) {
    left: 90%;
    animation-duration: 10s;
    animation-delay: -12s;
}

.snowflake:nth-child(20) {
    left: 95%;
    animation-duration: 15s;
    animation-delay: -4s;
}

.snowflake:nth-child(21) {
    left: 2%;
    animation-duration: 11s;
    animation-delay: -7s;
    font-size: 1.2em;
}

.snowflake:nth-child(22) {
    left: 98%;
    animation-duration: 9s;
    animation-delay: -2s;
    font-size: 0.8em;
}

.snowflake.small {
    font-size: 0.6em;
    opacity: 0.6;
}

.snowflake.medium {
    font-size: 1em;
    opacity: 0.8;
}

.snowflake.large {
    font-size: 1.4em;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .snowflake:nth-child(n+25) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snowflakes-container {
        display: none;
    }
}

body.year-summary {
    overflow: hidden;
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #0f172a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    touch-action: pan-y;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

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

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

body.year-summary::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.8;
    }
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: -100px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #06b6d4;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -50px);
    }

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

.slides-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    perspective: 1000px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.slide-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 600px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-decor svg {
    width: 80%;
    height: auto;
    opacity: 0;
    transition: all 1s ease;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.slide.active .slide-decor svg {
    opacity: 1;
    transform: scale(1.05);
}

.year-title,
.year-subtitle,
.stat-card,
.archetype-badge,
.archetype-title {
    position: relative;
    z-index: 2;
}

.decor-intro svg {
    width: 90%;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.click-area {
    position: fixed;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 100;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.click-area-left {
    left: 0;
}

.click-area-right {
    right: 0;
}

.click-area:active {
    background: rgba(255, 255, 255, 0.02);
}

.return-btn {
    position: relative;
    z-index: 300;
}

.grades-distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 1rem;
}

.grade-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grade-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.grade-circle.grade-5 {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 4px 15px rgba(21, 128, 61, 0.4);
}

.grade-circle.grade-4 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4);
}

.grade-circle.grade-3 {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.grade-circle.grade-2 {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.grade-circle.grade-1 {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.grade-info {
    flex: 1;
}

.grade-count {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.grade-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.grade-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 1s ease-out;
    position: absolute;
    left: 0;
    top: 0;
}

.grade-bar-fill.grade-5 {
    background: linear-gradient(90deg, #22c55e, #15803d);
}

.grade-bar-fill.grade-4 {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.grade-bar-fill.grade-3 {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}

.grade-bar-fill.grade-2 {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.grade-bar-fill.grade-1 {
    background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 110;
    display: flex;
    padding: 8px 12px 0 12px;
    gap: 4px;
}

.progress-segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: width 0.1s linear;
}

h1.year-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    position: relative;

    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.slide.active h1.year-title {
    opacity: 1;
    transform: translateY(0);
}

p.year-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.slide.active p.year-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: clamp(20px, 5vw, 40px);
    margin-top: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;

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

    transform: translateY(40px) scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.slide.active .stat-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.big-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;

    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 4px 15px rgba(245, 158, 11, 0.4));
}

.xp-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.xp-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transition: width 1s ease-out;
}

.archetype-badge {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 1rem;
    background: rgba(252, 165, 165, 0.1);
}

.group-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.group-kb {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.3);
}

.group-im {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border-color: rgba(251, 113, 133, 0.3);
}

.group-rpo {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

.group-gd {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.3);
}

.archetype-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.action-btn {
    border: none;
    padding: 16px 32px;
    color: white;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    pointer-events: auto;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.share-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

.return-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.return-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.watermark-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    user-select: none;
    letter-spacing: 2px;
}

.year-summary-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    margin: 16px 0;
    background: linear-gradient(135deg, #1a1a4e 0%, #2d1b4e 25%, #1e3a5f 50%, #0d3d29 75%, #1a1a4e 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 20px rgba(255, 215, 0, 0.15),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.year-summary-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 215, 0, 0.1) 25%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 215, 0, 0.1) 75%,
            transparent 100%);
    animation: bannerShine 4s ease-in-out infinite;
}

@keyframes bannerShine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.year-summary-banner::after {
    content: '✦ ✧ ★ ✦ ✧ ★ ✦';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    font-size: 10px;
    letter-spacing: 30px;
    color: rgba(255, 215, 0, 0.15);
    text-align: center;
    pointer-events: none;
    animation: starsTwinkle 2s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}

.year-summary-banner:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 8px 30px rgba(255, 215, 0, 0.25),
        0 0 60px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.year-summary-snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.year-summary-snowflakes span {
    position: absolute;
    color: rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    animation: bannerSnow 6s linear infinite;
}

.year-summary-snowflakes span:nth-child(1) {
    left: 8%;
    font-size: 16px;
    animation-delay: 0s;
}

.year-summary-snowflakes span:nth-child(2) {
    left: 45%;
    font-size: 14px;
    animation-delay: 1.5s;
}

.year-summary-snowflakes span:nth-child(3) {
    left: 82%;
    font-size: 18px;
    animation-delay: 3s;
}

@keyframes bannerSnow {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(80px) rotate(360deg);
        opacity: 0;
    }
}

.year-summary-content {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.year-summary-icon {
    font-size: 36px;
    animation: iconGlow 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

@keyframes iconGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.5));
        transform: scale(1.08);
    }
}

.year-summary-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.year-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #ffffff 0%, #a5f3fc 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.year-summary-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.year-summary-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.year-summary-banner:hover .year-summary-arrow {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff;
    transform: translateX(4px);
}

.ny-gift-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ny-gift-notification.active {
    opacity: 1;
}

.ny-gift-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.ny-gift-container {
    position: relative;
    background: linear-gradient(180deg, #1a1a4e 0%, #0f2744 50%, #1a2a3a 100%);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 0 60px rgba(255, 215, 0, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.ny-gift-notification.active .ny-gift-container {
    transform: scale(1) translateY(0);
}

.ny-gift-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.ny-gift-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ny-gift-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.ny-gift-particles span {
    position: absolute;
    font-size: 16px;
    animation: giftParticle 3s ease-in-out infinite;
}

.ny-gift-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.ny-gift-particles span:nth-child(2) {
    left: 85%;
    top: 15%;
    animation-delay: 0.5s;
}

.ny-gift-particles span:nth-child(3) {
    left: 50%;
    top: 10%;
    animation-delay: 1s;
}

.ny-gift-particles span:nth-child(4) {
    left: 20%;
    top: 70%;
    animation-delay: 1.5s;
}

.ny-gift-particles span:nth-child(5) {
    left: 80%;
    top: 75%;
    animation-delay: 2s;
}

@keyframes giftParticle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-10px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

.ny-gift-box {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ny-gift-emoji {
    font-size: 72px;
    animation: giftBounce 1s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

@keyframes giftBounce {
    0% {
        transform: scale(1) rotate(-5deg);
    }

    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

.ny-gift-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    background: linear-gradient(90deg, #ffd700 0%, #fff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 2s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes titleShimmer {
    0% {
        background-position: 100% 0;
    }

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

.ny-gift-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    line-height: 1.5;
}

.ny-gift-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #22c55e 0%, #15803d 50%, #166534 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 20px rgba(34, 197, 94, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.ny-gift-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btnShine 2s ease-in-out infinite;
}

@keyframes btnShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.ny-gift-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 8px 30px rgba(34, 197, 94, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ny-gift-btn:active {
    transform: scale(0.98);
}