/* ==========================================================================
   Google Material You (Fullcolor) Design Theme
   Website Personal PHP Native
   ========================================================================== */

/* Local Self-Hosted Fonts */
@import url('fonts.css');

:root {
  /* Google Core Colors */
  --g-blue: #4285F4;
  --g-red: #EA4335;
  --g-yellow: #FBBC05;
  --g-green: #34A853;

  /* Google Pastel Badges / Chip Tints (Light Mode) */
  --g-blue-bg: #E8F0FE;
  --g-blue-text: #1967D2;
  --g-blue-border: #D2E3FC;

  --g-red-bg: #FCE8E6;
  --g-red-text: #C5221F;
  --g-red-border: #FAD2CF;

  --g-yellow-bg: #FEF7E0;
  --g-yellow-text: #B06000;
  --g-yellow-border: #FEEFC3;

  --g-green-bg: #E6F4EA;
  --g-green-text: #137333;
  --g-green-border: #CEEAD6;

  /* Light Surface & Neutral Palette (Pure White Canvas with Harmonious Gradients) */
  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-surface-variant: #F8FAFD;
  --text-primary: #1F2328;
  --text-secondary: #57606A;
  --text-tertiary: #8C959F;
  --border-color: #E2E8F0;
  --border-light: #EDF2F7;

  /* Harmonious Google Gradients */
  --gradient-google: linear-gradient(135deg, #1A73E8 0%, #4285F4 25%, #9B51E0 50%, #EA4335 75%, #FBBC05 100%);
  --gradient-blue-emerald: linear-gradient(135deg, #1A73E8 0%, #4285F4 50%, #34A853 100%);
  --gradient-sunset: linear-gradient(135deg, #EA4335 0%, #FBBC05 100%);
  --gradient-card-top: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(60,64,67, 0.08), 0 1px 2px rgba(60,64,67, 0.16);
  --shadow-md: 0 4px 14px rgba(66, 133, 244, 0.08), 0 1px 3px rgba(60,64,67, 0.06);
  --shadow-lg: 0 10px 28px rgba(66, 133, 244, 0.10), 0 3px 6px rgba(60,64,67, 0.06);
  --shadow-hover: 0 14px 32px rgba(66, 133, 244, 0.16), 0 4px 10px rgba(60,64,67, 0.08);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-main: #131417;
  --bg-surface: #1E1F23;
  --bg-surface-variant: #282A2E;
  --text-primary: #F1F3F4;
  --text-secondary: #BDC1C6;
  --text-tertiary: #9AA0A6;
  --border-color: #33363A;
  --border-light: #26282B;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 12px 28px rgba(66, 133, 244, 0.35);

  --g-blue-bg: rgba(66, 133, 244, 0.15);
  --g-blue-text: #8AB4F8;
  --g-blue-border: rgba(66, 133, 244, 0.3);

  --g-red-bg: rgba(234, 67, 53, 0.15);
  --g-red-text: #F28B82;
  --g-red-border: rgba(234, 67, 53, 0.3);

  --g-yellow-bg: rgba(251, 188, 5, 0.15);
  --g-yellow-text: #FDD663;
  --g-yellow-border: rgba(251, 188, 5, 0.3);

  --g-green-bg: rgba(52, 168, 83, 0.15);
  --g-green-text: #81C995;
  --g-green-border: rgba(52, 168, 83, 0.3);
}

/* Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) var(--bg-main);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(ellipse 65% 45% at 8% 6%, rgba(66, 133, 244, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 92% 10%, rgba(234, 67, 53, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(251, 188, 5, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 90% 82%, rgba(52, 168, 83, 0.065) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 8% 88%, rgba(66, 133, 244, 0.05) 0%, transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="dark"] body {
  background-color: #131417;
  background-image: 
    radial-gradient(ellipse 65% 45% at 8% 6%, rgba(66, 133, 244, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 92% 10%, rgba(234, 67, 53, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 82%, rgba(52, 168, 83, 0.09) 0%, transparent 55%);
}

/* Custom Smooth Google Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 9999px;
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

a {
  color: var(--g-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
  filter: brightness(0.9);
}

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

/* Material Symbols Icon helper */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.material-symbols-rounded.filled {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Google Multi-Color Stripe */
.google-stripe {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--g-blue) 0%,
    var(--g-blue) 25%,
    var(--g-red) 25%,
    var(--g-red) 50%,
    var(--g-yellow) 50%,
    var(--g-yellow) 75%,
    var(--g-green) 75%,
    var(--g-green) 100%
  );
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 4px;
  z-index: 999;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(19, 20, 23, 0.88);
  border-bottom: 1px solid rgba(51, 54, 58, 0.85);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-dot-cluster {
  display: inline-flex;
  gap: 4px;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  animation: bounceDot 2s infinite ease-in-out;
}

.brand-dot.b-blue { background-color: var(--g-blue); animation-delay: 0s; }
.brand-dot.b-red { background-color: var(--g-red); animation-delay: 0.2s; }
.brand-dot.b-yellow { background-color: var(--g-yellow); animation-delay: 0.4s; }
.brand-dot.b-green { background-color: var(--g-green); animation-delay: 0.6s; }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: var(--bg-surface-variant);
  color: var(--text-primary);
}

.nav-link.active {
  background-color: var(--g-blue-bg);
  color: var(--g-blue-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--bg-surface-variant);
  transform: rotate(15deg);
}

.mobile-toggle {
  display: none;
}

/* ==========================================================================
   Google-Themed Running Text / Marquee Announcement Ticker
   ========================================================================== */
.running-ticker-wrapper {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 990;
  display: flex;
  align-items: center;
  height: 42px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(66, 133, 244, 0.05);
}

[data-theme="dark"] .running-ticker-wrapper {
  background: rgba(19, 20, 23, 0.92);
  border-bottom: 1px solid var(--border-color);
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 100%;
  background: linear-gradient(135deg, #1A73E8 0%, #4285F4 60%, #34A853 100%);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
  z-index: 3;
  box-shadow: 2px 0 10px rgba(66, 133, 244, 0.15);
}

.ticker-badge .material-symbols-rounded {
  font-size: 18px;
  animation: pulseCampaign 2.5s ease-in-out infinite;
}

@keyframes pulseCampaign {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(-6deg); }
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  flex: 1 1 0%;
  min-width: 0 !important;
  max-width: 100%;
  position: relative;
  height: 100%;
}

.ticker-track::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--bg-main));
  pointer-events: none;
  z-index: 2;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 36s linear infinite;
  will-change: transform;
}

.ticker-track:hover .ticker-content {
  animation-play-state: paused;
  cursor: default;
}

@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.ticker-dot.d-blue { background: var(--g-blue); }
.ticker-dot.d-red { background: var(--g-red); }
.ticker-dot.d-yellow { background: var(--g-yellow); }
.ticker-dot.d-green { background: var(--g-green); }

@media (max-width: 600px) {
  .ticker-badge-text {
    display: none;
  }
  .ticker-badge {
    padding: 0 12px;
  }
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 18px;
  }
}

/* ==========================================================================
   Buttons & Chips (Google Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1A73E8 0%, #4285F4 55%, #34A853 100%);
  color: #FFFFFF !important;
  box-shadow: 0 3px 12px rgba(66, 133, 244, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #185ABC 0%, #1A73E8 55%, #2D9247 100%);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.42);
  transform: translateY(-2px);
}

.btn-gradient-google {
  background: linear-gradient(135deg, #4285F4 0%, #9B51E0 35%, #EA4335 70%, #FBBC05 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(234, 67, 53, 0.35);
  border: none;
}

.btn-gradient-google:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(234, 67, 53, 0.45);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--bg-surface-variant);
  border-color: var(--g-blue);
  color: var(--g-blue);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Color Chips / Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.badge-blue {
  background: var(--g-blue-bg);
  color: var(--g-blue-text);
  border: 1px solid var(--g-blue-border);
}

.badge-red {
  background: var(--g-red-bg);
  color: var(--g-red-text);
  border: 1px solid var(--g-red-border);
}

.badge-yellow {
  background: var(--g-yellow-bg);
  color: var(--g-yellow-text);
  border: 1px solid var(--g-yellow-border);
}

.badge-green {
  background: var(--g-green-bg);
  color: var(--g-green-text);
  border: 1px solid var(--g-green-border);
}

/* Glassmorphic Cards on Crisp White Base */
.card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(66, 133, 244, 0.05), 0 1px 3px rgba(60, 64, 67, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .card {
  background: rgba(30, 31, 35, 0.90);
  border-color: rgba(51, 54, 58, 0.85);
}

.card:hover {
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.12), 0 4px 10px rgba(60, 64, 67, 0.06);
  transform: translateY(-3px);
  border-color: rgba(66, 133, 244, 0.35);
}

[data-theme="dark"] .card:hover {
  background: #24252A;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border-color: rgba(66, 133, 244, 0.5);
}

/* Vibrant Dual-Tone Gradient Accent Bars */
.card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.accent-blue { background: linear-gradient(90deg, #1A73E8, #4285F4, #8AB4F8); }
.accent-red { background: linear-gradient(90deg, #C5221F, #EA4335, #F28B82); }
.accent-yellow { background: linear-gradient(90deg, #E37400, #FBBC05, #FDD663); }
.accent-green { background: linear-gradient(90deg, #137333, #34A853, #81C995); }
.accent-google { background: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(66, 133, 244, 0.08) 0%, rgba(234, 67, 53, 0.04) 40%, rgba(251, 188, 5, 0.02) 70%, transparent 100%);
  border-radius: 0 0 40px 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tag span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--g-green);
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 168, 83, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.text-gradient-google {
  background: linear-gradient(135deg, #1A73E8 0%, #4285F4 25%, #9B51E0 50%, #EA4335 75%, #FBBC05 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.text-gradient-blue-emerald {
  background: linear-gradient(135deg, #1A73E8 0%, #4285F4 50%, #34A853 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 620px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.hero-cta .btn {
  max-width: 100%;
  box-sizing: border-box;
}

.hero-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.social-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--g-blue);
  color: var(--g-blue);
}

/* Hero Avatar Box with Gradient Glowing Halo */
.hero-avatar-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 36px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.08), 0 2px 8px rgba(60, 64, 67, 0.04);
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

[data-theme="dark"] .hero-avatar-card {
  background: rgba(30, 31, 35, 0.92);
  border-color: rgba(51, 54, 58, 0.85);
}

.hero-avatar-badges {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.avatar-wrapper {
  width: 170px;
  height: 170px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-wrapper::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
  filter: blur(8px);
  opacity: 0.7;
  z-index: 0;
  animation: spinAura 14s linear infinite;
}

@keyframes spinAura {
  100% { transform: rotate(360deg); }
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(66, 133, 244, 0.2));
  animation: floatAvatar 4s ease-in-out infinite;
}

[data-theme="dark"] .avatar-img {
  border-color: #1E1F23;
}

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

.hero-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-role {
  color: var(--g-blue-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Stats Counter Row with Soft Harmonious Gradient Tints */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 60px;
}

.stat-card {
  padding: 22px;
  text-align: center;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.04);
}

.stat-card:nth-child(1) {
  background: linear-gradient(145deg, #FFFFFF 65%, var(--g-blue-bg) 100%);
}

.stat-card:nth-child(2) {
  background: linear-gradient(145deg, #FFFFFF 65%, var(--g-green-bg) 100%);
}

.stat-card:nth-child(3) {
  background: linear-gradient(145deg, #FFFFFF 65%, var(--g-yellow-bg) 100%);
}

.stat-card:nth-child(4) {
  background: linear-gradient(145deg, #FFFFFF 65%, var(--g-red-bg) 100%);
}

[data-theme="dark"] .stat-card:nth-child(1) {
  background: linear-gradient(145deg, #1E1F23 65%, rgba(66, 133, 244, 0.15) 100%);
}

[data-theme="dark"] .stat-card:nth-child(2) {
  background: linear-gradient(145deg, #1E1F23 65%, rgba(52, 168, 83, 0.15) 100%);
}

[data-theme="dark"] .stat-card:nth-child(3) {
  background: linear-gradient(145deg, #1E1F23 65%, rgba(251, 188, 5, 0.15) 100%);
}

[data-theme="dark"] .stat-card:nth-child(4) {
  background: linear-gradient(145deg, #1E1F23 65%, rgba(234, 67, 53, 0.15) 100%);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
}

/* ==========================================================================
   Google Search Bar Styled Component
   ========================================================================== */
.google-search-container {
  margin: 0 auto 36px;
  max-width: 680px;
}

.google-search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.google-search-box:focus-within,
.google-search-box:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.search-icon-google {
  color: var(--text-tertiary);
  margin-right: 12px;
}

.google-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: inherit;
}

.search-tools-google {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-tool-btn {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-tool-btn:hover {
  color: var(--g-blue);
  background-color: var(--bg-surface-variant);
}

/* Filter Chips */
.filter-chips-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 30px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--bg-surface-variant);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--text-primary);
  color: var(--bg-surface);
  border-color: var(--text-primary);
}

/* ==========================================================================
   Skills Grid & Progress
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.skill-card {
  padding: 20px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.skill-pct {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.skill-bar-track {
  height: 8px;
  background: var(--bg-surface-variant);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s ease-in-out;
}

/* ==========================================================================
   Experience & Timeline
   ========================================================================== */
.timeline-list {
  position: relative;
  padding-left: 28px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 4px solid var(--g-blue);
  box-shadow: 0 0 0 3px var(--bg-main);
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--g-green); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--g-yellow); }

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.timeline-company {
  font-weight: 600;
  color: var(--g-blue);
}

/* ==========================================================================
   Projects / Portfolio Cards
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.mini-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-surface-variant);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ==========================================================================
   Posts / Info Blog Cards
   ========================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin: 12px 0 8px;
}

.post-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-title a {
  color: var(--text-primary);
}

.post-title a:hover {
  color: var(--g-blue);
}

.post-summary {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* Single Post Reader Layout */
.post-detail-container {
  max-width: 820px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.06), 0 1px 3px rgba(60, 64, 67, 0.04);
}

[data-theme="dark"] .post-detail-container {
  background: rgba(30, 31, 35, 0.92);
  border-color: rgba(51, 54, 58, 0.85);
}

.post-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.post-detail-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 16px 0;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-content p {
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 16px;
}

.post-content ul, .post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px auto;
  display: block;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.post-content figure {
  margin: 28px 0;
  text-align: center;
}

.post-content figcaption {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-top: 8px;
  font-style: italic;
}

.code-box {
  background: #202124;
  color: #8AB4F8;
  padding: 20px;
  border-radius: var(--radius-md);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  overflow-x: auto;
  margin: 24px 0;
}

/* ==========================================================================
   Download Center
   ========================================================================== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.download-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-surface-variant);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.download-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.download-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item-value {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--g-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.alert-message {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
}

.alert-success {
  background: var(--g-green-bg);
  color: var(--g-green-text);
  border: 1px solid var(--g-green-border);
}

.alert-error {
  background: var(--g-red-bg);
  color: var(--g-red-text);
  border: 1px solid var(--g-red-border);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  position: relative;
  padding: 48px 0 28px;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.5), rgba(234, 67, 53, 0.5), rgba(251, 188, 5, 0.5), rgba(52, 168, 83, 0.5), transparent);
}

[data-theme="dark"] .footer {
  background: rgba(19, 20, 23, 0.94);
  border-top: 1px solid rgba(51, 54, 58, 0.85);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Comprehensive Cross-Browser & Mobile Responsive Engine
   ========================================================================== */

/* Smooth animations */
@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Content Grids & Layout Components */
.about-grid,
.career-edu-grid,
.certifications-grid,
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.info-personal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-personal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 10px;
  gap: 12px;
}

.info-personal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-banner-card {
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(251, 188, 5, 0.08) 0%, rgba(66, 133, 244, 0.05) 100%);
  border: 1px solid rgba(251, 188, 5, 0.3);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.support-banner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.support-banner-info {
  max-width: 620px;
}

.support-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* Tablet Breakpoint (max-width: 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    width: 100%;
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto 24px;
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-socials {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-avatar-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .projects-grid,
  .posts-grid,
  .downloads-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
  }

  /* Navbar Mobile Header */
  .navbar .container {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }

  .brand-logo {
    font-size: 1.05rem;
    gap: 8px;
    max-width: calc(100% - 135px);
    overflow: hidden;
  }

  .brand-logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  .brand-dot-cluster {
    gap: 3px;
    flex-shrink: 0;
  }

  .brand-dot {
    width: 7px;
    height: 7px;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .btn-icon {
    width: 38px;
    height: 38px;
  }

  .btn-support-pill {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .btn-support-text {
    display: none !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 10px;
    right: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    z-index: 10001;
  }

  .nav-links.active {
    display: flex;
    animation: slideDownMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-link {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 24px 0 16px;
    border-radius: 0 0 24px 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: 5px 12px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin: 0 auto 20px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
    box-sizing: border-box;
  }

  .hero-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .social-pill {
    padding: 6px 12px;
    font-size: 0.82rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-avatar-card {
    padding: 20px 14px 18px;
    border-radius: 22px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
  }

  .avatar-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
  }

  .hero-name {
    font-size: 1.25rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-role {
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0 4px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-location {
    font-size: 0.82rem;
  }

  .hero-avatar-badges {
    margin-top: 14px;
    gap: 6px;
  }

  .hero-avatar-badges .badge {
    padding: 4px 10px;
    font-size: 0.76rem;
  }

  /* Quick Stats Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 24px 0 32px !important;
  }

  .stat-card {
    padding: 14px 10px !important;
    text-align: center;
  }

  .stat-number {
    font-size: 1.6rem !important;
  }

  .stat-label {
    font-size: 0.76rem !important;
    line-height: 1.3;
  }

  /* Section Titles & Spacing */
  section {
    margin-bottom: 48px !important;
  }

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

  .section-title {
    font-size: 1.45rem !important;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.88rem !important;
    line-height: 1.55;
  }

  /* Cards Mobile */
  .card {
    padding: 18px 16px !important;
    border-radius: var(--radius-md) !important;
  }

  /* All Grids Collapse cleanly to 1-column */
  .about-grid,
  .career-edu-grid,
  .certifications-grid,
  .projects-grid,
  .posts-grid,
  .downloads-grid,
  .related-posts-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Personal Info Item Stack */
  .info-personal-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  /* Saweria Support Banner Mobile */
  .support-banner-card {
    padding: 22px 16px !important;
  }

  .support-banner-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }

  .support-banner-info h2 {
    font-size: 1.35rem !important;
  }

  .support-banner-actions {
    width: 100% !important;
  }

  .support-banner-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Timeline Mobile */
  .timeline-item {
    padding-left: 22px;
    margin-bottom: 20px;
  }

  .timeline-dot {
    left: -5px;
    width: 12px;
    height: 12px;
  }

  .timeline-meta {
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 4px;
  }

  /* Article & Post Detail Mobile */
  .post-detail-container {
    padding: 20px 16px !important;
    margin: 14px auto !important;
  }

  .post-detail-title {
    font-size: 1.45rem !important;
    line-height: 1.3;
  }

  .post-detail-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
  }

  .post-content {
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .post-content pre,
  .post-content code,
  .code-box {
    max-width: 100% !important;
    overflow-x: auto !important;
    font-size: 0.85rem !important;
  }

  /* Google Search & Filter Chips Mobile */
  .google-search-container {
    margin: 0 auto 20px;
  }

  .google-search-box {
    padding: 8px 14px;
  }

  .filter-chips-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    justify-content: flex-start !important;
    scrollbar-width: none;
  }

  .filter-chips-wrapper::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  /* Floating Action Buttons Mobile */
  .fab-wrapper {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }

  .fab-label {
    display: none !important;
  }

  .fab-btn {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center;
  }

  .back-to-top-btn {
    width: 42px;
    height: 42px;
  }

  /* Modals Mobile */
  .g-modal-dialog {
    width: calc(100% - 24px) !important;
    max-height: 90vh !important;
    margin: 16px auto !important;
  }

  .g-modal-header {
    padding: 20px 16px 10px;
  }

  .g-modal-body {
    padding: 0 16px 16px;
  }

  .g-modal-footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .g-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile */
  .footer-top, .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    align-items: center;
  }

  .footer-bottom {
    justify-content: center;
  }

  /* Hide custom cursor on mobile touch */
  .g-cursor-dot, .g-cursor-ring, .g-cursor-sparkle {
    display: none !important;
  }
}

/* Compact Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.35rem, 5vw, 1.55rem);
  }

  .hero-tag {
    font-size: 0.76rem;
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  .hero-cta .btn {
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .social-pill {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .hero-avatar-card {
    padding: 18px 12px 16px;
  }

  .hero-name {
    font-size: 1.15rem;
  }

  .hero-role {
    font-size: 0.8rem;
  }

  .hero-avatar-badges .badge {
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .card {
    padding: 16px 14px !important;
  }

  .g-modal-body {
    padding: 0 14px 14px;
  }

  .support-chip-item {
    padding: 10px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp FAB & Smooth Back-To-Top)
   ========================================================================== */
.fab-wrapper {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.back-to-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--g-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--g-blue);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.06);
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background-color: var(--g-green);
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(52, 168, 83, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.5);
  background-color: #2D9247;
}

.fab-btn .material-symbols-rounded {
  font-size: 22px;
}

@media (max-width: 600px) {
  .fab-label {
    display: none;
  }
  .fab-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ==========================================================================
   Print-Ready Media Styles (Cetak CV & Artikel Formal)
   ========================================================================== */
@media print {
  .no-print,
  .navbar,
  .footer,
  .fab-wrapper,
  .google-stripe,
  .btn,
  #theme-toggle {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt;
    line-height: 1.4;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #CCCCCC !important;
    page-break-inside: avoid;
    margin-bottom: 16px !important;
    padding: 16px !important;
  }

  .hero-section {
    padding: 10px 0 !important;
  }

  .hero-title {
    font-size: 2rem !important;
    color: #000000 !important;
  }

  .text-gradient-google {
    -webkit-text-fill-color: initial !important;
    color: #1967D2 !important;
  }

  a {
    color: #000000 !important;
    text-decoration: none !important;
  }
}


/* ==========================================================================
   Post Card Thumbnails & Hero Banner Styling
   ========================================================================== */
.post-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-color: var(--bg-surface-variant);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.post-thumb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.post-card-body-padded {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-detail-hero-banner {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-variant);
}

.post-detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Google-Themed Animated Cursor
   ========================================================================== */
.g-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--g-blue);
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.15s ease;
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.6);
}

.g-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(66, 133, 244, 0.45);
  pointer-events: none !important;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              background-color 0.3s ease,
              opacity 0.3s ease;
}

/* Hovering Interactive Elements */
.g-cursor-ring.hovered {
  width: 58px;
  height: 58px;
  border: 3px solid transparent;
  background-image: linear-gradient(var(--bg-surface), var(--bg-surface)), 
                    conic-gradient(from 0deg, var(--g-blue), var(--g-red), var(--g-yellow), var(--g-green), var(--g-blue));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateGoogleCursorRing 3s linear infinite;
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.35);
}

@keyframes rotateGoogleCursorRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Clicking State */
.g-cursor-ring.active {
  transform: translate(-50%, -50%) scale(0.82);
  border-color: var(--g-red);
}

.g-cursor-dot.active {
  transform: translate(-50%, -50%) scale(1.6);
  background-color: var(--g-green);
}

/* Sparkle particles */
.g-cursor-sparkle {
  position: fixed;
  pointer-events: none !important;
  z-index: 99997;
  border-radius: 50%;
  animation: fadeSparkle 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSparkle {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* Hide on Touch Screens / Mobile */
@media (hover: none) and (pointer: coarse) {
  .g-cursor-dot,
  .g-cursor-ring,
  .g-cursor-sparkle {
    display: none !important;
  }
}

/* ==========================================================================
   Google Material You Dialog Modal (Project Spotlight)
   ========================================================================== */
.g-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(32, 33, 36, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.g-modal-dialog {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.g-modal-backdrop.active .g-modal-dialog {
  transform: scale(1) translateY(0);
}

.g-modal-header {
  padding: 28px 28px 16px;
  position: relative;
}

.g-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-variant);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100 !important;
  pointer-events: auto !important;
}

.g-modal-close-btn:hover {
  background: var(--g-red-bg);
  color: var(--g-red);
  transform: rotate(90deg);
}

.g-modal-close-btn .material-symbols-rounded {
  pointer-events: none;
}

.g-modal-body {
  padding: 0 28px 24px;
}

.g-modal-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.g-modal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.g-modal-features-list .material-symbols-rounded {
  color: var(--g-green);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.g-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-surface-variant);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ==========================================================================
   Smooth Scroll Reveal & Cross-Browser Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Card Smooth Hover Elevations */
.card, .post-card, .project-card, .download-card, .cert-card, .stat-card {
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.28s cubic-bezier(0.2, 0, 0, 1), border-color 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover, .post-card:hover, .project-card:hover, .download-card:hover, .cert-card:hover {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   Responsive Video Embed & Video Badges (Material You)
   ========================================================================== */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0b0c0e;
  border: 1px solid var(--border-color);
  margin: 18px 0;
}

.video-embed-wrapper iframe,
.video-embed-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.post-video-container {
  margin-bottom: 30px;
}

.post-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 16px;
  background: var(--g-red-bg);
  border-radius: var(--radius-sm);
  color: var(--g-red-text);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--g-red-border);
}

.post-badge-video {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(234, 67, 53, 0.94);
  color: #FFFFFF !important;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.35);
  letter-spacing: 0.3px;
  z-index: 3;
}

.post-badge-video .material-symbols-rounded {
  font-size: 15px;
}

/* ==========================================================================
   Saweria Support & Appreciation Styling (Google Material)
   ========================================================================== */
.btn-support-pill {
  background: var(--g-yellow-bg);
  color: var(--g-yellow-text);
  border: 1px solid var(--g-yellow-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-support-pill:hover {
  background: #FBBC05;
  color: #1F2328;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 188, 5, 0.35);
}

.fab-support {
  background: #FBBC05 !important;
  color: #1F2328 !important;
}

.fab-support:hover {
  background: #E5A800 !important;
  box-shadow: 0 6px 16px rgba(251, 188, 5, 0.45) !important;
}

.support-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 420px) {
  .support-chips-grid {
    grid-template-columns: 1fr;
  }
}

.support-chip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface-variant);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.support-chip-item:hover {
  background: var(--bg-surface);
  border-color: #FBBC05;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.support-chip-item .material-symbols-rounded {
  font-size: 24px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .btn-support-text {
    display: none;
  }
}

