@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
    --tg-theme-bg-color: #0b0c10;
    --tg-theme-text-color: #ffffff;
}

body {
    font-family: "Outfit", sans-serif;
    background-color: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    -webkit-tap-highlight-color: transparent;
}

/* Telegram Mini App Mode Styles */
body.tg-mode {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: hidden !important;
    width: 100vw !important;
    height: 100vh !important;
}

body.tg-mode #app-container {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    height: -webkit-fill-available !important;
    max-height: 100vh !important;
    max-height: -webkit-fill-available !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-color: var(--tg-theme-bg-color, #0b0c10);
}

body.tg-mode #mouse-glow {
    display: none !important;
}

/* Base Animations */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-10px) rotate(14deg); }
    100% { transform: translateY(0px) rotate(12deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float:hover {
    animation: none;
}

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

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

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fade-in 0.4s ease-out forwards;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fade-in-up 0.5s ease-out forwards;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Service Button Active State */
.service-btn.active {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.service-btn.active .active-bg {
    opacity: 1;
}

/* Amount Button */
.amount-btn {
    transition: all 0.2s ease;
}

.amount-btn:active {
    transform: scale(0.95);
}

.amount-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
    border-color: rgba(236, 72, 153, 0.5);
    color: white;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

/* Custom Amount Input */
.custom-input-glow {
    transition: box-shadow 0.3s ease;
}

.custom-amount-input:focus + .custom-input-glow {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.5);
}

/* Hide Spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.is-hidden {
    display: none !important;
}