/* ==========================================================================
   ZONA ARTHUR - Venta de Cuentas Mobile Legends
   Official Esports Theme Styling & Visual Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rajdhani:wght@600;700;800&display=swap');

:root {
    --za-bg-void: #02050e;
    --za-bg-primary: #040918;
    --za-bg-card: #081126;
    --za-bg-card-hover: #0d1a38;
    
    /* ZA Electric Cyan & Blue */
    --za-blue-glow: #00d2ff;
    --za-blue-primary: #0088ff;
    --za-blue-deep: #0044cc;
    --za-blue-shadow: rgba(0, 180, 255, 0.35);
    
    /* ZA Championship Gold */
    --za-gold-light: #fff085;
    --za-gold-primary: #f59e0b;
    --za-gold-rich: #ffd700;
    --za-gold-dark: #b45309;
    --za-gold-shadow: rgba(245, 158, 11, 0.4);
    
    /* ZA Metallic Chrome / Silver */
    --za-chrome-light: #ffffff;
    --za-chrome-mid: #cbd5e1;
    --za-chrome-dark: #64748b;
    
    /* Borders */
    --za-border-subtle: rgba(30, 58, 110, 0.4);
    --za-border-blue: rgba(0, 210, 255, 0.45);
    --za-border-gold: rgba(245, 158, 11, 0.5);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--za-bg-void);
    color: #e2e8f0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 140, 255, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(245, 158, 11, 0.08), transparent 60%);
    background-attachment: fixed;
}

.font-heading {
    font-family: 'Barlow Condensed', 'Rajdhani', sans-serif;
}

/* ==========================================================================
   Glow & Lighting Effects
   ========================================================================== */

.za-glow-gold {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), 0 0 50px rgba(217, 119, 6, 0.2);
}

.za-glow-blue {
    box-shadow: 0 0 25px rgba(0, 180, 255, 0.4), 0 0 50px rgba(0, 102, 255, 0.2);
}

.za-glow-dual {
    box-shadow: 
        -5px -5px 30px rgba(0, 210, 255, 0.3),
        5px 5px 30px rgba(245, 158, 11, 0.35);
}

.za-text-glow-blue {
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.7), 0 0 24px rgba(0, 136, 255, 0.4);
}

.za-text-glow-gold {
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.75), 0 0 24px rgba(217, 119, 6, 0.4);
}

/* ==========================================================================
   Text Gradients
   ========================================================================== */

.za-gradient-gold-text {
    background: linear-gradient(135deg, #fff3a8 0%, #ffd700 35%, #f59e0b 70%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.za-gradient-blue-text {
    background: linear-gradient(135deg, #bbf7d0 0%, #38bdf8 30%, #0099ff 70%, #0055ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.za-gradient-chrome-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #94a3b8 70%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Esports Badges & Ribbons
   ========================================================================== */

.za-skew-badge {
    transform: skewX(-12deg);
    display: inline-flex;
    align-items: center;
}

.za-skew-badge > * {
    transform: skewX(12deg);
}

.za-badge-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #b45309 100%);
    color: #070d1a;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.za-badge-blue {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Buttons (High-Energy Esports)
   ========================================================================== */

.za-btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
    color: #050a17;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid #ffea79;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.za-btn-gold:hover {
    background: linear-gradient(135deg, #fff085 0%, #fbbf24 50%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.7);
    color: #020610;
}

.za-btn-gold::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    transition: left 0.6s ease;
}

.za-btn-gold:hover::before {
    left: 130%;
}

.za-btn-blue {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(0, 210, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.35);
    transition: all 0.25s ease;
}

.za-btn-blue:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 210, 255, 0.6);
}

/* ==========================================================================
   Cards & Surfaces
   ========================================================================== */

.za-card, .gamer-card {
    background: linear-gradient(145deg, rgba(10, 20, 42, 0.95) 0%, rgba(5, 10, 22, 0.98) 100%);
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-top: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.za-card:hover, .gamer-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
    border-top-color: rgba(245, 158, 11, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Dual-tone glowing border card */
.za-card-dual {
    position: relative;
    background: linear-gradient(160deg, #081126 0%, #040918 100%);
    border-radius: 1.5rem;
    padding: 1px;
}

.za-card-dual::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.7) 0%, rgba(0, 100, 255, 0.2) 40%, rgba(245, 158, 11, 0.2) 60%, rgba(245, 158, 11, 0.8) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Animated Laser Border effect */
.za-laser-line {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 210, 255, 0.8) 30%, 
        rgba(255, 215, 0, 0.9) 70%, 
        transparent 100%);
}

/* Logo ring pulsing aura */
.za-logo-aura {
    position: relative;
}

.za-logo-aura::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00d2ff, #f59e0b, #0088ff);
    z-index: -1;
    opacity: 0.75;
    filter: blur(8px);
    animation: za-pulse-aura 3s ease-in-out infinite alternate;
}

@keyframes za-pulse-aura {
    0% { transform: scale(0.96); opacity: 0.6; }
    100% { transform: scale(1.04); opacity: 0.95; }
}

/* Custom Scrollbar with esports color */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-track {
    background: #02050e;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0284c7 0%, #f59e0b 100%);
    border-radius: 4px;
    border: 2px solid #02050e;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #fbbf24 100%);
}

/* ==========================================================================
   Mobile-First & Touch Optimizations
   ========================================================================== */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.w-13 { width: 3.25rem; }
.h-13 { height: 3.25rem; }

/* Safe area for iPhone home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom));
    }
    nav.fixed.bottom-0 {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    }
}

.touch-action-manipulation {
    touch-action: manipulation;
}
