/* ========================================================
   ONCE CLUB - ONCE STUDIO MADRID
   Custom Luxe Dark Mode & iPhone / Mobile-First CSS
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #171717;
    --bg-card-hover: #222225;
    --border-gold: rgba(197, 160, 89, 0.25);
    --gold-primary: #c5a059;
    --gold-bright: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --text-white: #ffffff;
    --text-muted: #a3a3a3;
    --active-green: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

h1, h2, h3, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Luxe Cards */
.glass-card {
    background: rgba(23, 23, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Tarjeta Digital Estilo Apple Wallet */
.wallet-pass {
    background: linear-gradient(135deg, #1c1c1e 0%, #0d0d0f 50%, #1f1a14 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallet-pass:active {
    transform: scale(0.98);
}

.wallet-pass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Efecto Dorado Botón & Texto */
.text-gold {
    color: var(--gold-bright);
}

.text-gold-gradient {
    background: linear-gradient(135deg, #f3e7e4 0%, #d4af37 50%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
    color: #0a0a0a;
    font-weight: 700;
    border-radius: 0.75rem;
    padding: 0.875rem 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e5be48 0%, #d4af37 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

.btn-gold:active {
    transform: translateY(1px);
}

/* Animación Pulsante NFC / Actividad */
@keyframes nfcPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.pulse-nfc {
    animation: nfcPulse 2s infinite;
}

/* Responsive Custom Utilities */
.safe-padding-top {
    padding-top: max(1rem, env(safe-area-inset-top));
}

.safe-padding-bottom {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

/* Scrollbar estilizado */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c5a059;
}
