/* styles.css - Roulette Radar & Cylinder Boss Unified Styling */

:root {
    --bg-main: #07090e;
    --bg-card: #0e131f;
    --bg-card-hover: #151b2c;
    --border-color: #1e293b;
    --border-glow: rgba(0, 242, 254, 0.25);
    
    --color-red: #ef4444;
    --color-black: #1e293b;
    --color-green: #10b981;
    --color-gold: #fbbf24;
    --color-cyan: #00f2fe;
    --color-purple: #a855f7;
}

body {
    background-color: var(--bg-main);
    color: #f1f5f9;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Tarjetas y Contenedores */
.radar-card {
    background: linear-gradient(145deg, #0e1322 0%, #0b0f19 100%);
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
}
.radar-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

/* Efectos Glow Neón */
.glow-cyan {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}
.glow-green {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.45);
}
.glow-gold {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}
.glow-red {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

/* Animaciones */
@keyframes pulse-gold {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px #fbbf24);
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 18px #f59e0b);
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s infinite ease-in-out;
}

@keyframes spin-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spin-ccw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.spin-cw {
    animation: spin-cw 30s linear infinite;
}
.spin-ccw {
    animation: spin-ccw 30s linear infinite;
}

/* Bolas de Ruleta de la Cinta */
.spin-ball {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}
.spin-ball-red {
    background: radial-gradient(circle at 35% 35%, #f87171, #dc2626);
    color: #ffffff;
    border: 1px solid #ef4444;
}
.spin-ball-black {
    background: radial-gradient(circle at 35% 35%, #475569, #0f172a);
    color: #ffffff;
    border: 1px solid #334155;
}
.spin-ball-green {
    background: radial-gradient(circle at 35% 35%, #34d399, #059669);
    color: #ffffff;
    border: 1px solid #10b981;
}

/* Indicadores de Pestañas (Tabs) */
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}
.tab-btn.active {
    color: #00f2fe;
    border-bottom-color: #00f2fe;
    background: rgba(0, 242, 254, 0.05);
}
.tab-btn:not(.active) {
    color: #94a3b8;
}
.tab-btn:not(.active):hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.02);
}

/* SVG Rotor Styling */
.rotor-pocket {
    cursor: pointer;
    transition: all 0.15s ease;
}
.rotor-pocket:hover {
    filter: brightness(1.3);
}
.rotor-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: bold;
    user-select: none;
    pointer-events: none;
}

/* Barras de distribución 0-36 */
.bar-track {
    background-color: #111827;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.bar-fill {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
}
