/* ── DESIGN SYSTEM & STYLING — CLUBE67 PREMIUM ── */

/* Typography & Root variables */
:root {
    --font-display: 'Outfit', 'Inter', sans-serif;
    --font-sans: 'Inter', sans-serif;

    /* Sleek harmonized dark palette */
    --color-bg: 15 23 42; /* slate-900 equivalent */
    --color-primary: 99 102 241; /* indigo-500 */
    --color-primary-rgb: 99, 102, 241;
    --color-accent: 139 92 246; /* violet-500 */
    --color-accent-rgb: 139, 92, 246;
    
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(99, 102, 241, 0.25);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(10, 15, 30);
    color: #e2e8f0;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: var(--font-display);
}

/* Custom Webkit scrollbar for sleek premium look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(10, 15, 30);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.3);
}

/* Typography elements styling */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: #ffffff;
}

/* Header & Navigation styling */
.nav-tab {
    background: transparent;
    border: none;
    color: #64748b; /* slate-500 */
    cursor: pointer;
}

.nav-tab:hover {
    color: #cbd5e1; /* slate-300 */
}

.nav-tab.active {
    background-color: rgba(99, 102, 241, 0.15);
    color: #818cf8; /* indigo-400 */
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

/* Pills & Filter chips */
.filter-pill {
    background: rgba(15, 23, 42, 0.6);
    border: 1px border rgba(255, 255, 255, 0.04);
    color: #94a3b8; /* slate-400 */
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.filter-pill:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #cbd5e1;
}

.filter-pill.active {
    background: gradient-to-r from-indigo-600 to-violet-600;
    background: linear-gradient(135deg, rgb(79, 70, 229), rgb(124, 58, 237));
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

/* Glassmorphism Benefit Cards styling */
.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.03), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.05);
}

/* Laser scan animation for voucher validation page */
@keyframes scan {
    0%, 100% {
        top: 0%;
        opacity: 0.8;
    }
    50% {
        top: 98%;
        opacity: 0.8;
    }
}

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

/* Spacing & Layout Utilities */
.p-1 { padding: 0.25rem !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.pl-4 { padding-left: 1rem !important; }
.pl-11 { padding-left: 2.75rem !important; }
.pr-4 { padding-right: 1rem !important; }

/* Display & Flexbox */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }

/* Gap Utilities */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }

/* Grid Utilities */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:flex-row { flex-direction: row !important; }
    .md\:text-left { text-align: left !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
    .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
}

/* Sizing Utilities */
.w-full { width: 100% !important; }
.max-w-7xl { max-width: 80rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-md { max-width: 28rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-40 { width: 10rem !important; }
.h-40 { height: 10rem !important; }
.w-48 { width: 12rem !important; }
.h-48 { height: 12rem !important; }
.w-96 { width: 24rem !important; }
.h-96 { height: 24rem !important; }
.w-\[500px\] { width: 500px !important; }
.h-\[500px\] { height: 500px !important; }

/* Borders & Styles */
.border { border: 1px solid rgba(255, 255, 255, 0.08) !important; }
.border-b { border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; }
.border-slate-800 { border-color: rgba(30, 41, 59, 0.6) !important; }
.border-slate-800\/50 { border-color: rgba(30, 41, 59, 0.4) !important; }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8) !important; }
.border-slate-900\/80 { border-color: rgba(15, 23, 42, 0.8) !important; }
.border-slate-900\/20 { border-color: rgba(15, 23, 42, 0.2) !important; }

/* Border Radius */
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }

/* Typography & Colors */
.text-center { text-align: center !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-100 { color: #f1f5f9 !important; }
.text-white { color: #ffffff !important; }
.text-indigo-400 { color: #818cf8 !important; }
.text-emerald-400 { color: #34d399 !important; }
.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.font-black { font-weight: 900 !important; }

.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }

.uppercase { text-transform: uppercase !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.leading-none { line-height: 1 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.leading-snug { line-height: 1.375 !important; }

/* Transitions & Shadows */
.transition-all { transition-property: all !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.duration-300 { transition-duration: 300ms !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important; }

/* Semantic Classes */
.brand-subtitle {
    font-size: 9px !important;
    letter-spacing: 0.25em !important;
}
.trend-pct {
    font-size: 10px !important;
}
.shadow-logo {
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -2px rgba(99, 102, 241, 0.1) !important;
}
.shadow-button {
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25), 0 4px 6px -2px rgba(99, 102, 241, 0.15) !important;
}

.text-9px { font-size: 9px !important; }
.text-10px { font-size: 10px !important; }
.letter-spacing-25 { letter-spacing: 0.25em !important; }

.selection\:bg-indigo-500\/30::selection { background-color: rgba(99, 102, 241, 0.3); }
.selection\:text-indigo-200::selection { color: #c7d2fe; }

.fixed { position: fixed !important; }
.top-0 { top: 0 !important; }
.sticky { position: sticky !important; }
.z-40 { z-index: 40 !important; }
.backdrop-blur-md { backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; }
.backdrop-blur-xl { backdrop-filter: blur(24px) !important; -webkit-backdrop-filter: blur(24px) !important; }
.pointer-events-none { pointer-events: none !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }
.pl-4 { padding-left: 1rem !important; }
.object-contain { object-fit: contain !important; }
.bg-slate-950 { background-color: rgb(2, 6, 23) !important; }
.bg-slate-950\/60 { background-color: rgba(2, 6, 23, 0.6) !important; }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8) !important; }
.bg-slate-900\/40 { background-color: rgba(15, 23, 42, 0.4) !important; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6) !important; }
.bg-slate-900\/35 { background-color: rgba(15, 23, 42, 0.35) !important; }
