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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 0;
            margin: 0;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            margin-top: 20px;
            margin-bottom: 20px;
            position: relative;
        }

        /* Ad Spaces */
        .ad-space {
            width: 100%;
            margin: 20px 0;
            display: flex;
            justify-content: center;
        }

        .ad-placeholder {
            background: #f8f9fa;
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .banner-ad {
            margin: 0 0 20px 0;
        }

        .banner-ad .ad-placeholder {
            width: 728px;
            height: 90px;
            max-width: 100%;
        }

        .sidebar-ad {
            position: absolute;
            right: -320px;
            top: 100px;
            width: 300px;
            display: none; /* Hidden on mobile, shown on desktop */
        }

        .sidebar-ad .ad-placeholder {
            width: 300px;
            height: 600px;
        }

        .content-ad .ad-placeholder {
            width: 728px;
            height: 90px;
            max-width: 100%;
        }

        .bottom-ad .ad-placeholder {
            width: 300px;
            height: 250px;
        }

        .footer-ad {
            margin: 20px 0 0 0;
        }

        .footer-ad .ad-placeholder {
            width: 728px;
            height: 90px;
            max-width: 100%;
        }

        /* Desktop Styles */
        @media (min-width: 1200px) {
            body {
                padding: 0 340px 0 20px; /* Make room for sidebar ad */
            }
            
            .sidebar-ad {
                display: block;
            }
        }

        h1 {
            text-align: center;
            color: #333;
            margin-bottom: 10px;
            font-size: 2.5rem;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 40px;
            font-size: 1.1rem;
        }

        /* Latest Results Section */
        .latest-results {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid #dee2e6;
        }

        .latest-results h2 {
            color: #333;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.5rem;
        }

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

        .tab-btn {
            padding: 10px 20px;
            border: 2px solid #667eea;
            background: white;
            color: #667eea;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .tab-btn.active,
        .tab-btn:hover {
            background: #667eea;
            color: white;
        }

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

        .drawing-info {
            margin-bottom: 15px;
        }

        .drawing-date {
            font-size: 1.1rem;
            color: #333;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .jackpot-amount {
            font-size: 1.3rem;
            color: #28a745;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .latest-numbers {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }

        .latest-number {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: bold;
            color: white;
            background: linear-gradient(45deg, #6c757d, #495057);
        }

        .latest-number.powerball {
            background: linear-gradient(45deg, #dc3545, #c82333);
        }

        .latest-number.mega-ball {
            background: linear-gradient(45deg, #fd7e14, #e55a00);
        }

        .next-drawing {
            font-size: 0.9rem;
            color: #666;
            font-style: italic;
        }

        .game-selector {
            margin-bottom: 30px;
        }

        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #333;
            font-size: 1.1rem;
        }

        select {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            background: white;
            transition: all 0.3s ease;
        }

        select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
        }

        .generate-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 40px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .generate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
        }

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

        .results {
            text-align: center;
            margin-top: 30px;
        }

        .game-title {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .numbers-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .number {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            font-weight: bold;
            color: white;
            background: linear-gradient(45deg, #667eea, #764ba2);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
            animation: bounceIn 0.6s ease;
        }

        .number.powerball {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
        }

        .number.mega-ball {
            background: linear-gradient(45deg, #ffa502, #ff6348);
            box-shadow: 0 5px 15px rgba(255, 165, 2, 0.3);
        }

        .plus-sign {
            font-size: 2rem;
            color: #666;
            font-weight: bold;
        }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .game-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin-top: 20px;
            border-left: 4px solid #667eea;
        }

        .game-info p {
            margin: 5px 0;
            color: #555;
        }

        .favorite-numbers {
            margin-bottom: 30px;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 15px;
            border: 2px solid #e9ecef;
        }

        .favorite-inputs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .number-input {
            width: 70px;
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
        }

        .number-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        }

        .number-input.invalid {
            border-color: #ff6b6b;
            background-color: #ffe6e6;
        }

        .clear-btn {
            padding: 8px 16px;
            background: #6c757d;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .clear-btn:hover {
            background: #5a6268;
        }

        .input-label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: #666;
        }

        /* Game Count Section */
        .game-count {
            margin-bottom: 30px;
        }

        .game-count label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #333;
            font-size: 1.1rem;
        }

        .game-count select {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            background: white;
            transition: all 0.3s ease;
        }

        .game-count select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
        }

        /* Multiple Games Display */
        .game-set {
            margin-bottom: 30px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 15px;
            border-left: 4px solid #667eea;
        }

        .game-set:nth-child(even) {
            background: #e9ecef;
            border-left-color: #28a745;
        }

        .game-set h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.2rem;
            text-align: center;
        }

        .game-set .numbers-container {
            margin-bottom: 10px;
        }

        @media (max-width: 600px) {
            body {
                padding: 0 10px;
            }
            
            .container {
                padding: 20px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .number {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            /* Mobile Ad Adjustments */
            .banner-ad .ad-placeholder,
            .content-ad .ad-placeholder,
            .footer-ad .ad-placeholder {
                width: 320px;
                height: 50px;
                max-width: calc(100vw - 40px);
            }
            
            .bottom-ad .ad-placeholder {
                width: 300px;
                height: 250px;
                max-width: calc(100vw - 40px);
            }
        }