        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            overflow: hidden;
            height: 100vh;
            background: url('image4.jpg') center/cover no-repeat;
        }

        /* Video Section */
        .video-section {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: opacity 1s ease;
        }

        .video-section.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .video-background video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
		
		            .video-background {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                overflow: hidden;
            }

        .center-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            width: 100%;
            z-index: 10;
        }

        .title {
            font-size: 3rem;
            margin-bottom: 2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
			color:#0F6;
        }
.bgjudul {
background:#000;
width:220px;	
border-radius: 20px 20px 20px 20px;
}
.judul {
    background: linear-gradient(135deg, 
        #F4C430 0%,      /* Saffron - emas muda */
        #FFD700 15%,     /* Gold murni */
        #DAA520 30%,     /* Goldenrod - emas tua */
        #B8860B 45%,     /* Dark goldenrod */
        #FFF8E7 55%,     /* Putih emas (highlight) */
        #DAA520 70%,     /* Kembali ke emas tua */
        #F4C430 85%,     /* Emas muda */
        #FFD700 95%,     /* Gold murni */
        #F4C430 100%);   /* Saffron */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.5),    /* Gold shadow */
        0 0 25px rgba(218, 165, 32, 0.4),   /* Goldenrod shadow */
        0 0 35px rgba(184, 134, 11, 0.3);   /* Dark gold shadow */
    animation: goldShine 4s ease-in-out infinite;
		
}

        .button-container {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .btn {
            padding: 15px 30px;
            font-size: 1.1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
        }

        .login-btn {
            background: linear-gradient(to bottom, #dfbc73 27%, #ffecb3 40%, #83662a 78%);
            color: #74661f;
        }

        .register-btn {
            background: linear-gradient(to bottom, #dfbc73 27%, #ffecb3 40%, #83662a 78%);
            color: #74661f;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        .sound-container {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .sound-btn {
            background: rgba(255, 255, 255, 0.0);
            color: white;
            border: 0px solid white;
            padding: 10px 10px;
            font-size: 1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sound-btn:hover {
            transform: translateY(-2px);
        }

        .sound-icon {
            font-size: 1.2rem;
        }

        .speaker-icon {
            width: 24px;
            height: 24px;
            filter: brightness(0) invert(1);
        }

        /* Slider Section */
        .slider-section {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            z-index: 5;
        }

        .slider-section.active {
            display: block;
        }

        .slider-container {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .slides {
            display: flex;
            width: 300%;
            height: 100%;
            transition: transform 0.5s ease;
        }

        .slide {
            width: 33.333%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .slide-image {
            max-width: 70%;
            max-height: 90%;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        /* Tombol FIXED tidak ikut slide */
        .fixed-buttons {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 20px;
            justify-content: center;
            width: 100%;
            z-index: 20;
        }

        .slider-nav {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 20;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-dot.active {
            background: white;
            transform: scale(1.2);
        }

        /* ===== MODAL STYLES (DARI INDEX.PHP) ===== */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            overflow-y: auto;
        }

        .modal-content {
            background: linear-gradient(177deg, #0b1749, #2196F3);
            margin: 50px auto;
            padding: 30px;
            border-radius: 15px;
            width: 90%;
            max-width: 450px;
            color: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            position: relative;
            animation: modalSlideIn 0.3s ease;
			
			
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .close {
            position: absolute;
            right: 20px;
            top: 15px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close:hover {
            color: white;
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: white;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            background: rgba(255,255,255,0.1);
            color: white;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .form-group input::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #ffecb3;
            background: rgba(255,255,255,0.15);
        }

        .form-group select option {
            background: #1e3c72;
            color: white;
        }

        .password-input-container {
            position: relative;
            display: flex;
            align-items: center;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            cursor: pointer;
            color: white;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .eye-icon {
            width: 20px;
            height: 20px;
            fill: black;
        }

        .modal-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .modal-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
        }

        .switch-form {
            text-align: center;
            margin-top: 20px;
            color: rgba(255,255,255,0.8);
        }

        .switch-form a {

            color: #ffecb3;
            cursor: pointer;
            text-decoration: underline;
            font-weight: 600;
        }

        .switch-form a:hover {
            color: white;
        }

        .message {
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 500;
            animation: messageSlide 0.3s ease;
        }

        @keyframes messageSlide {
            from {
                transform: translateY(-10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .success {
            background: rgba(76, 175, 80, 0.2);
            border: 2px solid #4CAF50;
            color: #fff;
        }

        .error {
            background: rgba(244, 67, 54, 0.2);
            border: 2px solid #f44336;
            color: #fff;
        }

        .user-type-selector {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }

        .user-type-btn {
            flex: 1;
            padding: 15px;
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 10px;
            background: rgba(255,255,255,0.1);
            cursor: pointer;
            text-align: center;
            transition: all 0.3s;
            color: white;
        }

        .user-type-btn i {
            font-size: 24px;
            margin-bottom: 5px;
            display: block;
        }

        .user-type-btn.active {
            border-color: #ffecb3;
            background: rgba(255,255,255,0.2);
            transform: scale(1.02);
        }

        .user-type-btn:hover {
            border-color: #ffecb3;
            background: rgba(255,255,255,0.15);
        }

        .terms-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
            color: white;
        }

        .terms-checkbox input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .terms-checkbox label {
            font-size: 14px;
        }

        .terms-checkbox a {
            color: #ffecb3;
            text-decoration: underline;
            cursor: pointer;
        }

        .terms-checkbox a:hover {
            color: white;
        }

        /* Modal Terms & Conditions */
        #termsModal .modal-content {
            max-width: 700px;
        }

        .terms-content {
            max-height: 60vh;
            overflow-y: auto;
            padding: 15px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
        }

        .terms-content h3 {
            color: #ffecb3;
            margin: 20px 0 10px;
        }

        .terms-content h3:first-child {
            margin-top: 0;
        }

        /* Responsive untuk HP */
        @media (max-width: 768px) {
            .video-background {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                overflow: hidden;
            }
            
            .video-background video {
                width: 100vw;
                height: 100vh;
                object-fit: cover;
                position: fixed;
                top: 0;
                left: 0;
            }
            
            .center-content {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 90%;
                z-index: 10;
                text-align: center;
            }
            
            .button-container {
                display: flex;
                gap: 15px;
                justify-content: center;
                margin-bottom: 20px;
            }
            
            .btn {
                padding: 12px 25px;
                font-size: 1rem;
                min-width: 120px;
            }
            
            .modal-content {
                margin: 20px auto;
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .button-container {
                flex-direction: row;
                gap: 10px;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
                min-width: 100px;
            }
            
            .title {
                font-size: 2rem;
            }
            
            .fixed-buttons {
                bottom: 60px;
            }
            
            .slider-nav {
                bottom: 20px;
            }
            
            .slide-image {
                max-width: 95%;
                max-height: 60%;
            }
        }
		
@media (max-width: 768px) {
    .modal .modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        animation: none;
        padding: 30px 20px;
        overflow-y: auto;
    }
    
    #termsModal .modal-content,
    #privacyModal .modal-content {
        max-width: none;
        padding: 20px;
    }
    
    #termsModal .terms-content,
    #privacyModal .terms-content {
        max-height: none;
        flex: 1;
        margin: 20px 0;
    }
    
    /* Posisi close button di pojok kanan atas */
    .modal .close {
        top: 20px;
        right: 25px;
        font-size: 32px;
        z-index: 10;
    }
    
    /* Hilangkan margin-top berlebih */
    .modal h2 {
        margin-top: 10px;
    }
}

/* Untuk HP layar kecil (opsional) */
@media (max-width: 480px) {
    .modal .modal-content {
        padding: 25px 15px;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    
    .user-type-selector {
        gap: 10px;
    }
    
    .user-type-btn {
        padding: 12px 5px;
    }
    
    .user-type-btn i {
        font-size: 20px;
    }
}

/* ===== OPTIMASI SLIDER UNTUK MOBILE ===== */
@media (max-width: 768px) {
    .slide {
        padding: 10px;
    }
    
    .slide-image {
        max-width: 98%;
        max-height: 80vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }
    
    /* Posisi tombol di slider */
    .fixed-buttons {
        bottom: 70px;
        gap: 15px;
    }
    
    .fixed-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 120px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .slider-nav {
        bottom: 25px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* Untuk HP dengan layar sangat kecil */
@media (max-width: 380px) {
    .fixed-buttons {
        bottom: 60px;
        gap: 10px;
    }
    
    .fixed-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .slide-image {
        max-height: 70vh;
    }
}

/* ===== PENYESUAIAN DESKTOP (TETAP RAPI) ===== */
@media (min-width: 769px) {
    /* Modal di desktop tetap seperti biasa (tidak fullscreen) */
    .modal .modal-content {
        margin: 50px auto;
        width: 90%;
        max-width: 450px;
        border-radius: 15px;
    }
    
    #termsModal .modal-content,
    #privacyModal .modal-content {
        max-width: 700px;
    }
    
    /* Slider di desktop - proporsi lebih kecil agar tidak terlalu dominan */
    .slide-image {
        max-width: 80%;
        max-height: 60vh;
    }
    
    .fixed-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ===== PERBAIKAN TOMBOL CLOSE DI MODAL ===== */
.close {
    z-index: 1001;
    line-height: 1;
}

/* ===== PERBAIKAN TAMPILAN TERMS CHECKBOX ===== */
.terms-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.terms-checkbox label {
    font-size: 13px;
    line-height: 1.4;
}

.terms-checkbox a {
    color: #ffecb3;
    text-decoration: underline;
    margin: 0 2px;
}

/* Untuk HP kecil */
@media (max-width: 380px) {
    .terms-checkbox {
        gap: 5px;
    }
    
    .terms-checkbox label {
        font-size: 12px;
    }
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    padding: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer a:hover {
    color: #ffecb3;
    text-decoration: underline;
}

/* Penyesuaian untuk mobile */
@media (max-width: 768px) {
    .footer {
        bottom: 5px;
    }
    
    .footer a {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 480px) {
    .footer {
        bottom: 5px;
        padding: 8px;
    }
    
    .footer a {
        font-size: 10px;
    }
}

/* Pastikan tidak bertabrakan dengan slider-nav */
.slider-nav + .footer {
    margin-top: 30px;
}

/* Styling untuk textarea di modal contact */
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    min-height: 120px;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group textarea:focus {
    outline: none;
    border-color: #ffecb3;
    background: rgba(255,255,255,0.15);
}

/* Untuk mobile */
@media (max-width: 480px) {
    .form-group textarea {
        min-height: 100px;
        font-size: 14px;
    }
}

.diamond-blue-shine {
    background: linear-gradient(135deg, 
        #F4C430 0%,      /* Saffron - emas muda */
        #FFD700 15%,     /* Gold murni */
        #DAA520 30%,     /* Goldenrod - emas tua */
        #B8860B 45%,     /* Dark goldenrod */
        #FFF8E7 55%,     /* Putih emas (highlight) */
        #DAA520 70%,     /* Kembali ke emas tua */
        #F4C430 85%,     /* Emas muda */
        #FFD700 95%,     /* Gold murni */
        #F4C430 100%);   /* Saffron */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    text-shadow: 
        0 0 15px #DAA520,
        0 0 25px #FFD700,
        0 0 35px #B8860B;
    animation: diamondShine 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes diamondShine {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 
            0 0 30px rgba(218, 165, 32, 0.6),
           0 0 50px rgba(184, 134, 11, 0.3);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 
            0 0 20px  #DAA520 70%,
            0 0 30px  #B8860B 45%, 
            0 0 40px  #F4C430 0%,  
            0 0 50px  #FFD700 95%;
    }
}

/* ===== OPTIMASI SLIDER FULL PAGE DI HP ===== */
@media (max-width: 768px) {
    .slider-section {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 5;
    }
    
    .slider-container {
        width: 100%;
        height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .slides {
        display: flex;
        width: 300%;
        height: 100vh;
        transition: transform 0.5s ease;
    }
    
    .slide {
        width: 33.333%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        position: relative;
    }
    
    .slide-image {
        width: 100%;
        height: 100vh;
        max-width: none;
        max-height: none;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Overlay gelap agar teks lebih terbaca */
    .slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.3) 0%,
            rgba(0,0,0,0.1) 30%,
            rgba(0,0,0,0.1) 70%,
            rgba(0,0,0,0.3) 100%
        );
        pointer-events: none;
    }
    
    /* Posisi tombol di slider - lebih naik */
    .fixed-buttons {
        position: fixed;
        bottom: 100px; /* Naik lebih tinggi */
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
        z-index: 30;
        padding: 0 20px;
    }
    
    .fixed-buttons .btn {
        padding: 14px 30px;
        font-size: 1.1rem;
        min-width: 130px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255,255,255,0.2);
        z-index: 30;
    }
    
    /* Title di slider (opsional, kalau mau ada judul) */
    .slider-title {
        position: fixed;
        top: 40px;
        left: 0;
        width: 100%;
        text-align: center;
        color: white;
        font-size: 24px;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        z-index: 30;
        padding: 0 20px;
        pointer-events: none;
    }
    
    /* Navigasi dots */
    .slider-nav {
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 30;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.2);
    }
    
    .nav-dot.active {
        background: white;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255,255,255,0.8);
    }
    
    /* Footer - posisi paling bawah */
    .footer {
        position: fixed;
        bottom: 15px;
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 30;
        padding: 8px;
        background: transparent;
    }
    
    .footer a {
        color: white;
        font-size: 12px;
        text-decoration: none;
        margin: 0 8px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .footer a:hover {
        color: #ffecb3;
        text-decoration: underline;
    }
    
    /* Separator dots antara link */
    .footer a:not(:last-child)::after {
        content: '•';
        margin-left: 8px;
        color: rgba(255,255,255,0.6);
    }
}

/* Untuk HP sangat kecil */
@media (max-width: 480px) {
    .fixed-buttons {
        bottom: 90px;
        gap: 15px;
    }
    
    .fixed-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 110px;
    }
    
    .slider-nav {
        bottom: 50px;
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
    }
    
    .footer {
        bottom: 10px;
    }
    
    .footer a {
        font-size: 11px;
        margin: 0 5px;
    }
}

/* Untuk HP dengan notch / dynamic island */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .slider-title {
            top: max(40px, env(safe-area-inset-top));
        }
        
        .footer {
            bottom: max(15px, env(safe-area-inset-bottom));
        }
        
        .fixed-buttons {
            bottom: max(100px, env(safe-area-inset-bottom) + 80px);
        }
        
        .slider-nav {
            bottom: max(60px, env(safe-area-inset-bottom) + 40px);
        }
    }
}


