:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #8b5cf6;
    /* Violet */
    --secondary: #f59e0b;
    /* Gold */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at top left, #1e1b4b, #0f172a);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), #6d28d9);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Glass Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Lottery Balls */
.balls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2);
}

.ball.lucky {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.ball.euro {
    background: linear-gradient(135deg, var(--secondary), #b45309);
    color: white;
}

/* Filter Form */
.filter-bar {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="date"],
select {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-family: inherit;
    min-width: 200px;
}

button.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

button.submit-btn:hover {
    background: #7c3aed;
}

/* Footer */
footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

/* Stats Page Specifics */
.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.stat-bar-container {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    height: 10px;
    border-radius: 5px;
    margin: 0 1rem;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
}

/* Odds Button */
.odds-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.odds-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Gambling Warning Banner */
.gambling-warning-banner {
    background-color: #000;
    color: #9ca3af;
    /* Slightly muted white for better readability of warning text if needed, or pure white */
    color: #fff;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gambling-warning-banner .warning-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    flex-wrap: nowrap;
    /* Force single row for items */
}

.gambling-warning-banner .warning-text {
    flex: initial;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.gambling-warning-banner .warning-logo {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .gambling-warning-banner .warning-content {
        gap: 1rem;
    }

    .gambling-warning-banner .warning-text {
        font-size: 0.7rem;
    }
}
/* Dropdown Menu */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: rgba(15, 23, 42, 0.95);
    min-width: 220px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.5rem;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    display: flex;
    animation: slideDown 0.2s ease-out;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: flex; 
    align-items: center;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

