/* BajaTik custom styles */

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #0F0F1E;
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 0, 80, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0F0F1E;
}
::-webkit-scrollbar-thumb {
    background: #252540;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a3a5c;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #0F0F1E inset;
    transition: background-color 5000s ease-in-out 0s;
}

details summary::-webkit-details-marker {
    display: none;
}

.quality-pill {
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b4b4c5;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.quality-pill:hover:not(:disabled):not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.quality-pill.active {
    background: linear-gradient(to right, #FF0050, #00F2EA);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 0, 80, 0.25);
}

.quality-pill:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quality-choice-btn {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
    display: block;
}

.quality-choice-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.quality-choice-btn:active:not(:disabled) {
    transform: translateY(0);
}

.quality-choice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quality-choice-btn-premium {
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.08), rgba(0, 242, 234, 0.08));
    border-color: rgba(255, 0, 80, 0.3);
}

.quality-choice-btn-premium:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.15), rgba(0, 242, 234, 0.15));
    border-color: rgba(255, 0, 80, 0.5);
}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
