* {
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            background-color: #0a0a0a;
            background-image: radial-gradient(circle at 10% 20%, rgba(255,215,0,0.1) 0%, rgba(0,0,0,0.9) 90%);
            color: white;
            margin: 0;
            padding: 10px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1300px;
            width: 100%;
            margin: 0 auto;
            padding: 20px;
            background: rgba(20, 20, 20, 0.9);
            box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
            border-radius: 10px;
            border: 2px solid #D4AF37;
            position: relative;
            overflow: hidden;
        }
        
        .container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                #D4AF37 20%, 
                #FFD700 50%, 
                #D4AF37 80%, 
                transparent 100%);
        }
        
        h1 {
            text-align: center;
            margin-top: 0;
            padding-top: 10px;
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            letter-spacing: 1px;
            position: relative;
        }
        
        h1::after {
            content: "";
            display: block;
            width: 150px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #FFD700, transparent);
            margin: 10px auto;
        }
        
        .input-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .input-group input {
            flex: 1 1 150px;
            min-width: 0;
            padding: 15px;
            font-size: 18px;
            border-radius: 8px;
            text-align: center;
            border: none;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        /* Premium Gold Casino Inputs (A1-A3) */
        #num1, #num2, #num3 {
            background: linear-gradient(135deg, #F9E79F 0%, #D4AF37 50%, #F9E79F 100%);
            color: #5E2C04;
            border: 2px solid #FFD700;
            position: relative;
            overflow: hidden;
        }
        
        #num1::placeholder, #num2::placeholder, #num3::placeholder {
            color: #7D5A2A;
            opacity: 0.7;
        }
        
        #num1::before, #num2::before, #num3::before {
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, 
                rgba(255,215,0,0.3) 0%, 
                rgba(255,215,0,0) 50%, 
                rgba(255,215,0,0.3) 100%);
            z-index: -1;
            border-radius: 12px;
        }
        
        /* Luxury Silver Casino Inputs (B1-B2) */
        #num5, #num6 {
            background: linear-gradient(135deg, #E6E6E6 0%, #C0C0C0 50%, #E6E6E6 100%);
            color: #333;
            border: 2px solid #C0C0C0;
            position: relative;
            overflow: hidden;
        }
        
        #num5::placeholder, #num6::placeholder {
            color: #555;
            opacity: 0.7;
        }
        
        #num5::before, #num6::before {
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, 
                rgba(192,192,192,0.3) 0%, 
                rgba(192,192,192,0) 50%, 
                rgba(192,192,192,0.3) 100%);
            z-index: -1;
            border-radius: 12px;
        }
        
        /* Hover effects */
        #num1:hover, #num2:hover, #num3:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        }
        
        #num5:hover, #num6:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
        }
        
        /* Focus effects */
        #num1:focus, #num2:focus, #num3:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
        }
        
        #num5:focus, #num6:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.5);
        }
        
        /* Casino-style dropdown select */
        select {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            border-radius: 8px;
            border: none;
            margin-bottom: 20px;
            font-weight: bold;
            transition: all 0.3s ease;
            background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
            color: white;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='gold'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 2px solid #4a6491;
            cursor: pointer;
        }
        
        select:hover {
            background: linear-gradient(135deg, #4a6491 0%, #2c3e50 100%);
            box-shadow: 0 8px 25px rgba(74, 100, 145, 0.4);
        }
        
        select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(74, 100, 145, 0.5);
        }
        
        /* Casino-style dropdown options */
        select option {
            padding: 12px;
            background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
            color: white;
            font-weight: bold;
        }
        
        /* Different colored options for visual hierarchy */
        select option:nth-child(1) {
            background: linear-gradient(135deg, #5E2C04 0%, #7D5A2A 100%);
            color: #FFD700;
        }
        
        select option:nth-child(2) {
            background: linear-gradient(135deg, #4a6491 0%, #2c3e50 100%);
            color: white;
        }
        
        select option:nth-child(3) {
            background: linear-gradient(135deg, #3a1c71 0%, #5b2c90 100%);
            color: #C0C0C0;
        }
        
        select option:nth-child(4) {
            background: linear-gradient(135deg, #333 0%, #555 100%);
            color: #FFD700;
        }
        
        button {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            border-radius: 8px;
            border: none;
            margin-bottom: 20px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        button {
            background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
            cursor: pointer;
            color: #222;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
            position: relative;
            overflow: hidden;
            border: 1px solid #FFD700;
        }
        
        button:hover {
            background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
        }
        
        button:active {
            transform: translateY(1px);
        }
        
        button::after {
            content: "";
            position: absolute;
            top: -50%;
            left: -60%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(30deg);
            transition: all 0.3s;
        }
        
        button:hover::after {
            left: 100%;
        }
        
        .custom-range {
            display: none;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .custom-range input {
            flex: 1;
            padding: 15px;
            font-size: 18px;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #555;
            background: #444;
            color: white;
        }
        
        .operation-selector {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .operation-btn {
            flex: 1;
            padding: 15px;
            text-align: center;
            background: linear-gradient(135deg, #333 0%, #222 100%);
            border-radius: 8px;
            cursor: pointer;
            border: 1px solid #555;
            transition: all 0.3s ease;
            font-weight: bold;
            position: relative;
            overflow: hidden;
        }
        
        .operation-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
            transition: all 0.5s;
        }
        
        .operation-btn:hover::before {
            left: 100%;
        }
        
        .operation-btn.active {
            background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
            color: #222;
            border: 1px solid #FFD700;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
        }
        
        .result-section {
            margin-top: 25px;
            padding: 20px;
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            border: 1px solid #444;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        }
        
        .common-numbers {
            margin-top: 20px;
            padding: 20px;
            background: linear-gradient(135deg, #5E2C04 0%, #7D5A2A 100%);
            border-radius: 10px;
            font-weight: bold;
            word-break: break-word;
            border: 1px solid #D4AF37;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .common-numbers h3 {
            margin-top: 0;
            color: #FFD700;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid rgba(255,215,0,0.3);
            padding-bottom: 10px;
        }
        
        .common-numbers p {
            margin: 10px 0;
            padding: 8px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 5px;
            border-left: 3px solid #FFD700;
        }
        
        .code-result {
            margin-top: 20px;
            padding: 20px;
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            text-align: left;
            overflow-x: auto;
            border: 1px solid #444;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        }
        
        .highlight {
            background-color: gold;
            color: black;
            padding: 2px 5px;
            border-radius: 3px;
            font-weight: bold;
            box-shadow: 0 0 5px rgba(255,215,0,0.7);
        }
        
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        
        .casino-loader {
            width: 90%;
            max-width: 400px;
            height: 200px;
            position: relative;
            overflow: hidden;
            background: #1a1a1a;
            border-radius: 15px;
            box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
            border: 2px solid #D4AF37;
        }
        
        .slot-machine {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 20px;
        }
        
        .slot-reel {
            width: 25%;
            max-width: 90px;
            height: 120px;
            background: #2a2a2a;
            border: 3px solid #FFD700;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
        }
        
        .slot-reel::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(rgba(255,215,0,0.1), rgba(255,215,0,0));
            z-index: 1;
        }
        
        .slot-symbol {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: gold;
            animation: slotSpin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
            text-shadow: 0 0 10px gold;
        }
        
        @keyframes slotSpin {
            0% { transform: translateY(-200%); }
            100% { transform: translateY(200%); }
        }
        
        .win-light {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255,215,0,0.5) 0%, transparent 70%);
            animation: lightPulse 1.5s infinite;
            z-index: 0;
        }
        
        @keyframes lightPulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 0.3; }
        }
        
        .casino-text {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            color: gold;
            font-family: 'Arial Black', sans-serif;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-shadow: 0 0 15px gold;
            font-size: 16px;
            animation: textGlow 2s infinite alternate;
        }
        
        @keyframes textGlow {
            from { text-shadow: 0 0 10px gold; }
            to { text-shadow: 0 0 20px gold, 0 0 30px #D4AF37; }
        }
        
        .cm-container {
            margin-bottom: 30px;
            background: rgba(40, 40, 40, 0.7);
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #555;
        }
        
        .cm-title {
            margin-bottom: 15px;
            font-size: 20px;
            color: gold;
            text-shadow: 0 0 5px rgba(255,215,0,0.5);
            display: flex;
            align-items: center;
        }
        
        .cm-title::before {
            content: "★";
            margin-right: 10px;
            color: #FFD700;
        }
        
        .digit-columns {
            display: flex;
            gap: 5px;
            overflow-x: auto;
            padding-bottom: 15px;
        }
        
        .digit-column {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .digit-box {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #555;
            border-radius: 5px;
            font-size: 16px;
            font-family: monospace;
            font-weight: bold;
            box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
        }
        
        .digit-box.highlight {
            background-color: gold;
            color: black;
            font-weight: bold;
            box-shadow: 0 0 10px rgba(255,215,0,0.7);
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        .decimal-point-box {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-family: monospace;
            font-weight: bold;
            color: gold;
        }
        
        .code-labels {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-right: 15px;
        }
        
        .code-label {
            height: 30px;
            display: flex;
            align-items: center;
            font-family: monospace;
            font-size: 16px;
            color: gold;
        }
        
        .actual-formula {
            font-family: monospace;
            color: gold;
            margin-left: 15px;
            font-size: 16px;
            background: rgba(30, 30, 30, 0.8);
            padding: 5px 10px;
            border-radius: 5px;
            border-left: 3px solid #FFD700;
        }
        
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            .input-group input {
                flex: 1 1 100%;
                padding: 12px;
                font-size: 16px;
            }
            
            .custom-range {
                flex-direction: column;
            }
            
            .digit-box, .decimal-point-box {
                width: 25px;
                height: 25px;
                font-size: 14px;
            }
            
            select, button {
                padding: 12px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .input-group input, select, button {
                padding: 10px;
                font-size: 14px;
            }
            
            .slot-reel {
                height: 80px;
            }
            
            .slot-symbol {
                height: 80px;
                font-size: 30px;
            }
            
            .casino-text {
                font-size: 12px;
                bottom: 10px;
                letter-spacing: 1px;
            }
            
            .digit-box, .decimal-point-box {
                width: 20px;
                height: 20px;
                font-size: 12px;
            }
            
            .actual-formula {
                font-size: 12px;
                margin-left: 10px;
            }
            
            .operation-selector {
                flex-direction: column;
            }
        }