/* =========================
BASE
========================= */
body {
    font-family: 'Montserrat', sans-serif;
}

/* =========================
BACKGROUNDS
========================= */
.gradient-bg {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

/* =========================
TEXT & EFFECTS
========================= */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* =========================
ANIMATIONS
========================= */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* =========================
HOVER EFFECTS
========================= */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::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;
}

.shine:hover::before {
    left: 100%;
}

/* =========================
CHECKMARK SIMPLE
========================= */
.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    flex-shrink: 0;
}

.checkmark::after {
    content: '✓';
    display: block;
    color: #000;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
}

/* =========================
CONFETTI
========================= */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #fbbf24;
    position: absolute;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* =========================
CIRCLE ANIMATION
========================= */
.circle {
    width: 80px;
    height: 80px;
}

.circle-stroke {
    stroke: #fbbf24;
    stroke-width: 3;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: draw-circle 1s ease-out forwards;
}

.check {
    stroke: #fbbf24;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: draw-check 0.4s ease-out 0.8s forwards;
}

/* =========================
CIRCLE ANIMATIONS
========================= */
@keyframes draw-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

/* =========================
CUSTOM SCROLLBAR STYLES
========================= */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* =========================
FADE IN ANIMATIONS
========================= */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

/* =========================
PROGRESS ANIMATIONS
========================= */
@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.animate-progress {
    animation: progress 2s ease-in-out infinite;
}

/* =========================
PROGRESS BAR FOR TOAST
========================= */
.toast-progress {
    width: 100%;
    animation-name: toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes toast-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}