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

@keyframes pulse-fun {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

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

@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

@keyframes slideIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes loadingDays {
    0% { content: "Monday..."; }
    20% { content: "Tuesday..."; }
    40% { content: "Wednesday..."; }
    60% { content: "Thursday..."; }
    80%, 100% { content: "FRIDAY! 🎉"; }
}

@keyframes float-notes {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes loading-bar {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

@keyframes bounce-in {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.gradient-nav {
    background: linear-gradient(135deg, #FF2D95, #7B2FBE, #4A90D9);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.gradient-btn {
    background: linear-gradient(135deg, #FF2D95, #7B2FBE);
    transition: all 0.3s ease;
}

.gradient-btn:hover {
    background: linear-gradient(135deg, #FF5CAD, #9B4FDE);
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
    transform: translateY(-2px);
}

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

.sparkle-badge {
    animation: sparkle 1.5s ease-in-out infinite;
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 45, 149, 0.15);
}

.glass-card {
    background: rgba(42, 42, 62, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-bar-gradient {
    background: linear-gradient(90deg, #FF2D95, #FFD700);
}

.toast-slide {
    animation: slideIn 0.3s ease forwards;
}

.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    animation: confetti-fall 2s linear forwards;
    pointer-events: none;
    z-index: 9999;
}

.floating-note {
    position: absolute;
    animation: float-notes linear infinite;
    pointer-events: none;
}

.animate-loading-bar {
    animation: loading-bar 2s ease-in-out infinite;
}

.bounce-in {
    animation: bounce-in 0.4s ease forwards;
}

.heart-float {
    animation: float-up 1s ease forwards;
    position: absolute;
    pointer-events: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: #7B2FBE;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF2D95;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 45, 149, 0.5);
}

/* Custom select styling */
select option:disabled {
    color: #666;
}

/* Grayscale filter for locked achievements */
.grayscale {
    filter: grayscale(100%);
}

/* Smooth page transitions */
main {
    animation: fadeIn 0.2s ease;
}

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