/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24); */
    background: url(http://jayanta.local/wp-content/uploads/2026/02/yohoprashant-girl-3194977_1920.jpg);
    background-size: 150% 150%;
    animation: gradientBG 15s ease infinite;
    padding: 20px;
}

/* Gradient animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container styles */
.container {
    max-width: 800px;
    width: 100%;
}

/* Main card styles */
.holi-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Color splash effects */
.color-splash {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.splash {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    animation: splash 4s ease-in-out infinite;
}

@keyframes splash {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.splash1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 99, 132, 0.3);
    top: -50px;
    left: -50px;
}

.splash2 {
    width: 250px;
    height: 250px;
    background: rgba(54, 162, 235, 0.3);
    bottom: -80px;
    right: -80px;
}

.splash3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 206, 86, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Content styles */
.content {
    position: relative;
    z-index: 2;
}

/* Title styles */
.main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Greeting text */
.greeting-text {
    font-size: 1.3em;
    color: #333;
    margin: 20px 0;
    line-height: 1.6;
    padding: 0 20px;
}

/* Holi messages section */
.holi-messages {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    color: white;
}
.watermark {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    pointer-events: none; /* click-through */
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.message {
    font-size: 1.2em;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.message:nth-child(1) { animation-delay: 0.2s; }
.message:nth-child(2) { animation-delay: 0.4s; }
.message:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Color section title */
.color-section-title {
    font-size: 1.5em;
    color: #333;
    margin: 20px 0;
}

/* Color buttons */
.color-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.color-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.color-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.color-btn:active {
    transform: scale(0.9);
}

/* Color button variants */
.color-btn.red { background: #ff4757; }
.color-btn.blue { background: #1e90ff; }
.color-btn.green { background: #2ed573; }
.color-btn.yellow { background: #ffa502; }
.color-btn.purple { background: #a55eea; }
.color-btn.pink { background: #ff6b81; }

/* Color powder animation */
.color-powder {
    position: fixed;
    pointer-events: none;
    animation: throwPowder 1s ease-out forwards;
    z-index: 1000;
}

@keyframes throwPowder {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(180deg);
        opacity: 0;
    }
}

/* Wish button styles */
.wish-btn {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    font-weight: bold;
}

.wish-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.wish-btn:active {
    transform: translateY(0);
}

/* Random wish display */
.random-wish-display {
    margin: 20px 0;
    font-size: 1.2em;
    color: #ff6b6b;
    min-height: 50px;
    transition: all 0.3s ease;
}

/* Footer styles */
.footer {
    margin-top: 30px;
    color: #666;
    font-style: italic;
}

/* Confetti animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f1c40f;
    opacity: 0;
    animation: confetti 3s ease-in-out infinite;
}

.sender-name {
    margin-top: 10px;
    font-size: 22px;
    color: #fff;
    text-shadow: 1px 1px 5px #000;
}

.share-box {
    margin-top: 20px;
    text-align: center;
}

.share-box input {
    padding: 10px;
    width: 70%;
    border-radius: 5px;
    border: none;
}

.share-box button {
    padding: 10px 15px;
    margin-top: 10px;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.whatsapp-btn {
    margin-top: 10px;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.facebook-btn {
    margin-top: 10px;
    background: #1877F2; /* Facebook Blue */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.facebook-btn:hover {
    background: #0d65d9;
}
.whatsapp-btn:hover {
    background: #1ebe5d; 
}
@keyframes confetti {
    0% { transform: translateY(-100%) rotate(0deg); opacity: 1; }
    100% { transform: translateY(1000%) rotate(720deg); opacity: 0; }
}

/* Responsive design */
@media (max-width: 600px) {
    .main-title {
        font-size: 2.5em;
    }
    
    .holi-card {
        padding: 20px;
    }
    
    .greeting-text {
        font-size: 1.1em;
    }
    
    .holi-messages {
        padding: 20px;
    }
    
    .message {
        font-size: 1em;
    }
}

@media (max-width: 400px) {
    .color-buttons {
        gap: 10px;
    }
    
    .color-btn {
        width: 40px;
        height: 40px;
    }
    
    .wish-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}