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

        :root {
            --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --bg-secondary: white;
            --text-primary: #333;
            --text-secondary: #666;
            --border-color: #dee2e6;
            --result-bg: #f8f9fa;
            --button-secondary-bg: #e9ecef;
            --button-secondary-hover: #dee2e6;
        }

        body.dark-mode {
            --bg-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            --bg-secondary: #0f3460;
            --text-primary: #e0e0e0;
            --text-secondary: #b0b0b0;
            --border-color: #444;
            --result-bg: #1a1a2e;
            --button-secondary-bg: #2a2a3e;
            --button-secondary-hover: #3a3a4e;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--bg-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 20px;
            transition: background 0.3s ease;
            color: var(--text-primary);
        }

        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: var(--bg-secondary);
            border: 2px solid var(--border-color);
            border-radius: 50px;
            padding: 10px 15px;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
        }

        /* Header & Navigation */
        header {
            text-align: center;
            margin-bottom: 40px;
            padding-top: 50px;
        }

        .logo {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 5px;
            transition: color 0.3s ease;
        }

        .tagline {
            color: var(--text-secondary);
            font-size: 16px;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }

        /* Main Container */
        .main-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
        }

        .lotto-container {
            background-color: var(--bg-secondary);
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            max-width: 600px;
            width: 100%;
            transition: background-color 0.3s ease;
        }

        h1 {
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 10px;
            font-size: 28px;
            transition: color 0.3s ease;
        }

        .subtitle {
            text-align: center;
            color: var(--text-secondary);
            margin-bottom: 30px;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .info-section {
            background-color: var(--result-bg);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
            transition: background-color 0.3s ease;
        }

        .results-section {
            margin-bottom: 30px;
        }

        .result-box {
            background-color: var(--result-bg);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            transition: background-color 0.3s ease;
        }

        .result-label {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .lotto-numbers {
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .number {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            font-size: 18px;
            font-weight: bold;
            color: white;
            transition: transform 0.2s ease;
        }

        .number:hover {
            transform: scale(1.1);
        }

        .bonus-number {
            background-color: #6c757d !important;
            border: 2px solid var(--border-color);
        }

        .button-container {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
        }

        button {
            flex: 1;
            padding: 14px 20px;
            font-size: 16px;
            cursor: pointer;
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-width: 200px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

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

        .btn-secondary {
            background-color: var(--button-secondary-bg);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .btn-secondary:hover {
            background-color: var(--button-secondary-hover);
        }

        .empty-state {
            text-align: center;
            color: var(--text-secondary);
            padding: 40px 20px;
            transition: color 0.3s ease;
        }

        .empty-state-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }

        /* Footer */
        footer {
            background-color: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 40px 20px;
            text-align: center;
            color: var(--text-secondary);
            transition: background-color 0.3s ease, color 0.3s ease;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .footer-section {
            margin-bottom: 30px;
        }

        .footer-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 10px;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }

        .footer-links a {
            color: #667eea;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .copyright {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }

        /* Content Section Styles */
        .content-section {
            background-color: var(--bg-secondary);
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            max-width: 900px;
            width: 100%;
            margin: 30px auto;
            transition: background-color 0.3s ease;
        }

        .content-section h2 {
            color: var(--text-primary);
            font-size: 24px;
            margin-bottom: 20px;
            border-bottom: 2px solid #667eea;
            padding-bottom: 10px;
            transition: color 0.3s ease;
        }

        .content-section h3 {
            color: var(--text-primary);
            font-size: 18px;
            margin-top: 20px;
            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        .content-section p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }

        .content-section ul {
            color: var(--text-secondary);
            margin-left: 20px;
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .content-section li {
            margin-bottom: 10px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .stat-card {
            background-color: var(--result-bg);
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .stat-number {
            font-size: 28px;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 10px;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .faq-item {
            background-color: var(--result-bg);
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
            transition: background-color 0.3s ease;
        }

        .faq-item strong {
            color: var(--text-primary);
            display: block;
            margin-bottom: 8px;
        }

        .faq-item p {
            margin-bottom: 0;
        }

        /* Navigation Links */
        nav {
            background-color: var(--bg-secondary);
            padding: 15px 20px;
            margin-bottom: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
        }

        nav a {
            color: #667eea;
            text-decoration: none;
            margin: 0 15px;
            font-weight: 500;
            transition: color 0.3s ease;
            display: inline-block;
        }

        nav a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .animation-pop {
            animation: popIn 0.3s ease-out;
        }

        @keyframes popIn {
            0% {
                transform: scale(0.5);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @media (max-width: 768px) {
            .theme-toggle {
                top: 10px;
                right: 10px;
                padding: 8px 12px;
                font-size: 18px;
            }

            header {
                padding-top: 40px;
                margin-bottom: 20px;
            }

            .logo {
                font-size: 24px;
            }

            .lotto-container {
                padding: 25px 20px;
            }

            h1 {
                font-size: 24px;
            }

            .number {
                width: 42px;
                height: 42px;
                font-size: 16px;
            }

            .lotto-numbers {
                gap: 6px;
            }

            button {
                padding: 12px 16px;
                font-size: 14px;
            }

            .result-box {
                padding: 15px;
            }

            footer {
                padding: 30px 15px;
            }

            .footer-links {
                gap: 10px;
            }

            .footer-links a {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .lotto-container {
                padding: 20px 15px;
            }

            h1 {
                font-size: 20px;
            }

            .tagline {
                font-size: 14px;
            }

            .button-container {
                flex-direction: column;
            }

            button {
                padding: 12px 16px;
                font-size: 14px;
            }
        }
