/* =========================================
   PORTFOLIO — style.css (FULLY FIXED)
   Hero: teks kiri, foto kanan (2 kolom)
   + Birthday mode styles (12 Juli)
   ========================================= */

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --cream:        #faf7f2;
  --white:        #ffffff;
  --rose:         #c47c73;
  --rose-light:   #dda89f;
  --rose-pale:    #f2e4e1;
  --brown:        #5c3d30;
  --brown-mid:    #8a5e4e;
  --text:         #2a1a14;
  --text-muted:   #7a5a50;
  --border:       rgba(196,124,115,0.18);
  --shadow-sm:    0 2px 12px rgba(92,61,48,0.08);
  --shadow-md:    0 6px 28px rgba(92,61,48,0.12);
  --shadow-lg:    0 16px 48px rgba(92,61,48,0.16);
  --nav-h:        68px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  background: rgba(250,247,242,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

#navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.nav-logo span { color: var(--rose); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-active {
  color: var(--rose);
}
.nav-links a.nav-active::after {
  width: 100%;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rose);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--brown);
}

.section-title em {
  font-style: italic;
  color: var(--rose);
}

.section-header { margin-bottom: 56px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: var(--rose);
  color: #fff;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(196,124,115,0.35);
}

.btn-primary:hover {
  background: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(92,61,48,0.25);
}

.btn-ghost {
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid var(--rose-light);
  color: var(--brown-mid);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: var(--rose-pale);
  border-color: var(--rose);
  color: var(--rose);
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rose);
  transition: gap 0.2s;
}

.btn-see-all:hover { gap: 12px; }

.btn-see-all--light { color: var(--rose-light); }

/* =========================================
   HERO — TEKS KIRI, FOTO KANAN
   ========================================= */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(242,228,225,0.6) 0%, transparent 70%),
    var(--cream);
}

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-text { max-width: 520px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--brown);
  margin-bottom: 16px;
}

.hero-name em {
  font-style: italic;
  color: var(--rose);
  display: block;
}

.hero-role {
  font-size: 15px;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-blob-wrap {
  position: absolute;
  width: 380px;
  height: 420px;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-pale) 0%, var(--rose-light) 100%);
  animation: blobMorph 10s ease-in-out infinite;
  z-index: 2;
}

@keyframes blobMorph {
  0%,100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  33%      { border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%; }
  66%      { border-radius: 55% 45% 40% 60% / 40% 55% 45% 60%; }
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--rose);
}

.hero-photo-fallback svg {
  width: 64px;
  height: 64px;
  opacity: 0.45;
}

.hero-photo-fallback span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  opacity: 0.55;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--rose-light);
  z-index: 1;
  opacity: 0.4;
}

.hero-ring--outer {
  width: 460px;
  height: 460px;
  animation: spinRing 28s linear infinite;
  border-style: dashed;
}

.hero-ring--inner {
  width: 340px;
  height: 340px;
  animation: spinRing 18s linear infinite reverse;
}

@keyframes spinRing { to { transform: rotate(360deg); } }

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 20px;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

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

.hero-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.hero-badge-txt {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--rose-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.1); }
}

/* =========================================
   BIODATA
   ========================================= */
#biodata {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: start;
}

.bio-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

.bio-desc p + p { margin-top: 18px; }

.bio-desc strong { color: var(--brown); font-weight: 500; }

.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.bio-tags span {
  padding: 7px 16px;
  background: var(--rose-pale);
  border-radius: 20px;
  font-size: 13px;
  color: var(--brown-mid);
  font-weight: 400;
}

.bio-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.bio-card-header {
  padding: 18px 24px;
  background: var(--rose-pale);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--brown);
  border-bottom: 1px solid var(--border);
}

.bio-rows { display: flex; flex-direction: column; }

.bio-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--rose-pale);
  transition: background 0.2s;
}

.bio-row:last-child { border-bottom: none; }
.bio-row:hover { background: rgba(242,228,225,0.35); }

.bio-key {
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  border-right: 1px solid var(--rose-pale);
  display: flex;
  align-items: center;
}

.bio-val {
  padding: 13px 20px;
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
}

/* =========================================
   GALLERY PREVIEW & FULL PAGE
   ========================================= */
#gallery-preview,
#gallery {
  padding: 100px 0;
  background: var(--cream);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.g-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.35s;
  background: var(--rose-pale);
  aspect-ratio: 3 / 4;
}

.g-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.g-item:hover img { transform: scale(1.04); }

.g-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--rose-pale), rgba(221,168,159,0.4));
  color: var(--rose);
}

.g-item:not(.no-img) .g-placeholder { display: none; }
.g-item:not(.no-img) img { display: block; }
.g-item.no-img img { display: none; }
.g-item.no-img .g-placeholder { display: flex; }

.g-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.45;
}

.g-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  opacity: 0.6;
}

.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92,61,48,0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.g-item:hover .g-overlay { opacity: 1; }

.g-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: white;
  line-height: 1.2;
}

.g-item.hidden { display: none; }

/* =========================================
   MUSIC PLAYER
   ========================================= */
#music-preview,
#music {
  padding: 100px 0;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}

#music-preview::before,
#music::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(196,124,115,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(196,124,115,0.1) 0%, transparent 60%);
  pointer-events: none;
}

#music-preview .section-eyebrow,
#music .section-eyebrow { color: var(--rose-light); }
#music-preview .section-eyebrow::before,
#music .section-eyebrow::before { background: var(--rose-light); }
#music-preview .section-title,
#music .section-title { color: white; }
#music-preview .section-title em,
#music .section-title em { color: var(--rose-light); }

.music-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.player-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.player-disc {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #7a3f2e, #c47c73, #dda89f, #c47c73, #7a3f2e, #c47c73, #7a3f2e
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.player-disc.spinning { animation: rotateDisk 5s linear infinite; }
@keyframes rotateDisk { to { transform: rotate(360deg); } }

.disc-inner {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.disc-hole {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brown);
  border: 2px solid rgba(255,255,255,0.2);
  z-index: 2;
}

.player-meta { flex: 1; min-width: 0; }

.player-song {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.player-wave {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.player-wave.active { display: flex; }

.player-wave span {
  display: block;
  width: 3px;
  background: var(--rose-light);
  border-radius: 2px;
  animation: waveAnim 0.8s ease-in-out infinite;
}

.player-wave span:nth-child(2) { animation-delay: 0.12s; }
.player-wave span:nth-child(3) { animation-delay: 0.24s; }
.player-wave span:nth-child(4) { animation-delay: 0.36s; }
.player-wave span:nth-child(5) { animation-delay: 0.48s; }

@keyframes waveAnim {
  0%,100% { height: 5px; }
  50%      { height: 16px; }
}

.player-progress-wrap { margin-bottom: 24px; }

.player-progress {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 8px;
}

.player-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--rose-light));
  border-radius: 4px;
  transition: width 0.8s linear;
  pointer-events: none;
}

.player-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transition: left 0.8s linear, opacity 0.2s;
  pointer-events: none;
}

.player-progress:hover .player-thumb { opacity: 1; }

.player-times {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.pc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
  border-radius: 50%;
}

.pc-btn svg { width: 20px; height: 20px; }
.pc-btn:hover { color: white; transform: scale(1.12); }

.pc-btn.active { color: var(--rose-light); }

.pc-play {
  width: 58px;
  height: 58px;
  background: var(--rose);
  color: white !important;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(196,124,115,0.45);
  padding: 0;
}

.pc-play:hover { background: var(--rose-light); transform: scale(1.08) !important; }
.pc-play svg { width: 26px; height: 26px; }

.player-vol {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-vol svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }

.vol-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  outline: none;
}

.vol-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose-light);
  cursor: pointer;
}

.playlist-wrap { padding-top: 4px; }

.playlist-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: white;
  margin-bottom: 16px;
  opacity: 0.9;
}

.playlist-list { display: flex; flex-direction: column; gap: 2px; }

.pl-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.pl-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.pl-item.active {
  background: rgba(196,124,115,0.18);
  border-color: rgba(196,124,115,0.3);
}

.pl-num {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.pl-item.active .pl-num { color: var(--rose-light); }

.pl-info { min-width: 0; }

.pl-title {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.pl-item.active .pl-title { color: var(--rose-light); }

.pl-artist {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-dur {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--text);
  padding: 40px 64px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-socials a:hover { color: var(--rose-light); }

/* =========================================
   RESPONSIVE — HERO TETAP 2 KOLOM SAMPAI 700PX
   ========================================= */
@media (max-width: 1000px) {
  .hero-content {
    grid-template-columns: 1fr 400px;
    gap: 40px;
    text-align: left;
    padding: 40px 48px;
  }
  .hero-text { margin: 0; }
  .hero-btns { justify-content: flex-start; }
  .hero-visual { height: 400px; }
  .hero-blob-wrap { width: 280px; height: 320px; }
  .hero-ring--outer { width: 340px; height: 340px; }
  .hero-ring--inner { width: 240px; height: 240px; }
  .bio-layout { grid-template-columns: 1fr; gap: 48px; }
  #navbar { padding: 0 32px; }
  .container { padding: 0 32px; }
  footer { padding: 32px 32px; }
}

@media (max-width: 700px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 40px 24px;
  }
  .hero-btns { justify-content: center; }
  .hero-text { margin: 0 auto; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: -100%;
    width: 70%;
    height: calc(100vh - var(--nav-h));
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.05);
    z-index: 199;
  }
  .nav-links.open { left: 0; }
  .nav-burger { display: flex; }
  .hero-name { font-size: 42px; }
  .hero-role { font-size: 14px; }
  .hero-desc { font-size: 14px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .music-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================
   BIRTHDAY MODE — Aktif saat kelas .birthday-mode ada di <body>
   (dikontrol oleh birthday.js)
   ========================================= */

/* Badge berkedip warna emas */
body.birthday-mode .hero-badge {
  animation: birthdayGlow 0.8s ease-in-out infinite alternate !important;
  background: linear-gradient(135deg, var(--rose), #ffb347) !important;
}

body.birthday-mode .hero-badge-num {
  font-size: 32px;
}

body.birthday-mode .hero-badge-txt {
  letter-spacing: 0.2em;
  font-weight: bold;
}

@keyframes birthdayGlow {
  from { box-shadow: 0 0 5px #ffd700, 0 0 10px var(--rose-light); }
  to   { box-shadow: 0 0 25px #ffd700, 0 0 35px var(--rose); }
}

/* Efek teks hero role melompat */
body.birthday-mode .hero-role {
  animation: birthdayTextPop 0.5s ease-out;
  color: #ffd700 !important;
  font-weight: 500;
}

@keyframes birthdayTextPop {
  0%   { transform: scale(1); opacity: 0.8; }
  50%  { transform: scale(1.1); text-shadow: 0 0 8px #ffd700; }
  100% { transform: scale(1); opacity: 1; }
}

/* Efek nama sedikit bergetar bahagia */
body.birthday-mode .hero-name em {
  display: inline-block;
  animation: happyShake 0.4s ease-in-out 2;
}

@keyframes happyShake {
  0% { transform: translate(1px, -1px) rotate(0deg); }
  25% { transform: translate(-1px, 2px) rotate(1deg); }
  50% { transform: translate(-2px, 0px) rotate(-1deg); }
  75% { transform: translate(1px, 1px) rotate(0deg); }
  100% { transform: translate(0,0) rotate(0); }
}

/* Balon dekorasi (akan dibuat oleh JS, kita siapkan animasi) */
.birthday-balloon {
  position: absolute;
  bottom: -100px;
  pointer-events: none;
  z-index: 10;
  animation: balloonFloat 8s ease-in-out forwards;
}

@keyframes balloonFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.9;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) rotate(15deg);
    opacity: 0;
    display: none;
  }
}

/* Confetti/emoji jatuh (dari birthday.js) */
@keyframes birthdayFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
    display: none;
  }
   }
