/* ═══════════════════════════════════════════
   RED MARTIN — Premium Casino Landing
   Paleta: Negro + Violeta + Dorado
═══════════════════════════════════════════ */

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-input: #161620;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --border-violet: rgba(147,51,234,0.4);
    --text: #ffffff;
    --text-dim: #8b8b96;
    --text-muted: #5a5a66;
    --violet: #9333ea;
    --violet-bright: #a855f7;
    --violet-glow: rgba(147,51,234,0.4);
    --gold: #f59e0b;
    --gold-bright: #fbbf24;
    --green: #10b981;
    --red: #ef4444;
    --shadow-violet: 0 0 60px rgba(147,51,234,0.25);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

/* Background glows */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}
.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}
.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    opacity: 0.15;
}

/* ═══ HEADER ═══ */
.header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(10,10,15,0.7);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-bright) 50%, var(--gold) 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 20px var(--violet-glow);
}
.logo-mark::after {
    content: '♠';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 900;
}
.logo-text {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--violet-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
}
.dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ═══ LAYOUT ═══ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.container-narrow {
    max-width: 480px;
}

.main {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

/* ═══ SCREENS (multi-step) ═══ */
.screen {
    display: none;
    animation: slideIn 0.4s ease-out;
}
.screen.active {
    display: block;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══ HERO (pantalla 1) ═══ */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 720px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(147,51,234,0.1);
    border: 1px solid var(--border-violet);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--violet-bright);
    margin-bottom: 32px;
}
.hero-title {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(90deg, var(--violet) 0%, var(--violet-bright) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}
.stat {
    text-align: center;
}
.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
}
.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(147,51,234,0.1);
    border: 1px solid var(--border-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet-bright);
}

/* ═══ TÍTULOS DE PANTALLA ═══ */
.screen-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.screen-subtitle {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 32px;
}
.text-center { text-align: center; }

/* ═══ BOTÓN BACK + STEP INDICATOR ═══ */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 24px;
}
.btn-back:hover {
    background: var(--bg-card);
    color: var(--text);
}

.step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-card);
    transition: var(--transition);
}
.step-dot.active {
    background: var(--violet-bright);
    box-shadow: 0 0 8px var(--violet-glow);
}
.step-dot.done {
    background: var(--violet);
}

/* ═══ BOTONES ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-bright) 100%);
    color: white;
    box-shadow: 0 4px 20px var(--violet-glow);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 30px var(--violet-glow);
}
.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}
.btn-lg {
    padding: 18px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}
.btn-block {
    display: flex;
    width: 100%;
}

/* ═══ FORM ═══ */
.form { margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.field-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}
.input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}
.input:focus {
    border-color: var(--violet-bright);
    box-shadow: 0 0 0 3px rgba(147,51,234,0.15);
}
.input::placeholder { color: var(--text-muted); }

.legal-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
    line-height: 1.6;
}

/* ═══ CASINOS GRID ═══ */
.casinos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.casino-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-violet);
    transform: translateY(-2px);
}
.casino-card.selected {
    border-color: var(--violet-bright);
    background: rgba(147,51,234,0.08);
}
.casino-card-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--gold) 100%);
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 24px;
}
.casino-card-name {
    font-weight: 700;
    margin-bottom: 4px;
}
.casino-card-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══ MONTO ═══ */
.amount-input-wrap {
    position: relative;
}
.amount-currency {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dim);
    pointer-events: none;
}
.input-amount {
    padding-left: 42px !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    height: 64px;
}
.amount-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.amount-chip {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.amount-chip:hover {
    border-color: var(--border-violet);
    background: var(--bg-card-hover);
}
.amount-chip.active {
    background: var(--violet);
    border-color: var(--violet);
}

/* ═══ MÉTODOS DE PAGO ═══ */
.methods-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.method-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.method-item:hover {
    border-color: var(--border-strong);
}
.method-item.selected {
    border-color: var(--violet-bright);
    background: rgba(147,51,234,0.08);
}
.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-bright) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.method-info { flex: 1; }
.method-name {
    font-weight: 600;
    font-size: 15px;
}
.method-desc {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}
.method-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}
.method-item.selected .method-radio {
    border-color: var(--violet-bright);
}
.method-item.selected .method-radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--violet-bright);
    border-radius: 50%;
}

/* ═══ PAYMENT CARD ═══ */
.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin-bottom: 24px;
}
.payment-amount {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.payment-label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.payment-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--violet-bright) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.payment-content { margin-bottom: 24px; }

.qr-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    width: 200px;
    margin: 0 auto 20px;
}
.qr-wrap img { width: 100%; display: block; }

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    font-size: 13px;
}
.payment-info-label {
    color: var(--text-dim);
    font-weight: 500;
}
.payment-info-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    word-break: break-all;
    text-align: right;
    margin-left: 12px;
}

.payment-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--radius-sm);
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 500;
}

.payment-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(147,51,234,0.08);
    border: 1px solid var(--border-violet);
    border-radius: var(--radius-sm);
    color: var(--violet-bright);
    font-size: 14px;
    font-weight: 500;
}
.status-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(147,51,234,0.2);
    border-top-color: var(--violet-bright);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══ SUCCESS ═══ */
.success-anim {
    width: 120px;
    height: 120px;
    margin: 20px auto 32px;
    border-radius: 50%;
    background: rgba(16,185,129,0.1);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    animation: scaleIn 0.5s cubic-bezier(0.5, 1.6, 0.5, 1);
}
@keyframes scaleIn {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.credentials-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 32px 0;
}
.credentials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.credentials-casino {
    font-weight: 700;
    font-size: 16px;
}
.credentials-amount {
    font-weight: 800;
    color: var(--green);
}
.credentials-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.credentials-label {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-dim);
    width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.credentials-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 15px;
}
.btn-copy {
    width: 32px;
    height: 32px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-copy:hover {
    background: var(--bg-card-hover);
    color: var(--violet-bright);
    border-color: var(--border-violet);
}
.success-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ═══ TOAST ═══ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ═══ LOADER ═══ */
.loader {
    text-align: center;
    color: var(--text-dim);
    padding: 40px 20px;
    font-size: 14px;
}

/* ═══ MOBILE ═══ */
@media (max-width: 480px) {
    .hero { padding: 30px 16px 20px; }
    .hero-stats { gap: 16px; }
    .stat-value { font-size: 22px; }
    .casinos-grid { grid-template-columns: 1fr; }
    .credentials-label { width: 80px; font-size: 11px; }
    .input-amount { font-size: 24px !important; }
}

/* ═══ LOGO IMAGES ═══ */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 20px var(--violet-glow);
}

/* HERO LOGO (la corona grande) */
.hero-logo-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: floatLogo 4s ease-in-out infinite;
}
.hero-logo-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--violet) 0%, transparent 60%);
    filter: blur(30px);
    opacity: 0.7;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 0.9; transform: scale(1.1); }
}

/* Mobile: logo mas chico */
@media (max-width: 480px) {
    .hero-logo, .hero-logo-wrap { width: 140px; height: 140px; }
}

/* ═══ PARTICULAS FLOTANTES ═══ */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--violet-bright);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--violet-bright);
    opacity: 0;
    animation: particleFloat 15s linear infinite;
}
.particles span:nth-child(1)  { left: 5%;  animation-delay: 0s;    animation-duration: 12s; }
.particles span:nth-child(2)  { left: 15%; animation-delay: 2s;    background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.particles span:nth-child(3)  { left: 25%; animation-delay: 4s;    animation-duration: 18s; }
.particles span:nth-child(4)  { left: 35%; animation-delay: 1s;    background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
.particles span:nth-child(5)  { left: 45%; animation-delay: 3s;    animation-duration: 14s; }
.particles span:nth-child(6)  { left: 55%; animation-delay: 5s; }
.particles span:nth-child(7)  { left: 65%; animation-delay: 0.5s;  background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.particles span:nth-child(8)  { left: 75%; animation-delay: 2.5s;  animation-duration: 16s; }
.particles span:nth-child(9)  { left: 85%; animation-delay: 4.5s; }
.particles span:nth-child(10) { left: 95%; animation-delay: 1.5s;  background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.particles span:nth-child(11) { left: 10%; animation-delay: 6s;    animation-duration: 20s; }
.particles span:nth-child(12) { left: 30%; animation-delay: 7s; }
.particles span:nth-child(13) { left: 50%; animation-delay: 8s;    background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
.particles span:nth-child(14) { left: 70%; animation-delay: 9s; }
.particles span:nth-child(15) { left: 90%; animation-delay: 10s;   animation-duration: 17s; }

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.8; transform: translateY(85vh) scale(1); }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

/* ═══ SHIMMER EN BOTONES ═══ */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
}
.btn-primary:hover::before {
    left: 100%;
}

/* Animacion infinita de shimmer en botones grandes */
.btn-lg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    animation: shimmerInfinite 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shimmerInfinite {
    0%   { left: -150%; }
    100% { left: 250%; }
}

/* ═══ STATS NUMBER (cuentan al cargar) ═══ */
.stat-value {
    background: linear-gradient(135deg, #fff 0%, var(--violet-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

/* ═══ HERO BADGE PULSE ═══ */
.hero-badge {
    animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* ═══ HERO TITLE shimmer ═══ */
.gradient-text {
    background: linear-gradient(90deg, var(--violet) 0%, var(--violet-bright) 25%, var(--gold-bright) 50%, var(--violet-bright) 75%, var(--violet) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ═══ TRUST ITEMS hover ═══ */
.trust-item {
    transition: var(--transition);
    cursor: default;
}
.trust-item:hover {
    transform: translateY(-2px);
    color: white;
}
.trust-item:hover .trust-icon {
    background: rgba(147,51,234,0.2);
    box-shadow: 0 0 16px var(--violet-glow);
    transform: scale(1.1);
}
.trust-icon {
    transition: var(--transition);
}

/* ═══ HEADER BADGE pulse mejorado ═══ */
.header-badge {
    transition: var(--transition);
}
.header-badge:hover {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.5);
    transform: scale(1.05);
}

/* ═══ INPUTS PREMIUM ═══ */
.input {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.input:focus {
    border-color: var(--violet-bright);
    box-shadow: 0 0 0 3px rgba(147,51,234,0.15), 0 0 20px rgba(147,51,234,0.2);
    background: rgba(147,51,234,0.04);
}
.input:not(:placeholder-shown):valid {
    border-color: rgba(16,185,129,0.4);
}

/* ═══ CASINO CARDS premium con tilt ═══ */
.casino-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.casino-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(147,51,234,0.1) 0%, transparent 50%, rgba(245,158,11,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.casino-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    transition: all 0.5s ease;
    pointer-events: none;
}
.casino-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--violet-bright);
    box-shadow: 0 12px 40px rgba(147,51,234,0.2), 0 0 0 1px var(--border-violet);
}
.casino-card:hover::before { opacity: 1; }
.casino-card:hover::after  { top: 100%; left: 100%; }

.casino-card.selected {
    border-color: var(--violet-bright);
    background: linear-gradient(135deg, rgba(147,51,234,0.12) 0%, rgba(245,158,11,0.05) 100%);
    box-shadow: 0 0 0 2px var(--violet-bright), 0 12px 40px rgba(147,51,234,0.3);
    animation: selectedPulse 1.5s ease-in-out infinite;
}
@keyframes selectedPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--violet-bright), 0 12px 40px rgba(147,51,234,0.3); }
    50%      { box-shadow: 0 0 0 2px var(--violet-bright), 0 12px 50px rgba(147,51,234,0.5); }
}

.casino-card-logo {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(147,51,234,0.4);
}
.casino-card:hover .casino-card-logo {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(147,51,234,0.6);
}

/* ═══ METHOD ITEMS con animacion ═══ */
.method-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.method-item:hover {
    border-color: var(--border-violet);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}
.method-item.selected {
    border-color: var(--violet-bright);
    background: linear-gradient(90deg, rgba(147,51,234,0.12) 0%, rgba(147,51,234,0.04) 100%);
    box-shadow: 0 0 0 1px var(--violet-bright), inset 4px 0 0 var(--violet-bright);
}
.method-icon {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(147,51,234,0.3);
}
.method-item:hover .method-icon {
    transform: scale(1.08) rotate(-3deg);
}
.method-radio {
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.method-item.selected .method-radio {
    border-color: var(--violet-bright);
    box-shadow: 0 0 12px var(--violet-glow);
}

/* ═══ AMOUNT CHIPS premium ═══ */
.amount-chip {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.amount-chip:hover {
    border-color: var(--violet-bright);
    background: rgba(147,51,234,0.08);
    transform: translateY(-2px);
}
.amount-chip.active {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-bright) 100%);
    border-color: var(--violet-bright);
    color: white;
    box-shadow: 0 4px 16px var(--violet-glow);
    transform: translateY(-1px);
}

/* ═══ STEP DOTS animado ═══ */
.step-dot {
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.step-dot.active {
    width: 48px;
    background: var(--violet-bright);
    box-shadow: 0 0 12px var(--violet-glow);
}

/* ═══ TRANSICIONES CINEMATOGRAFICAS entre pantallas ═══ */
.screen {
    animation: none;
}
.screen.active {
    animation: cinemaIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cinemaIn {
    0%   { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══ SUCCESS animation premium ═══ */
.success-anim {
    position: relative;
    animation: successPop 0.8s cubic-bezier(0.5, 1.6, 0.5, 1);
}
.success-anim::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(16,185,129,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: successRipple 2s ease-out infinite;
    z-index: -1;
}
@keyframes successPop {
    0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes successRipple {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ═══ CONFETTI ===  */
.confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}
.confetti i {
    position: absolute;
    width: 10px;
    height: 14px;
    top: -20px;
    opacity: 0;
    animation: confettiFall 3s ease-out forwards;
}
.confetti i:nth-child(odd)  { background: var(--violet-bright); }
.confetti i:nth-child(even) { background: var(--gold-bright); }
.confetti i:nth-child(3n)   { background: var(--violet); }
.confetti i:nth-child(5n)   { background: var(--gold); border-radius: 50%; }
@keyframes confettiFall {
    0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
    10%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(110vh) rotate(720deg); }
}

/* ═══ CREDENTIALS card premium ═══ */
.credentials-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(147,51,234,0.06) 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--border-violet), inset 0 1px 0 rgba(255,255,255,0.05);
}
.credentials-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--violet-bright) 50%, transparent 100%);
}
.credentials-value {
    background: linear-gradient(90deg, var(--violet-bright) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.btn-copy {
    transition: all 0.2s ease;
}
.btn-copy:active {
    transform: scale(0.9);
}

/* ═══ PAYMENT CARD premium ═══ */
.payment-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(147,51,234,0.04) 100%);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet) 0%, var(--violet-bright) 50%, var(--gold-bright) 100%);
}

/* ═══ STATUS SPINNER mejorado ═══ */
.status-spinner {
    border-width: 2.5px;
    border-color: rgba(147,51,234,0.15);
    border-top-color: var(--violet-bright);
    border-right-color: var(--gold-bright);
}

/* ═══ Toast premium ═══ */
.toast {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(147,51,234,0.1) 100%);
    border: 1px solid var(--border-violet);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(147,51,234,0.2);
}

/* ═══ Hero stats al cargar ═══ */
.hero-stats .stat {
    animation: statFadeIn 0.8s cubic-bezier(0.5, 1.6, 0.5, 1) backwards;
}
.hero-stats .stat:nth-child(1) { animation-delay: 0.3s; }
.hero-stats .stat:nth-child(3) { animation-delay: 0.5s; }
.hero-stats .stat:nth-child(5) { animation-delay: 0.7s; }
@keyframes statFadeIn {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ═══ AMOUNT CARD PREMIUM ═══ */
.amount-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(147,51,234,0.06) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.amount-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet) 0%, var(--violet-bright) 50%, var(--gold-bright) 100%);
}
.amount-card-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 12px;
}
.amount-input-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.amount-currency {
    font-size: 24px;
    color: var(--text-dim);
    font-weight: 600;
}
.amount-big-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: inherit;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    width: 100%;
    padding: 0;
}
.amount-big-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}
.amount-suffix {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.amount-conversions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    flex-wrap: wrap;
}
.conv-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.conv-coin {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.conv-value {
    font-variant-numeric: tabular-nums;
    color: var(--violet-bright);
    font-weight: 700;
}
.conv-sep {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ═══ AMOUNT QUICK CHIPS (más compactas) ═══ */
.amount-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}
.amount-chip {
    padding: 10px 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.amount-chip:hover {
    border-color: var(--violet-bright);
    background: rgba(147,51,234,0.08);
    transform: translateY(-2px);
}
.amount-chip.active {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-bright) 100%);
    border-color: var(--violet-bright);
    color: white;
    box-shadow: 0 4px 16px var(--violet-glow);
}

/* ═══ METHOD TABS (Cripto / Transferencia) ═══ */
.method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
}
.method-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.method-tab:hover {
    color: white;
}
.method-tab.active {
    background: linear-gradient(135deg, rgba(147,51,234,0.2) 0%, rgba(147,51,234,0.05) 100%);
    color: white;
    box-shadow: inset 0 0 0 1px var(--border-violet);
}
.tab-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 999px;
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.method-tab.active .tab-badge {
    background: rgba(245,158,11,0.15);
    border-color: rgba(245,158,11,0.3);
    color: var(--gold-bright);
}

/* ═══ METHODS GRID (cards de cripto premium) ═══ */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    min-height: 80px;
}
.method-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}
.method-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--card-color, var(--violet)) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.method-card:hover {
    transform: translateY(-2px);
    border-color: var(--card-color, var(--violet-bright));
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.method-card:hover::before { opacity: 0.08; }
.method-card.selected {
    border-color: var(--card-color, var(--violet-bright));
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    box-shadow: 0 0 0 2px var(--card-color, var(--violet-bright)), 0 8px 24px rgba(0,0,0,0.3);
}
.method-card.selected::before { opacity: 0.12; }

.coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-color, var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.coin-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.coin-name {
    font-weight: 700;
    font-size: 15px;
    color: white;
    line-height: 1.2;
}
.coin-network {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.coin-fee {
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ═══ BOTÓN PAY FINAL ═══ */
.btn-pay-final {
    margin-top: 8px;
}
.btn-pay-final:not(:disabled) .btn-pay-label::before {
    content: 'Pagar ';
}

/* Mobile: methods grid 1 columna */
@media (max-width: 480px) {
    .methods-grid { grid-template-columns: 1fr; }
    .amount-quick { grid-template-columns: repeat(3, 1fr); }
    .amount-big-input { font-size: 36px; }
}
