/* =============================================================
   雷火电竞主站 · 共享样式  /assets/site.css
   1 变量与重置 · 2 中文排版 · 3 布局工具 · 4 通用组件
   5 头部浮岛 · 6 页脚 · 7 显效与无障碍
   ============================================================= */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --bg: #0B0D12;
  --bg-panel: #151922;
  --bg-panel-2: #1A1F2B;
  --bg-raise: #212837;

  --line: rgba(237, 241, 247, 0.10);
  --line-strong: rgba(237, 241, 247, 0.20);

  --orange: #FF5A2B;
  --orange-deep: #C93A12;
  --orange-soft: #FF8A4D;
  --cyan: #2BE3FF;
  --cyan-deep: #0E7C93;
  --violet: #A45CFF;
  --amber: #FFB020;

  --text: #EDF1F7;
  --muted: #8A93A6;
  --text-soft: rgba(237, 241, 247, 0.84);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --container: 1240px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular",
    ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(80% 50% at 12% -8%, rgba(255, 90, 43, 0.16), transparent 62%),
    radial-gradient(70% 46% at 92% 4%, rgba(43, 227, 255, 0.12), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(237, 241, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 241, 247, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
}

::selection {
  background: rgba(255, 90, 43, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 中文排版 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.prose p {
  margin-bottom: 1.15em;
}

.prose h2 {
  margin: 2em 0 0.7em;
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 1.6em 0 0.55em;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  margin: 0 0 1.2em;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: rgba(237, 241, 247, 0.82);
  text-wrap: pretty;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 92px);
  z-index: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.grid-12 {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid-2 {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 4. 通用组件 ---------- */
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(26, 31, 43, 0.96), rgba(14, 17, 24, 0.96));
  box-shadow: 0 30px 60px -46px #000;
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 60%;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(43, 227, 255, 0.16), transparent 66%);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(15px, 2vw, 24px);
  background: linear-gradient(180deg, rgba(26, 31, 43, 0.92), rgba(15, 18, 26, 0.92));
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.card:hover {
  border-color: rgba(43, 227, 255, 0.34);
  box-shadow: 0 20px 44px -30px rgba(43, 227, 255, 0.55);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn-primary {
  color: #0B0D12;
  background: linear-gradient(118deg, var(--orange), var(--orange-soft));
  box-shadow: 0 14px 32px -18px rgba(255, 90, 43, 0.95);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -16px rgba(255, 90, 43, 1);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(237, 241, 247, 0.04);
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: rgba(43, 227, 255, 0.55);
  background: rgba(43, 227, 255, 0.08);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--cyan);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.tag--live {
  color: var(--orange);
  border-color: rgba(255, 90, 43, 0.45);
  background: rgba(255, 90, 43, 0.10);
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(43, 227, 255, 0.42);
  background: rgba(43, 227, 255, 0.08);
}

.tag--violet {
  color: var(--violet);
  border-color: rgba(164, 92, 255, 0.45);
  background: rgba(164, 92, 255, 0.10);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(138, 147, 166, 0.5);
}

.breadcrumb [aria-current="page"] {
  color: rgba(237, 241, 247, 0.72);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background-color: #10141C;
  background-image:
    radial-gradient(120% 110% at 12% 0%, rgba(255, 90, 43, 0.20), transparent 56%),
    radial-gradient(120% 110% at 88% 100%, rgba(43, 227, 255, 0.18), transparent 56%),
    linear-gradient(rgba(237, 241, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 241, 247, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

/* ---------- 5. 头部浮岛 ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--pill);
  background: var(--orange);
  color: #0B0D12;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter) 10px;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 18, 0.96) 0%,
    rgba(11, 13, 18, 0.62) 68%,
    rgba(11, 13, 18, 0) 100%
  );
  transition: padding 0.3s var(--ease);
}

.site-header[data-scrolled="true"] {
  padding-top: 8px;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(21, 25, 34, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 26px 52px -34px #000, inset 0 1px 0 rgba(237, 241, 247, 0.06);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header[data-scrolled="true"] .header-bar {
  padding: 5px 6px 5px 14px;
  border-color: rgba(237, 241, 247, 0.15);
  background: rgba(17, 21, 29, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(142deg, var(--orange), var(--orange-deep));
  box-shadow: 0 0 0 1px rgba(255, 90, 43, 0.42),
    0 10px 22px -10px rgba(255, 90, 43, 0.95);
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 18px;
  background: #0B0D12;
  clip-path: polygon(60% 0%, 10% 56%, 46% 56%, 32% 100%, 90% 38%, 52% 38%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
  transition: color 0.3s var(--ease);
}

.site-header[data-scrolled="true"] .brand-sub {
  color: var(--orange);
}

.nav-pill {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(11, 13, 18, 0.55);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(237, 241, 247, 0.07);
}

.nav-link[aria-current="page"] {
  color: #0B0D12;
  font-weight: 700;
  background: linear-gradient(118deg, var(--orange), var(--orange-soft));
  box-shadow: 0 0 0 1px rgba(255, 90, 43, 0.5),
    0 10px 24px -14px rgba(255, 90, 43, 0.95);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.header-cta {
  box-shadow: 0 12px 28px -16px rgba(255, 90, 43, 0.95);
}

.header-cta-secondary {
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(237, 241, 247, 0.05);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(43, 227, 255, 0.5);
  background: rgba(43, 227, 255, 0.10);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}

.site-header[data-open="true"] .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--orange-soft) 42%,
    var(--cyan) 100%
  );
  box-shadow: 0 0 14px rgba(43, 227, 255, 0.5);
  pointer-events: none;
  z-index: 100;
}

@media (min-width: 1061px) {
  .header-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 20px;
  }

  .nav-pill {
    justify-self: center;
  }

  .header-actions {
    justify-self: end;
  }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta-secondary {
    display: none;
  }

  .nav-pill {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 5;
    display: block;
    max-height: min(72vh, 480px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 26px;
    border-color: rgba(237, 241, 247, 0.14);
    background: rgba(16, 20, 28, 0.98);
    box-shadow: 0 34px 64px -34px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s var(--ease);
  }

  .site-header[data-open="true"] .nav-pill {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .header-cta {
    display: none;
  }

  .header-bar {
    padding: 7px 7px 7px 14px;
  }

  .site-header[data-scrolled="true"] .header-bar {
    padding: 5px 5px 5px 12px;
  }
}

@media (max-width: 400px) {
  .brand-sub {
    display: none;
  }
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(38px, 5.5vw, 70px) 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(21, 25, 34, 0) 0%,
    rgba(21, 25, 34, 0.6) 24%,
    rgba(13, 16, 23, 0.98) 100%
  );
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 90, 43, 0.65),
    rgba(43, 227, 255, 0.5),
    transparent
  );
}

.footer-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 4vw, 56px);
}

.footer-col {
  min-width: 0;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand--footer .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.brand--footer .brand-name {
  font-size: 15px;
}

.footer-desc {
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: 1px;
  background: linear-gradient(140deg, var(--orange), var(--cyan));
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(138, 147, 166, 0.8);
  text-transform: uppercase;
}

.footer-contact-value {
  display: block;
  font-size: 14px;
  color: var(--text);
  overflow-wrap: break-word;
}

.footer-contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(138, 147, 166, 0.86);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-legal a:hover {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 7. 网格折行 · 显现 · 无障碍 ---------- */
@media (max-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .col-4,
  .col-5 {
    grid-column: span 3;
  }

  .col-6 {
    grid-column: span 6;
  }

  .col-7,
  .col-8,
  .col-12 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .grid-12 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-12 > * {
    grid-column: auto;
  }
}

[data-reveal] {
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}

html[data-reveal-mode="on"] [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.is-hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  html[data-reveal-mode="on"] [data-reveal]:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
