
@font-face {
  font-family: "Peyda";
  src: url("../fonts/Peyda-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/Peyda-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/Peyda-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #100d09;
  --bg-2: #1a140e;
  --bg-3: #271e14;

  --cream: #b7a17d;
  --cream-light: #eadfc9;
  --cream-soft: #c7b89e;
  --cream-muted: #8e7d62;
  --cream-dark: #5f513f;

  --card: rgba(183, 161, 125, .055);
  --card-hover: rgba(183, 161, 125, .085);
  --border: rgba(183, 161, 125, .15);
  --border-hover: rgba(183, 161, 125, .34);

  --shadow: rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--cream-light);
  background:
    radial-gradient(ellipse 100% 75% at 50% -15%, var(--bg-3) 0%, var(--bg-2) 38%, var(--bg) 78%);
  font-family: Peyda;
}

a {
  color: inherit;
}

.background,
.background > * {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background {
  z-index: 0;
  overflow: hidden;
}

.noise {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.grid {
  opacity: .34;
  background-image:
    linear-gradient(rgba(183,161,125,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183,161,125,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: translate3d(0, 0, 0);
  animation: gridMove 24s linear infinite;
}

.scanlines {
  opacity: .13;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 4px,
    rgba(0,0,0,.22) 4px,
    rgba(0,0,0,.22) 5px
  );
}

.vignette {
  background: radial-gradient(
    ellipse 75% 75% at 50% 48%,
    transparent 25%,
    rgba(0,0,0,.18) 65%,
    rgba(0,0,0,.62) 100%
  );
}

.glow {
  inset: auto;
  width: 45vw;
  height: 45vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .07;
}

.glow-a {
  top: -30%;
  right: 8%;
  background: var(--cream);
  animation: driftA 14s ease-in-out infinite alternate;
}

.glow-b {
  bottom: -35%;
  left: 5%;
  background: #8a6d46;
  animation: driftB 17s ease-in-out infinite alternate;
}

#particles {
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(183,161,125,.45);
  animation: floatParticle linear infinite;
}

.page {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  padding: 28px clamp(18px, 5vw, 46px) 22px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 800;
  font-family: Peyda;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(183,161,125,.045);
  box-shadow: inset 0 0 18px rgba(183,161,125,.04);
}

.brand-mark span {
  position: absolute;
  width: 13px;
  height: 1px;
  background: var(--cream);
  transform: rotate(45deg);
  opacity: .8;
}

.brand-mark span:nth-child(1) { transform: translateY(-4px) rotate(45deg); }
.brand-mark span:nth-child(2) { transform: translateY(0) rotate(45deg); }
.brand-mark span:nth-child(3) { transform: translateY(4px) rotate(45deg); }

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-muted);
  font-size: 10px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 10px rgba(183,161,125,.7);
  animation: pulse 2s ease-in-out infinite;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 0 45px;
}

.hero-content {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cream-muted);
  font-size: 9px;
  letter-spacing: 2.5px;
  margin-bottom: 17px;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark));
}

.eyebrow span:last-child {
  transform: scaleX(-1);
}

h1 {
  font-family: Peyda;
  color: var(--cream-light);
  font-size: clamp(29px, 5.2vw, 50px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.8px;
  text-shadow: 0 0 30px rgba(183,161,125,.12);
}

h1 strong {
  color: var(--cream);
  font-weight: 800;
}

.hero-subtitle {
  margin-top: 12px;
  color: var(--cream-muted);
  font-size: clamp(11px, 1.5vw, 13px);
}

.hero-line {
  width: 78px;
  height: 1px;
  margin: 17px auto 0;
  background: linear-gradient(90deg, transparent, var(--cream), transparent);
  opacity: .65;
}

.command-card {
  position: relative;
  width: min(100%, 720px);
  padding: 44px clamp(22px, 5vw, 54px) 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(183,161,125,.075), rgba(183,161,125,.025) 55%, rgba(0,0,0,.05)),
    var(--card);
  box-shadow:
    0 25px 75px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition:
    transform .55s var(--ease),
    border-color .35s ease,
    box-shadow .45s ease,
    background .35s ease;
  transform-style: preserve-3d;
}

.command-card:hover {
  border-color: var(--border-hover);
  background:
    linear-gradient(135deg, rgba(183,161,125,.095), rgba(183,161,125,.035)),
    var(--card-hover);
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    0 0 70px rgba(183,161,125,.055),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255,255,255,.045) 45%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}

.command-card:hover .card-shine {
  transform: translateX(120%);
}

.card-top-line {
  position: absolute;
  top: 0;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cream), transparent);
  opacity: .72;
}

.card-top-line::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 7px;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  filter: blur(13px);
  opacity: .24;
  animation: lineGlow 3.2s ease-in-out infinite;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: right;
}

.emblem {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183,161,125,.23);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,161,125,.13), rgba(183,161,125,.035));
  box-shadow:
    inset 0 0 25px rgba(183,161,125,.055),
    0 0 25px rgba(183,161,125,.045);
  transition: transform .45s var(--ease), box-shadow .45s ease;
}

.command-card:hover .emblem {
  transform: scale(1.06) rotate(-3deg);
  box-shadow:
    inset 0 0 25px rgba(183,161,125,.09),
    0 0 32px rgba(183,161,125,.1);
}

.emblem svg {
  width: 36px;
  height: 36px;
  stroke: var(--cream);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-kicker {
  display: block;
  color: var(--cream-muted);
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 6px;
}

.card-title-wrap h2 {
  font-family: Peyda;
  color: var(--cream-light);
  font-size: clamp(20px, 3.4vw, 29px);
  font-weight: 800;
  line-height: 1.4;
}

.card-title-wrap p {
  margin-top: 3px;
  color: var(--cream-muted);
  font-size: 11px;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 25px 0 15px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.action {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform .35s var(--ease),
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(183,161,125,.07), transparent 75%);
  transform: translateX(100%);
  transition: transform .65s var(--ease);
}

.action:hover {
  transform: translateY(-4px);
  border-color: rgba(183,161,125,.34);
  background: rgba(183,161,125,.055);
  box-shadow: 0 13px 30px rgba(0,0,0,.22);
}

.action:hover::before {
  transform: translateX(-100%);
}

.action-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183,161,125,.2);
  border-radius: 50%;
  background: rgba(183,161,125,.065);
  transition: transform .35s var(--ease), background .3s ease;
}

.action:hover .action-icon {
  transform: scale(1.08);
  background: rgba(183,161,125,.105);
}

.action-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--cream);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.action-title,
.action-sub {
  display: block;
}

.action-title {
  font-family: Peyda;
  color: var(--cream-light);
  font-size: 12px;
  font-weight: 700;
}

.action-sub {
  margin-top: 4px;
  color: var(--cream-dark);
  font-size: 8px;
  letter-spacing: 1px;
  direction: ltr;
  text-align: right;
}

.arrow {
  position: relative;
  z-index: 1;
  margin-right: auto;
  color: var(--cream-dark);
  font-size: 15px;
  transition: transform .35s var(--ease), color .3s ease;
}

.action:hover .arrow {
  color: var(--cream);
  transform: translateX(-3px);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 19px;
  color: var(--cream-dark);
  font-size: 7px;
  letter-spacing: 1.6px;
  direction: ltr;
}

.footer-symbol {
  color: var(--cream-muted);
  letter-spacing: 3px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(142,125,98,.7);
  font-size: 8px;
  letter-spacing: 1.4px;
  direction: ltr;
}

.footer-center {
  color: var(--cream-dark);
}

.footer > span:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal .85s var(--ease) forwards;
}

.topbar { animation-delay: .05s; }
.hero-content { animation-delay: .12s; }
.command-card { animation-delay: .22s; }
.footer { animation-delay: .35s; }

.toast {
  position: fixed;
  z-index: 100;
  right: 50%;
  bottom: 28px;
  transform: translate(50%, 20px);
  padding: 11px 18px;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  background: rgba(20,16,11,.88);
  color: var(--cream-light);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity .3s ease, transform .3s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

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

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, 110vh, 0) scale(.2);
    opacity: 0;
  }
  10% { opacity: .5; }
  50% { transform: translate3d(var(--drift), 45vh, 0) scale(1); }
  90% { opacity: .25; }
  100% {
    transform: translate3d(calc(var(--drift) * -1), -10vh, 0) scale(.65);
    opacity: 0;
  }
}

@keyframes gridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 48px, 48px 0; }
}

@keyframes pulse {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes lineGlow {
  0%, 100% { opacity: .12; transform: translateX(-50%) scaleX(.7); }
  50% { opacity: .38; transform: translateX(-50%) scaleX(1.2); }
}

@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8vw, 7vh) scale(1.12); }
}

@keyframes driftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9vw, -5vh) scale(1.08); }
}

@media (max-width: 620px) {
  .page {
    padding-top: 20px;
  }

  .hero {
    padding: 45px 0 35px;
  }

  .card-head {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .card-title-wrap h2 {
    font-size: 22px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 65px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    text-align: center;
  }

  .footer > span:last-child {
    text-align: center;
  }

  .command-card {
    border-radius: 22px;
  }
}

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

.developed-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--cream-dark);
  font-family: Peyda;
  font-size: 10px;
  letter-spacing: .4px;
  direction: ltr;
}

.developed-by strong {
  color: var(--cream-muted);
  font-weight: 600;
  transition: color .3s ease, text-shadow .3s ease;
}

.developed-by:hover strong {
  color: var(--cream);
  text-shadow: 0 0 14px rgba(183,161,125,.22);
}
