/* NoExcuses.gg Custom Styles */

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

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

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

.animate-pulse-slow {
    animation: pulseSlow 3s ease-in-out infinite;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

/* Flash messages */
.flash-message {
    animation: slideUp 0.3s ease-out, fadeOut 0.3s ease-in 3s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-10px); pointer-events: none; }
}

/* Scrollbar - Dark */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d0d1a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Selection */
::selection {
    background: rgba(0, 255, 136, 0.3);
    color: white;
}

/* =============================================
   LIGHT THEME OVERRIDES
   ============================================= */
html.light body {
    background-color: #f0f2f5 !important;
    color: #1a1a2e !important;
}

/* Backgrounds */
html.light .bg-dark-900 { background-color: #f0f2f5 !important; }
html.light .bg-dark-800 { background-color: #ffffff !important; }
html.light .bg-dark-700 { background-color: #e8eaed !important; }
html.light .bg-dark-900\/50 { background-color: rgba(240, 242, 245, 0.5) !important; }

/* Text */
html.light .text-white { color: #1a1a2e !important; }
html.light .text-gray-300 { color: #4a5568 !important; }
html.light .text-gray-400 { color: #718096 !important; }
html.light .text-gray-500 { color: #a0aec0 !important; }
html.light .text-gray-600 { color: #a0aec0 !important; }
html.light .text-gray-700 { color: #cbd5e0 !important; }

/* Borders */
html.light .border-gray-700\/50 { border-color: rgba(203, 213, 224, 0.6) !important; }
html.light .border-gray-700\/30 { border-color: rgba(203, 213, 224, 0.4) !important; }
html.light .border-gray-700 { border-color: #cbd5e0 !important; }

/* Cards & inputs */
html.light .bg-dark-800.rounded-2xl,
html.light .bg-dark-800.rounded-xl {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

html.light input.bg-dark-900 {
    background-color: #f7f8fa !important;
    border-color: #cbd5e0 !important;
    color: #1a1a2e !important;
}
html.light input.bg-dark-900::placeholder { color: #a0aec0 !important; }
html.light input.bg-dark-900:focus { border-color: #00cc6a !important; }

/* Neon color adjustment for light theme */
html.light .text-neon { color: #00b368 !important; }
html.light .bg-neon { background-color: #00b368 !important; }
html.light .border-neon\/30 { border-color: rgba(0, 179, 104, 0.3) !important; }
html.light .bg-neon\/10 { background-color: rgba(0, 179, 104, 0.08) !important; }
html.light .bg-neon\/20 { background-color: rgba(0, 179, 104, 0.15) !important; }
html.light .ring-neon\/30 { --tw-ring-color: rgba(0, 179, 104, 0.3) !important; }
html.light .shadow-neon\/5 { box-shadow: 0 25px 50px rgba(0, 179, 104, 0.03) !important; }

/* Header */
html.light header.bg-dark-800 {
    background-color: #ffffff !important;
    border-bottom-color: rgba(203, 213, 224, 0.6) !important;
}

/* Progress bar background */
html.light .bg-dark-900.rounded-full { background-color: #e2e8f0 !important; }

/* Modal */
html.light #photoModal > div { background-color: #ffffff !important; }
html.light .bg-black\/90 { background-color: rgba(0, 0, 0, 0.5) !important; }

/* Scrollbar - Light */
html.light ::-webkit-scrollbar-track { background: #f0f2f5; }
html.light ::-webkit-scrollbar-thumb { background: #cbd5e0; }
html.light ::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

/* Selection - Light */
html.light ::selection {
    background: rgba(0, 179, 104, 0.2);
    color: #1a1a2e;
}

/* Grayscale hearts */
html.light .grayscale { filter: grayscale(1); }
