body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: linear-gradient(135deg, #0d47a1, #1976d2);
        color: white;
        overflow: hidden;
    }
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 30px;
        background: rgba(0,0,0,0.3);
        font-size: 1.5em;
        font-weight: bold;
    }
    #datetime {
        font-size: 1em;
        font-weight: normal;
    }
    main {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 10px;
        height: calc(100vh - 100px);
        padding: 10px;
    }
    .queue-section {
        display: grid;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        transition: ease-in-out 0.3s;

    }
    .queue-box {
        background: rgba(255,255,255,0.1);
        padding: 20px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 0 15px rgba(0,0,0,0.3);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.3s ease;
        width: 300px;
    }
    .queue-box:hover {
        transform: scale(1.05);
    }
    .queue-number {
        font-size: 3.7em;
        font-weight: bold;
        color: #ffeb3b;
        text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    }
    .queue-counter {
        font-size: 1.7em;
        font-weight: bold;
        margin-top: 5px;
        color: #fff;
    }
    .video-section {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    video {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        object-fit: cover;
    }
    footer {
        background: #0d47a1;
        color: #fff;
        padding: 8px;
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        position: fixed;
        bottom: 0;
        width: 100%;
    }
    footer span {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 15s linear infinite;
    }
    @keyframes marquee {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-100%); }
    }
    .fullscreen-btn {
        background: #ffeb3b;
        border: none;
        padding: 8px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .fullscreen-btn svg {
        width: 24px;
        height: 24px;
        fill: #000;
    }


    .btn-antrian {
        background: #004aba;
        background: linear-gradient(180deg, rgba(0, 74, 186, 1) 0%, rgba(43, 128, 252, 1) 45%, rgba(43, 128, 252, 1) 55%, rgba(0, 74, 186, 1) 100%);
        cursor: pointer;
    }
