/* Custom Styles for GamePay Telegram Mini App */

/* Orbitron and Inter fonts are imported in index.html */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #0b0d19;
}
::-webkit-scrollbar-thumb {
    background: #1c213e;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7b2ff7;
}

/* Custom Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 9999px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f2fe;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8), 0 0 20px rgba(0, 242, 254, 0.4);
    transition: transform 0.1s, background-color 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ffffff;
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.3);
    background: #00f2fe;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #00f2fe;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8), 0 0 20px rgba(0, 242, 254, 0.4);
    transition: transform 0.1s, background-color 0.1s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #ffffff;
}

/* Game Card Shimmer & Hover Effect */
.game-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
    z-index: 5;
}

.game-card:hover::before {
    left: 125%;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(123, 47, 247, 0.3);
    border-color: rgba(123, 47, 247, 0.4);
}

.game-card.active {
    border-color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* Payment Method Active State */
.payment-method-card.active {
    border-color: #00f2fe;
    background-color: rgba(0, 242, 254, 0.03);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.payment-method-card.active .radio-dot {
    border-color: #00f2fe;
}

.payment-method-card.active .radio-dot div {
    display: block;
}

/* Custom Animations */
@keyframes pulse-cyan {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
    }
}

.pulse-cyan-glow {
    animation: pulse-cyan 2s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

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

/* Hide default arrows on number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

/* Base styles for Telegram WebApp compatibility */
body {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

input, select, textarea {
    user-select: text;
}
