:root {
  --bg: #040505;
  --bg-soft: rgba(10, 16, 18, 0.84);
  --surface: rgba(17, 27, 31, 0.82);
  --surface-strong: rgba(8, 12, 15, 0.92);
  --line: rgba(135, 186, 191, 0.2);
  --text: #f5f7f6;
  --muted: rgba(245, 247, 246, 0.72);
  --accent: #00d4d8;
  --accent-strong: #0f52ba;
  --gold: #ffd55b;
  --danger: #d42f24;
  --shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.32);
  --content-width: 1180px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0.02em;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 212, 216, 0.2), transparent 40%),
    radial-gradient(circle at bottom right, rgba(255, 213, 91, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(4, 5, 5, 0.18), rgba(4, 5, 5, 0.46));
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

#background-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--accent);
}

.section-kicker::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle, #f0f4ff 0%, #a8c8ff 40%, #5b7fff 100%);
  box-shadow:
    0 0 0.6rem rgba(160, 200, 255, 0.9),
    0 0 1.4rem rgba(91, 127, 255, 0.6);
}

.loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 9999;
}

.loader-core {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.loader-word {
  display: flex;
  gap: 0.35rem;
}

.lettre {
  font-size: clamp(2rem, 4vw, 4rem);
  color: #484848;
  letter-spacing: 0.18em;
  animation: flash 1.2s linear infinite, moving 1.2s infinite;
}

.lettre:nth-child(1) { animation-delay: 0.1s; }
.lettre:nth-child(2) { animation-delay: 0.2s; }
.lettre:nth-child(3) { animation-delay: 0.3s; }
.lettre:nth-child(4) { animation-delay: 0.4s; }
.lettre:nth-child(5) { animation-delay: 0.5s; }
.lettre:nth-child(6) { animation-delay: 0.6s; }
.lettre:nth-child(7) { animation-delay: 0.7s; }

@keyframes flash {
  0% {
    color: var(--accent);
    text-shadow: 0 0 7px var(--accent);
  }
  90% {
    color: #484848;
    text-shadow: none;
  }
  100% {
    color: var(--accent);
    text-shadow: 0 0 7px var(--accent);
  }
}

@keyframes moving {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, -40px) scale(1.2);
  }
  100% {
    transform: translate(0, 0);
  }
}

.loaderbook {
  --background: linear-gradient(135deg, #23c4f8, #275efe);
  --shadow: rgba(39, 94, 254, 0.28);
  --page: rgba(255, 255, 255, 0.36);
  --page-fold: rgba(255, 255, 255, 0.52);
  --duration: 3s;
  width: min(18rem, 70vw);
  height: 12rem;
}

.loaderbook div {
  width: 100%;
  height: 100%;
  border-radius: 1.3rem;
  position: relative;
  perspective: 60rem;
  box-shadow: 0 0.4rem 0.6rem var(--shadow);
  background-image: var(--background);
}

.loaderbook ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.loaderbook li {
  --r: 180deg;
  --o: 0;
  --c: var(--page);
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  transform-origin: 100% 50%;
  color: var(--c);
  opacity: var(--o);
  transform: rotateY(var(--r));
  animation: var(--duration) ease infinite;
}

.loaderbook li:first-child {
  --r: 0deg;
  --o: 1;
}

.loaderbook li:last-child {
  --o: 1;
}

.loaderbook li:nth-child(2) {
  --c: var(--page-fold);
  animation-name: page-2;
}

.loaderbook li:nth-child(3) {
  --c: var(--page-fold);
  animation-name: page-3;
}

.loaderbook li:nth-child(4) {
  --c: var(--page-fold);
  animation-name: page-4;
}

.loaderbook li:nth-child(5) {
  --c: var(--page-fold);
  animation-name: page-5;
}

.loaderbook li svg {
  width: 8rem;
  height: 10.8rem;
}

@keyframes page-2 {
  0% { transform: rotateY(180deg); opacity: 0; }
  20% { opacity: 1; }
  35%, 100% { opacity: 0; }
  50%, 100% { transform: rotateY(0deg); }
}

@keyframes page-3 {
  15% { transform: rotateY(180deg); opacity: 0; }
  35% { opacity: 1; }
  50%, 100% { opacity: 0; }
  65%, 100% { transform: rotateY(0deg); }
}

@keyframes page-4 {
  30% { transform: rotateY(180deg); opacity: 0; }
  50% { opacity: 1; }
  65%, 100% { opacity: 0; }
  80%, 100% { transform: rotateY(0deg); }
}

@keyframes page-5 {
  45% { transform: rotateY(180deg); opacity: 0; }
  65% { opacity: 1; }
  80%, 100% { opacity: 0; }
  95%, 100% { transform: rotateY(0deg); }
}

.fading-out {
  animation: move-behind 0.8s ease-out forwards;
}

@keyframes move-behind {
  0% {
    z-index: 9998;
    opacity: 1;
    pointer-events: auto;
  }
  100% {
    z-index: -1;
    opacity: 0;
    pointer-events: none;
  }
}

#mainNav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1rem 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

#mainNav.navbar-shrink {
  background: rgba(4, 5, 5, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(4, 5, 5, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.navbar-collapse {
  flex: 1;
  display: none;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
}

.nav-link {
  color: rgba(245, 247, 246, 0.82);
  padding: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-fluo {
  --main-color: var(--accent);
  --ring-color: rgba(255, 255, 255, 0.82);
  --text-color: #021214;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.7rem;
  padding: 1rem 1.6rem;
  color: var(--main-color);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  overflow: visible;
  isolation: isolate;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-fluo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.12),
      var(--main-color),
      rgba(255, 255, 255, 0.08),
      var(--main-color),
      rgba(255, 255, 255, 0.12)
    );
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: button-fluo-outline 2.6s linear infinite;
}

.button-fluo:hover {
  background: var(--main-color);
  color: var(--text-color);
  border-color: transparent;
  box-shadow:
    0 0 5px var(--main-color),
    0 0 22px var(--main-color),
    0 0 44px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.button-fluo:focus-visible {
  outline: none;
  border-color: transparent;
  box-shadow:
    0 0 0 0.2rem rgba(255, 255, 255, 0.08),
    0 0 0 0.35rem var(--main-color);
}

.button-fluo > span:nth-child(1):empty {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: calc(100% - 0.4rem);
  height: calc(100% - 0.4rem);
  border-radius: inherit;
  border: 2px solid var(--ring-color);
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  animation: button-fluo-ring 2.2s ease-out infinite;
}

.button-fluo > span:nth-child(n + 2):empty {
  display: none;
}

.button-fluo::after {
  content: "";
  position: absolute;
  inset: -0.12rem;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.button-fluo:hover::after,
.button-fluo:focus-visible::after {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0.8rem var(--main-color),
    0 0 1.6rem rgba(255, 255, 255, 0.08);
}

@keyframes button-fluo-outline {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes button-fluo-ring {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.75;
  }
  65% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.22;
    border-color: var(--main-color);
    box-shadow: 0 0 1.1rem rgba(255, 255, 255, 0.08);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 0;
    border-color: rgba(255, 255, 255, 0);
    box-shadow: 0 0 1.8rem rgba(255, 255, 255, 0);
  }
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 246, 0.84);
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.metric-grid {
  display: grid;
  gap: 1rem;
}

.metric-card,
.panel,
.story-card,
.link-card,
.media-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 18, 21, 0.82), rgba(11, 18, 21, 0.62));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.3rem;
  display: grid;
  gap: 0.45rem;
}

.metric-card strong {
  font-size: 2rem;
  color: var(--gold);
}

.metric-card span {
  color: var(--muted);
}

.intro-grid,
.link-grid {
  display: grid;
  gap: 1.25rem;
}

.showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.manifesto p,
.book-card p,
.media-card p,
.story-card p,
.credential-item p,
.link-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 247, 246, 0.82);
  font-size: 0.82rem;
}

.book-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 4px);
  background: #000;
}

.media-frame video,
.media-frame img {
  width: 100%;
}

.showcase-grid .media-card {
  overflow: hidden;
}

.media-card .panel-copy {
  padding: 1.4rem;
}

.panel-copy h3,
.story-card h3,
.contact-copy h2,
.link-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.panel-copy h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.story-grid {
  display: grid;
  gap: 1rem;
}

.story-card {
  padding: 1.4rem;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.story-meta span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 246, 0.8);
  font-size: 0.75rem;
}


.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-card {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 213, 91, 0.35);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.42);
}

.golden-aura {
  --aura-color: var(--gold);
  --base-color: rgba(255, 255, 255, 0.8);
  --background-color: rgba(0, 0, 0, 0.25);
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--background-color);
  color: var(--base-color);
  font-size: 1.2rem;
}

.golden-aura::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--aura-color);
  transform: scale(0.88);
  opacity: 0.2;
  filter: blur(0.35rem);
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: -1;
}

.link-card:hover .golden-aura::before {
  transform: scale(1.14);
  opacity: 0.45;
}

.link-card small {
  color: rgba(245, 247, 246, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-panel {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(10, 15, 16, 0.92), rgba(18, 25, 31, 0.72));
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-copy h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.form-stack {
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.input-shell {
  display: grid;
  gap: 0.45rem;
}

.input-shell span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: rgba(245, 247, 246, 0.6);
}

.form-control {
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.form-control::placeholder {
  color: rgba(245, 247, 246, 0.4);
}

.form-control:focus {
  outline: none;
  border-color: rgba(0, 212, 216, 0.48);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 216, 0.15);
}

.winnie {
  display: none;
  visibility: hidden;
}

.submitted-state {
  display: grid;
  gap: 0.9rem;
  text-align: center;
}

.submitted-state i {
  color: var(--gold);
  font-size: 2rem;
}

.footer {
  padding: 0 0 4rem;
}

.footer-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.36);
  color: rgba(245, 247, 246, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

@font-face {
  font-family: "ArtisMagna";
  src:
    url("fonts/ArtisMagna.woff2") format("woff2"),
    url("fonts/ArtisMagna.woff") format("woff"),
    url("fonts/ArtisMagna.ttf") format("truetype");
  font-display: swap;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: "ArtisMagna" !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-Medal:before { content: "\e007"; }
.icon-Thunder:before { content: "\e00d"; }
.icon-Plane:before { content: "\e00a"; }
.icon-Kaggle:before { content: "\e005"; }
.icon-Certificate:before { content: "\e002"; }
.icon-Analytics:before { content: "\e001"; }
.icon-Writing:before { content: "\e00e"; }
.icon-Github:before { content: "\e004"; }
.icon-PeaceHaven:before { content: "\e008"; }

@media (min-width: 720px) {
  .hero-grid,
  .intro-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .navbar-toggler {
    display: none;
  }

  .navbar-collapse {
    display: block !important;
    flex: 1;
  }

  .navbar-nav {
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.2rem;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
  }

  .intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

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

.link-card--legacy {
  opacity: 0.55;
  border-style: dashed;
  background: transparent;
}

.link-card--legacy:hover {
  opacity: 0.85;
  border-style: dashed;
}

.secret-page::before {
  background:
    radial-gradient(circle at top left, rgba(247, 202, 201, 0.28), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 213, 91, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(14, 6, 12, 0.18), rgba(4, 5, 5, 0.46));
}

.secret-page #background-video {
  filter: none;
}

.secret-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.secret-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 202, 201, 0.14), transparent 34%);
  pointer-events: none;
}

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

#fireworks {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.secret-copy {
  gap: 1rem;
}

.secret-lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(245, 247, 246, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.secret-type {
  margin: 0;
  min-height: 9rem;
  max-width: 43rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(17, 11, 18, 0.86), rgba(13, 20, 25, 0.7));
  box-shadow: var(--shadow);
  color: rgba(245, 247, 246, 0.92);
  line-height: 1.85;
}

.secret-type .wrap {
  border-right: 0.08em solid rgba(255, 213, 91, 0.75);
}

.secret-aside {
  align-content: start;
}

.secret-soundboard {
  display: grid;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
}

.secret-soundboard::before {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 202, 201, 0.18), transparent 70%);
  pointer-events: none;
}

.secret-soundboard .section-head {
  margin-bottom: 0;
}

.secret-soundboard .section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.secret-soundboard .section-head p {
  max-width: none;
}

.secret-page #pleaseClick {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 247, 246, 0.9);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.secret-page #pleaseClick span {
  display: inline-block;
  font-size: 1.45rem;
  letter-spacing: 0.18rem;
  animation: secret-word-jump 1s ease-in-out infinite alternate;
}

.secret-page #wishes {
  display: grid;
  gap: 0.7rem;
  padding: 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(247, 202, 201, 0.28);
  background: linear-gradient(180deg, rgba(24, 14, 25, 0.88), rgba(14, 22, 28, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  cursor: default;
}

.secret-page #wishes p {
  margin: 0;
  min-height: 1.7rem;
  color: var(--text);
  line-height: 1.65;
}

.secret-page #wishes span {
  display: inline-block;
}

.secret-page #wishes .jump {
  animation: secret-word-jump 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s 2 alternate;
}

@keyframes secret-word-jump {
  to {
    transform: translateY(-0.7em);
  }
}

.secret-page .control {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  padding-top: 0.35rem;
}

.secret-page .control label {
  color: rgba(245, 247, 246, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.secret-page #inputSpeed {
  -webkit-appearance: none;
  appearance: none;
  width: min(18rem, 100%);
  background: transparent;
}

.secret-page #inputSpeed::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(247, 202, 201, 0.95), rgba(255, 213, 91, 0.92));
}

.secret-page #inputSpeed::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid rgba(13, 18, 22, 0.94);
  border-radius: 50%;
  background: #fff7fb;
  box-shadow: 0 0 0 0.25rem rgba(247, 202, 201, 0.22);
}

.secret-page #inputSpeed::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(247, 202, 201, 0.95), rgba(255, 213, 91, 0.92));
}

.secret-page #inputSpeed::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(13, 18, 22, 0.94);
  border-radius: 50%;
  background: #fff7fb;
  box-shadow: 0 0 0 0.25rem rgba(247, 202, 201, 0.22);
}

.secret-occasion {
  padding: 1.5rem;
}

.secret-occasion strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.secret-room-grid,
.secret-link-grid {
  align-items: stretch;
}

@media (max-width: 719px) {
  .hero {
    padding-top: 7.5rem;
  }

  .button-fluo,
  .ghost-link {
    width: 100%;
    justify-content: center;
  }

  .footer-shell {
    border-radius: 1.2rem;
  }
}

@media (max-width: 719px) {
  .secret-type {
    min-height: 11rem;
  }

  .secret-page #pleaseClick {
    font-size: 0.72rem;
  }
}
