/* ================================================
   MOCHAMAD RAZZAQ MUBARAK — Portfolio Stylesheet
   Theme: Cinematic Dark + Light Mode
   Accent: #00B4D8 (Cinematic Teal) | Fonts: Bebas Neue + Poppins
   ================================================ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --bg-primary:    #0A0A0A;
  --bg-secondary:  #111111;
  --bg-card:       #161616;
  --bg-card-hover: #1e1e1e;
  --accent:        #00B4D8;
  --accent-dark:   #0090ad;
  --accent-glow:   rgba(0, 180, 216, 0.25);
  --accent-subtle: rgba(0, 180, 216, 0.08);
  --text-primary:  #F0F0F0;
  --text-secondary:#A0A0A0;
  --text-dim:      #5a5a5a;
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(0,180,216,0.35);
  --gold:          #D4AF37;
  --silver:        #C0C0C0;
  --font-display:  'Bebas Neue', 'Archivo Black', sans-serif;
  --font-body:     'Poppins', sans-serif;
  --nav-h:         72px;
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;

  /* Theme transition — smooth switch */
  --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─── LIGHT MODE OVERRIDES ─── */
body.light-mode {
  --bg-primary:    #F7F6F2;
  --bg-secondary:  #EEECEA;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #F5F3EF;
  --accent:        #0095b3;          /* slightly darker teal for contrast on white */
  --accent-dark:   #007a94;
  --accent-glow:   rgba(0, 149, 179, 0.2);
  --accent-subtle: rgba(0, 149, 179, 0.07);
  --text-primary:  #0D0D0D;
  --text-secondary:#4A4A4A;
  --text-dim:      #9A9A9A;
  --border:        rgba(0,0,0,0.09);
  --border-accent: rgba(0,149,179,0.3);
  --gold:          #B8960A;
  --silver:        #888888;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }

/* ─── SELECTION ─── */
::selection { background: var(--accent); color: #fff; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
}

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; height: auto; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* ─── SECTION BASE ─── */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-eyebrow.light { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-title.small {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.logo-bracket { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text-primary); }

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent) !important;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta::after { display: none !important; }

/* Nav controls container (Theme & Lang buttons) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.8rem;
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: scale(1.05);
}

.theme-icon {
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover .theme-icon {
  transform: rotate(20deg) scale(1.1);
}

/* Language toggle button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.lang-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: inherit;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.lang-toggle.active-en {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.lang-icon { font-size: 0.8rem; position: relative; z-index: 1; }
.lang-text { position: relative; z-index: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-reel {
  background: #fff;
  color: #0A0A0A;
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-reel:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255,255,255,0.2), 0 0 40px rgba(230,57,70,0.4);
}

.btn-play-icon {
  font-size: 1rem;
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* ═══════════════════════════════════════════
   HERO SECTION — MODERN STUDIO EDITORIAL
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 20% 35%, rgba(230,57,70,0.1) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 85% 65%, rgba(230,57,70,0.06) 0%, transparent 55%),
              var(--bg-primary);
}

/* Film grain overlay */
.film-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  animation: grain 0.5s steps(2) infinite;
}

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

/* Film reel strips (decorative left/right edges) */
.film-reel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.reel-strip {
  position: absolute;
  top: 0; bottom: 0;
  width: 24px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 18px,
    rgba(255,255,255,0.025) 18px,
    rgba(255,255,255,0.025) 36px
  );
  border-right: 1px solid rgba(255,255,255,0.035);
}

.reel-left { left: 0; }
.reel-right { right: 0; border-right: none; border-left: 1px solid rgba(255,255,255,0.035); }

/* Hero flare */
.hero-flare {
  position: absolute;
  top: 20%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: flare-pulse 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes flare-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Particles */
.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--accent);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

/* Hero Container & Grid */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ── Left Column: Editorial Intro ── */
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Status Pill Badge */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #4ade80;
  margin-bottom: 1.6rem;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero Headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-title-accent {
  color: var(--accent);
  text-shadow: 0 0 50px rgba(230,57,70,0.35);
}

/* Role / Subtitle */
.hero-role-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  margin-bottom: 1.4rem;
}

.hero-role-tag {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.role-separator {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.hero-role-sub {
  color: var(--text-secondary);
  font-weight: 400;
  font-style: italic;
}

/* Lead text */
.hero-lead {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 560px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

/* Skill Chips */
.hero-skill-chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.skill-chip svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.skill-chip:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.skill-chip:hover svg {
  opacity: 1;
}

/* ── Right Column: Studio Monitor & Showreel Card ── */
.hero-showcase {
  position: relative;
  width: 100%;
}

.monitor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px var(--accent-subtle);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all var(--transition);
}

.monitor-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 28px 70px rgba(0,0,0,0.6), 0 0 40px var(--accent-glow);
}

/* Monitor Topbar */
.monitor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-family: monospace;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.1rem;
}

.monitor-rec {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #ef4444;
  font-weight: 700;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  animation: recBlink 1.2s infinite;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.monitor-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Monitor Screen Viewfinder — KEPT for backward compatibility (not used) */
.monitor-screen {
  display: none; /* replaced by .monitor-profile-card */
}

/* ── Monitor Profile Card (Hero Right Column) ── */
.monitor-profile-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(145deg, #13080c 0%, #0c0c10 100%);
  border: 1px solid rgba(192,40,47,0.22);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.monitor-profile-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(192,40,47,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mpc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mpc-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mpc-divider {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(255,255,255,0.2);
}

.mpc-role {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mpc-quote {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
  margin: 0;
  font-style: italic;
}

.mpc-expertise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mpc-expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}

.mpc-expertise-list li svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.mpc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(192,40,47,0.35);
  margin-top: 0.25rem;
}

.mpc-cta:hover {
  background: #a51e24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,40,47,0.5);
}

.mpc-cta svg {
  width: 16px;
  height: 16px;
}

/* Light mode overrides for monitor profile card */
body.light-mode .monitor-profile-card {
  background: linear-gradient(145deg, #fff 0%, #f7f4f4 100%);
  border-color: rgba(192,40,47,0.18);
}

body.light-mode .mpc-eyebrow {
  color: rgba(0,0,0,0.4);
}

body.light-mode .mpc-divider {
  background: rgba(0,0,0,0.15);
}

body.light-mode .mpc-quote {
  color: rgba(0,0,0,0.72);
}

body.light-mode .mpc-expertise-list li {
  color: rgba(0,0,0,0.65);
}

/* Monitor Stats Grid */
.monitor-stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.mstat-box {
  text-align: center;
}

.mstat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--accent);
  line-height: 1;
}

.mstat-text {
  display: block;
  font-size: 0.66rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  font-weight: 500;
}

.mstat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─────────────────────────────────────
   PORTFOLIO COLLAPSE & EXPAND (Desktop & Mobile)
───────────────────────────────────── */
.video-card.mobile-hidden {
  display: none !important;
}

.portfolio-mobile-expand {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.mobile-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 2.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.mobile-show-more-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent-glow);
  transform: translateY(-2px);
}

.mobile-show-more-btn svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-show-more-btn.expanded svg {
  transform: rotate(180deg);
}

.show-more-count {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.6rem;
  letter-spacing: 0.02em;
}

body.light-mode .mobile-show-more-btn {
  background: #fff;
  border-color: var(--border-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

body.light-mode .mobile-show-more-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px var(--accent-glow);
}

/* ── Hero Bottom Bar ── */
.hero-bottom-bar {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 2.5px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 4px;
  animation: mouseWheel 1.8s infinite;
}

@keyframes mouseWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ═══════════════════════════════════════════
   TENTANG SECTION
═══════════════════════════════════════════ */
.tentang-section { background: var(--bg-secondary); }

.tentang-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.tentang-visual {
  position: relative;
}

.tentang-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tentang-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.6s var(--transition), filter 0.4s;
}

.tentang-img-wrap:hover .tentang-img {
  transform: scale(1.03);
  filter: contrast(1.1) saturate(1.0);
}

.tentang-badge {
  position: absolute;
  bottom: 1.5rem; right: -1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(230,57,70,0.4);
}

.tentang-badge svg { width: 16px; height: 16px; }

/* Decorative film strip */
.film-strip-deco {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
}

.fs-hole {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: var(--bg-primary);
}

.tentang-content { }

.tentang-text {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.tentang-text strong { color: var(--text-primary); font-weight: 600; }
.tentang-text em { color: var(--accent); font-style: italic; }

.tentang-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.tool-tag {
  padding: 0.35rem 1rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   KEAHLIAN / SKILLS SECTION
═══════════════════════════════════════════ */
.keahlian-section { background: var(--bg-primary); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.skill-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--border-accent), 0 8px 32px var(--accent-glow);
}

.skill-card:hover::before { opacity: 1; }

/* ─── Thematic Skill Cards (Like Adobe Premiere Pro Box Effect) ─── */
/* 1. Produksi Video (Cinematic Cyan / Teal) */
.skill-card.skill-vidprod {
  background: linear-gradient(135deg, #062330 0%, var(--bg-card) 100%);
  border-color: rgba(0, 180, 216, 0.3);
}
.skill-card.skill-vidprod .skill-icon { color: #00B4D8; }
.skill-card.skill-vidprod .skill-fill { background: linear-gradient(to right, #00B4D8, #48cae4); }
.skill-card.skill-vidprod:hover {
  border-color: rgba(0, 180, 216, 0.7);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(0, 180, 216, 0.3);
}

/* 2. Pengoperasian Kamera (Warm Amber / Bronze) */
.skill-card.skill-camera {
  background: linear-gradient(135deg, #2a1603 0%, var(--bg-card) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}
.skill-card.skill-camera .skill-icon { color: #f59e0b; }
.skill-card.skill-camera .skill-fill { background: linear-gradient(to right, #f59e0b, #fbbf24); }
.skill-card.skill-camera:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(245, 158, 11, 0.3);
}

/* 3. Pengeditan Video (Cinematic Crimson / Coral) */
.skill-card.skill-videdit {
  background: linear-gradient(135deg, #2b080e 0%, var(--bg-card) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}
.skill-card.skill-videdit .skill-icon { color: #ef4444; }
.skill-card.skill-videdit .skill-fill { background: linear-gradient(to right, #ef4444, #f87171); }
.skill-card.skill-videdit:hover {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(239, 68, 68, 0.3);
}

/* 4. Pengeditan Audio (Emerald / Mint Wave) */
.skill-card.skill-audio {
  background: linear-gradient(135deg, #032517 0%, var(--bg-card) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}
.skill-card.skill-audio .skill-icon { color: #10b981; }
.skill-card.skill-audio .skill-fill { background: linear-gradient(to right, #10b981, #34d399); }
.skill-card.skill-audio:hover {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(16, 185, 129, 0.3);
}

/* 5. Adobe Premiere Pro (Adobe Violet / Purple) */
.skill-card.skill-premiere {
  background: linear-gradient(135deg, #1d0a33 0%, var(--bg-card) 100%);
  border-color: rgba(153, 153, 255, 0.35);
}
.skill-card.skill-premiere .skill-icon { color: #9999FF; }
.skill-card.skill-premiere .skill-fill { background: linear-gradient(to right, #9999ff, #c084fc); }
.skill-card.skill-premiere:hover {
  border-color: rgba(153, 153, 255, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(153, 153, 255, 0.35);
}

/* 6. Adobe After Effects (Adobe Deep Indigo / Blue) */
.skill-card.skill-ae {
  background: linear-gradient(135deg, #081733 0%, var(--bg-card) 100%);
  border-color: rgba(153, 204, 255, 0.35);
}
.skill-card.skill-ae .skill-icon { color: #99CCFF; }
.skill-card.skill-ae .skill-fill { background: linear-gradient(to right, #60a5fa, #99ccff); }
.skill-card.skill-ae:hover {
  border-color: rgba(153, 204, 255, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(153, 204, 255, 0.35);
}

/* 7. DaVinci Resolve (DaVinci Magenta / Violet) */
.skill-card.skill-davinci {
  background: linear-gradient(135deg, #240828 0%, var(--bg-card) 100%);
  border-color: rgba(224, 86, 253, 0.35);
}
.skill-card.skill-davinci .skill-icon { color: #e056fd; }
.skill-card.skill-davinci .skill-fill { background: linear-gradient(to right, #e056fd, #ff4757); }
.skill-card.skill-davinci:hover {
  border-color: rgba(224, 86, 253, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(224, 86, 253, 0.35);
}

/* 8. Adobe Photoshop (Adobe Sky Blue / Cyber Blue) */
.skill-card.skill-ps {
  background: linear-gradient(135deg, #04182e 0%, var(--bg-card) 100%);
  border-color: rgba(49, 168, 255, 0.35);
}
.skill-card.skill-ps .skill-icon { color: #31A8FF; }
.skill-card.skill-ps .skill-fill { background: linear-gradient(to right, #38bdf8, #31a8ff); }
.skill-card.skill-ps:hover {
  border-color: rgba(49, 168, 255, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(49, 168, 255, 0.35);
}

/* 9. CapCut (Neon Turquoise / Aquamarine) */
.skill-card.skill-capcut {
  background: linear-gradient(135deg, #032427 0%, var(--bg-card) 100%);
  border-color: rgba(20, 184, 166, 0.35);
}
.skill-card.skill-capcut .skill-icon { color: #14b8a6; }
.skill-card.skill-capcut .skill-fill { background: linear-gradient(to right, #14b8a6, #2dd4bf); }
.skill-card.skill-capcut:hover {
  border-color: rgba(20, 184, 166, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(20, 184, 166, 0.35);
}

/* 10. Fotografi (Golden Sun / Warm Gold) */
.skill-card.skill-photo {
  background: linear-gradient(135deg, #2b1f03 0%, var(--bg-card) 100%);
  border-color: rgba(234, 179, 8, 0.35);
}
.skill-card.skill-photo .skill-icon { color: #eab308; }
.skill-card.skill-photo .skill-fill { background: linear-gradient(to right, #eab308, #facc15); }
.skill-card.skill-photo:hover {
  border-color: rgba(234, 179, 8, 0.75);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 25px rgba(234, 179, 8, 0.35);
}

.skill-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.skill-icon svg { width: 100%; height: 100%; }

.skill-icon.skill-icon-adobe { width: 40px; height: 40px; }

.skill-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.skill-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.skill-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  margin-top: 1rem;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent), #00d4f5);
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════
   PENGALAMAN / TIMELINE SECTION
═══════════════════════════════════════════ */
.pengalaman-section { background: var(--bg-secondary); }

.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  position: relative;
}

/* Alternate: odd items — card on left, even — card on right */
.timeline-item:nth-child(odd) {
  /* reveal-left: card is on left */
  direction: ltr;
}

.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(odd) .timeline-marker { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(odd) .timeline-spacer { grid-column: 3; grid-row: 1; }

.timeline-item:nth-child(even) .timeline-card { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-marker { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-spacer { grid-column: 1; grid-row: 1; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.3rem;
  z-index: 2;
}

.marker-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--border-accent), 0 0 20px var(--accent-glow);
  flex-shrink: 0;
}

.marker-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-align: center;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all var(--transition);
  position: relative;
}

.timeline-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* Storyboard-style left accent on card */
.timeline-card::before {
  content: '';
  position: absolute;
  left: 0; top: 1.5rem;
  width: 3px; height: calc(100% - 3rem);
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.timeline-card:hover::before { opacity: 1; }

.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tc-role {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.tc-company {
  font-size: 0.82rem;
  color: var(--accent);
  margin-top: 0.25rem;
  font-weight: 500;
}

.tc-period {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-top: 0.2rem;
}

.tc-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.tc-desc strong { color: var(--text-primary); }

.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tc-tags span {
  padding: 0.25rem 0.8rem;
  background: var(--accent-subtle);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   MAGANG / VOLUNTEER SECTION
═══════════════════════════════════════════ */
.magang-section { background: var(--bg-primary); }

.magang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.magang-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.magang-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.magang-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.magang-card:hover::after { opacity: 1; }

.mc-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.magang-card:hover .mc-icon { background: var(--accent); color: #fff; }

.mc-icon svg { width: 22px; height: 22px; }

.mc-role {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.mc-org {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   SERTIFIKASI & PENDIDIKAN SECTION
═══════════════════════════════════════════ */
.sertifikasi-section { background: var(--bg-secondary); }

.sertifikasi-pendidikan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.06), transparent);
  pointer-events: none;
}

.cert-card:hover {
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.1);
}

.cert-badge-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1.5px solid rgba(212,175,55,0.4);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cert-badge-icon svg { width: 26px; height: 26px; }

.cert-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.cert-validity {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cert-status {
  margin-left: auto;
  padding: 0.25rem 0.8rem;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  flex-shrink: 0;
}

.edu-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }

.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.edu-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.edu-icon { font-size: 1.6rem; flex-shrink: 0; }

.edu-degree {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-school {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.edu-year {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   PRESTASI / AWARDS SECTION
═══════════════════════════════════════════ */
.prestasi-section { background: var(--bg-primary); }

.awards-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1000px;
  margin: 0 auto;
}

.award-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.award-gold {
  background: linear-gradient(135deg, #1a1200 0%, #0e0a00 100%);
  border: 1px solid rgba(212,175,55,0.35);
}

.award-gold:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 80px rgba(212,175,55,0.25), 0 0 40px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.7);
}

.award-silver {
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(192,192,192,0.25);
}

.award-silver:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 80px rgba(192,192,192,0.2), 0 0 40px rgba(192,192,192,0.1);
  border-color: rgba(192,192,192,0.5);
}

.award-gold2 {
  background: linear-gradient(135deg, #1a0e00 0%, #0e0800 100%);
  border: 1px solid rgba(212,175,55,0.3);
}

.award-gold2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 80px rgba(212,175,55,0.2), 0 0 40px rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.6);
}

.award-rank {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
  animation: award-bounce 3s ease-in-out infinite;
}

@keyframes award-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.award-trophy-bg {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.trophy-svg { width: 160px; height: 160px; opacity: 0.6; }

.award-content { position: relative; z-index: 1; }

.award-position {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.award-gold .award-position, .award-gold2 .award-position {
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
}

.award-silver .award-position {
  background: rgba(192,192,192,0.1);
  border: 1px solid rgba(192,192,192,0.3);
  color: var(--silver);
}

.award-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.award-event {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.award-category {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.award-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
  pointer-events: none;
}

.award-card:hover .award-shine { left: 150%; }

/* ═══════════════════════════════════════════
   PORTFOLIO / VIDEO SHOWCASE GRID SECTION
═══════════════════════════════════════════ */
.portofolio-section {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.portfolio-subtitle {
  max-width: 640px;
  margin: 0.8rem auto 2.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
}

/* Category Filter Tabs */
.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-tab {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}

/* Video Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.video-grid.single-item {
  display: flex;
  justify-content: center;
}

.video-grid.single-item .video-card {
  width: 100%;
  max-width: 580px;
}

/* Video Card */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  position: relative;
}

.video-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px var(--accent-subtle);
}

.video-card.hidden {
  display: none !important;
}

/* Video Card Topbar */
.video-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
}

.video-category-tag {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.video-category-tag.comedy-tag {
  color: #f59e0b;
}

.video-category-tag.social-tag {
  color: #ec4899;
}

.video-category-tag.freelance-tag {
  color: #06b6d4;
}

.video-category-tag.daasala-tag {
  color: #a855f7;
}

.video-category-tag.campus-tag {
  color: #10b981;
}

.video-category-tag.kingabdi-tag {
  color: #f97316;
}

.video-category-tag.daniaditya-tag {
  color: #ec4899;
}

.video-category-tag.film-tag {
  color: #a78bfa;
}

.video-category-tag.clips-tag {
  color: #34d399;
}

.video-platform-badge {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-family: monospace;
}

.video-platform-badge.ig-badge {
  color: #e1306c;
  font-weight: 600;
}

.video-platform-badge.tiktok-badge {
  color: #69c9d0;
  font-weight: 600;
}

/* Thumbnail Card Styles */
.thumb-card .thumb-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius-sm);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.thumb-card:hover .thumb-img {
  transform: scale(1.04);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumb-card:hover .thumb-overlay {
  opacity: 1;
}

.thumb-play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.thumb-play-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}

.thumb-play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.thumb-play-static {
  cursor: default;
}

.thumb-play-static:hover {
  transform: none;
}

.thumb-platform-logo {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

/* Video Embed Wrapper (YouTube 16:9 & Instagram Reel) */
.video-embed-wrap {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.video-embed-wrap.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.video-embed-wrap.ratio-16-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed-wrap.reel-wrap {
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0c0c0e;
}

.video-embed-wrap.reel-wrap iframe,
.video-embed-wrap.reel-wrap blockquote {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  min-width: unset !important;
}

/* Video Card Body */
.video-card-body {
  padding: 0.85rem 1rem 1.05rem;
}

.video-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.video-card-meta {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── Clips Local Video Player ─── */
.clips-video-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 0;
}

.clips-video {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: contain;
  background: #000;
}

/* ─── Custom Instagram Reel Preview Card ─── */
.ig-reel-preview {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.ig-reel-preview:hover {
  background: #110b16;
}

.ig-reel-bg-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(188,24,136,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(240,148,51,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ig-reel-bg-grad.freelance-grad {
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(6,182,212,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59,130,246,0.12) 0%, transparent 60%);
}

.ig-reel-bg-grad.daasala-grad {
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(168,85,247,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(236,72,153,0.12) 0%, transparent 60%);
}

.ig-reel-bg-grad.campus-grad {
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(16,185,129,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(245,158,11,0.12) 0%, transparent 60%);
}

.ig-reel-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ig-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  filter: drop-shadow(0 4px 16px rgba(220,39,67,0.35));
}

.ig-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.ig-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.ig-reel-preview:hover .ig-play-btn {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.1);
}

.ig-reel-info {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.ig-reels-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.ig-reel-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.ig-reel-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 18px rgba(220,39,67,0.35);
  margin-top: 0.25rem;
}

.ig-reel-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,39,67,0.5);
  filter: brightness(1.1);
}

/* Light mode for reel preview */
body.light-mode .ig-reel-preview {
  background: #1a0d1f;
}

body.light-mode .ig-reel-preview:hover {
  background: #220d2a;
}

/* Portfolio Archive CTA */
.portfolio-archive-cta {
  margin-top: 4.5rem;
}

.archive-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 2.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}

.archive-cta-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.archive-cta-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

/* Light mode overrides for Portfolio Video Showcase */
body.light-mode .video-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

body.light-mode .video-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08), 0 0 20px var(--accent-subtle);
}

body.light-mode .video-card-topbar {
  border-color: rgba(0,0,0,0.06);
}

body.light-mode .filter-tab {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.1);
  color: var(--text-secondary);
}

body.light-mode .filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.light-mode .filter-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

body.light-mode .archive-cta-card {
  background: #FFFFFF;
  border-color: rgba(192,40,47,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ═══════════════════════════════════════════
   KONTAK SECTION
═══════════════════════════════════════════ */
.kontak-section { background: var(--bg-secondary); }

.kontak-subtitle {
  max-width: 500px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.kontak-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}

.kontak-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.kontak-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
}

.kc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.kc-icon svg { width: 22px; height: 22px; }
.kontak-card:hover .kc-icon { background: var(--accent); color: #fff; }

.kc-icon.kc-green {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: #25D366;
}
.kontak-card:hover .kc-icon.kc-green { background: #25D366; color: #fff; }

.kc-icon.kc-gradient {
  background: linear-gradient(135deg, rgba(225,48,108,0.1), rgba(254,202,87,0.1));
  border-color: rgba(225,48,108,0.25);
  color: #e1306c;
}
.kontak-card:hover .kc-icon.kc-gradient { background: linear-gradient(135deg, #e1306c, #fcaf45); color: #fff; }

.kc-info { flex: 1; }

.kc-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.kc-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.kc-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}

.kontak-card:hover .kc-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding-bottom: 2rem;
}

.footer-film-strip {
  display: flex;
  gap: 1.5rem;
  padding: 0.6rem clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.015);
}

.footer .fs-hole {
  width: 18px; height: 14px;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.07);
  background: #050505;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   LIGHT THEME DETAILED ENHANCEMENTS
═══════════════════════════════════════════ */
body.light-mode .navbar.scrolled {
  background: rgba(247, 246, 242, 0.94);
  border-color: var(--border);
}

body.light-mode .nav-link {
  color: var(--text-secondary);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: var(--text-primary);
}

body.light-mode .theme-toggle,
body.light-mode .lang-toggle {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

body.light-mode .theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.light-mode .lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.light-mode .lang-toggle.active-en {
  color: #fff;
  background: var(--accent);
}

body.light-mode .film-grain {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

body.light-mode .film-reel-bg .reel-strip {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 18px,
    rgba(0,0,0,0.03) 18px,
    rgba(0,0,0,0.03) 36px
  );
  border-color: rgba(0,0,0,0.06);
}

body.light-mode .hero {
  background: radial-gradient(ellipse 80% 70% at 70% 40%, rgba(192,40,47,0.09) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 10% 80%, rgba(192,40,47,0.05) 0%, transparent 50%),
              var(--bg-primary);
}

body.light-mode .hero-flare {
  background: radial-gradient(ellipse, rgba(192,40,47,0.12) 0%, transparent 65%);
}

body.light-mode .accent-line {
  color: var(--accent);
  text-shadow: none;
}

body.light-mode .btn-ghost {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-primary);
}

body.light-mode .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

body.light-mode .award-gold {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9E7 100%);
  border-color: rgba(184,150,10,0.35);
  box-shadow: 0 10px 30px rgba(184,150,10,0.08);
}

body.light-mode .award-silver {
  background: linear-gradient(135deg, #FAFAFA 0%, #F3F4F6 100%);
  border-color: rgba(150,150,150,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

body.light-mode .award-gold2 {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9E7 100%);
  border-color: rgba(184,150,10,0.3);
  box-shadow: 0 10px 30px rgba(184,150,10,0.08);
}

body.light-mode .award-gold:hover,
body.light-mode .award-gold2:hover {
  box-shadow: 0 20px 50px rgba(184,150,10,0.22);
  border-color: rgba(184,150,10,0.6);
}

body.light-mode .award-silver:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: rgba(150,150,150,0.5);
}

body.light-mode .award-gold .award-position,
body.light-mode .award-gold2 .award-position {
  background: rgba(184,150,10,0.14);
  border-color: rgba(184,150,10,0.4);
  color: var(--gold);
  font-weight: 700;
}

body.light-mode .award-silver .award-position {
  background: rgba(100,100,100,0.1);
  border-color: rgba(100,100,100,0.3);
  color: #4b5563;
  font-weight: 700;
}

body.light-mode .trophy-svg {
  opacity: 0.22;
}

body.light-mode .btn-reel {
  background: #111111;
  color: #FFFFFF;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

body.light-mode .btn-reel:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 45px var(--accent-glow);
}

body.light-mode .frame-item {
  border-color: rgba(0,0,0,0.1);
}

body.light-mode .footer {
  background: #E8E5DF;
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .footer-film-strip {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}

body.light-mode .footer .fs-hole {
  background: #E8E5DF;
  border-color: rgba(0,0,0,0.12);
}

body.light-mode .fs-hole {
  background: var(--bg-secondary);
  border-color: rgba(0,0,0,0.12);
}

body.light-mode .cert-card::before {
  background: linear-gradient(135deg, rgba(184,150,10,0.05), transparent);
}

body.light-mode .cert-badge-icon {
  background: rgba(184,150,10,0.1);
  border-color: rgba(184,150,10,0.35);
}

body.light-mode .cert-status {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
  color: #15803d;
}

body.light-mode .skill-card.skill-vidprod {
  background: linear-gradient(135deg, #e6f9fc 0%, #FFFFFF 100%);
  border-color: rgba(0, 180, 216, 0.4);
}
body.light-mode .skill-card.skill-camera {
  background: linear-gradient(135deg, #fff9ed 0%, #FFFFFF 100%);
  border-color: rgba(245, 158, 11, 0.4);
}
body.light-mode .skill-card.skill-videdit {
  background: linear-gradient(135deg, #fff1f2 0%, #FFFFFF 100%);
  border-color: rgba(239, 68, 68, 0.4);
}
body.light-mode .skill-card.skill-audio {
  background: linear-gradient(135deg, #edfdf6 0%, #FFFFFF 100%);
  border-color: rgba(16, 185, 129, 0.4);
}
body.light-mode .skill-card.skill-premiere,
body.light-mode .skill-card.skill-featured {
  background: linear-gradient(135deg, #f5efff 0%, #FFFFFF 100%);
  border-color: rgba(153, 153, 255, 0.45);
}
body.light-mode .skill-card.skill-ae {
  background: linear-gradient(135deg, #eef6ff 0%, #FFFFFF 100%);
  border-color: rgba(153, 204, 255, 0.45);
}
body.light-mode .skill-card.skill-davinci {
  background: linear-gradient(135deg, #fbf2ff 0%, #FFFFFF 100%);
  border-color: rgba(224, 86, 253, 0.45);
}
body.light-mode .skill-card.skill-ps {
  background: linear-gradient(135deg, #f0f9ff 0%, #FFFFFF 100%);
  border-color: rgba(49, 168, 255, 0.45);
}
body.light-mode .skill-card.skill-capcut {
  background: linear-gradient(135deg, #edfdfb 0%, #FFFFFF 100%);
  border-color: rgba(20, 184, 166, 0.45);
}
body.light-mode .skill-card.skill-photo {
  background: linear-gradient(135deg, #fffde6 0%, #FFFFFF 100%);
  border-color: rgba(234, 179, 8, 0.45);
}

body.light-mode .timeline-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

body.light-mode .timeline-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.07), 0 0 16px var(--accent-glow);
}

body.light-mode .skill-card,
body.light-mode .magang-card,
body.light-mode .kontak-card,
body.light-mode .cert-card,
body.light-mode .edu-item {
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

body.light-mode .skill-card:hover,
body.light-mode .magang-card:hover,
body.light-mode .kontak-card:hover,
body.light-mode .edu-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Light mode overrides for Hero elements */
body.light-mode .hero-status-pill {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.28);
  color: #16a34a;
}

body.light-mode .hero-title {
  color: var(--text-primary);
}

body.light-mode .hero-role-tag {
  color: var(--accent);
}

body.light-mode .hero-role-sub {
  color: var(--text-secondary);
}

body.light-mode .skill-chip {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.09);
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

body.light-mode .skill-chip:hover {
  background: #F5F3EF;
  border-color: var(--accent);
  color: var(--accent);
}

body.light-mode .monitor-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 0 25px rgba(192,40,47,0.06);
}

body.light-mode .monitor-card:hover {
  border-color: rgba(192,40,47,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1), 0 0 35px var(--accent-glow);
}

body.light-mode .monitor-topbar {
  border-color: rgba(0,0,0,0.07);
}

body.light-mode .monitor-screen {
  background: linear-gradient(135deg, #240c10 0%, #111113 100%);
}

body.light-mode .monitor-stats-grid {
  border-color: rgba(0,0,0,0.07);
}

body.light-mode .mstat-divider {
  background: rgba(0,0,0,0.08);
}

body.light-mode .scroll-mouse {
  border-color: rgba(0,0,0,0.25);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE BREAKPOINTS
   Optimized for Android & iOS (iPhone SE to Pro Max)
═══════════════════════════════════════════ */

/* ─── Tablet (max-width: 900px) ─── */
@media (max-width: 900px) {
  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  
  body.light-mode .nav-links {
    background: rgba(247, 246, 242, 0.98);
  }
  
  .nav-links.open { max-height: 70vh; padding: 1.5rem 0; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-link { display: block; padding: 0.9rem 2rem; font-size: 0.9rem; }
  .nav-cta { margin: 0.6rem auto; display: inline-block; }
  .nav-toggle { display: flex; }

  /* Nav controls (Theme & Lang) */
  .nav-controls {
    margin-left: 0.4rem;
    gap: 0.45rem;
  }
  
  .lang-toggle {
    padding: 0.4rem 0.75rem;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 1.5rem) 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-intro {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .hero-role-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .hero-lead {
    text-align: center;
    max-width: 580px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-skill-chips {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-bottom-bar {
    justify-content: center;
  }

  /* Tentang */
  .tentang-grid { 
    grid-template-columns: 1fr; 
    gap: 2.5rem;
  }
  .tentang-badge { right: 1rem; }

  /* Skills Grid */
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  /* Video Grid */
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
  }

  /* Timeline */
  .timeline-line { left: 18px; transform: none; }
  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }
  .timeline-item .timeline-marker { grid-column: 1; grid-row: 1; }
  .timeline-item .timeline-card { grid-column: 2; grid-row: 1; }
  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(odd) .timeline-card { grid-column: 2; grid-row: 1; }
  .timeline-item:nth-child(even) .timeline-marker,
  .timeline-item:nth-child(odd) .timeline-marker { grid-column: 1; }

  /* Magang & Sertifikasi grid */
  .magang-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .sertifikasi-pendidikan-grid { 
    grid-template-columns: 1fr; 
    gap: 2.5rem;
  }

  /* Film frames */
  .film-frames { display: none; }
}

/* ─── Mobile Devices (max-width: 768px) ─── */
@media (max-width: 768px) {
  /* Container safe-padding */
  .container {
    padding: 0 clamp(1rem, 4.5vw, 1.5rem);
  }

  /* Filter Tabs — App-like Horizontal Swipe */
  .portfolio-filter-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.3rem 0.2rem 0.8rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .portfolio-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex-shrink: 0;
    padding: 0.48rem 1.1rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Video Grid on Mobile — single column for embeds, 2-col for thumb-cards */
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Non-thumbnail cards (YouTube iframes, IG reels) stay full width */
  .video-card:not(.thumb-card) {
    grid-column: 1 / -1;
  }

  /* Thumb cards in 2-col: reduce aspect ratio so they're not too tall */
  .thumb-card .thumb-preview {
    aspect-ratio: 4 / 5;
  }
}

/* ─── Small Phones & iOS Safe Area (max-width: 480px) ─── */
@media (max-width: 480px) {
  /* Section Header */
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }
  .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
  }

  /* Hero Section */
  .hero-title { 
    font-size: clamp(2.2rem, 11vw, 3.2rem); 
    line-height: 1.05;
  }
  .hero-role-wrapper { 
    font-size: 0.84rem; 
    gap: 0.35rem;
  }
  .hero-role-tag {
    font-size: 0.85rem;
  }
  .hero-role-sub {
    font-size: 0.82rem;
  }
  .hero-lead {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  .hero-skill-chips {
    gap: 0.3rem;
  }
  .skill-chip {
    font-size: 0.67rem;
    padding: 0.28rem 0.6rem;
    gap: 0.25rem;
  }
  .skill-chip svg {
    width: 12px;
    height: 12px;
  }

  /* Thumb cards on very small phones: 2 col, 3:4 ratio */
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .video-card:not(.thumb-card) {
    grid-column: 1 / -1;
  }
  .thumb-card .thumb-preview {
    aspect-ratio: 3 / 4;
  }
  .thumb-card .video-card-body {
    padding: 0.6rem 0.75rem;
  }
  .thumb-card .video-card-title {
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
  }
  .thumb-card .video-card-meta {
    font-size: 0.68rem;
  }
  .thumb-card .video-card-topbar {
    padding: 0.5rem 0.75rem;
    font-size: 0.62rem;
  }

  /* Monitor Card */
  .monitor-card { 
    padding: 1rem 0.85rem; 
    border-radius: var(--radius);
  }
  .monitor-topbar {
    font-size: 0.68rem;
    padding-bottom: 0.65rem;
  }
  .monitor-profile-card {
    padding: 1.1rem 0.9rem;
  }
  .mpc-quote {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .mpc-expertise-list li {
    font-size: 0.76rem;
  }
  .mpc-cta {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }
  
  .monitor-stats-grid {
    padding-top: 0.75rem;
  }
  .mstat-num {
    font-size: 1.3rem;
  }
  .mstat-text {
    font-size: 0.62rem;
  }

  /* Skills Grid */
  .skills-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.75rem; 
  }
  .skill-card {
    padding: 1.2rem 1rem;
  }
  .skill-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.75rem;
  }
  .skill-icon.skill-icon-adobe {
    width: 34px;
    height: 34px;
  }
  .skill-name {
    font-size: 0.88rem;
  }
  .skill-sub {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
  }
  .skill-desc {
    font-size: 0.7rem;
    line-height: 1.45;
  }
  .skill-bar {
    margin-top: 0.75rem;
  }

  /* Timeline on Small Phones */
  .timeline-line { left: 14px; }
  .timeline-item {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .marker-dot {
    width: 11px;
    height: 11px;
  }
  .marker-year {
    font-size: 0.62rem;
  }
  .timeline-card {
    padding: 1.2rem 1rem;
  }
  .tc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .tc-role {
    font-size: 0.95rem;
  }
  .tc-company {
    font-size: 0.8rem;
  }
  .tc-period {
    font-size: 0.7rem;
    align-self: flex-start;
  }
  .tc-desc {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .tc-tags {
    gap: 0.35rem;
  }
  .tc-tags span {
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
  }

  /* Magang Grid */
  .magang-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Awards & Contact */
  .awards-showcase { grid-template-columns: 1fr; gap: 1rem; }
  .award-card { padding: 1.4rem 1.1rem; }
  .kontak-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .kontak-card { padding: 0.95rem 1.1rem; }
  .cert-card { 
    flex-direction: column; 
    text-align: center; 
    padding: 1.3rem 1rem;
  }
  .cert-status { margin-left: 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }

  /* Navbar Toggles */
  .theme-toggle { width: 36px; height: 36px; }
  .lang-toggle { height: 36px; padding: 0.35rem 0.7rem; font-size: 0.72rem; }
}

/* ─── Extra Small Phones (max-width: 360px - e.g. Galaxy Fold, iPhone SE 1st gen) ─── */
@media (max-width: 360px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
}

