/* ===================================
   REYES GAS — Custom Styles
   =================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Manrope', sans-serif; 
    background-color: #131313; 
    color: #e2e2e2; 
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
.font-headline { font-family: 'Space Grotesk', sans-serif; }

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Glass Effects ===== */
.glass-header {
    background: rgba(13, 13, 13, 0.65);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-panel {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ===== Page System ===== */
.page {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== CTA Gradient ===== */
.gloss-effect {
    background: linear-gradient(135deg, #0091ea 0%, #00b0ff 50%, #0091ea 100%);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Pulse animation for live indicator ===== */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ===== Success checkmark ===== */
.success-check {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== Floating button entrance ===== */
.float-up {
    animation: floatUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes floatUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== Quantity badge pulse ===== */
.qty-pulse {
    animation: qtyPop 0.2s ease;
}
@keyframes qtyPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== Card hover lift ===== */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===== Logo glow ===== */
.logo-glow {
    filter: drop-shadow(0 0 16px rgba(0, 145, 234, 0.4));
    transition: filter 0.3s ease;
}
.logo-glow:hover {
    filter: drop-shadow(0 0 24px rgba(0, 145, 234, 0.6));
}

/* ===== Radio cards (payment) ===== */
input[type="radio"]:checked + .radio-card {
    border-color: #0091ea;
    background: rgba(0, 145, 234, 0.08);
}
input[type="radio"]:checked + .radio-card .radio-check {
    opacity: 1;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* ===== Selection ===== */
::selection {
    background: rgba(0, 145, 234, 0.3);
    color: white;
}

/* ===== Toast notification ===== */
.toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f1f1f;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 12px;
    z-index: 9999;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast.show {
    top: 100px;
}

/* ===== Empty cart state ===== */
.empty-cart {
    opacity: 0.4;
    pointer-events: none;
}
