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

:root {
    --gold: #D4AF37;
    --gold-light: #F4D58D;
    --gold-dark: #B8860B;
    --deep-green: #0D4F3C;
    --emerald: #1A7A5E;
    --dark-base: #0A0E0D;
    --card-bg: rgba(15, 25, 22, 0.85);
    --card-border: rgba(212, 175, 55, 0.25);
    --text-light: #F5F5F5;
    --text-muted: #9CA3AF;
    --accent-red: #8B0000;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D58D 50%, #B8860B 100%);
    --gradient-dark: linear-gradient(135deg, #0D4F3C 0%, #0A0E0D 100%);
    --glow-gold: 0 0 15px rgba(212, 175, 55, 0.3);
    --glow-subtle: 0 0 20px rgba(212, 175, 55, 0.15);
}

body {
    font-family: 'Inter', sans-serif !important;
    background: var(--dark-base) !important;
    background-image: 
        radial-gradient(ellipse at top left, rgba(13, 79, 60, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-light) !important;
}

h1, h2, h3, h4, h5, .display-4 {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 1px;
}

.navbar {
    background: linear-gradient(90deg, rgba(10, 14, 13, 0.98) 0%, rgba(13, 79, 60, 0.15) 100%) !important;
    border-bottom: 1px solid var(--card-border);
}

.navbar-brand {
    font-family: 'Cinzel', serif !important;
    font-size: 1.4rem !important;
    color: var(--gold) !important;
    letter-spacing: 2px;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
}

.navbar-brand i {
    color: var(--gold);
}

.nav-link {
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-subtle);
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.card-header {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(13, 79, 60, 0.15) 100%) !important;
    border-bottom: 1px solid var(--card-border) !important;
    border-radius: 12px 12px 0 0 !important;
}

.card.border-warning {
    border: 1px solid var(--gold) !important;
}

.card.border-warning:hover {
    box-shadow: var(--glow-gold);
}

.card.border-primary {
    border: 1px solid var(--emerald) !important;
}

.card.border-primary:hover {
    box-shadow: 0 0 15px rgba(26, 122, 94, 0.3);
}

.card.border-success {
    border: 1px solid var(--emerald) !important;
}

.card.border-success:hover {
    box-shadow: 0 0 15px rgba(26, 122, 94, 0.3);
}

.card.border-info {
    border: 1px solid var(--gold-dark) !important;
}

.card.border-info:hover {
    box-shadow: var(--glow-gold);
}

.btn-primary {
    background: var(--gradient-gold) !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600;
    padding: 10px 24px;
    color: #0A0E0D !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-gold);
    color: #0A0E0D !important;
}

.btn-success {
    background: var(--deep-green) !important;
    border: 1px solid var(--emerald) !important;
    border-radius: 6px !important;
    font-weight: 600;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-success:hover {
    background: var(--emerald) !important;
    box-shadow: 0 0 15px rgba(26, 122, 94, 0.3);
}

.btn-warning {
    background: var(--gradient-gold) !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600;
    color: #0A0E0D !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-warning:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-gold);
}

.btn-outline-light {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-outline-light:hover {
    background: var(--gold) !important;
    color: var(--dark-base) !important;
    box-shadow: var(--glow-gold);
}

.btn-lg {
    padding: 14px 32px !important;
    font-size: 1rem !important;
}

.badge {
    border-radius: 4px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
}

.badge.bg-warning {
    background: var(--gradient-gold) !important;
    color: #0A0E0D !important;
}

.badge.bg-success {
    background: var(--emerald) !important;
    color: var(--text-light) !important;
}

.badge.bg-danger {
    background: var(--accent-red) !important;
}

.alert {
    border-radius: 8px !important;
    border: none !important;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(26, 122, 94, 0.2) !important;
    border-left: 3px solid var(--emerald) !important;
    color: #6EE7B7 !important;
}

.alert-info {
    background: rgba(212, 175, 55, 0.1) !important;
    border-left: 3px solid var(--gold) !important;
    color: var(--gold-light) !important;
}

.alert-danger {
    background: rgba(139, 0, 0, 0.2) !important;
    border-left: 3px solid var(--accent-red) !important;
    color: #FCA5A5 !important;
}

.form-control, .form-select {
    background: rgba(15, 25, 22, 0.9) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 6px !important;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2) !important;
    background: rgba(15, 25, 22, 0.95) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.list-group-item {
    background: rgba(15, 25, 22, 0.6) !important;
    border-color: var(--card-border) !important;
    color: var(--text-light) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.hero-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.accent-text {
    color: var(--gold-light);
    font-style: italic;
}

.fun-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.step-circle {
    width: 65px;
    height: 65px;
    background: var(--gradient-gold) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.08);
    box-shadow: var(--glow-gold);
}

.step-circle i {
    font-size: 1.3rem;
    color: var(--dark-base);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-red);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.nav-tabs .nav-link {
    color: var(--text-muted) !important;
    border: none !important;
    border-radius: 6px 6px 0 0 !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.nav-tabs .nav-link.active {
    background: var(--gradient-gold) !important;
    color: var(--dark-base) !important;
}

.nav-tabs .nav-link:hover:not(.active) {
    color: var(--gold) !important;
}

.progress {
    background: rgba(212, 175, 55, 0.1) !important;
    border-radius: 6px !important;
}

.progress-bar {
    background: var(--gradient-gold) !important;
    border-radius: 6px !important;
}

.bingo-cell {
    transition: all 0.2s ease;
}

.bingo-cell.bg-success {
    background: var(--emerald) !important;
    color: var(--text-light) !important;
    font-weight: 600;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.glow-text {
    color: var(--gold-light);
}

.dropdown-menu {
    background: rgba(15, 25, 22, 0.98) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px);
}

.dropdown-item {
    color: var(--text-light) !important;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--gold) !important;
}

.breadcrumb {
    background: rgba(15, 25, 22, 0.5) !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
}

.breadcrumb-item a {
    color: var(--gold) !important;
}

.breadcrumb-item.active {
    color: var(--text-muted) !important;
}

.card-title {
    color: var(--gold-light) !important;
}

.form-check-input:checked {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}
