/* ===================================================================
   ADREEDIGI - Modern Creative Media + Toko + Jasa
   Concept 2 (Dark/Light NFT Marketplace) with Room-in-Room Architecture
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

/* --- THEME DEFINITIONS --- */
:root {
  /* Dark Midnight Navy & Royal Blue Theme (Ref Image) */
  --font-heading: 'Syne', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --color-primary: #2563EB;
  --color-secondary: #8B5CF6;
  --color-accent: #38BDF8;
  --color-bg: #070B20;
  --color-surface: #0E1638;
  --color-surface-hover: #152252;
  --color-card: #0E1638;
  --color-card-border: rgba(59, 130, 246, 0.25);
  --color-card-glow: rgba(37, 99, 235, 0.2);
  --color-text: #FFFFFF;
  --color-text-muted: #94A3B8;
  --color-header-bg: rgba(8, 14, 40, 0.88);
  --color-dropdown-bg: rgba(10, 18, 48, 0.96);
  --color-footer-bg: #060919;
  --color-footer-text: #CBD5E1;
  --shadow-nft: 0 16px 36px -10px rgba(37, 99, 235, 0.3), 0 0 20px rgba(56, 189, 248, 0.15);
  
  /* Distinct Room Accents */
  --room-media-accent: #8B5CF6;
  --room-media-glow: rgba(139, 92, 246, 0.35);
  --room-toko-accent: #EC4899;
  --room-toko-glow: rgba(236, 72, 153, 0.35);
  --room-jasa-accent: #06B6D4;
  --room-jasa-glow: rgba(6, 182, 212, 0.35);
  --room-admin-accent: #6366F1;
  --room-admin-glow: rgba(99, 102, 241, 0.35);
}

/* Tema 2: Scoopify */
body[data-theme="theme-2"] {
  --color-primary: #2D1B4E;
  --color-secondary: #FF2E88;
  --color-accent: #7EDDD3;
  --color-bg: #150C28;
  --color-surface: #231340;
  --color-surface-hover: #2F1B54;
  --color-card: #231340;
  --color-card-border: rgba(255, 46, 136, 0.3);
  --color-card-glow: rgba(255, 46, 136, 0.25);
  --color-text: #F9FAFB;
  --color-text-muted: #C4B5FD;
  --color-header-bg: rgba(35, 19, 64, 0.88);
  --color-dropdown-bg: rgba(35, 19, 64, 0.98);
  --color-footer-bg: #0D0719;
  --color-footer-text: #E2E8F0;
  --shadow-nft: 0 16px 40px -10px rgba(255, 46, 136, 0.35), 0 0 24px rgba(126, 221, 211, 0.2);
  
  --room-media-accent: #A855F7;
  --room-media-glow: rgba(168, 85, 247, 0.4);
  --room-toko-accent: #FF2E88;
  --room-toko-glow: rgba(255, 46, 136, 0.45);
  --room-jasa-accent: #7EDDD3;
  --room-jasa-glow: rgba(126, 221, 211, 0.4);
  --room-admin-accent: #EC4899;
  --room-admin-glow: rgba(236, 72, 153, 0.4);
}

/* Tema 3: Royal Candy */
body[data-theme="theme-3"] {
  --color-primary: #0A1B4E; /* PANTONE 7687C */
  --color-secondary: #D6336C; /* 212C */
  --color-accent: #8AB4F8; /* 2142C */
  --color-bg: #F9C5D5; /* 2036C soft blush */
  --color-surface: #FFFFFF;
  --color-surface-hover: #FFF1F5;
  --color-card: #FFFFFF;
  --color-card-border: rgba(214, 51, 108, 0.3);
  --color-card-glow: rgba(214, 51, 108, 0.22);
  --color-text: #0A1B4E;
  --color-text-muted: #60435F;
  --color-header-bg: rgba(255, 255, 255, 0.88);
  --color-dropdown-bg: rgba(255, 255, 255, 0.98);
  --color-footer-bg: #0A1B4E;
  --color-footer-text: #FDE8EF;
  --shadow-nft: 0 16px 36px -10px rgba(214, 51, 108, 0.28), 0 0 20px rgba(138, 180, 248, 0.25);
  
  --room-media-accent: #8AB4F8;
  --room-media-glow: rgba(138, 180, 248, 0.45);
  --room-toko-accent: #D6336C;
  --room-toko-glow: rgba(214, 51, 108, 0.45);
  --room-jasa-accent: #0A1B4E;
  --room-jasa-glow: rgba(10, 27, 78, 0.35);
  --room-admin-accent: #D6336C;
  --room-admin-glow: rgba(214, 51, 108, 0.4);
}

/* Tema 4: Dark NFT */
body[data-theme="theme-4"] {
  --color-primary: #7C3AED;
  --color-secondary: #3B82F6;
  --color-accent: #22D3EE;
  --color-bg: #0B0B2A;
  --color-surface: #14143A;
  --color-surface-hover: #1E1E4F;
  --color-card: #14143A;
  --color-card-border: rgba(124, 58, 237, 0.35);
  --color-card-glow: rgba(34, 211, 238, 0.2);
  --color-text: #FFFFFF;
  --color-text-muted: #94A3B8;
  --color-header-bg: rgba(20, 20, 58, 0.9);
  --color-dropdown-bg: rgba(20, 20, 58, 0.98);
  --color-footer-bg: #07071C;
  --color-footer-text: #CBD5E1;
  --shadow-nft: 0 20px 45px -10px rgba(124, 58, 237, 0.45), 0 0 25px rgba(34, 211, 238, 0.25);
  
  --room-media-accent: #3B82F6;
  --room-media-glow: rgba(59, 130, 246, 0.45);
  --room-toko-accent: #7C3AED;
  --room-toko-glow: rgba(124, 58, 237, 0.45);
  --room-jasa-accent: #22D3EE;
  --room-jasa-glow: rgba(34, 211, 238, 0.45);
  --room-admin-accent: #A855F7;
  --room-admin-glow: rgba(168, 85, 247, 0.4);
}

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 25% 45%, #182C6E 0%, #0D163B 45%, #070B20 100%) no-repeat fixed !important;
  background-size: cover !important;
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: color 0.4s ease;
  position: relative;
}

body[data-theme] {
  background: radial-gradient(circle at 25% 45%, #182C6E 0%, #0D163B 45%, #070B20 100%) no-repeat fixed !important;
  background-size: cover !important;
}

/* Background Glowing Ambient Orbs (NFT aesthetic tuned to Midnight Royal Blue & Cyan) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: all 0.5s ease;
}
.ambient-glow-1 {
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1E40AF, transparent 70%);
  opacity: 0.45;
}
.ambient-glow-2 {
  bottom: 10%;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #2563EB, transparent 70%);
  opacity: 0.35;
}
.ambient-glow-3 {
  top: 40%;
  right: 25%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35), transparent 70%);
  opacity: 0.25;
}

/* Glassmorphism helpers */
.glass-panel {
  background: var(--color-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-card-border);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header & Sticky Bar - Dark Midnight Navy */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 14, 40, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* Brand Logo */
.brand-logo-text {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

/* Dropdown Menu - Detik Style */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu-detik {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 450px;
  background: var(--color-dropdown-bg);
  border: 1px solid var(--color-card-border);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 15px var(--color-card-glow);
  border-radius: 16px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  backdrop-filter: blur(20px);
}

.nav-item-dropdown:hover .dropdown-menu-detik,
.nav-item-dropdown.active .dropdown-menu-detik {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px) scale(1);
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 8px;
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.dropdown-link-item:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-card-border);
  transform: translateX(4px);
  color: var(--color-primary);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF !important;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 18px var(--color-card-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-card-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-card-border);
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ROOM IN ROOM ARCHITECTURE */
.app-container {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 140px);
}

.room-view {
  display: none;
  opacity: 0;
  transform: scale(0.98) translateY(15px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-view.active-room {
  display: block;
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: roomEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes roomEntrance {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(24px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Room Control Banner / Bar */
.room-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid var(--color-card-border);
  background: var(--color-surface);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Room Portals in Lobby */
.portal-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portal-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-nft);
}
.portal-card:hover::before {
  opacity: 1;
}

.portal-media:hover {
  border-color: var(--room-media-accent);
  box-shadow: 0 20px 40px -10px var(--room-media-glow);
}
.portal-toko:hover {
  border-color: var(--room-toko-accent);
  box-shadow: 0 20px 40px -10px var(--room-toko-glow);
}
.portal-jasa:hover {
  border-color: var(--room-jasa-accent);
  box-shadow: 0 20px 40px -10px var(--room-jasa-glow);
}

/* NFT Card Grid Style (Contoh 2) */
.nft-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.nft-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-nft);
}

.nft-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}

.nft-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nft-card:hover .nft-card-img-wrap img {
  transform: scale(1.08);
}

.nft-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nft-card-like {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}
.nft-card-like:hover {
  background: #EF4444;
  transform: scale(1.1);
}

.nft-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nft-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-text);
}

.nft-card-price-box {
  background: var(--color-surface-hover);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border: 1px solid var(--color-card-border);
}

.nft-card-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

/* DETAIL POPUP MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-card-glow);
  border-radius: 28px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Floating Chat Help */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 30px var(--color-card-glow), 0 0 0 4px rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-launcher:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 14px 35px var(--color-card-glow);
}

.chat-popup {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 400px;
  max-width: calc(100vw - 28px);
  height: 570px;
  max-height: calc(100vh - 120px);
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px var(--color-card-glow);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.92);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* FAQ Accordion Styling */
.faq-accordion-item {
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  background: rgba(30, 27, 75, 0.45);
  transition: all 0.2s ease;
  overflow: hidden;
}
.faq-accordion-item:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(30, 27, 75, 0.65);
}
.faq-accordion-btn {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  background: transparent;
  border: none;
}
.faq-accordion-btn .chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-accordion-item.active .chevron {
  transform: rotate(180deg);
}
.faq-accordion-item.active {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(45, 27, 105, 0.6);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.15);
}
.faq-accordion-content {
  display: none;
  padding: 0 14px 12px 14px;
  font-size: 0.775rem;
  color: #E2E8F0;
  line-height: 1.55;
  border-top: 1px dashed rgba(168, 85, 247, 0.2);
  margin-top: 2px;
  padding-top: 8px;
}
.faq-accordion-item.active .faq-accordion-content {
  display: block;
  animation: fadeIn 0.2s ease;
}

@media (max-width: 640px) {
  .chat-popup {
    bottom: 84px;
    right: 14px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 100px);
    border-radius: 20px;
  }
  .chat-launcher {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.chat-bubble-bot {
  align-self: flex-start;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-card-border);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Cart Slide-over Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--color-surface);
  border-left: 1px solid var(--color-card-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.animate-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dropdown-menu-detik {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 10px 16px;
    max-width: 100%;
  }
  .mega-dropdown-grid {
    grid-template-columns: 1fr;
  }
  .room-header-bar {
    padding: 14px;
    border-radius: 16px;
  }
}
/* === BAGIAN ATAS - MATCH REFERENSI GAMBAR (DARK MIDNIGHT NAVY & ELECTRIC BLUE) === */
.hero h1, .hero-title, h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4) !important;
}
.hero p, .hero-subtitle, .hero-desc {
  color: #A5B4FC !important;
}
.hero, .hero-section {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 32px 0 !important;
  margin-bottom: 24px;
}

/* Header Menu Items - White with Cyan Glow on Hover */
header nav a, header nav button, .nav a, .navbar a, .menu a, .nav-link {
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease;
}
header nav a:hover, header nav button:hover, .nav a:hover, .navbar a:hover {
  color: #38BDF8 !important;
}

/* Dropdown Menu - Dark Glass */
.dropdown-menu-detik {
  background: rgba(10, 18, 48, 0.96) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.25) !important;
}
.dropdown-link-item {
  color: #FFFFFF !important;
}
.dropdown-link-item:hover {
  background: rgba(59, 130, 246, 0.2) !important;
}

/* Logo Tagline */
[data-i18n="site_tagline"] {
  color: #94A3B8 !important;
}

/* Logo AD Box - Coral Red / Orange */
header .w-12.h-12, .brand-logo-icon {
  background: linear-gradient(135deg, #FF6464 0%, #FF3366 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 20px rgba(255, 51, 102, 0.35) !important;
}

/* Search Input - Pill with Glowing Neon Cyan/Blue Border */
#header-search-input {
  background: rgba(10, 18, 48, 0.75) !important;
  border: 1.5px solid #2563EB !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding-left: 36px !important;
}
#header-search-input:focus {
  background: rgba(14, 25, 65, 0.95) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35) !important;
}
#header-search-input::placeholder {
  color: #94A3B8 !important;
}
#header-search-input + svg, #header-search-input ~ svg, .relative:has(#header-search-input) svg {
  color: #38BDF8 !important;
}

/* Header Cart Button - Pill with Glowing Neon Purple/Pink Border */
#header-cart-btn {
  background: rgba(10, 18, 48, 0.75) !important;
  border: 1.5px solid #A855F7 !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
#header-cart-btn svg {
  color: #C084FC !important;
}

/* Announcement Bar - Dark Navy */
body > div.w-full.py-1\.5 {
  background: rgba(7, 11, 32, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94A3B8 !important;
}

/* Hero Badge */
.hero-badge, .badge, .portal-badge, [data-i18n="lobby_badge"] {
  color: #93C5FD !important;
  background: rgba(37, 99, 235, 0.2) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
}

/* Hero Buttons - Rounded Pills */
.hero .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 14px 32px !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5) !important;
  border: none !important;
}
.hero .btn-primary:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.65) !important;
  transform: translateY(-2px);
}

.hero .btn-secondary {
  background: rgba(10, 18, 48, 0.6) !important;
  border: 1.5px solid #38BDF8 !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 14px 32px !important;
}
.hero .btn-secondary:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Stats 4 Glass Pills */
.hero .border-t.border-purple-500\/20 {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
.hero .grid.grid-cols-3 > div, .hero .grid.grid-cols-4 > div {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: 18px !important;
  padding: 14px 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease;
}
.hero .grid.grid-cols-3 > div:hover, .hero .grid.grid-cols-4 > div:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px);
}
.hero .grid.grid-cols-3 > div .text-2xl, .hero .grid.grid-cols-4 > div .text-2xl {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}
.hero .grid.grid-cols-3 > div .text-\[11px\], .hero .grid.grid-cols-4 > div .text-\[11px\] {
  color: #A5B4FC !important;
  font-weight: 600 !important;
}

/* Showcase Holographic Card on Right */
.hero .lg\:col-span-5 > div {
  background: rgba(10, 18, 48, 0.55) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.2) !important;
}

/* === FOOTER - MATCH REFERENSI GAMBAR (COSMIC GLASS BANNER & CRISP WHITE TEXT) === */
footer {
  background: linear-gradient(180deg, rgba(8, 13, 36, 0.95) 0%, #050818 100%) !important;
  border-top: 1px solid rgba(59, 130, 246, 0.25) !important;
  color: #FFFFFF !important;
}

.footer-cta-card {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.35) 0%, rgba(139, 92, 246, 0.3) 50%, rgba(37, 99, 235, 0.35) 100%) !important;
  border: 1.5px solid rgba(244, 114, 182, 0.75) !important;
  box-shadow: 0 0 35px rgba(217, 70, 239, 0.35), inset 0 0 25px rgba(59, 130, 246, 0.25) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 28px !important;
}

.footer-cta-card h3 {
  color: #FFFFFF !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.btn-footer-cta {
  background: linear-gradient(135deg, #F472B6 0%, #C084FC 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 25px rgba(244, 114, 182, 0.65) !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  cursor: pointer;
}
.btn-footer-cta:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 0 35px rgba(244, 114, 182, 0.85) !important;
  transform: translateY(-2px);
}

footer h4 {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
}

footer p, footer li, footer a, footer span {
  color: #FFFFFF !important;
}
footer a:hover {
  color: #38BDF8 !important;
}

footer .border-t {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* === BAGIAN TENGAH - MATCH REFERENSI GAMBAR (PINK MAGENTA TO TOSCA & CRISP WHITE CARDS) === */

/* Middle Section Background */
.middle-section-showcase {
  background: linear-gradient(135deg, #D93A96 0%, #6FD8D8 100%) !important;
  border-radius: 36px !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4), 0 0 40px rgba(217, 58, 150, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

/* Titles inside Middle Section */
.middle-section-showcase h2, .middle-section-showcase h3.text-2xl {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}
.middle-section-showcase span.uppercase {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 800 !important;
}
.middle-section-showcase p.text-xs {
  color: rgba(255, 255, 255, 0.85) !important;
}
.middle-section-showcase button.hover\:underline {
  color: #FFFFFF !important;
  opacity: 0.95 !important;
  font-weight: 700 !important;
}

/* 3 Pintu Room Cards in Middle Section */
.middle-section-showcase .portal-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.12) !important;
  border-radius: 24px !important;
}
.middle-section-showcase .portal-card h3 {
  color: #111827 !important;
}
.middle-section-showcase .portal-card p {
  color: #4B5563 !important;
}

/* NFT Cards - Pure White (Exact Match with Reference Image) */
.nft-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nft-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.25) !important;
}

/* Category Label */
.nft-card-content > span.text-xs {
  color: #9333EA !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
}

/* Product & Item Titles */
.nft-card-title {
  color: #111827 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
}

/* Article summary & metadata */
.nft-card-content p {
  color: #4B5563 !important;
}
.nft-card-content .text-gray-400 {
  color: #6B7280 !important;
}

/* Price Box */
.nft-card-price-box {
  background: #FAF5FF !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
}
.nft-card-price-box span.text-xs {
  color: #9CA3AF !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

/* Price Text - Bold Purple (Rp 149.000, etc.) */
.nft-card-price {
  color: #7C3AED !important;
  font-weight: 900 !important;
  font-size: 1.15rem !important;
  font-family: var(--font-heading) !important;
}

/* Button "Lihat Detail" - Bright Magenta Pink */
.nft-card-price-box .btn-primary, .nft-card-content .btn-primary {
  background: #D946EF !important;
  background: linear-gradient(135deg, #E879F9 0%, #D946EF 100%) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4) !important;
  transition: all 0.2s ease !important;
}
.nft-card-price-box .btn-primary:hover, .nft-card-content .btn-primary:hover {
  filter: brightness(1.1) !important;
  transform: scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.6) !important;
}

/* Badges on Card Images (BEST SELLER, HOT ITEM, etc.) */
.nft-card-badge {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  letter-spacing: 0.5px !important;
  border-radius: 9999px !important;
  padding: 4px 10px !important;
}

/* Like Button on Card */
.nft-card-like {
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

/* ===================================================================
   NAVIGATION HORIZONTAL SCROLL & ARROW BUTTONS (< >)
   =================================================================== */
.nav-scroll-wrapper {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  position: relative;
}

.nav-scroll {
  display: flex !important;
  align-items: center;
  gap: 4px;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
}

.nav-scroll::-webkit-scrollbar {
  display: none !important;
}

.nav-scroll > * {
  flex-shrink: 0 !important;
}

/* Navigation Scroll Buttons (< >) */
.nav-scroll-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 22, 56, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  user-select: none;
  z-index: 25;
}

.nav-scroll-btn:hover {
  background: #2563EB;
  border-color: #38BDF8;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transform: scale(1.1);
}

.nav-scroll-btn:active {
  transform: scale(0.92);
}

/* ===================================================================
   UNIVERSAL < BACK BUTTON (PILL GRADIENT PINK #FF2E9A TO PURPLE #7B2FF7)
   =================================================================== */
.btn-back-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #FF2E9A 0%, #7B2FF7 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading), 'Syne', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 16px rgba(255, 46, 154, 0.4), 0 0 12px rgba(123, 47, 247, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  user-select: none !important;
  width: fit-content !important;
}

.btn-back-pill:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 24px rgba(255, 46, 154, 0.6), 0 0 18px rgba(123, 47, 247, 0.5) !important;
  filter: brightness(1.1) !important;
}

.btn-back-pill:active {
  transform: translateY(0) scale(0.96) !important;
}

/* ======================================================== */
/* WORDPRESS-STYLE FLOATING ADMIN TOOLBAR & IN-CONTEXT CMS  */
/* ======================================================== */
.admin-live-toolbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 42px;
  background: linear-gradient(90deg, #130a2a 0%, #200f40 50%, #130a2a 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  z-index: 999999;
  display: none;
}

.admin-live-toolbar.active {
  display: flex;
  align-items: center;
}

.admin-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-bar-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
}

.admin-bar-btn-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border-color: #34D399 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

.admin-bar-btn-success:hover {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%) !important;
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6) !important;
}

/* In-Card Quick Action Buttons for Public Cards */
.admin-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 10, 30, 0.88);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.admin-card-actions button {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Detail Modal In-Context Edit Button */
.btn-admin-edit-action {
  background: linear-gradient(135deg, #EC4899 0%, #A855F7 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-admin-edit-action:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
  filter: brightness(1.1);
}

/* Rich Text WYSIWYG Editor Toolbar */
.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: rgba(30, 15, 55, 0.9);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-bottom: none;
}

.wysiwyg-btn {
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wysiwyg-btn:hover {
  background: rgba(168, 85, 247, 0.4);
  color: #FFFFFF;
  border-color: rgba(168, 85, 247, 0.7);
}

.wysiwyg-editor {
  min-height: 220px;
  max-height: 480px;
  overflow-y: auto;
  padding: 14px;
  background: rgba(15, 8, 30, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  color: #F8FAFC;
  font-size: 13px;
  line-height: 1.7;
  outline: none;
}

.wysiwyg-editor:focus {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.wysiwyg-editor h2 {
  font-size: 18px;
  font-weight: 800;
  color: #F472B6;
  margin-top: 14px;
  margin-bottom: 8px;
}

.wysiwyg-editor h3 {
  font-size: 15px;
  font-weight: 700;
  color: #A855F7;
  margin-top: 12px;
  margin-bottom: 6px;
}

.wysiwyg-editor p {
  margin-bottom: 12px;
}

.wysiwyg-editor ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 12px;
}

.wysiwyg-editor ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 12px;
}

.wysiwyg-editor blockquote {
  border-left: 4px solid #A855F7;
  padding-left: 12px;
  color: #CBD5E1;
  font-style: italic;
  margin: 12px 0;
  background: rgba(168, 85, 247, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
}

.wysiwyg-editor img {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wysiwyg-editor a {
  color: #38BDF8;
  text-decoration: underline;
}
