.wrapped-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
visibility: hidden;
}

.wrapped-modal.show {
pointer-events: auto;
visibility: visible;
}

.wrapped-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0);
backdrop-filter: blur(0px);
-webkit-backdrop-filter: blur(0px);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wrapped-modal.show .wrapped-modal-overlay {
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}

.wrapped-modal-content {
position: relative;
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
overflow: hidden;
transform: scale(1.1);
opacity: 0;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wrapped-modal.show .wrapped-modal-content {
transform: scale(1);
opacity: 1;
}

.wrapped-close-btn {
position: absolute;
top: 20px;
right: 20px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.8);
cursor: pointer;
width: 44px;
height: 44px;
border-radius: 50%;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
backdrop-filter: blur(10px);
font-size: 18px;
}

.wrapped-close-btn:hover {
background: rgba(255, 255, 255, 0.2);
color: white;
transform: rotate(90deg);
}

.wrapped-slides-container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
cursor: pointer;
}

.wrapped-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 60px 40px;
opacity: 0;
transform: scale(0.8) translateY(50px);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}

.wrapped-slide.active {
opacity: 1;
transform: scale(1) translateY(0);
pointer-events: auto;
}

.wrapped-slide.prev {
opacity: 0;
transform: scale(0.8) translateY(-50px);
}

.wrapped-slide-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
}

.wrapped-slide-bg::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 150%;
height: 150%;
transform: translate(-50%, -50%);
background: radial-gradient(circle, var(--slide-color, rgba(59, 130, 246, 0.15)) 0%, transparent 70%);
animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.wrapped-slide[data-slide="0"] { --slide-color: rgba(59, 130, 246, 0.2); }
.wrapped-slide[data-slide="1"] { --slide-color: rgba(59, 130, 246, 0.2); }
.wrapped-slide[data-slide="2"] { --slide-color: rgba(239, 68, 68, 0.2); }
.wrapped-slide[data-slide="3"] { --slide-color: rgba(34, 197, 94, 0.2); }
.wrapped-slide[data-slide="4"] { --slide-color: rgba(249, 115, 22, 0.2); }
.wrapped-slide[data-slide="5"] { --slide-color: rgba(59, 130, 246, 0.2); }
.wrapped-slide[data-slide="6"] { --slide-color: rgba(14, 165, 233, 0.2); }
.wrapped-slide[data-slide="7"] { --slide-color: rgba(239, 68, 68, 0.2); }
.wrapped-slide[data-slide="8"] { --slide-color: rgba(34, 197, 94, 0.2); }
.wrapped-slide[data-slide="9"] { --slide-color: rgba(251, 191, 36, 0.2); }
.wrapped-slide[data-slide="10"] { --slide-color: rgba(251, 191, 36, 0.2); }
.wrapped-slide[data-slide="11"] { --slide-color: rgba(59, 130, 246, 0.2); }
.wrapped-slide[data-slide="12"] { --slide-color: rgba(34, 197, 94, 0.2); }
.wrapped-slide[data-slide="13"] { --slide-color: rgba(14, 165, 233, 0.2); }

.wrapped-slide-content {
text-align: center;
max-width: 500px;
position: relative;
z-index: 1;
}

.wrapped-slide-icon {
font-size: 80px;
margin-bottom: 24px;
display: inline-block;
animation: floatIcon 3s ease-in-out infinite;
filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes floatIcon {
0%, 100% { transform: translateY(0) rotate(-5deg); }
50% { transform: translateY(-15px) rotate(5deg); }
}

.wrapped-slide-number {
font-size: 100px;
font-weight: 900;
background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 16px;
line-height: 1;
animation: numberPop 0.8s cubic-bezier(0.4, 0, 0.2, 1);
text-shadow: none;
filter: drop-shadow(0 4px 30px rgba(255, 255, 255, 0.2));
}

@keyframes numberPop {
0% { opacity: 0; transform: scale(0.5) translateY(30px); }
60% { transform: scale(1.1) translateY(-10px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wrapped-slide-title {
color: white;
font-size: 32px;
font-weight: 800;
margin: 0 0 16px 0;
letter-spacing: -0.5px;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wrapped-slide-subtitle {
color: rgba(255, 255, 255, 0.7);
font-size: 18px;
font-weight: 500;
margin: 0;
line-height: 1.5;
}

.wrapped-share-btn {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
border: none;
color: white;
padding: 16px 32px;
border-radius: 50px;
font-size: 18px;
font-weight: 700;
cursor: pointer;
margin-top: 32px;
display: inline-flex;
align-items: center;
gap: 10px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
position: relative;
overflow: hidden;
}

.wrapped-share-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);
transition: left 0.5s ease;
}

.wrapped-share-btn:hover::before {
left: 100%;
}

.wrapped-share-btn:hover {
transform: translateY(-4px) scale(1.05);
box-shadow: 0 20px 50px rgba(59, 130, 246, 0.5);
}

.wrapped-navigation {
position: absolute;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 40px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
z-index: 50;
}

.wrapped-nav-btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
font-size: 18px;
}

.wrapped-nav-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.15);
border-color: rgba(255, 255, 255, 0.4);
}

.wrapped-nav-btn:disabled {
opacity: 0.2;
cursor: not-allowed;
transform: scale(0.9);
}

.wrapped-progress {
display: flex;
align-items: center;
gap: 16px;
flex: 1;
margin: 0 24px;
}

.wrapped-progress-bar {
flex: 1;
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
overflow: hidden;
backdrop-filter: blur(10px);
}

.wrapped-progress-fill {
height: 100%;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 3px;
transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
width: 8.33%;
box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.wrapped-slide-counter {
color: rgba(255, 255, 255, 0.5);
font-size: 14px;
font-weight: 600;
white-space: nowrap;
letter-spacing: 1px;
}

.wrapped-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
z-index: 0;
}

.wrapped-particle {
position: absolute;
width: 4px;
height: 4px;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.wrapped-profile-ring {
position: relative;
width: 120px;
height: 120px;
margin: 0 auto 24px;
}

.wrapped-profile-pic {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 4px solid rgba(59, 130, 246, 0.5);
position: relative;
z-index: 2;
}

.wrapped-ring-glow {
position: absolute;
top: -8px;
left: -8px;
right: -8px;
bottom: -8px;
border-radius: 50%;
background: conic-gradient(from 0deg, #3b82f6, #60a5fa, #3b82f6);
animation: ringRotate 3s linear infinite;
z-index: 1;
opacity: 0.8;
filter: blur(8px);
}

@keyframes ringRotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.wrapped-year-badge {
display: inline-block;
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
padding: 8px 24px;
border-radius: 50px;
font-size: 18px;
font-weight: 800;
color: white;
margin-top: 20px;
box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}

.wrapped-stat-circle {
position: relative;
width: 160px;
height: 160px;
margin: 0 auto 24px;
}

.wrapped-circle-progress {
width: 100%;
height: 100%;
transform: rotate(-90deg);
}

.wrapped-circle-bg {
fill: none;
stroke: rgba(255, 255, 255, 0.1);
stroke-width: 8;
}

.wrapped-circle-fill {
fill: none;
stroke: #3b82f6;
stroke-width: 8;
stroke-linecap: round;
stroke-dasharray: 283;
stroke-dashoffset: calc(283 - (283 * var(--progress, 0)) / 100);
transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.wrapped-circle-number {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 48px;
font-weight: 900;
color: white;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wrapped-bar-container {
width: 100%;
max-width: 300px;
height: 12px;
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
margin: 20px auto 0;
position: relative;
overflow: hidden;
}

.wrapped-bar-fill {
height: 100%;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 6px;
width: var(--width, 0%);
animation: barGrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@keyframes barGrow {
0% { width: 0%; }
}

.wrapped-bar-label {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 10px;
font-weight: 700;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
}

.wrapped-reactions-display {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 24px;
}

.wrapped-reaction-item {
font-size: 40px;
animation: reactionBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: var(--delay, 0s);
opacity: 0;
transform: scale(0) translateY(20px);
filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

@keyframes reactionBounce {
0% { opacity: 0; transform: scale(0) translateY(20px); }
60% { transform: scale(1.3) translateY(-10px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wrapped-slide.active .wrapped-reaction-item {
animation: reactionBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-comments-visual {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 24px;
}

.wrapped-comment-bubble {
width: 50px;
height: 50px;
background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #22c55e;
font-size: 20px;
animation: bubbleFloat 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: var(--delay, 0s);
opacity: 0;
transform: scale(0);
border: 2px solid rgba(34, 197, 94, 0.3);
}

@keyframes bubbleFloat {
0% { opacity: 0; transform: scale(0) translateY(30px); }
60% { transform: scale(1.2) translateY(-5px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wrapped-slide.active .wrapped-comment-bubble {
animation: bubbleFloat 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-fire-container {
position: relative;
margin-bottom: 24px;
}

.wrapped-fire-icon {
font-size: 80px;
animation: fireFlicker 0.5s ease-in-out infinite alternate;
filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.6));
}

@keyframes fireFlicker {
0% { transform: scale(1) rotate(-3deg); }
100% { transform: scale(1.1) rotate(3deg); }
}

.wrapped-fire-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 150px;
height: 150px;
background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%);
animation: glowPulse 1.5s ease-in-out infinite;
z-index: -1;
}

@keyframes glowPulse {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.wrapped-hot-post-card {
background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.1));
border: 1px solid rgba(249, 115, 22, 0.3);
border-radius: 16px;
padding: 16px 32px;
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 8px;
backdrop-filter: blur(10px);
}

.wrapped-post-likes {
display: flex;
align-items: center;
gap: 8px;
color: #f97316;
font-size: 24px;
font-weight: 800;
}

.wrapped-post-likes i {
animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.2); }
}

.wrapped-post-label {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 2px;
}

.wrapped-followers-stack {
display: flex;
justify-content: center;
margin-bottom: 24px;
}

.wrapped-follower-avatar {
width: 50px;
height: 50px;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.2));
border: 3px solid rgba(59, 130, 246, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
margin-left: calc(var(--i, 1) * -15px);
animation: stackPop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: calc(var(--i, 1) * 0.1s);
opacity: 0;
transform: scale(0);
position: relative;
z-index: calc(10 - var(--i, 1));
}

.wrapped-follower-avatar:first-child {
margin-left: 0;
}

.wrapped-follower-avatar:last-child {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: white;
font-size: 14px;
font-weight: 700;
}

@keyframes stackPop {
0% { opacity: 0; transform: scale(0) translateX(-20px); }
100% { opacity: 1; transform: scale(1) translateX(0); }
}

.wrapped-slide.active .wrapped-follower-avatar {
animation: stackPop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-calendar-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 24px;
max-width: 200px;
margin-left: auto;
margin-right: auto;
}

.wrapped-calendar-cell {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}

.wrapped-calendar-cell.active {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(59, 130, 246, 0.3));
border-color: rgba(14, 165, 233, 0.5);
box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
animation: cellGlow 2s ease-in-out infinite;
}

@keyframes cellGlow {
0%, 100% { box-shadow: 0 0 15px rgba(14, 165, 233, 0.3); }
50% { box-shadow: 0 0 25px rgba(14, 165, 233, 0.5); }
}

.wrapped-reaction-showcase {
position: relative;
margin-bottom: 24px;
}

.wrapped-big-reaction {
font-size: 100px;
animation: bigReactionPulse 2s ease-in-out infinite;
filter: drop-shadow(0 10px 40px rgba(239, 68, 68, 0.4));
}

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

.wrapped-reaction-count {
position: absolute;
bottom: -10px;
right: -20px;
background: linear-gradient(135deg, #ef4444, #dc2626);
padding: 6px 14px;
border-radius: 20px;
font-size: 16px;
font-weight: 800;
color: white;
box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.wrapped-share-visual {
position: relative;
width: 100px;
height: 100px;
margin: 0 auto 24px;
display: flex;
align-items: center;
justify-content: center;
}

.wrapped-share-icon {
font-size: 50px;
color: #22c55e;
position: relative;
z-index: 2;
animation: shareIconPulse 2s ease-in-out infinite;
}

@keyframes shareIconPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

.wrapped-share-ripple {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
border: 2px solid rgba(34, 197, 94, 0.5);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: rippleExpand 2s ease-out infinite;
}

@keyframes rippleExpand {
0% { width: 60px; height: 60px; opacity: 1; }
100% { width: 150px; height: 150px; opacity: 0; }
}

.wrapped-chart-container {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 12px;
height: 150px;
margin-bottom: 24px;
}

.wrapped-chart-bar {
width: 40px;
height: var(--height, 50%);
background: linear-gradient(to top, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
border-radius: 8px 8px 0 0;
border: 1px solid rgba(251, 191, 36, 0.3);
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
padding-bottom: 8px;
animation: barRise 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
transform-origin: bottom;
opacity: 0;
transform: scaleY(0);
}

.wrapped-chart-bar span {
font-size: 10px;
color: rgba(255, 255, 255, 0.6);
font-weight: 600;
}

.wrapped-chart-bar.peak {
background: linear-gradient(to top, rgba(251, 191, 36, 0.6), rgba(251, 191, 36, 0.3));
border-color: rgba(251, 191, 36, 0.6);
box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

.wrapped-chart-bar.peak span {
color: #fbbf24;
}

@keyframes barRise {
0% { opacity: 0; transform: scaleY(0); }
100% { opacity: 1; transform: scaleY(1); }
}

.wrapped-slide.active .wrapped-chart-bar {
animation: barRise 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-slide.active .wrapped-chart-bar:nth-child(1) { animation-delay: 0.1s; }
.wrapped-slide.active .wrapped-chart-bar:nth-child(2) { animation-delay: 0.2s; }
.wrapped-slide.active .wrapped-chart-bar:nth-child(3) { animation-delay: 0.3s; }
.wrapped-slide.active .wrapped-chart-bar:nth-child(4) { animation-delay: 0.4s; }
.wrapped-slide.active .wrapped-chart-bar:nth-child(5) { animation-delay: 0.5s; }

.wrapped-trophy-container {
position: relative;
margin-bottom: 24px;
}

.wrapped-trophy {
font-size: 100px;
animation: trophyBounce 2s ease-in-out infinite;
filter: drop-shadow(0 10px 40px rgba(251, 191, 36, 0.5));
}

@keyframes trophyBounce {
0%, 100% { transform: translateY(0) rotate(-3deg); }
50% { transform: translateY(-15px) rotate(3deg); }
}

.wrapped-trophy-shine {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 120px;
height: 120px;
background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
animation: shinePulse 2s ease-in-out infinite;
z-index: -1;
}

@keyframes shinePulse {
0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
50% { transform: translateX(-50%) scale(1.5); opacity: 0.8; }
}

.wrapped-confetti-container {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 200px;
height: 200px;
pointer-events: none;
}

.wrapped-confetti {
position: absolute;
top: 50%;
left: 50%;
font-size: 24px;
animation: confettiFall 2s ease-out infinite;
animation-delay: var(--delay, 0s);
}

@keyframes confettiFall {
0% { transform: translate(-50%, -50%) translateY(0) translateX(var(--x, 0)) rotate(0deg); opacity: 1; }
100% { transform: translate(-50%, -50%) translateY(100px) translateX(calc(var(--x, 0) * 2)) rotate(360deg); opacity: 0; }
}

.wrapped-badge {
display: inline-block;
background: linear-gradient(135deg, #fbbf24, #f59e0b);
padding: 10px 30px;
border-radius: 8px;
font-size: 20px;
font-weight: 900;
color: #1a1a1a;
margin-top: 20px;
letter-spacing: 4px;
box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
position: relative;
overflow: hidden;
}

.wrapped-badge::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
animation: badgeSweep 3s ease-in-out infinite;
}

@keyframes badgeSweep {
0%, 100% { left: -100%; }
50% { left: 100%; }
}

.wrapped-rocket-container {
position: relative;
margin-bottom: 24px;
height: 120px;
}

.wrapped-rocket {
font-size: 80px;
animation: rocketLaunch 3s ease-in-out infinite;
filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.4));
}

@keyframes rocketLaunch {
0%, 100% { transform: translateY(0) rotate(-15deg); }
50% { transform: translateY(-20px) rotate(-15deg); }
}

.wrapped-rocket-trail {
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
width: 30px;
height: 60px;
background: linear-gradient(to bottom, rgba(251, 191, 36, 0.6), rgba(249, 115, 22, 0.4), transparent);
border-radius: 50%;
filter: blur(8px);
animation: trailFlicker 0.3s ease-in-out infinite alternate;
}

@keyframes trailFlicker {
0% { opacity: 0.6; height: 50px; }
100% { opacity: 1; height: 70px; }
}

.wrapped-highlight {
color: #60a5fa;
font-weight: 700;
}

.wrapped-posts-visual {
position: relative;
height: 80px;
margin-bottom: 20px;
}

.wrapped-post-stack {
position: relative;
width: 100px;
height: 80px;
margin: 0 auto;
}

.wrapped-post-card {
position: absolute;
width: 70px;
height: 50px;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
border: 1px solid rgba(59, 130, 246, 0.4);
border-radius: 8px;
left: 50%;
animation: cardStack 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: calc(var(--i) * 0.15s);
opacity: 0;
}

.wrapped-post-card:nth-child(1) {
transform: translateX(-50%) translateY(0) rotate(-8deg);
}

.wrapped-post-card:nth-child(2) {
transform: translateX(-50%) translateY(8px) rotate(0deg);
}

.wrapped-post-card:nth-child(3) {
transform: translateX(-50%) translateY(16px) rotate(8deg);
}

@keyframes cardStack {
0% { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(0.8); }
100% { opacity: 1; }
}

.wrapped-slide.active .wrapped-post-card:nth-child(1) {
animation: cardStack 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: 0.15s;
}

.wrapped-slide.active .wrapped-post-card:nth-child(2) {
animation: cardStack 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: 0.3s;
}

.wrapped-slide.active .wrapped-post-card:nth-child(3) {
animation: cardStack 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: 0.45s;
}

.wrapped-hotpost-visual {
position: relative;
margin-bottom: 20px;
}

.wrapped-hotpost-flames {
display: flex;
justify-content: center;
gap: 4px;
margin-bottom: 8px;
}

.wrapped-hotpost-flames span {
font-size: 32px;
animation: flameWave 0.8s ease-in-out infinite;
animation-delay: calc(var(--i) * 0.15s);
}

@keyframes flameWave {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-8px) scale(1.1); }
}

.wrapped-hotpost-number {
font-size: 80px;
font-weight: 900;
color: white;
line-height: 1;
text-shadow: 0 0 40px rgba(249, 115, 22, 0.5);
}

.wrapped-hotpost-label {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 3px;
margin-top: 4px;
}

.wrapped-view-btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
padding: 12px 24px;
border-radius: 50px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
margin-top: 24px;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}

.wrapped-view-btn:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}

.wrapped-streak-visual {
position: relative;
width: 140px;
height: 140px;
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
}

.wrapped-streak-fire {
font-size: 70px;
animation: streakPulse 1s ease-in-out infinite;
filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.6));
z-index: 2;
position: relative;
}

@keyframes streakPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}

.wrapped-streak-ring {
position: absolute;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
border: 2px solid rgba(249, 115, 22, 0.4);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: streakRingExpand 2s ease-out infinite;
}

@keyframes streakRingExpand {
0% { width: 60px; height: 60px; opacity: 0.8; }
100% { width: 160px; height: 160px; opacity: 0; }
}

.wrapped-followers-icon {
font-size: 60px;
margin-bottom: 16px;
animation: followersFloat 3s ease-in-out infinite;
}

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

.wrapped-prediction {
margin-top: 24px;
padding: 16px 24px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
display: flex;
flex-direction: column;
gap: 4px;
}

.wrapped-prediction-label {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 1px;
}

.wrapped-prediction-value {
font-size: 24px;
font-weight: 800;
color: #60a5fa;
}

.wrapped-emoji-rain {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
z-index: 1;
}

.wrapped-rain-emoji {
position: absolute;
top: -50px;
font-size: 30px;
animation: emojiRainFall 2s ease-in forwards;
opacity: 0;
}

@keyframes emojiRainFall {
0% { transform: translateY(0) rotate(0deg); opacity: 1; }
100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.wrapped-notif-icon {
font-size: 60px;
margin-bottom: 16px;
animation: notifShake 0.5s ease-in-out infinite;
}

@keyframes notifShake {
0%, 100% { transform: rotate(-10deg); }
50% { transform: rotate(10deg); }
}

.wrapped-streak-container {
display: flex;
gap: 8px;
justify-content: center;
margin-bottom: 24px;
}

.wrapped-streak-day {
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
animation: streakPop 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: var(--delay, 0s);
opacity: 0;
transform: scale(0);
}

.wrapped-streak-day.active {
background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(239, 68, 68, 0.3));
border-color: rgba(249, 115, 22, 0.5);
box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

@keyframes streakPop {
0% { opacity: 0; transform: scale(0); }
60% { transform: scale(1.2); }
100% { opacity: 1; transform: scale(1); }
}

.wrapped-slide.active .wrapped-streak-day {
animation: streakPop 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-time-display {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-bottom: 24px;
}

.wrapped-time-number {
font-size: 72px;
font-weight: 900;
color: white;
line-height: 1;
}

.wrapped-time-label {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 3px;
}

.wrapped-clock-icon {
font-size: 60px;
margin-bottom: 16px;
animation: clockTick 1s ease-in-out infinite;
}

@keyframes clockTick {
0%, 100% { transform: rotate(-5deg); }
50% { transform: rotate(5deg); }
}

.wrapped-word-cloud {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin-bottom: 24px;
max-width: 350px;
}

.wrapped-word {
padding: 8px 16px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
font-size: var(--size, 14px);
color: rgba(255, 255, 255, 0.8);
animation: wordFade 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
animation-delay: var(--delay, 0s);
opacity: 0;
}

.wrapped-word.highlight {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
border-color: rgba(59, 130, 246, 0.4);
color: #60a5fa;
}

@keyframes wordFade {
0% { opacity: 0; transform: translateY(10px); }
100% { opacity: 1; transform: translateY(0); }
}

.wrapped-slide.active .wrapped-word {
animation: wordFade 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wrapped-medal-container {
position: relative;
margin-bottom: 24px;
}

.wrapped-medal {
font-size: 90px;
animation: medalSwing 2s ease-in-out infinite;
filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.4));
}

@keyframes medalSwing {
0%, 100% { transform: rotate(-10deg); }
50% { transform: rotate(10deg); }
}

.wrapped-rank-badge {
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
padding: 6px 20px;
border-radius: 20px;
font-size: 14px;
font-weight: 800;
color: white;
white-space: nowrap;
}

.wrapped-tap-hint {
position: absolute;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
color: rgba(255, 255, 255, 0.3);
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
0%, 100% { opacity: 0.3; }
50% { opacity: 0.6; }
}

.wrapped-posts-icon {
font-size: 70px;
margin-bottom: 16px;
animation: postsFloat 3s ease-in-out infinite;
filter: drop-shadow(0 8px 25px rgba(59, 130, 246, 0.3));
}

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

.wrapped-rank-display {
margin-top: 24px;
width: 100%;
max-width: 280px;
}

.wrapped-rank-text {
display: block;
text-align: center;
font-size: 14px;
font-weight: 700;
color: #60a5fa;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 2px;
}

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

.wrapped-rank-fill {
height: 100%;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 4px;
width: var(--width, 0%);
animation: rankGrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.wrapped-rank-marker {
position: absolute;
top: -6px;
left: var(--pos, 0%);
width: 20px;
height: 20px;
background: #60a5fa;
border-radius: 50%;
transform: translateX(-50%);
box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
animation: markerPop 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
opacity: 0;
}

@keyframes rankGrow {
0% { width: 0%; }
}

@keyframes markerPop {
0%, 70% { opacity: 0; transform: translateX(-50%) scale(0); }
100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@media (max-width: 640px) {
.wrapped-close-btn {
top: 16px;
right: 16px;
width: 40px;
height: 40px;
font-size: 16px;
}

.wrapped-slide {
padding: 40px 24px 100px 24px;
}

.wrapped-slide-icon {
font-size: 60px;
margin-bottom: 20px;
}

.wrapped-slide-number {
font-size: 72px;
margin-bottom: 12px;
}

.wrapped-slide-title {
font-size: 26px;
margin-bottom: 12px;
}

.wrapped-slide-subtitle {
font-size: 16px;
}

.wrapped-navigation {
padding: 20px 24px;
}

.wrapped-nav-btn {
width: 44px;
height: 44px;
font-size: 16px;
}

.wrapped-progress {
margin: 0 16px;
gap: 12px;
}

.wrapped-share-btn {
padding: 14px 28px;
font-size: 16px;
margin-top: 28px;
}

.wrapped-profile-ring {
width: 100px;
height: 100px;
}

.wrapped-stat-circle {
width: 130px;
height: 130px;
}

.wrapped-circle-number {
font-size: 36px;
}

.wrapped-reaction-item {
font-size: 32px;
}

.wrapped-fire-icon {
font-size: 60px;
}

.wrapped-big-reaction {
font-size: 70px;
}

.wrapped-trophy {
font-size: 70px;
}

.wrapped-rocket {
font-size: 60px;
}

.wrapped-chart-bar {
width: 32px;
}

.wrapped-calendar-cell {
width: 32px;
height: 32px;
}

.wrapped-follower-avatar {
width: 40px;
height: 40px;
font-size: 16px;
}

.wrapped-time-number {
font-size: 56px;
}

.wrapped-medal {
font-size: 70px;
}

.wrapped-tap-hint {
bottom: 90px;
font-size: 12px;
}

.wrapped-posts-icon {
font-size: 50px;
}

.wrapped-rank-display {
max-width: 240px;
}

.wrapped-hotpost-number {
font-size: 60px;
}

.wrapped-streak-fire {
font-size: 50px;
}

.wrapped-streak-visual {
width: 120px;
height: 120px;
}
}

.wrapped-summary-bg {
background: #0c1220 !important;
}
.wrapped-summary-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 28px;
padding: 40px;
}
.wrapped-summary-top {
text-align: center;
}
.wrapped-summary-year {
font-size: 14px;
font-weight: 700;
color: #60a5fa;
letter-spacing: 4px;
}
.wrapped-summary-profile {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.wrapped-summary-avatar {
width: 90px;
height: 90px;
border-radius: 50%;
border: 3px solid #fff;
object-fit: cover;
}
.wrapped-summary-username {
font-size: 24px;
font-weight: 700;
color: #fff;
}
.wrapped-summary-grid {
display: flex;
gap: 32px;
}
.wrapped-summary-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.wrapped-item-num {
font-size: 28px;
font-weight: 800;
color: #fff;
}
.wrapped-item-txt {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
text-transform: lowercase;
}
.wrapped-summary-rank {
font-size: 16px;
font-weight: 600;
color: #fbbf24;
}
.wrapped-summary-site {
font-size: 12px;
color: rgba(255, 255, 255, 0.25);
letter-spacing: 1px;
}
@media (max-width: 480px) {
.wrapped-summary-content {
padding: 30px 20px;
gap: 24px;
}
.wrapped-summary-avatar {
width: 70px;
height: 70px;
}
.wrapped-summary-username {
font-size: 20px;
}
.wrapped-summary-grid {
gap: 20px;
}
.wrapped-item-num {
font-size: 22px;
}
.wrapped-item-txt {
font-size: 10px;
}
}

.wrapped-screenshot-hint {
font-size: 13px;
color: rgba(255, 255, 255, 0.4);
margin-top: 12px;
font-weight: 500;
}