/* ==========================================================================
   MODERN DARK UI/UX DESIGN SYSTEM - PLATAFORMA DE RIFAS PREMIUM
   ========================================================================== */

:root {
    --bg-dark-primary: #0b0f19;
    --bg-dark-secondary: #131b2e;
    --bg-dark-card: rgba(23, 32, 54, 0.75);
    --bg-dark-glass: rgba(18, 24, 38, 0.85);
    
    --accent-gold: #ffd700;
    --accent-gold-hover: #ffb700;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-blue: #3b82f6;

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(255, 215, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 50px;
}

/* Glassmorphism Cards */
.card-modern, .rifa-card, .promocao-card {
    background: var(--bg-dark-card) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    overflow: hidden;
}

.card-modern:hover, .rifa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 15px rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
}

/* Modern Gradient Progress Bars */
.progress-modern {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-pill) !important;
    height: 12px !important;
    overflow: hidden !important;
    position: relative;
}

.progress-bar-modern {
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #ffd700 100%) !important;
    border-radius: var(--radius-pill) !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Modern Buttons */
.btn-primary-modern {
    background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%) !important;
    color: #0b0f19 !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    padding: 12px 28px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.5) !important;
    color: #000 !important;
}

.btn-success-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    padding: 12px 28px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-success-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5) !important;
    color: #ffffff !important;
}

/* Floating Sticky Buy Bar for Mobile */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-subtle);
    padding: 12px 18px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.sticky-buy-bar .price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

/* Modern Form Controls */
.form-control-modern {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease !important;
}

.form-control-modern:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
    background: rgba(30, 41, 59, 0.95) !important;
}

/* Modern Badges & Podiums */
.badge-podium-1 {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #000;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.badge-podium-2 {
    background: linear-gradient(135deg, #e0e0e0 0%, #a8a8a8 100%);
    color: #000;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 10px;
}

.badge-podium-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
    color: #fff;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 10px;
}

/* Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0f19;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}
