
        :root {
    --primary-red: #e60012;
    --primary-red-darker: #cc0010;
    --primary-orange: #ff6b35;
    --text-light: #ffffff;
    --text-secondary: #a0a9ba;
    --bg-dark-1: #1a2332;
    --bg-dark-2: #0f1419;
    --border-light: rgba(255, 255, 255, 0.1);
    --card-bg-light: rgba(255, 255, 255, 0.05);
    --card-bg-medium: rgba(255, 255, 255, 0.08);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-red-light: rgba(230, 0, 18, 0.3);
    --shadow-red-hover: rgba(230, 0, 18, 0.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark-2) 0%, var(--bg-dark-1) 100%);
    min-height: 100vh;
    color: var(--text-light);
    padding: 2rem 1rem;
}

.header-section {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
}

.footer-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.footer-section a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    margin-top: 2rem;
}

.main-content {
    text-align: center;
}

.header {
    margin-bottom: 3rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.domain-tag {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.domain-tag a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.domain-tag a:hover {
    text-decoration: underline;
}

.generator-card {
    background: var(--card-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px var(--shadow-dark);
    margin-bottom: 2rem;
}

.numbers-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.white-ball {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: var(--bg-dark-1);
    border: 3px solid var(--primary-red);
}

.red-ball {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-darker));
    color: var(--text-light);
    border: 3px solid var(--text-light);
}

.generate-btn {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--text-light);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-red-light);
    margin-bottom: 1rem;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-red-hover);
}

.generate-btn:active {
    transform: translateY(0);
}

.stats {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar {
    background: var(--card-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-dark);
}

.statistics-large {
    background: var(--card-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-dark);
    margin: 2rem 0;
}

.statistics-large h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.stat-card {
    background: var(--card-bg-medium);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.stat-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.stat-card.white-balls h4 {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
    padding-bottom: 0.5rem;
}

.stat-card.powerball h4 {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.stats-grid.single {
    grid-template-columns: 1fr;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-weight: 600;
    color: var(--text-light);
}

.stat-frequency {
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.3rem;
}

.history-item {
    background: var(--card-bg-medium);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-red);
}

.history-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.history-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.history-white {
    background: var(--text-light);
    color: var(--bg-dark-1);
    border: 1px solid var(--primary-red);
}

.history-red {
    background: var(--primary-red);
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.history-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.clear-btn {
    background: rgba(230, 0, 18, 0.2);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    width: 100%;
}

.clear-btn:hover {
    background: var(--primary-red);
    color: var(--text-light);
}

.statistics {
    margin-top: 2rem;
}

.empty-state {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem 0;
}

.animation {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .generator-card {
        padding: 2rem;
    }
    
    .number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .numbers-display {
        gap: 0.5rem;
    }
}
    