@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100..1000&display=swap");

body {
  --c-glass: #b2b2b2;
  --c-light: #fff;
  --c-dark: #000;

  --c-content: rgb(29, 29, 29);
  --c-content-rgb: 34, 34, 68;
  --c-action: #ffffff38;

  --c-bg: #e8e8e9;

  --glass-reflex-dark: 1;
  --glass-reflex-light: 1;

  --saturation: 150%;

  font-size: 20px;
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  background: var(--c-bg);
  color: var(--c-content);

  transition: background 800ms cubic-bezier(1, 0, 0.4, 1),
    color 800ms cubic-bezier(1, 0, 0.4, 1);
}

body:has(input[value="dark"]:checked) {
  --c-glass: #bbbbbc;
  --c-light: #fff;
  --c-dark: #000;

  --c-content: #e1e1e1;
  --c-content-rgb: 225, 225, 225;
  --c-action: #242424;

  --c-bg: #141414;

  --glass-reflex-dark: 2;
  --glass-reflex-light: 0.3;

  --saturation: 150%;
}

body:has(input[value="dim"]:checked) {
  --c-content: rgb(35, 35, 35);           
  --c-content-rgb: 34, 34, 68;
  --c-action: #ffffff38;       
  --c-bg: #e8e8e9;            
  --glass-reflex-dark: 1;
  --glass-reflex-light: 1;
}

.switcher {
  position: fixed;
  z-index: 1;
  bottom: 40px;
  left: 50%;
  translate: -50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 244px;
  max-width: 244px;
  height: 70px;
  box-sizing: border-box;
  padding: 8px 12px 10px;
  margin: 0 auto;
  border: none;
  border-radius: 99em;
  font-size: var(--fz);
  background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
  backdrop-filter: blur(8px) url(#switcher) saturate(var(--saturation));
  -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
  box-shadow: inset 0 0 0 1px
      color-mix(
        in srgb,
        var(--c-light) calc(var(--glass-reflex-light) * 10%),
        transparent
      ),
    inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 90%), transparent),
    inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 80%), transparent),
    inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 60%), transparent),
    inset -0.3px -1px 4px 0px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 12%),
        transparent
      ),
    inset -1.5px 2.5px 0px -2px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 20%),
        transparent
      ),
    inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark)
          calc(var(--glass-reflex-dark) * 20%), transparent),
    inset 2px -6.5px 1px -4px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 10%),
        transparent
      ),
    0px 1px 5px 0px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 10%),
        transparent
      ),
    0px 6px 16px 0px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 8%),
        transparent
      );
  transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
}

.switcher__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.switcher__input {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

.switcher__icon {
  display: block;
  width: 100%;
  transition: scale 200ms cubic-bezier(0.5, 0, 0, 1);
  --c: var(--c-content) !important;
}

/* Override the white color rule specifically for welcome page */
body:not(:has(input[name="theme"]:checked)) .switcher__icon {
  --c: white !important;
}

.switcher__filter {
  position: absolute;
  width: 0;
  height: 0;
  z-index: -1;
}

.switcher__option {
  --c: var(--c-content);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  width: 68px;
  height: 100%;
  box-sizing: border-box;
  border-radius: 99em;
  opacity: 1;
  transition: all 160ms;
}

.switcher__option:hover {
  cursor: pointer;
}

.switcher__option:hover .switcher__icon {
  scale: 1.1;
}

.switcher__option:has(input:checked) {
  --c: var(--c-content);
  cursor: auto;
}

.switcher__option:has(input:checked) .switcher__icon {
  scale: 1;
}

.switcher::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  display: block;
  width: 84px;
  height: calc(100% - 10px);
  border-radius: 99em;
  background-color: color-mix(in srgb, var(--c-glass) 36%, transparent);
  z-index: -1;
  opacity: 0;
  box-shadow: inset 0 0 0 1px
      color-mix(
        in srgb,
        var(--c-light) calc(var(--glass-reflex-light) * 10%),
        transparent
      ),
    inset 2px 1px 0px -1px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 90%), transparent),
    inset -1.5px -1px 0px -1px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 80%), transparent),
    inset -2px -6px 1px -5px color-mix(in srgb, var(--c-light)
          calc(var(--glass-reflex-light) * 60%), transparent),
    inset -1px 2px 3px -1px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 20%),
        transparent
      ),
    inset 0px -4px 1px -2px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 10%),
        transparent
      ),
    0px 3px 6px 0px
      color-mix(
        in srgb,
        var(--c-dark) calc(var(--glass-reflex-dark) * 8%),
        transparent
      );
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
}

/* First selection - no animation */
.switcher:has(input[c-option="1"]:checked):not([c-previous])::after {
  translate: 0 0;
  opacity: 1;
  transform-origin: right;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
}

.switcher:has(input[c-option="2"]:checked):not([c-previous])::after {
  translate: 76px 0;
  opacity: 1;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
}

.switcher:has(input[c-option="3"]:checked):not([c-previous])::after {
  translate: 152px 0;
  opacity: 1;
  transform-origin: left;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
}

/* Subsequent selections with animation */
.switcher:has(input[c-option="1"]:checked)[c-previous]::after {
  translate: 0 0;
  opacity: 1;
  transform-origin: right;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
  animation: scaleToggle 440ms ease;
}

.switcher:has(input[c-option="2"]:checked)[c-previous]::after {
  translate: 76px 0;
  opacity: 1;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
  animation: scaleToggle2 440ms ease;
}

.switcher[c-previous="1"]:has(input[c-option="2"]:checked)::after {
  transform-origin: left;
}

.switcher[c-previous="3"]:has(input[c-option="2"]:checked)::after {
  transform-origin: right;
}

.switcher:has(input[c-option="3"]:checked)[c-previous]::after {
  translate: 152px 0;
  opacity: 1;
  transform-origin: left;
  transition: opacity 200ms ease, background-color 400ms cubic-bezier(1, 0, 0.4, 1),
    box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
    translate 400ms cubic-bezier(1, 0, 0.4, 1);
  animation: scaleToggle3 440ms ease;
}

@keyframes scaleToggle {
  0% {
    scale: 1 1;
  }
  50% {
    scale: 1.1 1;
  }
  100% {
    scale: 1 1;
  }
}

@keyframes scaleToggle2 {
  0% {
    scale: 1 1;
  }
  50% {
    scale: 1.2 1;
  }
  100% {
    scale: 1 1;
  }
}

@keyframes scaleToggle3 {
  0% {
    scale: 1 1;
  }
  50% {
    scale: 1.1 1;
  }
  100% {
    scale: 1 1;
  }
}

/* Article Styles */
.article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8em 2em 5em 2em;
}

h1,
h2,
p,
blockquote {
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

h1 {
  font-size: 3em;
  margin: 1.4em 0 0.6em;
}

h2 {
  font-size: 2em;
  margin: 1.4em 0 0.6em;
}

p {
  line-height: 160%;
  margin: 0 0 1em;
}

blockquote {
  margin-left: 0;
  margin-right: 0;
  font-size: 2em;
  padding-left: 1em;
  border-left: 0.1em solid currentColor;
}

figure {
  margin: 1em 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

figcaption {
  max-width: 600px;
  margin-top: 1em;
  font-size: 0.8em;
  color: color-mix(in srgb, var(--c-content) 60%, var(--c-bg));
}

a {
  color: var(--c-action);
  text-decoration-thickness: 0.05em;
  text-underline-position: under;
  text-decoration-color: color-mix(in srgb, currentColor, transparent 70%);
  transition: color 160ms, text-decoration-color 160ms;
}

a:hover {
  color: color-mix(in srgb, var(--c-action), var(--c-content) 40%);
  text-decoration-color: color-mix(in srgb, currentColor, transparent 30%);
}

img {
  display: block;
  border-radius: 0.8em;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.box {
  padding: 1em 1.4em;
  border-top: 4px solid color-mix(in srgb, var(--c-action) 50%, transparent);
  border-radius: 0.8em;
  background-color: color-mix(in srgb, var(--c-action) 8%, var(--c-bg));
  transition: background 400ms cubic-bezier(1, 0, 0.4, 1);
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 1;
  transition: opacity 800ms ease-out;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background.fade-out {
  opacity: 0;
}

/* Default: Show desktop video, hide mobile */
.video-background--desktop {
  display: block;
}

.video-background--mobile {
  display: none;
}

/* Theme-specific styles */
body:not(:has(input[name="theme"]:checked)) .glass-logo__svg {
  fill: white;
}

body:not(:has(input[name="theme"]:checked)) .glass-logo__button,
body:has(input[value="dark"]:checked) .glass-logo__button {
  color: white;
}

body:has(input[value="dark"]:checked) .glass-logo__svg {
  fill: white;
}

.theme-content {
  opacity: 0;
  animation: fadeIn 800ms ease-out forwards;
  animation-delay: 400ms;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.theme-content.fade-out {
  opacity: 1;
  animation: fadeOut 300ms ease-out forwards;
}

.welcome-content.fade-in {
  animation: fadeIn 400ms ease-out forwards;
  animation-delay: 0ms;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Standalone Glass Logo Component Styles */
.glass-logo {
  position: fixed;
  top: 40px;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 760px;
  max-width: 100vw;
  padding: 12px 12px;
  border-radius: 120px;
  background-color: color-mix(in srgb, var(--c-glass, #bbbbbc) 12%, transparent);
  backdrop-filter: blur(8px) url(#logo-distortion) saturate(var(--saturation, 150%));
  -webkit-backdrop-filter: blur(8px) saturate(var(--saturation, 150%));
  box-shadow: 
    inset 0 0 0 1px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 10%), transparent),
    inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 90%), transparent),
    inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 80%), transparent),
    inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 60%), transparent),
    inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 12%), transparent),
    inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 20%), transparent),
    inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 20%), transparent),
    inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 10%), transparent),
    0px 1px 5px 0px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 3%), transparent),
    0px 6px 16px 0px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 2%), transparent);
  transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1), box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
}

/* Hide mobile by default, show desktop */
.glass-logo--mobile {
  display: none;
}

.glass-logo--desktop {
  display: flex;
}

.glass-logo__svg {
  display: block;
  height: 32px;
  width: auto;
  fill: var(--c-content, #224);
  transition: fill 600ms cubic-bezier(1, 0, 0.4, 1), transform 200ms ease;
}

.glass-logo__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  height: 44px;
  padding: 16px 16px;
  background: none;
  border: none;
  border-radius: 120px;
  color: var(--c-content, #224);
  cursor: pointer;
  white-space: nowrap;
  
  background-color: color-mix(in srgb, var(--c-glass, #ffffff) 5%, transparent);
  backdrop-filter: blur(8px) saturate(var(--saturation, 150%));
  -webkit-backdrop-filter: blur(8px) saturate(var(--saturation, 150%));
  
  box-shadow: 
    inset 0 0 0 1px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 5%), transparent),
    inset 1px 2px 0px -1px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 40%), transparent),
    inset -1px -1px 0px -1px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 30%), transparent),
    inset -2px -4px 2px -3px color-mix(in srgb, var(--c-light, #fff) calc(var(--glass-reflex-light, 1) * 25%), transparent),
    inset -0.5px -1px 3px 0px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 6%), transparent),
    inset -1px 1.5px 0px -1px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 8%), transparent),
    inset 0px 2px 3px -1px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 8%), transparent),
    inset 1px -3px 2px -2px color-mix(in srgb, var(--c-dark, #000) calc(var(--glass-reflex-dark, 1) * 5%), transparent);
  
  transition: all 800ms ease, background-color 200ms cubic-bezier(1, 0, 0.4, 1), box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
}

.glass-logo__button:hover {
  background-color: color-mix(in srgb, var(--c-action, #e02424) 50%, transparent);
}

.glass-logo__button:active {
  transform: scale(0.95);
}

.glass-logo__button svg {
  transition: transform 400ms ease;
  flex-shrink: 0;
}

.glass-logo__button-text {
  font-size: 14px;
  font-weight: 500;
}

.glass-logo__filter {
  position: absolute;
  width: 0;
  height: 0;
  visibility: hidden;
  z-index: -1;
}

.glass-logo:hover {
  background-color: color-mix(in srgb, var(--c-glass, #bbbbbc) 20%, transparent);
  cursor: pointer;
}

/* Page Content Styles */
.content-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  text-align: left;
  font-size: 24px;
  color: rgba(var(--c-content-rgb, 34, 34, 68), 0.65);
  font-family: Georgia;
  max-width: 840px;
  margin: 0 auto 160px auto;
  padding: 0 2em;
  box-sizing: border-box;
}

.body-content {
  position: relative;
  font-size: 18px;
  line-height: 126%;
  text-transform: uppercase;
  color: var(--c-content, rgba(0, 0, 0, 0.65));
}

.content-section-body-content {
  align-self: stretch;
  position: relative;
  font-size: 64px;
  letter-spacing: -1px;
  line-height: 115%;
  color: var(--c-content, #000);
}

.body-content1 {
  align-self: stretch;
  position: relative;
  line-height: 160%;
  color: rgb(85, 85, 85); /* Light grey */
}

.study-img-1-icon {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 900px;
  max-height: 900px;
  flex-shrink: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  object-fit: cover;
  border-radius: 0.25em;
  mix-blend-mode: multiply;
}

.study-img-icon {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: auto;
  max-height: 600px;
  flex-shrink: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  object-fit: cover;
  border-radius: 0.25em;
  mix-blend-mode: multiply;
}

.study-img {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 400px;
  max-height: 900px;
  flex-shrink: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  object-fit: cover;
  border-radius: 0.25em;

}

.study-img-comm {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 400px;
  max-height: 900px;
  flex-shrink: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  object-fit: cover;
  border-radius: 0.25em;
}

.section-link {
  font-size: 14px;
  color: rgba(128, 128, 128, 1); /* Light grey */
  text-transform: uppercase;
}

.ref-links {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 0px 0px;
  font-size: 20px;
  color: var(--c-content, #000);
  font-family: 'Fira Mono', monospace;
}

.ref-link-container {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.ref-link {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  gap: 0px;
  cursor: pointer;
  transition: background-color 200ms ease;
  border-radius: 4px;
}

.ref-link:hover {
  background-color: color-mix(in srgb, var(--c-action, #0052f5) 10%, transparent);
}

.ref-link-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.link {
  position: relative;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--c-action, #0052f5);
  text-decoration: none;
}

.dark-link-icon {
  width: 20px;
  position: relative;
  filter: invert(0);
  transition: filter 400ms cubic-bezier(1, 0, 0.4, 1);
}

.light-link-icon {
  width: auto;
  position: relative;
  filter: invert(0);
  transition: filter 400ms cubic-bezier(1, 0, 0.4, 1);
}

.dark-line-break {
  width: 100%;
  position: relative;
  border-top: 0.5px solid var(--c-content, #000);
  box-sizing: border-box;
  height: 0.5px;
  opacity: 0.3;
}

.aircoin-isnt-a {
  margin: 0 0 1em 0;
}

.aircoin-isnt-a:last-child {
  margin-bottom: 0;
}

/* Theme-aware adjustments */
body:has(input[value="dark"]:checked) .dark-link-icon,
body:has(input[value="dim"]:checked) .dark-link-icon {
  filter: invert(1);
}

body:has(input[value="dark"]:checked) .content-section,
body:has(input[value="dim"]:checked) .content-section {
  color: var(--c-content);
}

body:has(input[value="dark"]:checked) .body-content1,
body:has(input[value="dim"]:checked) .body-content1 {
  color: color-mix(in srgb, var(--c-content) 65%, transparent);
}

/* Community Links Styles */
.community-links {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 0px 20px;
  box-sizing: border-box;
  gap: 16px;
  text-align: left;
  font-size: 14px;
  color: var(--c-content, #000);
  font-family: 'Fira Mono', monospace;
}

.link-container {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  gap: 0px;
  cursor: pointer;
  transition: background-color 200ms ease;
  border-radius: 4px;
}

.link-container:hover {
  background-color: color-mix(in srgb, var(--c-action, #0052f5) 10%, transparent);
}

.link-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.link-icon {
  width: 35px;
  height: 35px;
}

.link-title {
  position: relative;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--c-content, #000);
}

.community-links-link-icon {
  width: 35px;
  max-height: 100%;
}

.community-links .dark-line-break {
  width: 100%;
  position: relative;
  border-top: 0.5px solid var(--c-content, #000);
  box-sizing: border-box;
  height: 0.5px;
  opacity: 0.3;
}

.section-title {
  position: relative;
  font-size: 15px;
  line-height: 100%;
  text-transform: uppercase;
  font-family: Georgia;
  opacity: 0.5;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-section {
    font-size: 32px;
    gap: 24px;
    margin-bottom: 60px;
  }
  
  .content-section-body-content {
    font-size: 60px;
  }
}

/* Mobile Styles - REPLACE everything from "Mobile Styles" comment to end of file */
@media (max-width: 768px) {
  /* Navigation - Full edge-to-edge mobile glass logo */
  .glass-logo--desktop {
    display: none;
  }
  
  .glass-logo--mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    padding: 12px 0px;
    gap: 16px;
    top: 0;
    left: 50%;
    translate: -50% 0;
    border-radius: 0;
    background-color: rgba(85, 85, 85, 0.08);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    box-shadow: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
  }
  
  .glass-logo--mobile .glass-logo__buttons {
    display: flex;
    gap: 6px;
    width: 90vw;
    justify-content: center;
    order: 0;
    padding: 0 12px;
  }
  
  .glass-logo--mobile .glass-logo__svg {
    width: 70%;
    height: auto;
    padding: 0 12px 8px 12px;
    max-width: none;
    order: 1;
  }
  
  .glass-logo--mobile .glass-logo__button {
    flex: 1;
    min-width: 120px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    transition: all 200ms ease;
    padding: 12px 14px;
   }
  
  /* Simple button interactions */
  .glass-logo__button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: none;
  }
  
  .glass-logo__button:active {
    transform: scale(0.98);
    background-color: rgba(255, 255, 255, 0.15);
  }

/* Updated Mobile Switcher Styles - Replace mobile switcher section */

  /* Full-width mobile switcher with labels */
  .switcher {
    width: calc(100vw);
    max-width: none;
    height: auto;
    bottom: 0px;
    padding: 8px 0px;
    gap: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow: none;
    border-radius: 0px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.5);
    transition: background-color 300ms ease;
  }
  
  /* Hide the sliding indicator on mobile */
  .switcher::after {
    display: none;
  }
  
  .switcher__option {
    flex: 1;
    height: 70px;
    padding: 8px 4px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0px;
    background-color: transparent;
    transition: opacity 200ms ease;
    opacity: 0.4; /* Dim by default */
  }
  
  /* Active state - full opacity, no background */
  .switcher__option:has(input:checked) {
    opacity: 1;
    background-color: transparent;
  }
  
  /* Hover state - slightly less dim */
  .switcher__option:hover {
    opacity: 0.7;
    background-color: transparent;
  }
  
  .switcher__option:has(input:checked):hover {
    opacity: 1;
    background-color: transparent;
  }
  
  .switcher__icon {
    width: 22px;
    height: 22px;
    transition: scale 150ms ease;
  }
  
  .switcher__option:hover .switcher__icon {
    scale: 1.05;
  }
  
  .switcher__option:has(input:checked) .switcher__icon {
    scale: 1;
  }
  
  /* Mobile labels */
  .switcher__option::after {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(var(--c-content-rgb, 255, 255, 255), 0.8);
    transition: color 200ms ease;
    text-align: center;
  }
  
  /* Remove complex animations on mobile */
  .switcher:has(input[c-option="1"]:checked)[c-previous]::after,
  .switcher:has(input[c-option="2"]:checked)[c-previous]::after,
  .switcher:has(input[c-option="3"]:checked)[c-previous]::after {
    animation: none;
  }
  
  /* Dark theme adjustments for mobile */
  body:has(input[value="dark"]:checked) .switcher {
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  /* Ensure dark theme also uses opacity-based dimming */
  body:has(input[value="dark"]:checked) .switcher__option {
    opacity: 0.4;
  }
  
  body:has(input[value="dark"]:checked) .switcher__option:has(input:checked) {
    opacity: 1;
  }
  
  body:has(input[value="dark"]:checked) .switcher__option:hover {
    opacity: 0.7;
  }
  
  body:has(input[value="dark"]:checked) .switcher__option:has(input:checked):hover {
    opacity: 1;
  }

  /* Article */
  .article.with-hero {
    padding-top: 175px;
    padding-left: 0px;
    padding-right: 0px;
  }

  /* Content sections */
  .content-section {
    font-size: 24px;
    gap: 12px;
    margin-bottom: 70px;
    margin-top: 20px;
    padding: 0 14px;
  }

  .content-section-body-content {
    font-size: 42px;
    line-height: 120%;
    font-weight: 500;
  }

  .body-content1 {
    font-size: 20px;
  }

  .section-title {
    font-size: 14px;
  }

  .ref-links {
    padding: 16px 0px 0px;
  }

  .ref-link-title {
    font-size: 14px;
  }

  .ref-link-container {
    gap: 12px;
  }

  .study-img-1-icon {
    height: 430px;
    max-height: auto;
    flex-shrink: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    object-fit: cover;
    border-radius: 0.25em;
    mix-blend-mode: multiply;
  }

  .study-img-comm {
    max-height: 250px;
  }
  
  /* Better touch targets */
  .ref-link,
  .link-container {
    min-height: 44px;
    padding: 0px 0px;
  }
  
  /* Performance optimization */
  .video-background--mobile video {
    transform: translateZ(0);
  }
  
  /* Remove transitions on mobile for immediate content changes */
  .theme-content {
    animation: none;
    opacity: 1;
  }
  
  .theme-content.fade-out {
    animation: none;
    opacity: 0;
  }
  
  /* Remove video background fade on mobile */
  .video-background.fade-out {
    opacity: 1;
    transition: none;
  }
  
  /* Remove hero background transitions on mobile */
  .hero-background {
    transition: none;
  }
  
  .hero-background.active {
    opacity: 1;
  }

  /* Show mobile video, hide desktop */
  .video-background--desktop {
    display: none;
  }
  
  .video-background--mobile {
    display: block;
  }

  body:not(:has(input[name="theme"]:checked)) .switcher__option::after {
    color: rgba(255, 255, 255, 0.8);
  }
  
  body:not(:has(input[name="theme"]:checked)) .switcher__option:has(input:checked)::after {
    color: rgba(255, 255, 255, 1);
  }
}
.video-background--mobile {
  background-image: url('https://doge-memes.b-cdn.net/aircoin/aircoin-posterimg-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Button Group Container */
.glass-logo__button-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobile email button - icon only */
.glass-logo--mobile .glass-logo__button--email {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-logo--mobile .glass-logo__button--email svg {
  width: 20px;
  height: 20px;
}

