/* Homepage V3 Design System */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #f8fafc;
    --accent-color: #ffd700;
    --text-dark: #0f172a;
    /* Deeper slate for better contrast */
    --text-muted: #475569;
    /* Darker muted text */
    --white: #ffffff;
    --success: #15803d;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.hero-section {
    background: linear-gradient(135deg, #020617 0%, #1e1b4b 50%, #1e3a8a 100%);
    padding: 120px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-color);
}

.bg-premium {
    background: linear-gradient(135deg, #020617 0%, #1e1b4b 50%, #1e3a8a 100%);
}

.text-premium {
    color: #0d47a1 !important;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 800;
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #f8fafc !important;
    opacity: 1 !important;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 650px;
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

/* Section Titles */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--accent-color);
}

/* Card Styling */
.card-premium {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.draw-card {
    border-left: 5px solid var(--primary-color);
}

.draw-card.upcoming {
    border-left-color: var(--accent-color);
}

/* Category Grid */
.category-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Stats Section */
.stats-box {
    text-align: center;
    padding: 2rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stats-label {
    font-size: 1.1rem;
    color: #ffffff !important;
    /* Pure white */
    opacity: 1 !important;
    font-weight: 600;
}

.bg-light-blue {
    background-color: #f0f4f8;
}

.bg-light-gold {
    background-color: #fefce8;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: var(--white);
    padding: 80px 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ad Spacing */
.ad-placeholder {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    color: #adb5bd;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table:not(.table-dark) thead th, .table:not(.table-dark) tbody th{
    color: #fff !important;
}

.custom-heading-color{
    color: #fff;
}

 .text-gold { color: #ffd700; }
    .btn-gold { background-color: #ffd700; color: #1a1a1a; font-weight: 700; }
    .btn-gold:hover { background-color: #e6c200; }
    
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-section {
        padding: 40px 0;
    }
}