    :root {
        --primary: #1a1a2e;
        --secondary: #16213e;
        --accent: #f8df03;
        --accent-dark: #e6c702;
        --text: #ffffff;
        --text-secondary: #cccccc;
        --card-bg: rgba(26, 26, 46, 0.9);
        --card-border: rgba(255, 255, 255, 0.1);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Poppins', sans-serif;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        background: linear-gradient(180deg, #1c0000 0%, #000000 100%);
        color: var(--text);
        min-height: 100vh;
        position: relative;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://iili.io/KAZGrPI.webp') no-repeat center center;
        background-size: cover;
        opacity: 0.15;
        z-index: -1;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        width: 100%;
        padding: 20px;
    }

    .header {
        text-align: center;
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .logo {
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .content-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        flex: 1;
    }

    .wheel-section {
        flex: 1;
        min-width: 320px;
        max-width: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .form-section {
        flex: 1;
        min-width: 320px;
        max-width: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .wheel-container {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .wheel-canvas {
        width: 100% !important;
        height: auto !important;
        border-radius: 50%;
        box-shadow: 0 10px 60px rgb(255, 0, 0);
    }

    .wheel-frame {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 5;
    }

    .wheel-pointer {
        position: absolute;
        top: -60px; 
        left: 50%;
        transform: translateX(-50%);
        width: 100px; 
        height: 100px; 
        z-index: 10;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5)); /* Shadow lebih tebal */
    }


    .led-container {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 40px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        z-index: 20;
        border: 1px solid var(--accent);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.904);
    }

    .led-text {
        color: rgb(248, 212, 212);
        font-family: 'Courier New', monospace;
        font-weight: bold;
        font-size: 26px;
        text-transform: uppercase;
        white-space: nowrap;
        text-shadow:
            0 0 5px rgba(255, 0, 0, 0.904),
            0 0 10px rgba(255, 0, 0, 0.904),
            0 0 15px rgba(255, 0, 0, 0.904),
            0 0 20px rgba(255, 0, 0, 0.904);
        animation: scroll 15s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }

    }

    .pixel-effect {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image:
            repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0px, rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
        pointer-events: none;
        z-index: 10;
        border-radius: 50%;
    }

    .form-container {
        background: var(--card-bg);
        border-radius: 15px;
        padding: 30px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--card-border);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.904);
        text-align: center;
    }

    .form-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 25px;
        color: var(--accent);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .input-group {
        margin-bottom: 20px;
        position: relative;
    }

    .form-input {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 50px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: var(--text);
        text-align: center;
        transition: all 0.3s ease;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 15px rgba(248, 223, 3, 0.3);
    }

    .form-input::placeholder {
        color: var(--text-secondary);
    }

    .error-message {
        display: block;
        color: #ff6b6b;
        font-size: 14px;
        margin-top: 8px;
        min-height: 20px;
    }

    .button-group {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        margin-top: 10px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 50px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
        color: #000;
        box-shadow: 0 5px 15px rgba(230, 199, 2, 0.4);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(230, 199, 2, 0.6);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none !important;
    }

    /* Popup Styles */
    .popup-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .popup-container.active {
        opacity: 1;
        visibility: visible;
    }

    .popup-body {
        background: var(--card-bg);
        border-radius: 15px;
        width: 90%;
        max-width: 450px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--card-border);
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }

    .popup-container.active .popup-body {
        transform: scale(1);
    }

    .popup-header {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--card-border);
    }

    .popup-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--accent);
    }

    .popup-content {
        padding: 25px;
        text-align: center;
    }

    .popup-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .popup-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    .prize-image {
        max-width: 180px;
        height: auto;
        margin: 0 auto 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .prize-value {
        font-size: 28px;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 15px;
    }

    .prize-description {
        color: var(--text-secondary);
        margin-bottom: 20px;
        font-size: 15px;
    }

    .voucher-info {
        background: rgba(0, 0, 0, 0.2);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .voucher-info p {
        margin: 5px 0;
        font-size: 14px;
    }

    .claim-btn {
        display: inline-block;
        padding: 12px 30px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
        color: #000;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        box-shadow: 0 5px 15px rgba(230, 199, 2, 0.4);
        transition: all 0.3s ease;
    }

    .claim-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(230, 199, 2, 0.6);
    }

    .history-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
        font-size: 14px;
    }

    .history-table th {
        background: rgba(0, 0, 0, 0.2);
        padding: 10px;
        text-align: left;
        font-weight: 600;
    }

    .history-table td {
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .history-table tr:last-child td {
        border-bottom: none;
    }

    .history-container {
        max-height: 300px;
        overflow-y: auto;
    }

    /* Footer */
    .footer {
        text-align: center;
        padding: 20px;
        margin-top: 40px;
        color: var(--text-secondary);
        font-size: 14px;
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
        .content-wrapper {
            gap: 30px;
        }

        .wheel-container {
            max-width: 350px;
        }
    }

    @media (max-width: 768px) {
        .main-container {
            padding: 15px;
        }

        .content-wrapper {
            flex-direction: column;
            gap: 30px;
        }

        .wheel-section,
        .form-section {
            width: 100%;
            max-width: 100%;
        }

        .form-container {
            padding: 25px;
        }

        .button-group {
            flex-direction: column;
            width: 100%;
        }

        .btn {
            width: 100%;
        }

        .led-text {
            font-size: 20px;
        }
        
        .wheel-pointer {
            width: 100px;
            height: 100px;
            top: -65px;
        }
    
        .led-container {
        bottom: -35px;
        height: 40px;
        }
    }
        
    @media (max-width: 576px) {
        .header {
            margin-bottom: 10px;
        }

        .logo {
            max-width: 220px;
        }

        .form-container {
            padding: 20px 15px;
        }

        .form-title {
            font-size: 20px;
        }

        .popup-content {
            padding: 20px 15px;
        }

        .prize-value {
            font-size: 24px;
        }

        .wheel-container {
            max-width: 300px;
        }

        .led-text {
            font-size: 18px;
        }
        
        .wheel-pointer {
            width: 100px;
            height: 100px;
            top: -55px;
        }
    
        .led-container {
            bottom: -30px;
            height: 35px;
        }
    
        .led-text {
            font-size: 16px;
        }
    }

    @media (max-height: 700px) and (orientation: landscape) {
        .main-container {
            padding: 10px;
        }

        .content-wrapper {
            flex-direction: row;
            gap: 20px;
        }

        .wheel-container {
            max-width: 280px;
        }

        .form-container {
            padding: 20px;
        }

        .form-title {
            margin-bottom: 15px;
            font-size: 18px;
        }

        .btn {
            padding: 12px 20px;
            font-size: 14px;
            min-width: 120px;
        }
    }

    /* Animation for wheel spin */
    @keyframes wheel-spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .wheel-spinning {
        animation: wheel-spin 0.5s linear infinite;
    }