@charset "UTF-8";
/* 
 * Main SCSS File
 * Marta Paz Ogle - Coaching Personal y Profesional
 */
:root {
  --bg-primary: #fffaf7;
  --bg-secondary: #f7f2ee;
  --bg-tertiary: #f5f0ed;
  --bg-inverse: #4a3a3a;
  --text-primary: #3a2d2d;
  --text-secondary: #9f8686;
  --text-muted: #a08988;
  --text-inverse: #fffaf7;
  --text-on-accent: #fffaf7;
  --accent-primary: #c05c78;
  --accent-secondary: #e49ca3;
  --accent-success: #cd7682;
  --accent-danger: #e26d6d;
  --accent-warning: #f4cd93;
  --accent-info: #e9a3bd;
  --border-color: #d6c4bd;
  --border-light: #e0d1cb;
  --border-dark: #bca8a8;
  --focus-ring: 0 0 0 3px rgba(192, 92, 120, 0.25);
  --shadow-sm: 0 1px 2px 0 rgba(74, 58, 58, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(74, 58, 58, 0.1), 0 2px 4px -1px rgba(74, 58, 58, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(74, 58, 58, 0.1), 0 4px 6px -2px rgba(74, 58, 58, 0.05);
  --font-family-base: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-family-heading: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --navbar-bg: #f7f2ee;
  --card-bg: #ffffff;
  --button-bg: #e48e95;
  --button-text: #fffaf7;
  --button-hover-bg: #ce7179;
  --input-bg: #ffffff;
  --input-border: #d6c4bd;
  --link-color: #c05c78;
  --link-underline: none;
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --particles-opacity: 0.6;
  --particles-count: 80;
  --image-opacity: 1;
  --animation-speed: 1;
  --photophobia-intensity: 10;
}

.dyslexia-friendly {
  --font-family-base: "OpenDyslexic", "Comic Sans MS", sans-serif;
  --font-size-base: 1.1rem;
  --line-height-base: 1.8;
  letter-spacing: 0.05em;
}

.reading-optimized {
  --font-family-base: "Merriweather", "Georgia", serif;
  --font-size-base: 1.15rem;
  --line-height-base: 1.8;
  max-width: 65ch;
  margin: 0 auto;
}

[data-theme=light] {
  --bg-primary: #fffaf7;
  --bg-secondary: #f7f2ee;
  --bg-tertiary: #f5f0ed;
  --bg-inverse: #4a3a3a;
  --text-primary: #3a2d2d;
  --text-secondary: #9f8686;
  --text-muted: #a08988;
  --text-inverse: #fffaf7;
  --accent-primary: #c05c78;
  --accent-secondary: #e49ca3;
  --border-color: #d6c4bd;
  --border-light: #e0d1cb;
  --focus-ring: 0 0 0 3px rgba(192, 92, 120, 0.25);
  --shadow-sm: 0 1px 2px 0 rgba(74, 58, 58, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(74, 58, 58, 0.1), 0 2px 4px -1px rgba(74, 58, 58, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(74, 58, 58, 0.1), 0 4px 6px -2px rgba(74, 58, 58, 0.05);
  --navbar-bg: #f7f2ee;
  --card-bg: #ffffff;
  --button-bg: #e48e95;
  --input-bg: #ffffff;
  --input-border: #d6c4bd;
  --link-color: #c05c78;
}

[data-theme=dark] {
  --bg-primary: #1e1515;
  --bg-secondary: #2a1f1f;
  --bg-tertiary: #362929;
  --bg-inverse: #f8e9e5;
  --text-primary: #f8e9e5;
  --text-secondary: #d4b8aa;
  --text-muted: #a08988;
  --text-inverse: #1e1515;
  --text-on-accent: #1e1515;
  --accent-primary: #e48e95;
  --accent-secondary: #d4a6a1;
  --accent-success: #d58e99;
  --accent-danger: #e67e80;
  --accent-warning: #f4cd93;
  --accent-info: #e9a3bd;
  --border-color: #4a3a3a;
  --border-light: #5c4a4a;
  --border-dark: #362929;
  --focus-ring: 0 0 0 3px rgba(228, 142, 149, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-intensity: 1.2;
  --navbar-bg: #1e1515;
  --card-bg: #2a1f1f;
  --button-bg: #e48e95;
  --button-text: #1e1515;
  --button-hover-bg: #ce7179;
  --input-bg: #2a1f1f;
  --input-border: #4a3a3a;
  --link-color: #e48e95;
  --particles-opacity: 0.4;
  --image-opacity: 0.9;
}

[data-theme=high-contrast] {
  --bg-primary: #000000;
  --bg-secondary: #000000;
  --bg-tertiary: #1a1a1a;
  --bg-inverse: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
  --text-inverse: #000000;
  --text-on-accent: #000000;
  --accent-primary: #ffff00;
  --accent-secondary: #00ffff;
  --accent-success: #00ff00;
  --accent-danger: #ff0000;
  --accent-warning: #ffff00;
  --accent-info: #00ffff;
  --border-color: #ffffff;
  --border-light: #ffffff;
  --border-dark: #ffffff;
  --focus-ring: 0 0 0 4px #ffff00;
  --shadow-sm: 0 0 0 1px #ffffff;
  --shadow-md: 0 0 0 2px #ffffff;
  --shadow-lg: 0 0 0 3px #ffffff;
  --shadow-intensity: 0;
  --font-weight-normal: 600;
  --font-weight-medium: 700;
  --font-weight-bold: 800;
  --letter-spacing-base: 0.05em;
  --navbar-bg: #000000;
  --card-bg: #000000;
  --button-bg: #ffff00;
  --button-text: #000000;
  --button-hover-bg: #ffff00;
  --input-bg: #000000;
  --input-border: #ffffff;
  --link-color: #ffff00;
  --link-underline: underline;
  --particles-opacity: 0;
  --image-opacity: 1;
}

[data-reduced-motion="1"] .btn,
[data-reduced-motion="1"] .skill-card,
[data-reduced-motion="1"] .nav-menu a,
[data-reduced-motion="1"] .dropdown-toggle,
[data-reduced-motion="1"] .social-link,
[data-reduced-motion="1"] .fade-in,
[data-reduced-motion="1"] .slide-in,
[data-reduced-motion="1"] [class*=animate-],
[data-reduced-motion="1"] [class*=transition-] {
  animation-duration: 0.8s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.4s !important;
  transition-timing-function: ease-out !important;
}
[data-reduced-motion="1"] .btn:hover {
  transform: translateY(-2px) scale(1.02);
  transition-duration: 0.3s;
}
[data-reduced-motion="1"] .skill-card:hover {
  transform: translateY(-3px);
  transition-duration: 0.3s;
}
[data-reduced-motion="1"] .particles-container {
  animation-duration: 5s !important;
}

[data-reduced-motion="2"] .btn,
[data-reduced-motion="2"] .skill-card,
[data-reduced-motion="2"] .nav-menu a,
[data-reduced-motion="2"] .dropdown-toggle,
[data-reduced-motion="2"] .social-link,
[data-reduced-motion="2"] .fade-in,
[data-reduced-motion="2"] .slide-in,
[data-reduced-motion="2"] [class*=animate-],
[data-reduced-motion="2"] [class*=transition-] {
  animation-duration: 0.3s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.2s !important;
  transition-timing-function: ease-out !important;
}
[data-reduced-motion="2"] .btn:hover {
  transform: translateY(-1px);
  transition-duration: 0.15s;
}
[data-reduced-motion="2"] .skill-card:hover {
  transform: translateY(-2px);
  transition-duration: 0.15s;
}
[data-reduced-motion="2"] .particles-container {
  animation-duration: 8s !important;
  opacity: 0.7;
}
[data-reduced-motion="2"] html {
  scroll-behavior: auto !important;
}

[data-reduced-motion="3"] .btn,
[data-reduced-motion="3"] .skill-card,
[data-reduced-motion="3"] .nav-menu a,
[data-reduced-motion="3"] .dropdown-toggle,
[data-reduced-motion="3"] .social-link,
[data-reduced-motion="3"] .fade-in,
[data-reduced-motion="3"] .slide-in,
[data-reduced-motion="3"] [class*=animate-],
[data-reduced-motion="3"] [class*=transition-] {
  animation-duration: 0.1s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.05s !important;
  transition-timing-function: linear !important;
}
[data-reduced-motion="3"] .btn:hover,
[data-reduced-motion="3"] .skill-card:hover {
  transform: none !important;
}
[data-reduced-motion="3"] [data-hover-effect] {
  transition: none !important;
}
[data-reduced-motion="3"] .particles-container {
  animation-duration: 12s !important;
  opacity: 0.3;
}
[data-reduced-motion="3"] html {
  scroll-behavior: auto !important;
}
[data-reduced-motion="3"] .fade-in,
[data-reduced-motion="3"] .slide-in {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

[data-reduced-motion="4"] * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
[data-reduced-motion="4"] html {
  scroll-behavior: auto !important;
}
[data-reduced-motion="4"] .particles-container {
  display: none !important;
}
[data-reduced-motion="4"] .btn:hover,
[data-reduced-motion="4"] .skill-card:hover,
[data-reduced-motion="4"] .nav-menu a:hover,
[data-reduced-motion="4"] .dropdown-toggle:hover,
[data-reduced-motion="4"] .social-link:hover {
  transform: none !important;
  transition: none !important;
}
[data-reduced-motion="4"] .fade-in,
[data-reduced-motion="4"] .slide-in,
[data-reduced-motion="4"] [class*=animate-] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-reduced-motion]) .btn,
  :root:not([data-reduced-motion]) .skill-card,
  :root:not([data-reduced-motion]) .nav-menu a,
  :root:not([data-reduced-motion]) .dropdown-toggle,
  :root:not([data-reduced-motion]) .social-link {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  :root:not([data-reduced-motion]) .btn:hover,
  :root:not([data-reduced-motion]) .skill-card:hover {
    transform: none !important;
  }
}
[data-dyslexia-mode=true] {
  font-family: "Comic Sans MS", "Chalkboard SE", sans-serif !important;
  letter-spacing: 0.05em !important;
  color: var(--text-primary, #1a1a1a) !important;
}
[data-dyslexia-mode=true][data-dyslexia-intensity="1"] {
  line-height: 1.7;
  word-spacing: 0.1em;
  font-size: 1.05rem;
}
[data-dyslexia-mode=true][data-dyslexia-intensity="2"] {
  line-height: 1.8;
  word-spacing: 0.15em;
  font-weight: 600;
  font-size: 1.08rem;
}
[data-dyslexia-mode=true][data-dyslexia-intensity="3"] {
  line-height: 1.9;
  word-spacing: 0.2em;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
[data-dyslexia-mode=true][data-dyslexia-intensity="4"] {
  line-height: 2;
  word-spacing: 0.25em;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.1em;
}
[data-dyslexia-mode=true][data-dyslexia-intensity="5"] {
  line-height: 2.1;
  word-spacing: 0.3em;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}
[data-dyslexia-mode=true] h1, [data-dyslexia-mode=true] h2, [data-dyslexia-mode=true] h3, [data-dyslexia-mode=true] h4, [data-dyslexia-mode=true] h5, [data-dyslexia-mode=true] h6 {
  font-weight: 700;
  color: var(--text-primary, #000000) !important;
}
[data-dyslexia-mode=true] li {
  margin-bottom: 0.5rem;
}
[data-dyslexia-mode=true] a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--link-color, #0056b3) !important;
}
[data-dyslexia-mode=true] a:hover {
  text-decoration-thickness: 2px;
}

[data-reading-mode=true] {
  background: var(--reading-bg, linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%)) !important;
  color: var(--reading-text, #2d3748) !important;
  font-family: var(--reading-font, "Georgia", "Times New Roman", serif) !important;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
}
[data-reading-mode=true] main {
  container-type: inline-size;
}
[data-reading-mode=true] h1, [data-reading-mode=true] h2, [data-reading-mode=true] h3, [data-reading-mode=true] h4, [data-reading-mode=true] h5, [data-reading-mode=true] h6 {
  font-family: var(--reading-font, "Georgia", "Times New Roman", serif) !important;
  font-weight: 600;
  line-height: 1.4;
  color: var(--reading-heading, #1a202c) !important;
  margin-bottom: 1rem;
}
[data-reading-mode=true] h1 {
  font-size: 1.6875rem;
  margin-top: 2.5rem;
  text-align: center;
}
[data-reading-mode=true] h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  border-bottom: 1px solid var(--reading-border, #e2e8f0);
  padding-bottom: 0.5rem;
}
[data-reading-mode=true] h3 {
  font-size: 1.1875rem;
  margin-top: 1.5rem;
}
[data-reading-mode=true] p {
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--reading-paragraph, #4a5568) !important;
}
[data-reading-mode=true] ul, [data-reading-mode=true] ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
[data-reading-mode=true] ul li, [data-reading-mode=true] ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
[data-reading-mode=true] a {
  color: var(--reading-link, #2b6cb0) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--reading-link-underline, #bee3f8);
  transition: all 0.2s ease;
}
[data-reading-mode=true] a:hover {
  color: var(--reading-link-hover, #2c5282) !important;
  border-bottom-color: var(--reading-link, #2b6cb0);
  background-color: rgba(66, 153, 225, 0.05);
}
[data-reading-mode=true] .particles-container {
  opacity: 0.1;
}
[data-reading-mode=true] .navbar {
  background: var(--reading-navbar, rgba(248, 249, 250, 0.95)) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--reading-border, #e2e8f0);
}
[data-reading-mode=true] .footer {
  background: var(--reading-footer, rgba(248, 249, 250, 0.95)) !important;
  border-top: 1px solid var(--reading-border, #e2e8f0);
  margin-top: 4rem;
}
[data-reading-mode=true] .skill-card {
  background: var(--reading-card, rgba(255, 255, 255, 0.7)) !important;
  border: 1px solid var(--reading-border, #e2e8f0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}
[data-reading-mode=true] .skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: var(--reading-card-hover, rgba(255, 255, 255, 0.9)) !important;
}
[data-reading-mode=true] .btn {
  background: var(--reading-button, rgba(66, 153, 225, 0.1)) !important;
  color: var(--reading-button-text, #2b6cb0) !important;
  border: 1px solid var(--reading-button-border, rgba(66, 153, 225, 0.2));
}
[data-reading-mode=true] .btn:hover {
  background: var(--reading-button-hover, rgba(66, 153, 225, 0.15)) !important;
  border-color: var(--reading-button-border-hover, rgba(66, 153, 225, 0.4));
  transform: translateY(-1px);
}
[data-reading-mode=true] .nav-menu a {
  color: var(--reading-nav-link, #4a5568) !important;
}
[data-reading-mode=true] .nav-menu a:hover {
  color: var(--reading-nav-link-hover, #2b6cb0) !important;
  background: rgba(66, 153, 225, 0.05);
}
[data-reading-mode=true] .dropdown-menu {
  background: var(--reading-dropdown, rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--reading-border, #e2e8f0);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
[data-reading-mode=true] {
  scroll-behavior: smooth;
}
[data-reading-mode=true] *:focus {
  outline: 2px solid var(--reading-focus, rgba(66, 153, 225, 0.5));
  outline-offset: 2px;
}
[data-reading-mode=true][data-reading-intensity="1"] .container {
  max-width: 70ch;
  margin: 0 auto;
}
[data-reading-mode=true][data-reading-intensity="1"] p, [data-reading-mode=true][data-reading-intensity="1"] li {
  line-height: 1.7;
}
[data-reading-mode=true][data-reading-intensity="2"] .container {
  max-width: 65ch;
  margin: 0 auto;
}
[data-reading-mode=true][data-reading-intensity="2"] p, [data-reading-mode=true][data-reading-intensity="2"] li {
  line-height: 1.8;
  font-size: 1.05rem;
}
[data-reading-mode=true][data-reading-intensity="2"] h1, [data-reading-mode=true][data-reading-intensity="2"] h2, [data-reading-mode=true][data-reading-intensity="2"] h3 {
  line-height: 1.7;
}
[data-reading-mode=true][data-reading-intensity="3"] .container {
  max-width: 60ch;
  margin: 0 auto;
}
[data-reading-mode=true][data-reading-intensity="3"] p, [data-reading-mode=true][data-reading-intensity="3"] li {
  line-height: 1.9;
  font-size: 1.08rem;
}
[data-reading-mode=true][data-reading-intensity="3"] h1, [data-reading-mode=true][data-reading-intensity="3"] h2, [data-reading-mode=true][data-reading-intensity="3"] h3 {
  line-height: 1.8;
}
[data-reading-mode=true][data-reading-intensity="3"] .section {
  margin-bottom: 2rem;
}
[data-reading-mode=true][data-reading-intensity="4"] .container {
  max-width: 55ch;
  margin: 0 auto;
}
[data-reading-mode=true][data-reading-intensity="4"] p, [data-reading-mode=true][data-reading-intensity="4"] li {
  line-height: 2;
  font-size: 1.1rem;
}
[data-reading-mode=true][data-reading-intensity="4"] h1, [data-reading-mode=true][data-reading-intensity="4"] h2, [data-reading-mode=true][data-reading-intensity="4"] h3 {
  line-height: 1.9;
}
[data-reading-mode=true][data-reading-intensity="4"] .section {
  margin-bottom: 2.25rem;
}
[data-reading-mode=true][data-reading-intensity="4"] p + p {
  margin-top: 1rem;
}
[data-reading-mode=true][data-reading-intensity="5"] .container {
  max-width: 50ch;
  margin: 0 auto;
}
[data-reading-mode=true][data-reading-intensity="5"] p, [data-reading-mode=true][data-reading-intensity="5"] li {
  line-height: 2.1;
  font-size: 1.15rem;
}
[data-reading-mode=true][data-reading-intensity="5"] h1, [data-reading-mode=true][data-reading-intensity="5"] h2, [data-reading-mode=true][data-reading-intensity="5"] h3 {
  line-height: 2;
  font-size: 1.1em;
}
[data-reading-mode=true][data-reading-intensity="5"] .section {
  margin-bottom: 2.5rem;
}
[data-reading-mode=true][data-reading-intensity="5"] p + p {
  margin-top: 1.25rem;
}
[data-reading-mode=true][data-reading-intensity="5"] .particles-container {
  display: none;
}
[data-reading-mode=true][data-reading-intensity="5"] .skill-card {
  background: var(--reading-card-high, rgba(255, 255, 255, 0.85)) !important;
}

[data-photophobia-mode=true] {
  background-color: var(--photophobia-bg, #000000) !important;
  color: var(--photophobia-text, #e0e0e0) !important;
}
[data-photophobia-mode=true] .navbar,
[data-photophobia-mode=true] .footer,
[data-photophobia-mode=true] .skill-card,
[data-photophobia-mode=true] .dropdown-menu {
  background-color: var(--photophobia-element-bg, #1a1a1a) !important;
  color: var(--photophobia-text, #e0e0e0) !important;
  border-color: var(--photophobia-border, #333) !important;
}
[data-photophobia-mode=true] h1, [data-photophobia-mode=true] h2, [data-photophobia-mode=true] h3, [data-photophobia-mode=true] h4, [data-photophobia-mode=true] h5, [data-photophobia-mode=true] h6 {
  color: var(--photophobia-heading, #ffffff) !important;
}
[data-photophobia-mode=true] .particles-container {
  opacity: 0.1;
}
[data-photophobia-mode=true][data-photophobia-intensity="1"] {
  filter: brightness(0.9) contrast(1.1) saturate(0.9);
}
[data-photophobia-mode=true][data-photophobia-intensity="1"] .btn-primary {
  opacity: 0.9;
}
[data-photophobia-mode=true][data-photophobia-intensity="2"] {
  filter: brightness(0.8) contrast(1.2) saturate(0.8);
}
[data-photophobia-mode=true][data-photophobia-intensity="2"] .btn-primary {
  opacity: 0.8;
}
[data-photophobia-mode=true][data-photophobia-intensity="2"] .particles-container {
  opacity: 0.05;
}
[data-photophobia-mode=true][data-photophobia-intensity="3"] {
  filter: brightness(0.7) contrast(1.3) saturate(0.7);
}
[data-photophobia-mode=true][data-photophobia-intensity="3"] .btn-primary {
  opacity: 0.7;
}
[data-photophobia-mode=true][data-photophobia-intensity="3"] .skill-card {
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}
[data-photophobia-mode=true][data-photophobia-intensity="4"] {
  filter: brightness(0.6) contrast(1.4) saturate(0.6);
}
[data-photophobia-mode=true][data-photophobia-intensity="4"] .btn-primary {
  opacity: 0.6;
}
[data-photophobia-mode=true][data-photophobia-intensity="4"] .skill-card {
  box-shadow: none;
  border: 1px solid var(--photophobia-border, #333);
}
[data-photophobia-mode=true][data-photophobia-intensity="4"] .particles-container {
  display: none;
}
[data-photophobia-mode=true][data-photophobia-intensity="5"] {
  filter: brightness(0.5) contrast(1.5) saturate(0.5);
}
[data-photophobia-mode=true][data-photophobia-intensity="5"] .btn-primary {
  opacity: 0.5;
}
[data-photophobia-mode=true][data-photophobia-intensity="5"] .skill-card {
  background: var(--photophobia-card-dark, #111) !important;
  border: 1px solid var(--photophobia-border-dark, #222);
}
[data-photophobia-mode=true][data-photophobia-intensity="5"] * {
  animation: none !important;
  transition: none !important;
}

[data-font-size="1"] {
  font-size: 0.875rem;
}
[data-font-size="1"] h1 {
  font-size: 1.5rem;
}
[data-font-size="1"] h2 {
  font-size: 1.25rem;
}
[data-font-size="1"] h3 {
  font-size: 1.125rem;
}

[data-font-size="2"] {
  font-size: 1rem;
}
[data-font-size="2"] h1 {
  font-size: 1.875rem;
}
[data-font-size="2"] h2 {
  font-size: 1.5rem;
}
[data-font-size="2"] h3 {
  font-size: 1.25rem;
}

[data-font-size="3"] {
  font-size: 1.125rem;
}
[data-font-size="3"] h1 {
  font-size: 2.25rem;
}
[data-font-size="3"] h2 {
  font-size: 1.875rem;
}
[data-font-size="3"] h3 {
  font-size: 1.5rem;
}

[data-font-size="4"] {
  font-size: 1.2375rem;
}
[data-font-size="4"] h1 {
  font-size: 2.475rem;
}
[data-font-size="4"] h2 {
  font-size: 2.0625rem;
}
[data-font-size="4"] h3 {
  font-size: 1.65rem;
}

[data-font-size="5"] {
  font-size: 1.25rem;
}
[data-font-size="5"] h1 {
  font-size: 2.7rem;
}
[data-font-size="5"] h2 {
  font-size: 2.25rem;
}
[data-font-size="5"] h3 {
  font-size: 1.8rem;
}

[data-font-size="4"] .container,
[data-font-size="5"] .container {
  max-width: 90%;
}
[data-font-size="4"] .skills-grid,
[data-font-size="5"] .skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
[data-font-size="4"] .skill-card,
[data-font-size="5"] .skill-card {
  padding: 1.25rem;
}

[data-theme=high-contrast][data-dyslexia-mode=true] {
  font-family: "Comic Sans MS", "Chalkboard SE", sans-serif !important;
}
[data-theme=high-contrast][data-dyslexia-mode=true] h1, [data-theme=high-contrast][data-dyslexia-mode=true] h2, [data-theme=high-contrast][data-dyslexia-mode=true] h3, [data-theme=high-contrast][data-dyslexia-mode=true] h4, [data-theme=high-contrast][data-dyslexia-mode=true] h5, [data-theme=high-contrast][data-dyslexia-mode=true] h6 {
  color: var(--text-primary, #ffffff) !important;
}
[data-theme=high-contrast][data-dyslexia-mode=true] a {
  color: var(--accent-primary, #ffff00) !important;
}
[data-theme=high-contrast][data-reading-mode=true] {
  background: var(--bg-primary, #000000) !important;
  color: var(--text-primary, #ffffff) !important;
}
[data-theme=high-contrast][data-reading-mode=true] .container {
  max-width: 65ch;
  margin: 0 auto;
}
[data-theme=high-contrast][data-reading-mode=true] h1, [data-theme=high-contrast][data-reading-mode=true] h2, [data-theme=high-contrast][data-reading-mode=true] h3, [data-theme=high-contrast][data-reading-mode=true] h4, [data-theme=high-contrast][data-reading-mode=true] h5, [data-theme=high-contrast][data-reading-mode=true] h6 {
  color: var(--text-primary, #ffffff) !important;
}
[data-theme=high-contrast][data-reading-mode=true] a {
  color: var(--accent-primary, #ffff00) !important;
  border-bottom-color: var(--accent-primary, #ffff00);
}
[data-theme=high-contrast][data-reading-mode=true] .skill-card {
  background: var(--card-bg, #000000) !important;
  border-color: var(--border-color, #ffffff) !important;
}
[data-theme=high-contrast][data-photophobia-mode=true] {
  filter: brightness(0.8) contrast(1.3);
}
[data-theme=high-contrast][data-photophobia-mode=true] .particles-container {
  display: none;
}
[data-theme=high-contrast][data-font-size="4"] .container, [data-theme=high-contrast][data-font-size="5"] .container {
  max-width: 95%;
}
[data-theme=high-contrast][data-font-size="4"] .skill-card, [data-theme=high-contrast][data-font-size="5"] .skill-card {
  background: var(--card-bg, #000000) !important;
  border: 2px solid var(--border-color, #ffffff) !important;
}

[data-reading-mode=true][data-dyslexia-mode=true] .container {
  max-width: 55ch;
}
[data-reading-mode=true][data-dyslexia-mode=true] p, [data-reading-mode=true][data-dyslexia-mode=true] li {
  line-height: calc(var(--current-line-height, 1.6) * 1.1);
}

[data-photophobia-mode=true][data-font-size="4"] .container, [data-photophobia-mode=true][data-font-size="5"] .container {
  max-width: 95%;
}
[data-photophobia-mode=true][data-font-size="4"] .skill-card, [data-photophobia-mode=true][data-font-size="5"] .skill-card {
  background: var(--photophobia-card-large, #0a0a0a) !important;
}

@media (max-width: 768px) {
  [data-reading-mode=true] .container {
    max-width: 95% !important;
    padding: 0 1rem;
  }
  [data-reading-mode=true] {
    font-size: 1rem;
  }
  [data-reading-mode=true] h1 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }
  [data-reading-mode=true] h2 {
    font-size: 1.125rem;
  }
  [data-font-size="4"] .container,
  [data-font-size="5"] .container {
    max-width: 95% !important;
  }
  [data-font-size="4"] .skills-grid,
  [data-font-size="5"] .skills-grid {
    grid-template-columns: 1fr;
  }
}
[data-reading-mode=true] {
  --bg-primary: #2d3748;
  --bg-secondary: #4a5568;
  --bg-tertiary: #718096;
  --bg-inverse: #e2e8f0;
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e0;
  --text-muted: #a0aec0;
  --text-inverse: #1a202c;
  --text-on-accent: #ffffff;
  --accent-primary: #63b3ed;
  --accent-secondary: #4299e1;
  --accent-success: #48bb78;
  --accent-danger: #f56565;
  --accent-warning: #ed8936;
  --accent-info: #0bc5ea;
  --border-color: #4a5568;
  --border-light: #718096;
  --border-dark: #2d3748;
  --focus-ring: 0 0 0 3px rgba(99, 179, 237, 0.5);
  filter: sepia(0.3) brightness(0.95) contrast(1.05);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.7;
}
[data-reading-mode=true] h1, [data-reading-mode=true] h2, [data-reading-mode=true] h3, [data-reading-mode=true] h4, [data-reading-mode=true] h5, [data-reading-mode=true] h6 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  color: #f7fafc;
}
[data-reading-mode=true] p, [data-reading-mode=true] li {
  font-size: 1.1rem;
  color: #e2e8f0;
}
[data-reading-mode=true] .container {
  max-width: 65ch;
  margin: 0 auto;
}

.photophobia-controls {
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid var(--border-color);
  display: none;
}
.photophobia-controls.visible {
  display: block !important;
  animation: slideDown 0.3s ease;
}
.photophobia-controls .slider-container {
  margin-bottom: 1rem;
}
.photophobia-controls .slider-container:last-child {
  margin-bottom: 0;
}
.photophobia-controls .slider-container label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}
.photophobia-controls .slider-container label .slider-value {
  background: var(--bg-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
  min-width: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
}
.photophobia-controls .slider-container .slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  opacity: 0.7;
  transition: all 0.2s ease;
  cursor: pointer;
}
.photophobia-controls .slider-container .slider:hover {
  opacity: 1;
}
.photophobia-controls .slider-container .slider:focus {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent-primary);
}
.photophobia-controls .slider-container .slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.photophobia-controls .slider-container .slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.photophobia-controls .slider-container .slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.photophobia-controls .slider-container .slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}
.photophobia-controls .slider-container .slider::-webkit-slider-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  cursor: pointer;
}
.photophobia-controls .slider-container .slider::-moz-range-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  cursor: pointer;
  border: none;
}

.intensity-control {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.intensity-control.visible {
  display: flex !important;
  animation: slideDown 0.3s ease;
}
.intensity-control .intensity-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
  min-width: 80px;
}
.intensity-control .intensity-slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  opacity: 0.7;
  transition: all 0.2s ease;
  cursor: pointer;
}
.intensity-control .intensity-slider:hover {
  opacity: 1;
}
.intensity-control .intensity-slider:focus {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent-primary);
}
.intensity-control .intensity-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.intensity-control .intensity-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.intensity-control .intensity-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.intensity-control .intensity-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}
.intensity-control .intensity-slider::-webkit-slider-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  cursor: pointer;
}
.intensity-control .intensity-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  cursor: pointer;
  border: none;
}
.intensity-control .intensity-value {
  min-width: 2rem;
  text-align: center;
  font-weight: bold;
  color: var(--accent-primary);
  background: var(--bg-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[data-refresh-rate="0"] *,
[data-refresh-rate="1"] * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
[data-refresh-rate="0"] .particles-container,
[data-refresh-rate="0"] .floating-element,
[data-refresh-rate="0"] .pulse-effect,
[data-refresh-rate="0"] .bounce-effect,
[data-refresh-rate="0"] .shimmer-effect,
[data-refresh-rate="0"] [data-animate],
[data-refresh-rate="0"] [data-parallax],
[data-refresh-rate="1"] .particles-container,
[data-refresh-rate="1"] .floating-element,
[data-refresh-rate="1"] .pulse-effect,
[data-refresh-rate="1"] .bounce-effect,
[data-refresh-rate="1"] .shimmer-effect,
[data-refresh-rate="1"] [data-animate],
[data-refresh-rate="1"] [data-parallax] {
  display: none !important;
}
[data-refresh-rate="0"] .btn:hover,
[data-refresh-rate="0"] .skill-card:hover,
[data-refresh-rate="0"] .nav-menu a:hover,
[data-refresh-rate="0"] .social-link:hover,
[data-refresh-rate="1"] .btn:hover,
[data-refresh-rate="1"] .skill-card:hover,
[data-refresh-rate="1"] .nav-menu a:hover,
[data-refresh-rate="1"] .social-link:hover {
  transform: none !important;
  transition: none !important;
}
[data-refresh-rate="0"],
[data-refresh-rate="1"] {
  caret-color: transparent !important;
}
[data-refresh-rate="0"] ::selection,
[data-refresh-rate="1"] ::selection {
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-refresh-rate="2"] *,
[data-refresh-rate="3"] * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
[data-refresh-rate="2"] .particles-container,
[data-refresh-rate="2"] .floating-element,
[data-refresh-rate="3"] .particles-container,
[data-refresh-rate="3"] .floating-element {
  display: none !important;
}
[data-refresh-rate="2"] .pulse-effect,
[data-refresh-rate="2"] .bounce-effect,
[data-refresh-rate="3"] .pulse-effect,
[data-refresh-rate="3"] .bounce-effect {
  animation: none !important;
  opacity: 0.8 !important;
}
[data-refresh-rate="2"] .btn:hover,
[data-refresh-rate="2"] .skill-card:hover,
[data-refresh-rate="3"] .btn:hover,
[data-refresh-rate="3"] .skill-card:hover {
  transform: none !important;
  transition-duration: 0.01s !important;
}
[data-refresh-rate="2"] video, [data-refresh-rate="2"] iframe,
[data-refresh-rate="3"] video,
[data-refresh-rate="3"] iframe {
  filter: brightness(0.85) contrast(1.15);
}

[data-refresh-rate="4"] *,
[data-refresh-rate="5"] * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}
[data-refresh-rate="4"] .particles-container,
[data-refresh-rate="5"] .particles-container {
  animation: none !important;
  opacity: 0.2;
}
[data-refresh-rate="4"] .pulse-effect,
[data-refresh-rate="5"] .pulse-effect {
  animation-duration: 2s !important;
}
[data-refresh-rate="4"] .btn:hover,
[data-refresh-rate="5"] .btn:hover {
  transform: translateY(-1px) !important;
  transition-duration: 0.05s !important;
}
[data-refresh-rate="4"] .skill-card:hover,
[data-refresh-rate="5"] .skill-card:hover {
  transform: translateY(-2px) !important;
  transition-duration: 0.05s !important;
}

[data-refresh-rate="6"] *,
[data-refresh-rate="7"] * {
  animation-duration: 0.3s !important;
  transition-duration: 0.2s !important;
}
[data-refresh-rate="6"] .particles-container,
[data-refresh-rate="7"] .particles-container {
  animation-duration: 3s !important;
  opacity: 0.5;
}
[data-refresh-rate="6"] .btn:hover,
[data-refresh-rate="7"] .btn:hover {
  transform: translateY(-1px) scale(1.02) !important;
  transition-duration: 0.1s !important;
}
[data-refresh-rate="6"] .skill-card:hover,
[data-refresh-rate="7"] .skill-card:hover {
  transform: translateY(-3px) !important;
  transition-duration: 0.15s !important;
}

[data-refresh-rate="8"] *,
[data-refresh-rate="9"] * {
  animation-duration: 0.5s !important;
  transition-duration: 0.3s !important;
}
[data-refresh-rate="8"] .particles-container,
[data-refresh-rate="9"] .particles-container {
  animation-duration: 2s !important;
  opacity: 0.8;
}

[data-photophobia-mode=true][data-refresh-rate="0"] .btn-primary,
[data-photophobia-mode=true][data-refresh-rate="0"] .accent-element,
[data-photophobia-mode=true][data-refresh-rate="0"] .highlight, [data-photophobia-mode=true][data-refresh-rate="1"] .btn-primary,
[data-photophobia-mode=true][data-refresh-rate="1"] .accent-element,
[data-photophobia-mode=true][data-refresh-rate="1"] .highlight, [data-photophobia-mode=true][data-refresh-rate="2"] .btn-primary,
[data-photophobia-mode=true][data-refresh-rate="2"] .accent-element,
[data-photophobia-mode=true][data-refresh-rate="2"] .highlight, [data-photophobia-mode=true][data-refresh-rate="3"] .btn-primary,
[data-photophobia-mode=true][data-refresh-rate="3"] .accent-element,
[data-photophobia-mode=true][data-refresh-rate="3"] .highlight {
  opacity: 0.7 !important;
  filter: brightness(0.8) !important;
}
[data-photophobia-mode=true][data-refresh-rate="0"] .blink,
[data-photophobia-mode=true][data-refresh-rate="0"] .flash,
[data-photophobia-mode=true][data-refresh-rate="0"] .glow, [data-photophobia-mode=true][data-refresh-rate="1"] .blink,
[data-photophobia-mode=true][data-refresh-rate="1"] .flash,
[data-photophobia-mode=true][data-refresh-rate="1"] .glow, [data-photophobia-mode=true][data-refresh-rate="2"] .blink,
[data-photophobia-mode=true][data-refresh-rate="2"] .flash,
[data-photophobia-mode=true][data-refresh-rate="2"] .glow, [data-photophobia-mode=true][data-refresh-rate="3"] .blink,
[data-photophobia-mode=true][data-refresh-rate="3"] .flash,
[data-photophobia-mode=true][data-refresh-rate="3"] .glow {
  animation: none !important;
  opacity: 0.6 !important;
}
[data-photophobia-mode=true][data-refresh-rate="0"] ::selection, [data-photophobia-mode=true][data-refresh-rate="1"] ::selection, [data-photophobia-mode=true][data-refresh-rate="2"] ::selection, [data-photophobia-mode=true][data-refresh-rate="3"] ::selection {
  background: rgba(100, 100, 100, 0.2) !important;
}
[data-photophobia-mode=true][data-refresh-rate="0"] video, [data-photophobia-mode=true][data-refresh-rate="0"] iframe, [data-photophobia-mode=true][data-refresh-rate="1"] video, [data-photophobia-mode=true][data-refresh-rate="1"] iframe, [data-photophobia-mode=true][data-refresh-rate="2"] video, [data-photophobia-mode=true][data-refresh-rate="2"] iframe, [data-photophobia-mode=true][data-refresh-rate="3"] video, [data-photophobia-mode=true][data-refresh-rate="3"] iframe {
  filter: brightness(0.8) contrast(1.2) saturate(0.9) !important;
}
[data-photophobia-mode=true][data-refresh-rate="4"] *, [data-photophobia-mode=true][data-refresh-rate="5"] *, [data-photophobia-mode=true][data-refresh-rate="6"] * {
  transition-timing-function: ease-out !important;
}
[data-photophobia-mode=true][data-refresh-rate="4"] .btn:focus,
[data-photophobia-mode=true][data-refresh-rate="4"] .skill-card:focus, [data-photophobia-mode=true][data-refresh-rate="5"] .btn:focus,
[data-photophobia-mode=true][data-refresh-rate="5"] .skill-card:focus, [data-photophobia-mode=true][data-refresh-rate="6"] .btn:focus,
[data-photophobia-mode=true][data-refresh-rate="6"] .skill-card:focus {
  transition: all 0.2s ease-out !important;
}
[data-photophobia-mode=true][data-refresh-rate="4"] .btn-primary, [data-photophobia-mode=true][data-refresh-rate="5"] .btn-primary, [data-photophobia-mode=true][data-refresh-rate="6"] .btn-primary {
  opacity: 0.85 !important;
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-refresh-rate]) * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .particles-container,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .floating-element {
    display: none !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .pulse-effect,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .bounce-effect {
    animation: none !important;
    opacity: 0.8 !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .btn:hover,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .skill-card:hover {
    transform: none !important;
    transition-duration: 0.01s !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] video, :root:not([data-refresh-rate])[data-photophobia-mode=true] iframe {
    filter: brightness(0.85) contrast(1.15);
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .btn-primary,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .accent-element,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .highlight {
    opacity: 0.7 !important;
    filter: brightness(0.8) !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .blink,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .flash,
  :root:not([data-refresh-rate])[data-photophobia-mode=true] .glow {
    animation: none !important;
    opacity: 0.6 !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] ::selection {
    background: rgba(100, 100, 100, 0.2) !important;
  }
  :root:not([data-refresh-rate])[data-photophobia-mode=true] video, :root:not([data-refresh-rate])[data-photophobia-mode=true] iframe {
    filter: brightness(0.8) contrast(1.2) saturate(0.9) !important;
  }
}
[data-theme=dark] .photophobia-controls,
[data-theme=dark] .intensity-control {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}
[data-theme=dark] .photophobia-controls .slider,
[data-theme=dark] .photophobia-controls .intensity-slider,
[data-theme=dark] .intensity-control .slider,
[data-theme=dark] .intensity-control .intensity-slider {
  background: var(--border-color);
}
[data-theme=dark] .photophobia-controls .slider::-webkit-slider-thumb, [data-theme=dark] .photophobia-controls .slider::-moz-range-thumb,
[data-theme=dark] .photophobia-controls .intensity-slider::-webkit-slider-thumb,
[data-theme=dark] .photophobia-controls .intensity-slider::-moz-range-thumb,
[data-theme=dark] .intensity-control .slider::-webkit-slider-thumb,
[data-theme=dark] .intensity-control .slider::-moz-range-thumb,
[data-theme=dark] .intensity-control .intensity-slider::-webkit-slider-thumb,
[data-theme=dark] .intensity-control .intensity-slider::-moz-range-thumb {
  border-color: var(--bg-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
[data-theme=dark] .photophobia-controls .slider-value,
[data-theme=dark] .photophobia-controls .intensity-value,
[data-theme=dark] .intensity-control .slider-value,
[data-theme=dark] .intensity-control .intensity-value {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

@media (max-width: 768px) {
  .photophobia-controls {
    padding: 0.75rem;
    margin-top: 0.75rem;
  }
  .photophobia-controls .slider-container {
    margin-bottom: 0.875rem;
  }
  .photophobia-controls .slider-container label {
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .photophobia-controls .slider-container label .slider-value {
    align-self: flex-end;
  }
  .intensity-control {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.625rem;
  }
  .intensity-control .intensity-label {
    min-width: auto;
    text-align: left;
  }
  .intensity-control .intensity-value {
    align-self: flex-end;
    margin-top: 0.25rem;
  }
  [data-refresh-rate="6"] .particles-container,
  [data-refresh-rate="7"] .particles-container {
    display: none !important;
  }
}
@media (prefers-contrast: high) {
  .photophobia-controls,
  .intensity-control {
    border-width: 2px;
    border-color: var(--text-primary);
  }
  .photophobia-controls .slider,
  .photophobia-controls .intensity-slider,
  .intensity-control .slider,
  .intensity-control .intensity-slider {
    border: 1px solid var(--text-primary);
  }
  .photophobia-controls .slider::-webkit-slider-thumb, .photophobia-controls .slider::-moz-range-thumb,
  .photophobia-controls .intensity-slider::-webkit-slider-thumb,
  .photophobia-controls .intensity-slider::-moz-range-thumb,
  .intensity-control .slider::-webkit-slider-thumb,
  .intensity-control .slider::-moz-range-thumb,
  .intensity-control .intensity-slider::-webkit-slider-thumb,
  .intensity-control .intensity-slider::-moz-range-thumb {
    border-width: 3px;
    border-color: var(--text-primary);
  }
  .photophobia-controls .slider-value,
  .photophobia-controls .intensity-value,
  .intensity-control .slider-value,
  .intensity-control .intensity-value {
    border: 1px solid var(--text-primary);
    font-weight: 800;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photophobia-controls,
  .intensity-control {
    transition: none;
  }
  .photophobia-controls.visible,
  .intensity-control.visible {
    animation: none;
  }
  @keyframes slideDown {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
:root {
  --particles-opacity: 0.6;
  --particles-size-min: 1;
  --particles-size-max: 2.5;
  --particles-speed: 0.6;
  --particles-count: 80;
  --particles-blur: 0;
  --particles-line-linked: false;
  --particles-move-speed: 1;
  --particles-density: 100;
  --particles-color-1: rgba(60, 200, 143, 0.15);
  --particles-color-2: rgba(51, 91, 154, 0.12);
  --particles-color-3: rgba(87, 196, 220, 0.1);
  --particles-color-4: rgba(40, 169, 123, 0.12);
  --particles-color-5: rgba(255, 255, 255, 0.08);
  --particles-color-6: rgba(200, 220, 255, 0.1);
  --particles-colors-array: "[rgba(60, 200, 143, 0.15), rgba(51, 91, 154, 0.12), rgba(87, 196, 220, 0.1), rgba(40, 169, 123, 0.12), rgba(255, 255, 255, 0.08), rgba(200, 220, 255, 0.1)]";
  --particles-interaction-opacity: 0.4;
  --particles-mobile-opacity: 0.8;
}

.particles-disabled {
  --particles-opacity: 0;
  --particles-count: 0;
}

.particles-minimal {
  --particles-opacity: 0.3;
  --particles-count: 40;
  --particles-speed: 0.4;
}

.particles-performance {
  --particles-count: 30;
  --particles-speed: 0.3;
  --particles-move-speed: 0.5;
}

[data-theme=light],
.theme-light {
  --particles-opacity: 0.6;
  --particles-size-min: 1;
  --particles-size-max: 2.5;
  --particles-speed: 0.6;
  --particles-count: 80;
  --particles-color-1: rgba(60, 200, 143, 0.15);
  --particles-color-2: rgba(51, 91, 154, 0.12);
  --particles-color-3: rgba(87, 196, 220, 0.1);
  --particles-color-4: rgba(40, 169, 123, 0.12);
  --particles-color-5: rgba(255, 255, 255, 0.08);
  --particles-color-6: rgba(200, 220, 255, 0.1);
  --particles-colors-array: "[rgba(60, 200, 143, 0.15), rgba(51, 91, 154, 0.12), rgba(87, 196, 220, 0.1), rgba(40, 169, 123, 0.12), rgba(255, 255, 255, 0.08), rgba(200, 220, 255, 0.1)]";
}

[data-theme=dark],
.theme-dark {
  --particles-opacity: 0.7;
  --particles-size-min: 1;
  --particles-size-max: 3;
  --particles-speed: 0.7;
  --particles-count: 100;
  --particles-line-linked: true;
  --particles-blur: 1;
  --particles-color-1: rgba(60, 200, 143, 0.2);
  --particles-color-2: rgba(51, 91, 154, 0.18);
  --particles-color-3: rgba(87, 196, 220, 0.15);
  --particles-color-4: rgba(40, 169, 123, 0.18);
  --particles-color-5: rgba(255, 255, 255, 0.12);
  --particles-color-6: rgba(200, 220, 255, 0.15);
  --particles-colors-array: "[rgba(60, 200, 143, 0.2), rgba(51, 91, 154, 0.18), rgba(87, 196, 220, 0.15), rgba(40, 169, 123, 0.18), rgba(255, 255, 255, 0.12), rgba(200, 220, 255, 0.15)]";
  --particles-interaction-opacity: 0.3;
  --particles-mobile-opacity: 0.6;
}

[data-theme=high-contrast],
.theme-high-contrast {
  --particles-opacity: 0.15;
  --particles-size-min: 1;
  --particles-size-max: 2;
  --particles-speed: 0.4;
  --particles-count: 40;
  --particles-line-linked: false;
  --particles-blur: 0;
  --particles-color-1: rgba(255, 255, 255, 0.1);
  --particles-color-2: rgba(255, 255, 255, 0.08);
  --particles-color-3: rgba(255, 255, 255, 0.06);
  --particles-color-4: rgba(255, 255, 255, 0.08);
  --particles-color-5: rgba(255, 255, 255, 0.05);
  --particles-color-6: rgba(255, 255, 255, 0.07);
  --particles-colors-array: "[rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.07)]";
  --particles-interaction-opacity: 0.08;
  --particles-mobile-opacity: 0.12;
}

@media (prefers-contrast: high) {
  :root {
    --particles-opacity: 0.1;
    --particles-count: 20;
    --particles-speed: 0.3;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  position: relative;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  background: #3cc88f;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skip-link:focus {
  transform: translateX(0);
}
.skip-link .skip-icon {
  font-size: 1.2em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}
.navbar.navbar-scrolled {
  background-color: var(--bg-primary);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar .nav-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.navbar .nav-brand .brand-link:hover {
  color: var(--accent-primary);
}
.navbar .nav-brand .brand-link h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
}
.navbar .nav-brand .language-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}
.navbar .nav-brand .language-flag:hover {
  transform: scale(1.1);
}
.navbar .nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .navbar .nav-menu {
    display: none;
  }
}
.navbar .nav-menu li {
  margin: 0;
}
.navbar .nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.navbar .nav-menu a:hover, .navbar .nav-menu a:focus {
  color: var(--accent-primary);
}
.navbar .nav-menu a[aria-current=page] {
  color: var(--accent-primary);
  font-weight: 600;
}
.navbar .nav-menu a[aria-current=page]::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: 2px;
}
.navbar .nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar .nav-controls .nav-button {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .nav-controls .nav-button:hover, .navbar .nav-controls .nav-button:focus {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-on-accent);
  transform: translateY(-1px);
}
.navbar .nav-controls .nav-button:active {
  transform: translateY(0);
}
.navbar .nav-controls .nav-button.dropdown-toggle {
  position: relative;
  padding-right: 2rem;
}
.navbar .nav-controls .nav-button.dropdown-toggle::after {
  content: "▼";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.navbar .nav-controls .dropdown {
  position: relative;
}
.navbar .nav-controls .dropdown.open .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}
.navbar .nav-controls .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar .nav-controls .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1010;
}
.navbar .nav-controls .dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 1rem;
  width: 12px;
  height: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}
.navbar .nav-controls .dropdown .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
}
.navbar .nav-controls .dropdown .dropdown-menu .dropdown-item:hover, .navbar .nav-controls .dropdown .dropdown-menu .dropdown-item:focus {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}
.navbar .nav-controls .dropdown .dropdown-menu .dropdown-item.active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-weight: 600;
}
.navbar .nav-controls .dropdown .dropdown-menu .dropdown-item .flag-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.navbar .nav-controls .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}
@media (max-width: 768px) {
  .navbar .nav-controls .menu-toggle {
    display: flex;
  }
}
.navbar .nav-controls .menu-toggle .hamburger-icon {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all 0.3s ease;
}
.navbar .nav-controls .menu-toggle .hamburger-icon::before, .navbar .nav-controls .menu-toggle .hamburger-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.navbar .nav-controls .menu-toggle .hamburger-icon::before {
  top: -6px;
  left: 0;
}
.navbar .nav-controls .menu-toggle .hamburger-icon::after {
  bottom: -6px;
  left: 0;
}
.navbar .nav-controls .menu-toggle[aria-expanded=true] .hamburger-icon {
  background: transparent;
}
.navbar .nav-controls .menu-toggle[aria-expanded=true] .hamburger-icon::before {
  transform: rotate(45deg) translate(4px, 4px);
}
.navbar .nav-controls .menu-toggle[aria-expanded=true] .hamburger-icon::after {
  transform: rotate(-45deg) translate(4px, -4px);
}
.navbar .nav-controls .menu-toggle:hover, .navbar .nav-controls .menu-toggle:focus {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}
.navbar .nav-controls .menu-toggle:hover .hamburger-icon,
.navbar .nav-controls .menu-toggle:hover .hamburger-icon::before,
.navbar .nav-controls .menu-toggle:hover .hamburger-icon::after, .navbar .nav-controls .menu-toggle:focus .hamburger-icon,
.navbar .nav-controls .menu-toggle:focus .hamburger-icon::before,
.navbar .nav-controls .menu-toggle:focus .hamburger-icon::after {
  background: var(--text-on-accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 1020;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu .mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu .mobile-menu-header .close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mobile-menu .mobile-menu-header .close-button:hover, .mobile-menu .mobile-menu-header .close-button:focus {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}
.mobile-menu .mobile-nav {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}
.mobile-menu .mobile-nav li {
  margin: 0;
}
.mobile-menu .mobile-nav li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.mobile-menu .mobile-nav li a:hover, .mobile-menu .mobile-nav li a:focus {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border-left-color: var(--accent-primary);
}
.mobile-menu .mobile-nav li a[aria-current=page] {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border-left-color: var(--accent-primary);
  font-weight: 600;
}
.mobile-menu .mobile-nav .mobile-options {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
}
.mobile-menu .mobile-nav .mobile-options .mobile-theme-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.mobile-menu .mobile-nav .mobile-options .mobile-theme-selector select {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.mobile-menu .mobile-nav .mobile-options .mobile-theme-selector select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-inverse);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1010;
}
.menu-overlay.active {
  opacity: 0.5;
  visibility: visible;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--accent-primary);
  color: var(--text-on-accent);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transform: translateX(0);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0 0 8px 0;
  box-shadow: var(--shadow-md);
  max-width: 60px;
  overflow: hidden;
}
.skip-link:hover, .skip-link:focus {
  max-width: 300px;
  background: var(--accent-secondary);
}
.skip-link .skip-icon {
  font-size: 1.5em;
  flex-shrink: 0;
}
.skip-link .skip-text {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.skip-link:hover .skip-text, .skip-link:focus .skip-text {
  opacity: 1;
}
.skip-link:not(:hover):not(:focus) .skip-text {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    z-index: 10001;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
  }
  .menu-toggle:hover {
    background: var(--accent-primary) !important;
  }
}
.btn {
  background-color: var(--button-bg, #3cc88f);
  color: var(--button-text, #ffffff);
  border: 1px solid var(--button-bg, #3cc88f);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-base, all 0.3s ease);
}
.btn:hover, .btn:focus {
  background-color: var(--button-hover-bg, #2fa778);
  border-color: var(--button-hover-bg, #2fa778);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}
.btn-primary {
  background-color: var(--accent-primary, #3cc88f);
  border-color: var(--accent-primary, #3cc88f);
}
.btn-secondary {
  background-color: transparent;
  color: var(--accent-primary, #3cc88f);
  border-color: var(--accent-primary, #3cc88f);
}
.btn-secondary:hover {
  background-color: var(--accent-primary, #3cc88f);
  color: var(--button-text, #ffffff);
}

.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: var(--particles-opacity, 0.6);
}
.particles-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent !important;
  transition: opacity 0.5s ease-in-out;
}
.content-area:hover ~ .particles-container, .particles-container.particles-dimmed {
  opacity: calc(var(--particles-opacity, 0.6) * 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .particles-container {
    --particles-speed: 0.1;
  }
  .particles-container canvas {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 768px) {
  .particles-container {
    opacity: calc(var(--particles-opacity, 0.6) * 0.7);
  }
  .content-area:hover ~ .particles-container {
    opacity: calc(var(--particles-opacity, 0.6) * 0.3);
  }
}
@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .particles-container {
    display: none;
  }
}

.particles-active .particles-container {
  opacity: var(--particles-opacity, 0.6);
}

.content-focused .particles-container {
  opacity: calc(var(--particles-opacity, 0.6) * 0.4);
  transition: opacity 0.3s ease;
}

.particles-minimal {
  --particles-opacity: 0.3;
  --particles-count: 20;
}
.particles-minimal .particles-container {
  opacity: var(--particles-opacity);
}

.particles-high-contrast {
  --particles-opacity: 0.1;
  --particles-count: 15;
}

.particles-performance {
  --particles-count: 25;
  --particles-speed: 0.3;
}

.footer {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}
.footer-brand h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.footer-brand .footer-languages {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}
.footer-brand .footer-languages .lang-badge {
  display: inline-block;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
  font-weight: var(--font-weight-medium);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
@media (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}
.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 0.5rem;
}
.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
  display: inline-block;
}
.footer-column ul li a:hover, .footer-column ul li a:focus {
  color: var(--accent-primary);
  text-decoration: underline;
  outline: none;
}
.footer-column ul li a.lang-active {
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
}
.footer-column .language-switcher-footer li {
  display: inline-block;
  margin-right: 0.75rem;
}
.footer-column .language-switcher-footer li:last-child {
  margin-right: 0;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.875rem;
}
.footer-bottom .footer-accessibility {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-bottom .footer-accessibility span {
  font-size: 1rem;
}
.footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer .social-links {
    justify-content: flex-start;
  }
}
.footer .social-links a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}
.footer .social-links a:hover, .footer .social-links a:focus {
  color: var(--accent-secondary);
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.reduced-motion .footer .social-links a, [data-refresh-rate="0"] .footer .social-links a, [data-refresh-rate="1"] .footer .social-links a, [data-refresh-rate="2"] .footer .social-links a {
  transition: none;
  transform: none;
}
.reduced-motion .footer .social-links a:hover, [data-refresh-rate="0"] .footer .social-links a:hover, [data-refresh-rate="1"] .footer .social-links a:hover, [data-refresh-rate="2"] .footer .social-links a:hover {
  transform: none;
}
.footer--simple {
  padding: 2rem 0;
  text-align: center;
}
.footer--simple .footer-content {
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}
.footer--simple .social-links {
  justify-content: center;
  margin-top: 1rem;
}
.footer--minimal {
  padding: 1.5rem 0;
  font-size: 0.875rem;
}
.footer--minimal .footer-bottom {
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}
[data-theme=high-contrast] .footer {
  background: var(--bg-primary);
  border-top: 3px solid var(--border-color);
}
[data-theme=high-contrast] .footer a {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
}
[data-theme=high-contrast] .footer a:focus {
  outline: 3px solid var(--accent-primary);
}
[data-photophobia-mode=true] .footer .social-links a {
  opacity: 0.9;
}

.hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
    min-height: 70vh;
  }
}
@media (min-width: 992px) {
  .hero {
    padding: 8rem 0 4rem;
    min-height: 80vh;
  }
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero-title .title-line {
  display: block;
}
.hero-title .text-accent {
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
}
.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}
.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
[data-theme=dark] .hero-background {
  opacity: 0.05;
}
[data-theme=high-contrast] .hero-background {
  opacity: 0;
  display: none;
}
.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
@media (min-width: 992px) {
  .hero-content {
    gap: 4rem;
  }
}
.hero-image-wrapper {
  text-align: center;
  order: 2;
}
@media (min-width: 768px) {
  .hero-image-wrapper {
    order: 1;
  }
}
.hero-image-wrapper img {
  border-radius: 50%;
  max-width: 300px;
  width: 100%;
  height: auto;
  border: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-lg);
  background: var(--card-bg);
}
@media (min-width: 768px) {
  .hero-image-wrapper img {
    max-width: 350px;
  }
}
@media (min-width: 992px) {
  .hero-image-wrapper img {
    max-width: 400px;
  }
}
[data-theme=high-contrast] .hero-image-wrapper img {
  border-width: 3px;
  border-color: var(--border-color);
}
.hero-text {
  order: 1;
}
@media (min-width: 768px) {
  .hero-text {
    order: 2;
    text-align: left;
  }
}
.hero-text .hero-title {
  text-align: center;
}
@media (min-width: 768px) {
  .hero-text .hero-title {
    text-align: left;
  }
}
.hero-text .hero-subtitle {
  text-align: center;
}
@media (min-width: 768px) {
  .hero-text .hero-subtitle {
    text-align: left;
  }
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .hero-actions {
    justify-content: flex-start;
  }
}
.hero--landing {
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .hero--landing {
    padding: 4rem 0;
  }
}
.hero--landing .hero-title {
  margin-bottom: 0.5rem;
}
.hero--landing .hero-subtitle {
  margin-bottom: 3rem;
}
.hero--fullscreen {
  min-height: 100vh;
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .hero--fullscreen {
    padding: 7rem 0;
  }
}
.hero--minimal {
  padding: 3rem 0;
  min-height: auto;
}
.hero--minimal .hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
[data-photophobia-mode=true] .hero .hero-background {
  opacity: 0.05;
}
[data-photophobia-mode=true] .hero .hero-image-wrapper img {
  opacity: var(--image-opacity, 0.9);
}
.reduced-motion .hero .hero-image-wrapper img, [data-refresh-rate="0"] .hero .hero-image-wrapper img, [data-refresh-rate="1"] .hero .hero-image-wrapper img, [data-refresh-rate="2"] .hero .hero-image-wrapper img {
  transition: none;
}
.reduced-motion .hero .hero-image-wrapper img:hover, [data-refresh-rate="0"] .hero .hero-image-wrapper img:hover, [data-refresh-rate="1"] .hero .hero-image-wrapper img:hover, [data-refresh-rate="2"] .hero .hero-image-wrapper img:hover {
  transform: none;
}

.intro {
  padding: 4rem 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
}
@media (min-width: 768px) {
  .intro {
    padding: 6rem 0;
  }
}
.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.intro-title {
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.intro-subtitle {
  color: var(--accent-secondary);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: var(--font-weight-medium);
  margin-bottom: 2rem;
  line-height: 1.4;
}
.intro-description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.intro-highlight {
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
}
.intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}
@media (max-width: 576px) {
  .intro-features {
    grid-template-columns: 1fr;
  }
}
.intro-feature {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-base);
}
.intro-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}
.reduced-motion .intro-feature, [data-refresh-rate="0"] .intro-feature, [data-refresh-rate="1"] .intro-feature, [data-refresh-rate="2"] .intro-feature {
  transition: none;
  transform: none;
}
.reduced-motion .intro-feature:hover, [data-refresh-rate="0"] .intro-feature:hover, [data-refresh-rate="1"] .intro-feature:hover, [data-refresh-rate="2"] .intro-feature:hover {
  transform: none;
}
.intro-feature .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
  line-height: 1;
}
.intro-feature h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}
.intro-feature p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}
.intro-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.intro--alternate {
  background: var(--bg-secondary);
}
.intro--alternate .intro-feature {
  background: var(--bg-primary);
}
.intro--accent {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--text-on-accent);
}
.intro--accent .intro-title,
.intro--accent .intro-subtitle,
.intro--accent .intro-description {
  color: var(--text-on-accent);
}
.intro--accent .intro-highlight {
  color: var(--text-on-accent);
  opacity: 0.9;
}
.intro--accent .intro-feature {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-on-accent);
}
.intro--accent .intro-feature h3,
.intro--accent .intro-feature p {
  color: var(--text-on-accent);
}
.intro--accent .intro-feature .feature-icon {
  color: var(--text-on-accent);
}
.intro--minimal {
  padding: 3rem 0;
}
.intro--minimal .intro-content {
  max-width: 600px;
}
[data-theme=high-contrast] .intro {
  background: var(--bg-primary);
  border-top: 3px solid var(--border-color);
  border-bottom: 3px solid var(--border-color);
}
[data-theme=high-contrast] .intro .intro-feature {
  border-width: 2px;
}
[data-photophobia-mode=true] .intro .intro-feature {
  opacity: var(--image-opacity, 0.9);
}
.reduced-motion .intro .intro-feature, [data-refresh-rate="0"] .intro .intro-feature, [data-refresh-rate="1"] .intro .intro-feature, [data-refresh-rate="2"] .intro .intro-feature {
  transition: none;
}
.reduced-motion .intro .intro-feature:hover, [data-refresh-rate="0"] .intro .intro-feature:hover, [data-refresh-rate="1"] .intro .intro-feature:hover, [data-refresh-rate="2"] .intro .intro-feature:hover {
  transform: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown .dropdown-toggle {
  transition: all all 0.2s ease-in-out;
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
}
.dropdown .dropdown-toggle:hover {
  background: rgba(60, 200, 143, 0.1);
  border-color: rgba(60, 200, 143, 0.2);
}
.dropdown .dropdown-toggle .dropdown-arrow {
  font-size: 0.7em;
  transition: transform all 0.2s ease-in-out;
}
.dropdown .dropdown-toggle[aria-expanded=true] .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 180px;
  z-index: 1000;
  display: none;
  padding: 0.5rem 0;
}
.dropdown .dropdown-menu.show {
  display: block;
}
.dropdown .dropdown-menu .dropdown-item {
  transition: all 0.15s ease-in-out;
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #343a40;
}
.dropdown .dropdown-menu .dropdown-item:hover {
  background: #f9fafb;
  color: #3cc88f;
}
.dropdown .dropdown-menu .dropdown-item.active {
  background: #3cc88f;
  color: #ffffff;
}

.theme-menu .theme-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  position: relative;
  transition: all all 0.2s ease-in-out;
}
.theme-menu .theme-option[data-theme=light] {
  background: #ffffff;
  color: #212529;
}
.theme-menu .theme-option[data-theme=light] .theme-preview {
  background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
  border-color: #dee2e6;
}
.theme-menu .theme-option[data-theme=light]:hover {
  background: #f8f9fa;
}
.theme-menu .theme-option[data-theme=light].active {
  border: 2px solid #3cc88f;
  margin: -2px;
}
.theme-menu .theme-option[data-theme=dark] {
  background: #1a1a1a;
  color: #ffffff;
}
.theme-menu .theme-option[data-theme=dark] .theme-preview {
  background: linear-gradient(135deg, #1a1a1a 0%, #343a40 100%);
  border-color: #495057;
}
.theme-menu .theme-option[data-theme=dark]:hover {
  background: #2d2d2d;
}
.theme-menu .theme-option[data-theme=dark].active {
  border: 2px solid #4a6572;
  margin: -2px;
}
.theme-menu .theme-option[data-theme=sepia] {
  background: #f4ecd8;
  color: #5b4636;
}
.theme-menu .theme-option[data-theme=sepia] .theme-preview {
  background: linear-gradient(135deg, #f4ecd8 0%, #e6d7b8 100%);
  border-color: #d4b996;
}
.theme-menu .theme-option[data-theme=sepia]:hover {
  background: #e8ddc8;
}
.theme-menu .theme-option[data-theme=sepia].active {
  border: 2px solid #a86c3d;
  margin: -2px;
}
.theme-menu .theme-option[data-theme=gray-scale] {
  background: #2d3748;
  color: #e2e8f0;
}
.theme-menu .theme-option[data-theme=gray-scale] .theme-preview {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-color: #718096;
}
.theme-menu .theme-option[data-theme=gray-scale]:hover {
  background: #4a5568;
}
.theme-menu .theme-option[data-theme=gray-scale].active {
  border: 2px solid #e2e8f0;
  margin: -2px;
}
.theme-menu .theme-option[data-theme=high-contrast] {
  background: #000000;
  color: #ffffff;
}
.theme-menu .theme-option[data-theme=high-contrast] .theme-preview {
  background: linear-gradient(135deg, #000000 0%, #ffffff 100%);
  border-color: #ffffff;
}
.theme-menu .theme-option[data-theme=high-contrast]:hover {
  background: #1a1a1a;
}
.theme-menu .theme-option[data-theme=high-contrast].active {
  border: 2px solid #ffff00;
  margin: -2px;
}
.theme-menu .theme-option .theme-preview {
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
  border: 2px solid;
  transition: all all 0.2s ease-in-out;
  flex-shrink: 0;
}

.accessibility-menu {
  min-width: 280px;
  max-width: 320px;
}
.accessibility-menu .accessibility-option {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
}
.accessibility-menu .accessibility-option:last-child {
  border-bottom: none;
}
.accessibility-menu .accessibility-option .option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.accessibility-menu .accessibility-option .option-header .option-title {
  font-weight: 500;
  color: #343a40;
}
.accessibility-menu .accessibility-option .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.accessibility-menu .accessibility-option .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.accessibility-menu .accessibility-option .toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dee2e6;
  border-radius: 24px;
  transition: background all 0.2s ease-in-out;
}
.accessibility-menu .accessibility-option .toggle-switch .toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.accessibility-menu .accessibility-option .toggle-switch input:checked + .toggle-slider {
  background: #3cc88f;
}
.accessibility-menu .accessibility-option .toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}
.accessibility-menu .accessibility-option .intensity-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.accessibility-menu .accessibility-option .intensity-control .intensity-label {
  font-size: 0.875rem;
  color: #8a8d91;
  min-width: 70px;
}
.accessibility-menu .accessibility-option .intensity-control .intensity-slider {
  flex: 1;
  height: 6px;
  background: #dee2e6;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.accessibility-menu .accessibility-option .intensity-control .intensity-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3cc88f;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.accessibility-menu .accessibility-option .intensity-control .intensity-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3cc88f;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.accessibility-menu .accessibility-option .intensity-control .intensity-value {
  font-size: 0.875rem;
  color: #8a8d91;
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  background: #f9fafb;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
.accessibility-menu .accessibility-option.motion-intensity .intensity-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}
.accessibility-menu .accessibility-option.motion-intensity .intensity-labels .intensity-label {
  font-size: 0.75rem;
  color: #adb5bd;
}
.accessibility-menu .accessibility-option.motion-intensity .intensity-labels .intensity-label.min {
  text-align: left;
}
.accessibility-menu .accessibility-option.motion-intensity .intensity-labels .intensity-label.max {
  text-align: right;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-direction: column;
}
@media (min-width: 768px) {
  .profile-hero {
    flex-direction: row;
    gap: 3rem;
  }
}
.profile-image-container {
  flex-shrink: 0;
  position: relative;
}
.profile-image-container .profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  background: var(--bg-primary);
}
@media (min-width: 768px) {
  .profile-image-container .profile-image {
    width: 250px;
    height: 250px;
  }
}
@media (min-width: 992px) {
  .profile-image-container .profile-image {
    width: 300px;
    height: 300px;
  }
}
.profile-image-container .profile-image:hover {
  transform: scale(1.02);
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-xl);
}
.reduced-motion .profile-image-container .profile-image, [data-refresh-rate="0"] .profile-image-container .profile-image, [data-refresh-rate="1"] .profile-image-container .profile-image, [data-refresh-rate="2"] .profile-image-container .profile-image {
  transition: none;
  transform: none;
}
.reduced-motion .profile-image-container .profile-image:hover, [data-refresh-rate="0"] .profile-image-container .profile-image:hover, [data-refresh-rate="1"] .profile-image-container .profile-image:hover, [data-refresh-rate="2"] .profile-image-container .profile-image:hover {
  transform: none;
}
.profile-image-container:not(.no-animation)::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  opacity: 0.3;
  animation: pulse-ring 2s ease-in-out infinite;
}
.reduced-motion .profile-image-container:not(.no-animation)::before, [data-refresh-rate="0"] .profile-image-container:not(.no-animation)::before, [data-refresh-rate="1"] .profile-image-container:not(.no-animation)::before, [data-refresh-rate="2"] .profile-image-container:not(.no-animation)::before, [data-refresh-rate="3"] .profile-image-container:not(.no-animation)::before {
  animation: none;
  opacity: 0.2;
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}
.profile-content {
  flex: 1;
  text-align: center;
}
@media (min-width: 992px) {
  .profile-content {
    text-align: left;
  }
}
.profile-content h1 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
}
.profile-content .profile-subtitle {
  color: var(--accent-secondary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-medium);
}
.profile-content .profile-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.profile-language-selection {
  margin-top: 2rem;
}

.language-selection {
  margin-top: 3rem;
}

.language-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .language-cards {
    grid-template-columns: 1fr;
  }
}

.language-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-base);
  text-align: center;
  display: block;
  height: 100%;
}
.language-card:hover, .language-card:focus {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.language-card:active {
  transform: translateY(-2px);
}
.reduced-motion .language-card, [data-refresh-rate="0"] .language-card, [data-refresh-rate="1"] .language-card, [data-refresh-rate="2"] .language-card {
  transition: none;
  transform: none;
}
.reduced-motion .language-card:hover, [data-refresh-rate="0"] .language-card:hover, [data-refresh-rate="1"] .language-card:hover, [data-refresh-rate="2"] .language-card:hover {
  transform: none;
}
.language-card .language-flag-container {
  margin-bottom: 1rem;
}
.language-card .language-flag-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  transition: border-color var(--transition-base);
  object-fit: cover;
}
.language-card:hover .language-flag-large {
  border-color: var(--accent-primary);
}
.language-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
}
.language-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}
.reduced-motion .feature-card, [data-refresh-rate="0"] .feature-card, [data-refresh-rate="1"] .feature-card, [data-refresh-rate="2"] .feature-card {
  transition: none;
  transform: none;
}
.reduced-motion .feature-card:hover, [data-refresh-rate="0"] .feature-card:hover, [data-refresh-rate="1"] .feature-card:hover, [data-refresh-rate="2"] .feature-card:hover {
  transform: none;
}
.feature-card .feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--accent-primary);
}
.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}
.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .skills-tags {
    justify-content: flex-start;
  }
}

.skill-tag {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.skill-tag:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.skill-tag:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.reduced-motion .skill-tag, [data-refresh-rate="0"] .skill-tag, [data-refresh-rate="1"] .skill-tag, [data-refresh-rate="2"] .skill-tag {
  transition: none;
  transform: none;
}
.reduced-motion .skill-tag:hover, [data-refresh-rate="0"] .skill-tag:hover, [data-refresh-rate="1"] .skill-tag:hover, [data-refresh-rate="2"] .skill-tag:hover {
  transform: none;
}

.hero {
  background: linear-gradient(135deg, var(--accent-secondary, #335b9a) 0%, var(--accent-primary, #3cc88f) 100%);
  color: var(--text-inverse, #ffffff);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-inverse, #ffffff);
}
.hero-title .title-line {
  display: block;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--text-inverse, #ffffff);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.875rem;
  color: var(--accent-secondary, #335b9a);
  margin-bottom: 1.25rem;
  text-align: center;
}

.intro {
  padding: 2rem 0;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #212529);
}
.intro-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.intro-content p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--text-secondary, #8a8d91);
}

.footer {
  background: var(--accent-secondary, #335b9a);
  color: var(--text-inverse, #ffffff);
  padding: 1.5rem 0;
  text-align: center;
}
.footer .social-links {
  margin-top: 1rem;
}
.footer .social-links a {
  color: var(--text-inverse, #ffffff);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.3s ease;
}
.footer .social-links a:hover {
  color: rgba(var(--accent-primary, #3cc88f), 0.8);
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}
@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 100px 0 60px;
  }
}
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
}
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  .desktop-only {
    display: block;
  }
}
@media (max-width: 768px) {
  .dropdown .dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    max-height: 60vh;
    overflow-y: auto;
  }
  .dropdown .accessibility-menu {
    min-width: auto;
    max-width: none;
  }
  .skip-link {
    left: 0.5rem;
    top: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
  }
}
/*# sourceMappingURL=main.css.map */
