/* ==========================================================================
   THE ULTIMATE LUXURY V13: DIAMOND REBORN (FULL VERSION)
   Theme: Cyber Purple, Neon Orange, & Dark Neon Green SEO
   Features: Diamond Rotation Hover, Silhouette Preservation, Luxury Glow
========================================================================== */

:root {
    --cyber-purple: #bc13fe;
    --cyber-purple-glow: rgba(188, 19, 254, 0.8);
    --neon-orange: #ff5e00;
    --orange-glow: rgba(255, 94, 0, 0.8);
    --cyber-green-dark: #0f3d0e; /* Dark Neon Green */
    --cyber-green-glow: #1df31d;
    --deep-space: #050008;
    --luxury-black: #0a0010;
}

/* --- 1. GLOBAL LAYOUT & RESET --- */
body, html {
    background-color: var(--deep-space) !important;
    background-image: 
        radial-gradient(circle at 50% -10%, #2a004f 0%, transparent 60%),
        linear-gradient(180deg, #050008 0%, #100015 100%) !important;
    color: #FFFFFF !important;
    font-family: 'Rajdhani', sans-serif;
}

/* Membersihkan sisa warna lain agar konsisten */
.main-wrapper, .site-main, [class*="blue"], [class*="green"], [class*="navy"] {
    background-image: none !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

/* --- 2. LUXURY DIAMOND NAVBAR WITH ROTATION EFFECT --- */
.topbar-container, .site-header {
    background: linear-gradient(180deg, #1a002e 0%, #050008 100%) !important;
    border-bottom: 3px solid var(--cyber-purple) !important;
    box-shadow: 0 4px 40px var(--cyber-purple-glow) !important;
}

/* Base Diamond Icon Style */
.icon-3d-glow, .site-header .top-menu>li>a .icon, .site-header .top-menu>li>a img {
    width: 48px !important;
    height: 48px !important;
    padding: 8px;
    background: rgba(188, 19, 254, 0.1) !important;
    border: 2px solid var(--cyber-purple) !important;
    transform: rotate(45deg); /* Bentuk Diamond */
    border-radius: 4px !important; 
    box-shadow: 0 0 15px var(--cyber-purple-glow);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Memastikan siluet ikon di dalam tetap tegak */
.site-header .top-menu>li>a .icon img, 
.site-header .top-menu>li>a .icon i,
.site-header .top-menu>li>a img {
    transform: rotate(-45deg) scale(1.1); 
    filter: drop-shadow(0 0 5px var(--cyber-purple));
    transition: all 0.6s ease;
}

/* HOVER EFFECT: DIAMOND ROTATION (360 DEGREES) */
.site-header .top-menu>li:hover>a .icon, 
.site-header .top-menu>li:hover>a img {
    /* 45deg awal + 360deg putaran = 405deg */
    transform: rotate(405deg) scale(1.15) !important;
    background: var(--neon-orange) !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 30px var(--orange-glow), 0 0 50px rgba(255, 94, 0, 0.5);
}

/* Gambar di dalam berputar balik agar tetap terlihat tegak selama animasi */
.site-header .top-menu>li:hover>a .icon img,
.site-header .top-menu>li:hover>a .icon i {
    transform: rotate(-405deg) scale(1.2) !important;
}

/* --- 3. SMALLER DIAMOND BUTTONS (MASUK & DAFTAR) --- */
.login-panel .login-button, 
.login-panel .register-button {
    width: 80px !important; 
    height: 80px !important; 
    padding: 0 !important;
    margin: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: rotate(45deg) !important; 
    border-radius: 6px !important;
    position: relative;
    overflow: visible !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent !important;
    z-index: 1;
}

/* Mengatur Teks di dalam Diamond agar tidak miring */
.login-panel .login-button span, 
.login-panel .register-button span,
.login-panel .login-button a,
.login-panel .register-button a {
    transform: rotate(-45deg) !important; 
    display: block;
    width: 100%;
    text-align: center;
    font-size: 11px !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: #FFFFFF !important;
}

/* Tombol MASUK - Purple Diamond Style */
.login-panel .login-button {
    background: rgba(188, 19, 254, 0.2) !important;
    border: 2px solid var(--cyber-purple) !important;
    box-shadow: 0 0 15px var(--cyber-purple-glow);
}

.login-panel .login-button:hover {
    background: var(--cyber-purple) !important;
    transform: rotate(45deg) scale(1.1) !important;
    box-shadow: 0 0 30px var(--cyber-purple-glow);
}

/* Tombol DAFTAR - Orange Diamond Style */
.login-panel .register-button {
    background: rgba(255, 94, 0, 0.2) !important;
    border: 2px solid var(--neon-orange) !important;
    box-shadow: 0 0 15px var(--orange-glow);
}

.login-panel .register-button:hover {
    background: var(--neon-orange) !important;
    transform: rotate(45deg) scale(1.1) !important;
    box-shadow: 0 0 30px var(--orange-glow);
}

/* --- 4. PRE-FOOTER SEO & DESCRIPTION (CYBER DARK NEON GREEN) --- */
.seo-section p, .seo-section h1, .seo-section h2, 
.bottom-content-wrapper p, .site-description,
.bottom-content-wrapper span, .footer-seo-text {
    color: var(--cyber-green-dark) !important;
    text-shadow: 0 0 10px rgba(29, 243, 29, 0.3) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.seo-section h1:hover, .seo-section h2:hover, .seo-section p:hover {
    color: var(--cyber-green-glow) !important;
    text-shadow: 0 0 15px var(--cyber-green-glow) !important;
}

/* --- 5. FOOTER & SCROLLBAR --- */
footer, .site-footer {
    background-color: var(--luxury-black) !important;
    border-top: 5px solid var(--cyber-purple) !important;
}

/* Custom Scrollbar Luxury */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--deep-space); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(var(--cyber-purple), var(--neon-orange)); 
    border-radius: 10px;
}