/**
* MDHP Portfolio — DEVWORKSPACE DESIGN SYSTEM
* Modern developer command center theme.
* Vanilla CSS + design tokens, no build step.
* Base: BootstrapMade Folio template (adapted)
*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  /* Dark theme (default) */
  --bg-primary: #080b14;
  --bg-secondary: #0f1423;
  --bg-tertiary: #151c2f;

  --surface: rgba(15, 20, 35, 0.82);
  --surface-solid: #0f1423;
  --surface-hover: rgba(21, 28, 47, 0.95);

  --text-primary: #f8fafc;
  --text-secondary: #a8b3cf;
  --text-muted: #64748b;

  --primary: #7c5cfc;
  --secondary: #22d3ee;
  --success: #34d399;

  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --grid-line: rgba(148, 163, 184, 0.055);

  --gradient-accent: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-soft: linear-gradient(135deg, rgba(124, 92, 252, 0.14), rgba(34, 211, 238, 0.1));

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);

  --header-height: 72px;

  color-scheme: dark;
}

/* Light theme */
html[data-theme="light"] {
  --bg-primary: #f7f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eef2f7;

  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-hover: #ffffff;

  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --primary: #635bff;
  --secondary: #0891b2;
  --success: #059669;

  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.2);
  --grid-line: rgba(15, 23, 42, 0.045);

  --gradient-soft: linear-gradient(135deg, rgba(99, 91, 255, 0.08), rgba(8, 145, 178, 0.06));

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);

  color-scheme: light;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body {
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: color-mix(in srgb, var(--primary), var(--text-primary) 20%);
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: color-mix(in srgb, var(--primary) 32%, transparent);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--primary) 45%, var(--bg-tertiary));
}

.mono {
  font-family: var(--font-mono);
}

/*--------------------------------------------------------------
# Background — engineering grid + accent orbs
--------------------------------------------------------------*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 35%, transparent 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(640px 420px at 88% -4%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 65%),
    radial-gradient(720px 520px at -8% 38%, color-mix(in srgb, var(--secondary) 8%, transparent), transparent 65%),
    radial-gradient(520px 420px at 50% 112%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%);
  pointer-events: none;
}

/* Background particle field */
#bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

html[data-theme="light"] #bg-particles {
  opacity: 0.55;
}

html[data-theme="light"] body::after {
  opacity: 0.75;
}

/* Theme transition helper (added by JS during toggle) */
html.theme-transitioning * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

/*--------------------------------------------------------------
# Shared Components
--------------------------------------------------------------*/
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-accent);
  margin: 0 auto 22px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

/* Buttons */
.btn-primary-modern,
.btn-ghost-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary-modern {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-primary-modern:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--primary) 50%, transparent);
}

.btn-primary-modern:active {
  transform: translateY(0);
}

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

.btn-ghost-modern:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.btn-primary-modern.sm,
.btn-ghost-modern.sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary-modern.lg {
  padding: 14px 36px;
  font-size: 15.5px;
}

/* Social links (shared: hero / contact / footer) */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 16px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.social-links a:hover {
  color: #fff;
  background: var(--gradient-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}

/*--------------------------------------------------------------
# Theme Toggle Button
--------------------------------------------------------------*/
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--primary) 25%, transparent);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle .toggle-icon {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: translateY(16px) rotate(90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: none;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: none;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: translateY(-16px) rotate(-90deg) scale(0.5);
}

/*--------------------------------------------------------------
# Language Toggle Button (EN / ID)
--------------------------------------------------------------*/
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 3px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s ease;
}

.lang-toggle:hover {
  border-color: var(--secondary);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--secondary) 22%, transparent);
  transform: translateY(-1px);
}

.lang-toggle:active {
  transform: scale(0.94);
}

/*--------------------------------------------------------------
# Global Header / Navbar
--------------------------------------------------------------*/
.header {
  --default-color: var(--text-primary);
  --heading-color: var(--text-primary);
  color: var(--default-color);
  background: color-mix(in srgb, var(--bg-primary) 75%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0;
  height: var(--header-height);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 997;
  border-bottom: 1px solid transparent;
}

.scrolled .header {
  background: color-mix(in srgb, var(--bg-secondary) 85%, transparent);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header .container-fluid {
  height: 100%;
}

/* Logo */
.logo {
  gap: 10px;
  line-height: 1;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 40%, transparent);
  flex-shrink: 0;
}

.logo-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.logo .sitename {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--text-primary);
  margin: 0;
}

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

/* Navmenu — Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    margin-left: auto;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 14.5px;
    font-family: var(--font-ui);
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 8px;
    position: relative;
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  .navmenu a:hover {
    color: var(--text-primary);
  }

  .navmenu a:hover::after,
  .navmenu .active::after {
    transform: scaleX(1);
  }

  .navmenu .active,
  .navmenu .active:focus {
    color: var(--text-primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
  }
}

/* Navmenu — Mobile */
@media (max-width: 1199px) {
  .navmenu {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 9997;
  }

  .mobile-nav-toggle {
    color: var(--text-primary);
    font-size: 26px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 14px;
    position: absolute;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height) - 32px);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--text-secondary);
    padding: 12px 18px;
    font-family: var(--font-ui);
    font-size: 15.5px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    transition: 0.25s;
    border-left: 3px solid transparent;
    border-radius: 8px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--text-primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    border-left-color: var(--primary);
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 15px;
    margin: 0;
  }

  .lang-toggle {
    width: 36px;
    height: 36px;
    font-size: 12px;
    margin: 0;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--bg-primary) 72%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: block;
  }

  .mobile-nav-active .navmenu ul {
    display: block;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: absolute;
    top: 17px;
    right: 18px;
    z-index: 9999;
    color: var(--text-primary);
  }

  .mobile-nav-active .navmenu .theme-toggle {
    position: absolute;
    top: 16px;
    right: 62px;
    margin: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu .lang-toggle {
    position: absolute;
    top: 16px;
    right: 106px;
    margin: 0;
    z-index: 9999;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--text-secondary);
  background: transparent;
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-height) + 14px);
  position: relative;
}

@media (max-width: 991px) {
  section,
  .section {
    scroll-margin-top: calc(var(--header-height) + 8px);
    padding: 64px 0;
  }
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 48px;
  position: relative;
}

.section-title h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.section-title > p:last-child {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Splash Screen — Modern Tech Loading
--------------------------------------------------------------*/
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#splash-screen.splash-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Background grid */
.splash-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* Particle container */
.splash-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Content wrapper */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
}

/* Hexagon logo container */
.splash-logo {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-hex {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(124, 92, 252, 0.5));
  animation: splash-hex-float 3s ease-in-out infinite;
}

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

/* SVG hex ring animations */
.hex-ring {
  animation: hex-draw-outer 1.6s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.hex-ring-inner {
  animation: hex-draw-inner 1.4s 0.3s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.hex-text {
  opacity: 0;
  animation: hex-text-appear 0.8s 0.8s ease forwards;
}

@keyframes hex-draw-outer {
  to { stroke-dashoffset: 0; }
}

@keyframes hex-draw-inner {
  to { stroke-dashoffset: 0; }
}

@keyframes hex-text-appear {
  to { opacity: 1; }
}

/* Glow rings around hex */
.splash-glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(124, 92, 252, 0.25);
  pointer-events: none;
}

.splash-glow-ring.ring-1 {
  width: 140px; height: 140px;
  animation: glow-pulse 2.4s ease-in-out infinite;
}
.splash-glow-ring.ring-2 {
  width: 158px; height: 158px;
  border-color: rgba(34, 211, 238, 0.2);
  animation: glow-pulse 2.4s 0.4s ease-in-out infinite;
}
.splash-glow-ring.ring-3 {
  width: 176px; height: 176px;
  border-color: rgba(124, 92, 252, 0.12);
  animation: glow-pulse 2.4s 0.8s ease-in-out infinite;
}

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

/* Title */
.splash-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin: 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 52px;
  line-height: 1.3;
}

.splash-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
  will-change: opacity, transform, filter;
}

.splash-letter.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Highlight first letter of each word */
.splash-letter.word-start {
  color: var(--secondary);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
}

/* Divider line between logo and title */
.splash-divider {
  width: 48px;
  height: 2px;
  margin: 18px 0 14px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fade-in-up 0.5s 0.85s ease forwards;
}

.splash-divider span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: divider-expand 0.6s 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes divider-expand {
  to { transform: scaleX(1); }
}

/* Subtitle */
.splash-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 36px;
  opacity: 0;
  animation: fade-in-up 0.6s 1.65s ease forwards;
  letter-spacing: 1.5px;
}

.splash-sub-slash {
  color: var(--secondary);
  margin-right: 4px;
}

/* Progress bar */
.splash-progress-track {
  width: 260px;
  height: 3px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 3px;
  overflow: visible;
  margin-bottom: 14px;
  position: relative;
  opacity: 0;
  animation: fade-in-up 0.6s 1.8s ease forwards;
}

.splash-progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  width: 0%;
  transition: width 0.35s cubic-bezier(0.42, 0, 0.58, 1);
  position: relative;
}

.splash-progress-glow {
  position: absolute;
  top: -3px;
  right: -4px;
  width: 9px;
  height: 9px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 14px 3px rgba(34, 211, 238, 0.7);
  transition: left 0.35s cubic-bezier(0.42, 0, 0.58, 1);
  left: calc(0% - 2px);
}

.splash-loading-text {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fade-in-up 0.6s 1.85s ease forwards;
  transition: color 0.4s ease;
  min-width: 180px;
  text-align: center;
}

/* Animation dots */
.splash-loading-text .dot {
  display: inline-block;
  animation: dot-bounce 1.4s ease-in-out infinite;
}
.splash-loading-text .dot:nth-child(2) { animation-delay: 0.2s; }
.splash-loading-text .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* Completion state */
.splash-loading-text.is-done {
  color: var(--secondary);
  animation: none;
  opacity: 1;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Corner tech decorations */
.splash-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0.35;
}

.splash-corner.top-left {
  top: 30px; left: 30px;
  border-top: 2px solid rgba(124, 92, 252, 0.5);
  border-left: 2px solid rgba(124, 92, 252, 0.5);
}

.splash-corner.top-right {
  top: 30px; right: 30px;
  border-top: 2px solid rgba(34, 211, 238, 0.5);
  border-right: 2px solid rgba(34, 211, 238, 0.5);
}

.splash-corner.bottom-left {
  bottom: 30px; left: 30px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.5);
  border-left: 2px solid rgba(34, 211, 238, 0.5);
}

.splash-corner.bottom-right {
  bottom: 30px; right: 30px;
  border-bottom: 2px solid rgba(124, 92, 252, 0.5);
  border-right: 2px solid rgba(124, 92, 252, 0.5);
}

/* Scan line effect */
.splash-scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
  pointer-events: none;
  animation: scanline-move 3.5s linear infinite;
}

@keyframes scanline-move {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* Preloader (legacy fallback - hidden) */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: preloader-spin 0.7s linear infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Splash screen responsive */
@media (max-width: 600px) {
  .splash-title {
    font-size: 24px;
    letter-spacing: 2px;
    min-height: 40px;
  }
  .splash-subtitle {
    font-size: 11px;
  }
  .splash-divider {
    margin: 14px 0 10px;
  }
  .splash-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }
  .splash-glow-ring.ring-1 { width: 110px; height: 110px; }
  .splash-glow-ring.ring-2 { width: 126px; height: 126px; }
  .splash-glow-ring.ring-3 { width: 142px; height: 142px; }
  .splash-progress-track {
    width: 200px;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  background: var(--gradient-accent);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent);
  transform: translateY(8px);
}

.scroll-top i {
  line-height: 0;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.scroll-top:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 50%, transparent);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  padding: 56px 0 32px;
  position: relative;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-secondary) 55%, transparent);
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-muted);
  margin: 10px 0 24px;
}

.footer .social-links {
  justify-content: center;
  margin-bottom: 26px;
}

.footer .copyright {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: calc(var(--header-height) + 48px) 0 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 400px at 88% 10%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 65%),
    radial-gradient(440px 340px at 6% 80%, color-mix(in srgb, var(--secondary) 8%, transparent), transparent 65%);
}

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

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  flex-shrink: 0;
  animation: status-pulse 2.2s ease-out infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 45%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px transparent;
  }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero-desc {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 22px;
}

.hero-typed-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.typed-label {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.typed {
  font-family: var(--font-mono);
  font-size: 15.5px;
  color: var(--text-primary);
}

.typed-cursor {
  color: var(--primary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-caption {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Letter reveal for hero name */
.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: letter-in 0.45s ease forwards;
}

@keyframes letter-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Developer profile card */
.dev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 440px;
  margin-left: auto;
}

.dev-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-tertiary) 55%, transparent);
}

.dev-card-title {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.dev-card-id {
  font-size: 11px;
  color: var(--text-muted);
}

.dev-card-body {
  padding: 4px 20px 12px;
}

.dev-row {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
}

.dev-row:last-child {
  border-bottom: none;
}

.dev-label {
  width: 84px;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 3px;
}

.dev-value {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.7;
}

.dev-value.mono {
  font-size: 13.5px;
}

.dev-focus-rotator {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.dev-focus-viewport {
  overflow: hidden;
  height: 22px;
  display: flex;
  align-items: center;
}

.dev-focus-slide {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-primary);
  white-space: nowrap;
}

.dev-focus-slide.is-swapping {
  animation: focus-swap 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes focus-swap {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-focus-dots {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.focus-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-muted) 40%, transparent);
  transition: width 0.35s ease, background-color 0.35s ease,
    border-radius 0.35s ease;
}

.focus-dot.active {
  width: 16px;
  border-radius: 3px;
  background: var(--primary);
}

.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
}

/* Developer stats bar */
.stats-strip {
  padding: 0 0 88px;
  position: relative;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.stat-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .stats-strip {
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .dev-card {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .profile-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.about .profile-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(var(--primary), var(--secondary)) top left / 3px 46px no-repeat,
    linear-gradient(var(--primary), var(--secondary)) top left / 46px 3px no-repeat;
  border-radius: var(--radius-lg) 0 0 0;
  z-index: 2;
  pointer-events: none;
}

.about .profile-frame img {
  border-radius: calc(var(--radius-lg) - 10px);
  width: 100%;
  display: block;
}

.about-name {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.about-bio {
  color: var(--text-secondary);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 26px;
  font-size: 15.5px;
}

.skill-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-heading i {
  color: var(--primary);
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.22s ease;
}

.skill-tag:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  transform: translateY(-1px);
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.tech-chip i {
  font-size: 14px;
  line-height: 0;
  color: var(--chip-color, var(--primary));
  transition: transform 0.25s ease;
}

.tech-chip:hover {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--chip-color, var(--primary)) 55%, var(--border));
  background: color-mix(in srgb, var(--chip-color, var(--primary)) 10%, var(--surface));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--chip-color, var(--primary)) 22%, transparent);
}

.tech-chip:hover i {
  transform: scale(1.2) rotate(-6deg);
}

/* Brand accent colors per technology */
.chip-laravel {
  --chip-color: #ff2d20;
}
.chip-react {
  --chip-color: #61dafb;
}
.chip-mysql {
  --chip-color: #00b4d8;
}
.chip-postgres {
  --chip-color: #4f8fd8;
}
.chip-python {
  --chip-color: #ffd43b;
}
.chip-flutter {
  --chip-color: #54c5f8;
}
.chip-filament {
  --chip-color: #f59e0b;
}
.chip-api {
  --chip-color: #34d399;
}
.chip-looker {
  --chip-color: #a78bfa;
}

html[data-theme="light"] .tech-chip i {
  filter: saturate(0.85);
}

/*--------------------------------------------------------------
# CV Section — Document Workspace
--------------------------------------------------------------*/
.cv-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.doc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.doc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-tertiary) 50%, transparent);
}

.doc-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-primary);
}

.doc-file i {
  color: var(--primary);
  font-size: 17px;
}

.doc-badge {
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc-panel-body {
  padding: 14px;
  background: color-mix(in srgb, var(--bg-tertiary) 28%, transparent);
}

.doc-panel-body iframe {
  width: 100%;
  height: 640px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  display: block;
}

.doc-panel-footer {
  padding: 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
  .doc-panel-body iframe {
    height: 480px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section — Project Explorer
--------------------------------------------------------------*/
.portfolio-filters {
  padding: 0;
  margin: 0 auto 36px auto;
  list-style: none;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.25s ease-in-out;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  user-select: none;
}

.portfolio-filters li:hover {
  color: var(--text-primary);
  border-color: var(--primary);
}

.portfolio-filters li.filter-active {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 35%, transparent);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.project-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.045);
}

.project-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-index {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.project-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  white-space: nowrap;
}

.project-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--text-primary);
}

.project-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.project-stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.stack-label {
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-chips .chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 9px;
  background: color-mix(in srgb, var(--bg-tertiary) 40%, transparent);
}

.project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-actions .btn {
  flex: 1;
}

/*--------------------------------------------------------------
# Project Details Modal
--------------------------------------------------------------*/
.project-modal .modal-content {
  background-color: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}

.project-modal .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 16px;
}

.project-modal .modal-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.project-modal .modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
}

.project-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.65;
}

html[data-theme="light"] .project-modal .btn-close {
  filter: none;
  opacity: 0.6;
}

.project-modal .modal-body {
  padding: 24px;
}

.modal-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: block;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.info-line {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.info-line .k {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
  padding-top: 2px;
}

.info-line .v {
  color: var(--text-primary);
}

.modal-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/*--------------------------------------------------------------
# Contact Section — Connection Panel
--------------------------------------------------------------*/
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.28s ease;
  height: 100%;
  color: var(--text-secondary);
}

.contact-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.contact-card:hover .contact-icon {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.contact-value {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

/*--------------------------------------------------------------
# Responsive — small screens
--------------------------------------------------------------*/
@media (max-width: 575px) {
  .hero-cta .btn-primary-modern,
  .hero-cta .btn-ghost-modern {
    width: 100%;
  }

  .hero-social {
    gap: 12px;
  }

  .project-actions .btn {
    flex: 1 1 100%;
  }
}

/*--------------------------------------------------------------
# Reduced Motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
