/* ============================================
   FOR PURNIMA SPECIAL - STYLES
   Romantic + Funny Prank Website
   ============================================ */

/* CSS Variables */
:root {
    --romantic-pink: #ff6b9d;
    --romantic-purple: #c44569;
    --romantic-white: #fff5f7;
    --romantic-gold: #ffd700;
    --prank-yellow: #ffeb3b;
    --prank-orange: #ff9800;
    --prank-red: #f44336;
    --prank-green: #4caf50;
    --dark-bg: #1a1a2e;
    --prank-bg: #2d132c;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.floating-hearts, .floating-laughs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    color: var(--romantic-pink);
    font-size: 20px;
    animation: floatUp 8s ease-in infinite;
    opacity: 0.7;
}

.laugh-emoji {
    position: absolute;
    font-size: 30px;
    animation: floatLaugh 6s ease-in infinite;
    opacity: 0.8;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatLaugh {
    0% {
        transform: translateY(100vh) translateX(0) rotate(-10deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translateY(75vh) translateX(30px) rotate(10deg);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) rotate(-5deg);
    }
    75% {
        transform: translateY(25vh) translateX(40px) rotate(15deg);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
}

/* ============================================
   LANDING PAGE - ROMANTIC THEME
   ============================================ */

.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.landing-page.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.romantic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glow-particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: glowMove 15s ease-in-out infinite;
}

.glow-particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-particle:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.glow-particle:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 6s;
}

.glow-particle:nth-child(4) {
    top: 30%;
    right: 30%;
    animation-delay: 9s;
}

.glow-particle:nth-child(5) {
    bottom: 10%;
    right: 20%;
    animation-delay: 12s;
}

@keyframes glowMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.2);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.8);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.1);
    }
}

.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 600px;
}

.main-heading {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--romantic-purple);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.heart-beat {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

.romantic-message {
    font-size: 1.3rem;
    color: var(--romantic-purple);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

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

/* Surprise Button */
.surprise-btn {
    position: relative;
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--romantic-pink) 0%, var(--romantic-purple) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(196, 69, 105, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.surprise-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(196, 69, 105, 0.5);
}

.surprise-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(196, 69, 105, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(196, 69, 105, 0.6), 0 0 0 10px rgba(196, 69, 105, 0.1);
    }
}

.btn-sparkle {
    display: inline-block;
    margin-left: 8px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.8;
    }
}

/* Music Toggle */
.music-toggle {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--romantic-purple);
    background: white;
    color: var(--romantic-purple);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: var(--romantic-purple);
    color: white;
    transform: scale(1.1);
}

.music-btn.playing {
    animation: musicPulse 1s ease-in-out infinite;
}

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

.music-label {
    font-size: 0.9rem;
    color: var(--romantic-purple);
    font-weight: 400;
}

/* Landing Footer */
.landing-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: var(--romantic-purple);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--romantic-pink) 0%, var(--romantic-purple) 100%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.loading-screen.active {
    display: flex;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

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

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.progress-container {
    width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 15px;
}

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

.loading-percentage {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   PRANK PAGE - CHAOTIC THEME
   ============================================ */

.prank-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 30;
    overflow: hidden;
}

.prank-page.active {
    display: flex;
}

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

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

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

.prank-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

.prank-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    line-height: 1.3;
}

.shake-text {
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    10% {
        transform: translateX(-5px) rotate(-2deg);
    }
    20% {
        transform: translateX(5px) rotate(2deg);
    }
    30% {
        transform: translateX(-5px) rotate(-2deg);
    }
    40% {
        transform: translateX(5px) rotate(2deg);
    }
    50% {
        transform: translateX(-3px) rotate(-1deg);
    }
    60% {
        transform: translateX(3px) rotate(1deg);
    }
    70% {
        transform: translateX(-2px) rotate(-1deg);
    }
    80% {
        transform: translateX(2px) rotate(1deg);
    }
    90% {
        transform: translateX(-1px) rotate(0deg);
    }
}

.prank-subtext {
    font-size: 1.8rem;
    color: var(--prank-yellow);
    font-weight: 600;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bounce-text {
    animation: bounce 1s ease-in-out infinite;
}

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

/* Emoji Rain */
.emoji-rain {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.bouncing-emoji {
    font-size: 4rem;
    animation: emojiBounce 1s ease-in-out infinite;
    display: inline-block;
}

.bouncing-emoji:nth-child(1) { animation-delay: 0s; }
.bouncing-emoji:nth-child(2) { animation-delay: 0.1s; }
.bouncing-emoji:nth-child(3) { animation-delay: 0.2s; }
.bouncing-emoji:nth-child(4) { animation-delay: 0.3s; }
.bouncing-emoji:nth-child(5) { animation-delay: 0.4s; }
.bouncing-emoji:nth-child(6) { animation-delay: 0.5s; }

@keyframes emojiBounce {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) scale(1.2) rotate(-10deg);
    }
    50% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) scale(1.1) rotate(10deg);
    }
}

/* Meme Face */
.prank-meme {
    margin: 30px 0;
}

.meme-face {
    font-size: 8rem;
    animation: memeSpin 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes memeSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-20deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(20deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Reset Button */
.reset-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--prank-orange) 0%, var(--prank-red) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.reset-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Prank Footer */
.prank-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .main-heading {
        font-size: 2.5rem;
    }
    
    .romantic-message {
        font-size: 1.1rem;
    }
    
    .surprise-btn {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
    
    .prank-heading {
        font-size: 1.8rem;
    }
    
    .prank-subtext {
        font-size: 1.3rem;
    }
    
    .bouncing-emoji {
        font-size: 2.5rem;
    }
    
    .meme-face {
        font-size: 5rem;
    }
    
    .progress-container {
        width: 250px;
    }
    
    .emoji-rain {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
    }
    
    .romantic-message {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .surprise-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .prank-heading {
        font-size: 1.5rem;
    }
    
    .prank-subtext {
        font-size: 1.1rem;
    }
    
    .bouncing-emoji {
        font-size: 2rem;
    }
    
    .meme-face {
        font-size: 4rem;
    }
    
    .progress-container {
        width: 200px;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
    
    .loading-percentage {
        font-size: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.visible {
    display: flex !important;
}