@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=DM+Sans:wght@400;500;700;800&family=DM+Mono:wght@400;500&display=swap');
/* ============================================================
   ICCybIS 2027 — Main Stylesheet
   Indonesian Batik × Luxury Academic × Cyber Aesthetic
   ============================================================ */


/* ---- CSS Variables ---- */
:root {
  --gold:        #c89b3c;
  --gold-light:  #e0b96c;
  --gold-dark:   #a07830;
  --brown-dark:  #5a2e12;
  --brown-mid:   #7a3f1a;
  --cream:       #f3e6d3;
  --cream-dark:  #e8d4b8;
  --white:       #ffffff;
  --text-dark:   #2a1505;
  --text-mid:    #5a3a1a;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Poppins', sans-serif;
  --transition:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-gold: 0 4px 30px rgba(200,155,60,0.3);
  --shadow-deep: 0 20px 60px rgba(90,46,18,0.3);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Lenis smooth scroll fix */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--brown-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { font-size: clamp(0.9rem, 1.2vw, 1.05rem); }
a  { text-decoration: none; color: inherit; transition: color 0.3s; }

/* ---- Utility ---- */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.text-gold       { color: var(--gold); }
.text-center     { text-align: center; }
.hidden          { opacity: 0; transform: translateY(40px); }
.visible         { opacity: 1; transform: translateY(0); transition: opacity 0.8s var(--transition), transform 0.8s var(--transition); }

/* ---- Batik Divider ---- */
.batik-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 0.5rem auto 2.5rem;
}
.batik-divider::before,
.batik-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(10deg, transparent, var(--gold), transparent);
  max-width: 200px;
}
.batik-divider-icon {
  width: 40px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cellipse cx='40' cy='20' rx='38' ry='18' fill='none' stroke='%23c89b3c' stroke-width='2'/%3E%3Cellipse cx='40' cy='20' rx='20' ry='10' fill='none' stroke='%23c89b3c' stroke-width='1'/%3E%3Ccircle cx='40' cy='20' r='4' fill='%23c89b3c'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Section Title ---- */
.section-title    { font-family: var(--font-head); color: var(--brown-dark); margin-bottom: 0.55rem; }
.section-subtitle { color: var(--text-mid); font-size: 1rem; margin-bottom: 0; }

/* ============================================================
   NAVBAR — Batik Gold Theme
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;  /* ✅ FIX: right: 0 (was right: ;) */
  padding: 0.7rem 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c89b3c' stroke-opacity='0.07' stroke-width='0.8'%3E%3Cpath d='M0 15 Q15 0 30 15 Q45 30 60 15'/%3E%3Cpath d='M0 15 Q15 30 30 15 Q45 0 60 15'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(1deg, #fff38c 0%, var(--brown-dark) 1%, #5f280c 10%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 1px 0 rgba(200,155,60,0.3);
  transition: all 0.4s var(--transition);
}

#navbar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 1;
}

#navbar .container { position: relative; z-index: 1; }

#navbar.scrolled {
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c89b3c' stroke-opacity='0.07' stroke-width='0.8'%3E%3Cpath d='M0 15 Q15 0 30 15 Q45 30 60 15'/%3E%3Cpath d='M0 15 Q15 30 30 15 Q45 0 60 15'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #250c03 0%, #eca01d 50%, #2a0e04 100%);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(200,155,60,0.4);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo          { display: flex; align-items: center; gap: 2.25rem; }
.nav-logo img      { height: 64px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); } /* ✅ FIX: width:auto (was width:120) */
.nav-logo-text     { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold); font-weight: 700; letter-spacing: 0.02em; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.nav-logo-sub      { font-size: 0.57rem; color: var(--gold-light); font-family: var(--font-body); display: block; line-height: 1; opacity: 0.85; letter-spacing: 0.04em; }

.nav-menu          { display: flex; align-items: center; list-style: none; gap: 0.11rem; }
.nav-menu > li     { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.75rem;     /* ✅ dikurangi agar semua item muat */
  font-size: 0.78rem;          /* ✅ dikurangi sedikit */
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;         /* ✅ cegah "Call for Papers" wrap/terpotong */
  color: var(--gold); border-radius: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: color 0.25s, background 0.25s, text-shadow 0.25s;
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute; bottom: 4px; left: 0.75rem; right: 0.75rem;
  height: 1px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--transition);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }

.nav-menu > li > a:hover {
  color: var(--gold-light);
  background: rgba(200,155,60,0.12);
  text-shadow: 0 0 12px rgba(200,155,60,0.6);
}

.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c89b3c' stroke-opacity='0.07' stroke-width='0.8'%3E%3Cpath d='M0 15 Q15 0 30 15 Q45 30 60 15'/%3E%3Cpath d='M0 15 Q15 30 30 15 Q45 0 60 15'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #3d1a08, #2a0e04);
  border: 1px solid rgba(200,155,60,0.4);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden; z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; animation: dropDown 0.25s var(--transition); }
@keyframes dropDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu a {
  display: block; padding: 0.7rem 1.2rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(200,155,60,0.12);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: rgba(200,155,60,0.15); color: var(--white); padding-left: 1.6rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; border-radius: 2px; }

/* ============================================================
   HERO SECTION
   ✅ FIX: overflow: hidden → overflow: visible
   agar cloud-stage bisa melampaui batas bawah hero
   ============================================================ */
#hero {
  position: relative; height: 90vh; min-height: 700px;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
}

.parallax-layer {
  position: absolute; inset: -15%; width: 130%; height: 130%;
  will-change: transform;
}
.layer-bg {
  background-image: url('../assets/images/Jakarta-Hero.webp');
  background-size: cover; background-position: center;
  z-index: 1;
}
.layer-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(90,46,18,0.15) 0%,
    rgba(90,46,18,0.30) 50%,
    rgba(90,46,18,0.70) 100%
  );
}
.layer-batik-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 243; height: 140px;
  background: linear-gradient(to top, var(--white-brown), transparent);
}

.hero-content {
  position: relative; z-index: 26; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

/* ---- Hero Wayang — Cyber Glitch FX ---- */
.hero-wayang-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-wayang {
  width: clamp(120px, 15vw, 200px);
  display: block;
  position: relative; z-index: 2;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
  animation:
    glitchMain  7s  infinite,
    glitchFloat 5s  ease-in-out infinite,
    glitchScan  4s infinite,
    glitchPulse 2s  ease-in-out infinite;
}

@keyframes glitchMain {
  10%,  78%, 100% {
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    transform: translate(0) skewX(0);
  }
  79% {
    filter: drop-shadow(-4px 0 0 #ff0080) drop-shadow(4px 0 0 #00ffff) drop-shadow(0 0 15px #00ff41);
    transform: translate(-3px, 1px) skewX(-3deg);
  }
  79.5% {
    filter: drop-shadow(4px 0 0 #ff0080) drop-shadow(-4px 0 0 #00ffff);
    transform: translate(3px, -2px) skewX(3deg);
  }
  80% {
    filter: drop-shadow(-2px 0 0 #00ff41) drop-shadow(2px 0 0 #ff0080);
    transform: translate(-1px, 0) skewX(-1deg);
  }
  80.5% { filter: none; transform: translate(0); }
  81% {
    filter: drop-shadow(-6px 0 0 #ff0080) drop-shadow(6px 0 0 #00ffff) drop-shadow(0 0 25px rgba(0,255,65,0.8));
    transform: translate(4px, -2px) skewX(5deg) scaleX(1.03);
  }
  81.3% {
    filter: drop-shadow(6px 0 0 #ff0080) drop-shadow(-6px 0 0 #00ff41);
    transform: translate(-4px, 2px) skewX(-5deg);
  }
  81.6% {
    filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 40px rgba(0,255,255,0.4));
    transform: translate(0) scale(1.04);
  }
  82% { filter: none; transform: translate(0) scale(1); }
  83% {
    filter: drop-shadow(-3px 2px 0 #ff0080) drop-shadow(3px -2px 0 #00ffff);
    transform: translate(2px, 3px) skewY(2deg);
  }
  83.4% {
    filter: drop-shadow(3px 0 0 #00ff41) drop-shadow(-3px 0 0 #ff0080) brightness(1.5);
    transform: translate(-2px, 0) scaleY(1.02);
  }
  84% { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); transform: translate(0); }
}

@keyframes glitchFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes glitchScan {
  0%, 55%, 100% { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
  46%   { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)) drop-shadow(0 0 2px #00ff41) brightness(1.1); }
  46.5% { filter: drop-shadow(0 0 30px rgba(0,255,65,0.6)) brightness(1.3); }
  47%   { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
}

@keyframes glitchPulse {
  0%, 100% {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5))
            drop-shadow(0 0 8px rgba(0,255,255,0.15));
  }
  50% {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5))
            drop-shadow(0 0 20px rgba(0,255,255,0.35))
            drop-shadow(0 0 40px rgba(0,255,65,0.15));
  }
}

.hero-wayang-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,255,255,0.03) 3px,
    rgba(0,255,255,0.03) 4px
  );
  border-radius: 4px;
  animation: scanlineMove 3s linear infinite;
}
@keyframes scanlineMove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

.hero-wayang-wrap::after {
  content: '';
  position: absolute; left: 0; right: 0; z-index: 4;
  height: 4px;
  background: linear-gradient(90deg, transparent 20%, #00ffff 40%, #ff0080 60%, transparent 80%);
  opacity: 0; pointer-events: none;
  animation: glitchBar 8s infinite;
}
@keyframes glitchBar {
  0%, 78%, 84%, 100% { opacity: 0; top: 0; }
  79%   { opacity: 0.7; top: 30%; height: 2px; }
  79.5% { opacity: 0.5; top: 60%; height: 3px; }
  80%   { opacity: 0.8; top: 45%; height: 2px; background: linear-gradient(90deg, transparent, #00ff41, transparent); }
  81%   { opacity: 0.6; top: 20%; height: 4px; }
  82%   { opacity: 0; }
  83%   { opacity: 0.9; top: 70%; height: 2px; background: linear-gradient(90deg, transparent, #ff0080, transparent); }
  83.5% { opacity: 0; }
}

@keyframes wayangFloat {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  35%       { transform: translateX(12px) rotate(1deg); }
  85%       { transform: translateX(-12px) rotate(-1deg); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,155,60,0.15); border: 1px solid rgba(200,155,60,0.5);
  padding: 0.4rem 1.2rem; border-radius: 50px;
  font-size: 0.81rem; color: var(--gold-light); letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 2.11rem; backdrop-filter: blur(38px); /* ✅ FIX: hapus spasi di "2.11 rem" */
}
.hero-badge::before, .hero-badge::after { content: '◆'; font-size: 0.5rem; }

.hero-title {
  font-family: var(--font-head); font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--gold); font-weight: 900; line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5); letter-spacing: 0.02em;
}
.hero-subtitle {
  font-family: var(--font-head); font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: var(--cream); font-style: italic; font-weight: 400;
  margin: 0.5rem 0 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 600px;
}
.hero-meta {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-meta-item { display: flex; align-items: center; gap: 0.5rem; color: var(--cream-dark); font-size: 0.95rem; }
.hero-meta-item .icon { color: var(--gold); font-size: 1rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: var(--gold-light); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.scroll-indicator .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BATIK BETAWI ORNAMENTS
   ============================================================ */
.batik-ornament {
  position: absolute;
  bottom: 80px;
  z-index: 8;
  width: clamp(120px, 14vw, 200px);
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity   1s  ease;
}
.batik-ornament img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  animation: batikIdle 6s ease-in-out infinite;
}

.batik-left  { left: 7%;  transform: translateX(-330px); opacity: 0; }
.batik-right { right: 7%; transform: translateX(330px);  opacity: 0; }

.batik-ornament.visible { transform: translateX(0); opacity: 2; }

.batik-left.hiding  { transform: translateX(-330px); opacity: 0; }
.batik-right.hiding { transform: translateX(330px);  opacity: 0; }

@keyframes batikIdle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  30%       { transform: translateY(-8px) rotate(2.5deg); }
  75%       { transform: translateY(-4px) rotate(-1.5deg); }
}
.batik-right img { animation-delay: 0.3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 4px; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.3s var(--transition); cursor: pointer; border: none;
  font-family: var(--font-body);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); box-shadow: 0 4px 20px rgba(200,155,60,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,155,60,0.5); color: var(--white); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--brown-dark); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

/* Become a Host button */
.btn-host {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--brown-dark);
  color: var(--cream) !important;
  border: 1px solid rgba(200,155,60,0.4);
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.3s; cursor: pointer;
}
.btn-host:hover {
  background: rgba(200,155,60,0.15);
  border-color: var(--gold);
  color: var(--gold) !important;
  transform: translateY(-2px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3d1a08 100%);
  position: relative; overflow: hidden;
}
#about::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c89b3c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.about-text .section-title    { color: var(--gold); }
.about-text .section-subtitle { color: var(--cream-dark); }
.about-text p { color: var(--cream); margin-bottom: 1.2rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.stat-box {
  text-align: center; padding: 1.5rem;
  background: rgba(200,155,60,0.1); border: 1px solid rgba(200,155,60,0.3); border-radius: 8px;
}
.stat-number { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); font-weight: 700; line-height: 1; }
.stat-label  { font-size: 0.78rem; color: var(--cream-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.about-wayang-wrap { position: relative; display: inline-block; }
.about-wayang {
  width: min(300px, 80%);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
  animation: wayangFloat 5s ease-in-out infinite;
}
.about-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,155,60,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   TOPICS SECTION
   ============================================================ */
#topics { background: var(--cream); }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.topic-card {
  background: var(--white); border: 1px solid rgba(200,155,60,0.2);
  border-radius: 12px; padding: 2rem;
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s;
  position: relative; overflow: hidden;
}
.topic-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); border-color: rgba(200,155,60,0.4); }
.topic-card:hover::before { transform: scaleX(1); }
.topic-icon   { font-size: 2.2rem; margin-bottom: 1rem; }
.topic-card h4 { font-family: var(--font-head); color: var(--brown-dark); margin-bottom: 1rem; }
.topic-list { list-style: none; }
.topic-list li {
  font-size: 0.88rem; color: var(--text-mid);
  padding: 0.35rem 0; border-bottom: 1px dashed rgba(200,155,60,0.2);
  display: flex; align-items: center; gap: 0.5rem;
}
.topic-list li::before  { content: '▸'; color: var(--gold); font-size: 0.7rem; }
.topic-list li:last-child { border-bottom: none; }

/* ============================================================
   SPEAKERS SECTION
   ============================================================ */
#speakers {
  background: linear-gradient(180deg, var(--brown-dark) 0%, #2a1505 100%);
  position: relative; overflow: hidden;
}
#speakers::after {
  content: 'SPEAKERS';
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-head); font-size: 8rem; font-weight: 900;
  color: rgba(200,155,60,0.04); letter-spacing: 0.2em; white-space: nowrap; pointer-events: none;
}
#speakers .section-title    { color: var(--gold); }
#speakers .section-subtitle { color: var(--cream-dark); }
.speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.speaker-card {
  text-align: center; padding: 2rem 1.5rem;
  background: rgba(200,155,60,0.07); border: 1px solid rgba(200,155,60,0.2);
  border-radius: 12px; transition: all 0.3s var(--transition);
}
.speaker-card:hover { background: rgba(200,155,60,0.12); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.speaker-avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.2rem;
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-dark), var(--brown-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--gold-light); overflow: hidden;
}
.speaker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker-card h4     { color: var(--gold-light); font-family: var(--font-head); margin-bottom: 0.3rem; }
.speaker-country     { font-size: 0.82rem; color: var(--cream-dark); margin-bottom: 0.5rem; }
.speaker-topic       { font-size: 0.8rem; color: var(--gold); font-style: italic; }
.speaker-tba         { opacity: 0.6; }

/* ============================================================
   IMPORTANT DATES
   ============================================================ */
#dates { background: var(--cream); }
.timeline { position: relative; max-width: 800px; margin: 3rem auto 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; align-items: center; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1; background: var(--white); border: 1px solid rgba(200,155,60,0.25);
  border-radius: 10px; padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(90,46,18,0.1); transition: all 0.3s;
}
.timeline-content:hover { border-color: var(--gold); transform: scale(1.02); }
.timeline-date  { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.timeline-label { font-size: 0.85rem; color: var(--text-mid); margin-top: 0.3rem; }
.timeline-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold); flex-shrink: 0;
}
.timeline-spacer { flex: 1; }

/* ============================================================
   CALL FOR PAPERS
   ============================================================ */
#cfp {
  background: linear-gradient(135deg, #3d1a08 0%, var(--brown-dark) 100%);
  position: relative; overflow: hidden;
}
.cfp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.cfp-text .section-title { color: var(--gold); }
.cfp-text p { color: var(--cream); margin-bottom: 1.5rem; line-height: 1.8; }
.cfp-info-box {
  background: rgba(200,155,60,0.1); border: 1px solid rgba(200,155,60,0.3);
  border-radius: 10px; padding: 2rem;
}
.cfp-info-box h4 { color: var(--gold); font-family: var(--font-head); margin-bottom: 1rem; }
.cfp-info-box p  { color: var(--cream-dark); font-size: 0.9rem; }
.cfp-info-item   { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.cfp-info-item .label { color: var(--gold); font-weight: 600; font-size: 0.85rem; min-width: 120px; text-transform: uppercase; letter-spacing: 0.05em; }
.cfp-info-item .value { color: var(--cream); font-size: 0.9rem; }

/* ============================================================
   COMMITTEES PREVIEW
   ============================================================ */
#committees-preview { background: var(--cream-dark); }
.committee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.committee-card {
  background: var(--white); border: 1px solid rgba(200,155,60,0.2);
  border-radius: 10px; padding: 1.8rem; text-align: center;
  transition: all 0.3s var(--transition);
}
.committee-card:hover { box-shadow: var(--shadow-deep); transform: translateY(-4px); border-color: var(--gold); }
.committee-card .role { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.committee-card h4    { font-family: var(--font-head); color: var(--brown-dark); font-size: 1.05rem; margin-bottom: 0.3rem; }
.committee-card .country { font-size: 0.85rem; color: var(--text-mid); }
.committee-avatar {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--brown-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; border: 2px solid var(--gold);
}

/* ============================================================
   SPONSORS SECTION
   ============================================================ */
#sponsors-preview { background: var(--white); }
.sponsor-tiers { margin-top: 3rem; }
.sponsor-tier  { margin-bottom: 2.5rem; }
.sponsor-tier-label {
  text-align: center; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--gold); font-weight: 600;
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.sponsor-tier-label::before,
.sponsor-tier-label::after { content: ''; flex: 1; height: 1px; background: rgba(200,155,60,0.3); }
.sponsor-logos { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; }
.sponsor-logo-placeholder {
  padding: 1rem 2rem; border: 1px dashed rgba(200,155,60,0.4); border-radius: 8px;
  color: var(--text-mid); font-size: 0.85rem; font-style: italic;
  background: rgba(200,155,60,0.05); min-width: 120px; text-align: center; transition: all 0.3s;
}
.sponsor-logo-placeholder:hover { border-color: var(--gold); color: var(--gold); }

/* MODAL PREMIUM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-box h3 {
  margin-bottom: 1rem;
  color: #333;
}

.modal-box p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.modal-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-cancel, .btn-confirm {
  flex: 1;
  padding: 0.6rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
}

.btn-cancel {
  background: #ccc;
}

.btn-confirm {
  background: var(--gold);
  color: white;
  opacity: 0.5;
}

.btn-confirm.enabled {
  opacity: 1;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* HOST TIER */
.host-tier {
  border: 1px solid rgba(200,155,60,0.35);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 0.5rem;
  background: rgba(200,155,60,0.04);
  margin-bottom: 2.5rem;
}
.cohost-tier { margin-bottom: 2.5rem; }
.cohost-placeholder {
  border: 1px dashed rgba(200,155,60,0.35) !important;
  color: rgba(200,155,60,0.55) !important;
  font-size: 0.82rem; font-style: italic;
}

/* LOGO CARD */
.sponsor-logo-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.25rem 2.5rem;
  background: var(--white);
  border: 1px dashed rgba(200,155,60,0.4);
  border-radius: 8px;
  transition: all 0.3s;
}
.sponsor-logo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200,155,60,0.12);
  transform: translateY(-2px);
}
.host-logo-card { padding: 0.5rem 1.5rem; }

.sponsor-logo-img { max-width: 145px; max-height: 175px; object-fit: contain; display: block; }
.host-logo-img   { max-width: 145px; max-height: 175px; }

.sponsor-logo-name {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--text-mid); text-align: center;
}

/* ============================================================
   VENUE PREVIEW
   ============================================================ */
#venue-preview {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #1a0a02 100%);
  position: relative; overflow: hidden;
}
.venue-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.venue-text .section-title { color: var(--gold); }
.venue-text p { color: var(--cream); line-height: 1.8; margin-bottom: 1rem; }
.venue-map-wrap {
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(200,155,60,0.3);
  box-shadow: var(--shadow-deep);
  height: 300px; background: rgba(200,155,60,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-dark); font-style: italic;
}
.venue-map-wrap iframe { width: 100%; height: 100%; border: none; }
.venue-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.venue-feature  { display: flex; align-items: center; gap: 0.75rem; color: var(--cream-dark); font-size: 0.9rem; }
.venue-feature .icon { color: var(--gold); font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #1a0a02; border-top: 1px solid rgba(200,155,60,0.2); }
.footer-top  { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-text { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.footer-desc  { color: var(--cream-dark); font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-heading { font-family: var(--font-head); color: var(--gold); font-size: 1.1rem; margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--cream-dark); font-size: 0.88rem; transition: color 0.3s;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  color: var(--cream-dark); font-size: 0.88rem; margin-bottom: 0.6rem;
  display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(200,155,60,0.1);
  padding: 1.5rem 0; text-align: center;
  color: var(--cream-dark); font-size: 0.82rem;
}
.footer-bottom a { color: var(--gold); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #1a0a02 100%);
  padding: 8rem 0 4rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c89b3c' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 12; }
.page-hero h1 { color: var(--gold); margin-bottom: 0.75rem; }
.page-hero p  { color: var(--cream-dark); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  margin-top: 1rem; font-size: 0.85rem; color: var(--cream-dark);
}
.breadcrumb a   { color: var(--gold); }
.breadcrumb .sep { color: rgba(200,155,60,0.5); }

/* ============================================================
   REGISTRATION TABLE
   ============================================================ */
.reg-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.reg-table th, .reg-table td { padding: 1rem 1.5rem; text-align: center; border: 1px solid rgba(200,155,60,0.2); }
.reg-table th { background: var(--brown-dark); color: var(--gold); font-family: var(--font-head); font-size: 0.9rem; }
.reg-table tr:nth-child(even) { background: rgba(200,155,60,0.05); }
.reg-table .early         { color: #2a9d2a; font-weight: 600; }
.reg-table .highlight-col { background: rgba(200,155,60,0.1) !important; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.price-card {
  background: var(--white); border: 2px solid rgba(200,155,60,0.2);
  border-radius: 14px; padding: 2.5rem 2rem; text-align: center;
  transition: all 0.3s var(--transition); position: relative; overflow: hidden;
}
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.price-card.featured::before {
  content: 'BEST VALUE'; position: absolute; top: 1rem; right: -1.5rem;
  transform: rotate(45deg); background: var(--gold); color: white;
  font-size: 0.7rem; font-weight: 700; padding: 0.3rem 2rem; letter-spacing: 0.1em;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.price-badge    { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.price-card h3  { font-family: var(--font-head); color: var(--brown-dark); margin-bottom: 1rem; }
.price-amount   { font-size: 2.5rem; font-weight: 700; color: var(--brown-dark); font-family: var(--font-head); }
.price-currency { font-size: 1rem; vertical-align: super; }
.price-period   { font-size: 0.8rem; color: var(--text-mid); }
.price-features { list-style: none; margin: 1.5rem 0; text-align: left; }
.price-features li {
  font-size: 0.88rem; color: var(--text-mid); padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(200,155,60,0.2);
  display: flex; align-items: center; gap: 0.75rem;
}
.price-features li::before   { content: '✓'; color: var(--gold); font-weight: 700; }
.price-features li:last-child { border-bottom: none; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--brown-dark); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.9rem 1.2rem;
  border: 1.5px solid rgba(200,155,60,0.3); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem;
  background: var(--white); color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,155,60,0.15); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.gallery-item {
  border-radius: 8px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; position: relative;
  background: linear-gradient(135deg, var(--brown-mid), var(--brown-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-style: italic; font-size: 0.85rem;
  border: 1px solid rgba(200,155,60,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-gold); }
.gallery-item.tall  { grid-row: span 2; aspect-ratio: auto; min-height: 300px; }

/* ============================================================
   PROGRAM / AGENDA
   ============================================================ */
.agenda-tabs { display: flex; gap: 0; margin-bottom: 2rem; border-bottom: 2px solid rgba(200,155,60,0.2); }
.agenda-tab {
  padding: 1rem 2rem; cursor: pointer; font-weight: 600; font-size: 0.9rem;
  color: var(--text-mid); border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 0.3s;
}
.agenda-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.agenda-content        { display: none; }
.agenda-content.active { display: block; }
.agenda-item {
  display: flex; gap: 1.5rem; margin-bottom: 1rem;
  background: var(--white); border: 1px solid rgba(200,155,60,0.15);
  border-radius: 8px; padding: 1.2rem 1.5rem; transition: all 0.3s;
}
.agenda-item:hover      { border-color: var(--gold); box-shadow: 0 4px 15px rgba(90,46,18,0.1); }
.agenda-time            { min-width: 130px; font-weight: 600; color: var(--gold); font-size: 0.88rem; }
.agenda-detail h4       { color: var(--brown-dark); font-family: var(--font-head); font-size: 1rem; margin-bottom: 0.3rem; }
.agenda-detail p        { font-size: 0.85rem; color: var(--text-mid); }
.agenda-item.keynote    { border-left: 3px solid var(--gold); }
.agenda-item.break      { background: rgba(200,155,60,0.05); }

/* ============================================================
   PREVIOUS EVENTS
   ============================================================ */
.prev-events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.prev-event-card {
  background: var(--white); border: 1px solid rgba(200,155,60,0.2);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(90,46,18,0.08); transition: all 0.3s;
}
.prev-event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.prev-event-header {
  background: linear-gradient(135deg, var(--brown-dark), #3d1a08);
  padding: 2rem; position: relative; overflow: hidden;
}
.prev-event-header::before {
  content: attr(data-year);
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 5rem; font-weight: 900;
  color: rgba(200,155,60,0.1); line-height: 1;
}
.prev-event-header h3 { color: var(--gold); font-family: var(--font-head); margin-bottom: 0.3rem; }
.prev-event-header p  { color: var(--cream-dark); font-size: 0.9rem; }
.prev-event-body { padding: 2rem; }
.prev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prev-stat .number { font-family: var(--font-head); font-size: 2rem; color: var(--gold); font-weight: 700; line-height: 1; }
.prev-stat .label  { font-size: 0.78rem; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .topics-grid   { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    /* ✅ batik pattern di mobile menu */
    background:
      url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c89b3c' stroke-opacity='0.08' stroke-width='0.8'%3E%3Cpath d='M0 15 Q15 0 30 15 Q45 30 60 15'/%3E%3Cpath d='M0 15 Q15 30 30 15 Q45 0 60 15'/%3E%3C/g%3E%3C/svg%3E"),
      linear-gradient(160deg, #2a1505 0%, #3d1a08 30%, #5a2e12 55%, #3d1a08 80%, #1a0a02 100%);
    flex-direction: column;
    align-items: center; justify-content: center; gap: 1.45rem; z-index: 999;
  }
  .nav-menu.open          { display: flex; animation: mobileMenuIn 0.3s var(--transition); }
  @keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-menu > li > a      { font-size: 1.1rem !important; color: var(--gold) !important; font-weight: 700; white-space: nowrap; }
  .nav-toggle             { display: flex; z-index: 1001; }
  .dropdown-menu          { position: static; background: transparent; border: none; box-shadow: none; display: none !important; }

  .about-grid, .cfp-inner, .venue-inner,
  .prev-events-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .topics-grid            { grid-template-columns: repeat(2, 1fr); }
  .committee-grid         { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid          { grid-template-columns: 1fr 1fr; }
  .price-cards            { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .gallery-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-grid            { grid-template-columns: 1fr; gap: 2rem; }

  .timeline::before       { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; padding-left: 3rem; }
  .timeline-dot           { position: absolute; left: 10px; }
  .timeline-item          { position: relative; }
  .timeline-spacer        { display: none; }

  .form-row               { grid-template-columns: 1fr; }
  .about-stats            { grid-template-columns: repeat(3, 1fr); }

  .batik-ornament         { display: none; }
}

@media (max-width: 480px) {
  .topics-grid,
  .committee-grid,
  .speakers-grid  { grid-template-columns: 1fr; }
  .hero-title     { font-size: 2.5rem; }
  .about-stats    { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   GOLD CLOUD FX
   ✅ FINAL FIX: position:fixed + JS scroll-hide
   Cloud mengambang di atas border hero/about,
   menghilang smooth saat user scroll ke section About
   ============================================================ */

/* Stage: fixed di viewport, selalu di atas semua section */
.cloud-stage {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300%;
  height: 200px;
  pointer-events: none;
  overflow: visible;
  z-index: 99;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* JS akan tambahkan class ini saat hero sudah ter-scroll */
.cloud-stage.cloud-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

/* Individual cloud wrapper */
.cloud-wrap {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   1.4s ease;
}

/* SVG cloud shape */
.cloud-wrap svg.cloud-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(160,116,40,0.50))
          drop-shadow(0 3px 8px  rgba(90,50,8,0.35));
}

/* ---- Idle bob animations ---- */
.cloud-wrap:nth-child(1)  svg { animation: cloudBob 4.2s ease-in-out infinite 0.01s; }
.cloud-wrap:nth-child(2)  svg { animation: cloudBob 5.0s ease-in-out infinite 0.07s; }
.cloud-wrap:nth-child(3)  svg { animation: cloudBob 3.9s ease-in-out infinite 1.3s; }
.cloud-wrap:nth-child(4)  svg { animation: cloudBob 4.7s ease-in-out infinite 0.4s; }
.cloud-wrap:nth-child(5)  svg { animation: cloudBob 5.3s ease-in-out infinite 1.0s; }
.cloud-wrap:nth-child(6)  svg { animation: cloudBob 4.1s ease-in-out infinite 1.6s; }
.cloud-wrap:nth-child(7)  svg { animation: cloudBob 3.7s ease-in-out infinite 0.2s; }
.cloud-wrap:nth-child(8)  svg { animation: cloudBob 5.1s ease-in-out infinite 1.9s; }
.cloud-wrap:nth-child(9)  svg { animation: cloudBob 4.5s ease-in-out infinite 0.9s; }
.cloud-wrap:nth-child(10) svg { animation: cloudBob 4.9s ease-in-out infinite 0.5s; }
.cloud-wrap:nth-child(11) svg { animation: cloudBob 5.5s ease-in-out infinite 1.2s; }
.cloud-wrap:nth-child(12) svg { animation: cloudBob 4.3s ease-in-out infinite 0.6s; }

@keyframes cloudBob {
  0%, 100% { transform: translateY(0px)  rotate(0deg); }
  40%       { transform: translateY(-15px) rotate(0.8deg); }
  70%       { transform: translateY(-8px) rotate(-0.7deg); }
}

/* Shimmer on odd clouds */
.cloud-wrap:nth-child(odd) svg {
  animation-name: cloudBob, cloudShimmer;
  animation-duration: 1,5,3.5s, 4.5s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

@keyframes cloudShimmer {
  0%, 100% {
    filter: drop-shadow(0 8px 20px rgba(160,116,40,0.50))
            drop-shadow(0 3px 8px  rgba(90,50,18,0.35)); /* ✅ FIX: opacity 2.35 → 0.35 */
  }
  50% {
    filter: drop-shadow(0 8px 26px rgba(240,200,74,0.70))
            drop-shadow(0 3px 12px rgba(200,165,70,0.55));
  }
}

@media (max-width: 850px) {
  .cloud-stage { height: 30px; }
}

/* ============================================================
   GPU ACCELERATION
   ============================================================ */
.hero-wayang,
.layer-bg,
.cloud-wrap {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

/* ---- Cloud Stage (ID override) ---- */
#cloudStage {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 5;
}

/* ---- Particle Canvas ---- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   DARK BATIK THEME OVERRIDE — match index.html
   Appended last so it wins the cascade. Flips the light theme
   used by secondary pages into the same dark/gold/cream look.
   ============================================================ */
:root {
  --gold:       #ecb848;
  --gold-light: #f7d172;
  --gold-dark:  #caa14a;
  --brown-dark: #2c1200;   /* kept dark: used in navbar/hero gradients, scrollbar */
  --brown-mid:  #5a2a08;
  --cream:      #3f1b01;    /* role flipped: now the dark page background */
  --cream-dark: #341500;
  --white:      rgba(58,21,0,.88); /* role flipped: now the glass card surface */
  --text-dark:  #ffe3ae;    /* role flipped: now the primary light text */
  --text-mid:   #c8a87a;    /* role flipped: now the secondary light text */
  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', ui-sans-serif, system-ui, sans-serif;
}
body { background-color: var(--cream); color: var(--text-dark); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,50,0,.4) 1px, transparent 1px),
    repeating-linear-gradient(45deg, transparent 0 32px, rgba(238,188,80,.06) 32px 33px, transparent 33px 64px);
  background-size: 60px 60px, 60px 60px, 200px 200px;
}
::-webkit-scrollbar-track { background: #2c1200; }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* Headings & labels readable on dark */
.section-title { color: var(--gold-light); }
.section-label { color: var(--gold); }
.form-group label { color: var(--text-mid); }

/* Inputs on dark */
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(0,0,0,.25); color: var(--text-dark);
  border-color: rgba(236,184,72,.35);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(200,168,122,.6); }

/* Buttons: gold buttons keep dark text */
.btn-gold,
.btn-gold:hover { color: #3f1b01 !important; }
.btn-outline:hover { color: #3f1b01 !important; }
.btn-white { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #3f1b01; }
.btn-white:hover { background: var(--gold-light); }
.btn-host { color: var(--gold-light) !important; }
.dropdown-menu a:hover { color: var(--gold-light) !important; }

/* Text blocks that previously used the (now-dark) cream token */
.hero-subtitle,
.about-text p,
.cfp-text p,
.cfp-info-item .value,
.venue-text p { color: #ffe3ae; }

/* Generic card surfaces flipped to glass; soften any pure-white inline boxes */
.glass-card { background: rgba(58,21,0,.85); border: 1px solid rgba(247,193,15,.4); }


/* ============================================================
   FINAL CONTRAST FIX - ICCybIS
   Improve readability on dark theme cards
   ============================================================ */
.topic-card h4,
.price-card h3,
.price-amount {
  color: var(--gold-light) !important;
}

.topic-list li,
.price-features li,
.price-period {
  color: #ffe3ae !important;
}

.topic-card,
.price-card {
  color: #ffe3ae;
}
