:root{
  --bg:#070707;
  --ink:#f3ece7;
  --red:#b2121f;

  --max:1100px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ================= RESET ================= */

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  overflow-x:hidden;
  overflow-y:auto;
  animation: fadein 1s ease;
}

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

/* ================= BACKGROUND ================= */

.bg{
  position:fixed;
  inset:0;
  z-index:-5;
  background:url("gorba.png") center/cover no-repeat;
  filter:contrast(1.05) saturate(.9) brightness(1.1);
}

.vignette{
  position:fixed;
  inset:0;
  z-index:-4;
  background:
    radial-gradient(circle at 50% 30%, rgba(0,0,0,.2), rgba(0,0,0,.85)),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.9));
  pointer-events:none;
}

.grain{
  position:fixed;
  inset:-40%;
  z-index:-3;
  opacity:.08;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.frame{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  box-shadow: inset 0 0 140px rgba(0,0,0,.8);
}

/* ================= CONTENT STACK ================= */

main{
  position:relative;
  z-index:1;
}

/* ================= LAYOUT ================= */

.wrap{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

/* ================= HERO ================= */

.hero{
  min-height:100svh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:70svh;
  text-align:center;
}

.hero .wrap{
  display:flex;
  justify-content:center;
}

/* ================= PANEL ================= */

.stack{
  max-width:900px;
  width:100%;
  padding:26px 20px;
  border-radius:26px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 40px 120px rgba(0,0,0,.7);
}

/* ================= TITLE ================= */

h1{
  margin:18px 0 6px;
  font-family:var(--serif);
  font-size:clamp(52px,8vw,96px);
  letter-spacing:.14em;
  color:#fff;

  -webkit-text-stroke:1.2px rgba(178,18,31,.9);

  text-shadow:
    0 0 8px rgba(178,18,31,.8),
    0 0 30px rgba(178,18,31,.6),
    0 0 90px rgba(178,18,31,.4);

  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse{
  0%,100%{
    text-shadow:
      0 0 10px rgba(178,18,31,.7),
      0 0 40px rgba(178,18,31,.6),
      0 0 120px rgba(178,18,31,.4);
  }
  50%{
    text-shadow:
      0 0 20px rgba(178,18,31,1),
      0 0 70px rgba(178,18,31,.8),
      0 0 160px rgba(178,18,31,.6);
  }
}

@media (prefers-reduced-motion: reduce){
  body{ animation:none; }
  h1{ animation:none; }
}

.sub{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.28em;
  color:#b2121f;
  margin-bottom:20px;
}

/* ================= BUTTONS ================= */

.actions{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.btn{
  padding:16px;
  border-radius:18px;
  background:rgba(0,0,0,.6);
  color:#eee;
  border:1px solid rgba(255,255,255,.18);
  font-family:var(--mono);
  letter-spacing:.18em;
  text-transform:uppercase;
  text-decoration:none;
  transition: transform .12s ease, border-color .18s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active{
  transform: scale(.98);
  filter: brightness(1.08);
}

.btn.red{
  background:linear-gradient(#6d0f16,#200);
  border-color:#b2121f;
}

/* ================= TEXT ================= */

.headline{
  margin-top:26px;
  font-family:var(--serif);
  font-size:24px;
  letter-spacing:.08em;
}

.tagline{
  max-width:65ch;
  margin:12px auto 0;
  color:#bbb;
  line-height:1.7;
}

.down{
  display:inline-block;
  margin-top:18px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.14em;
  color:#aaa;
  text-decoration:none;
}

/* ================= SECTIONS ================= */

section{
  padding:64px 0;
}

.sectionTitle{
  max-width:900px;
  margin:0 auto 12px;
  font-family:var(--mono);
  letter-spacing:.26em;
  font-size:12px;
  color:rgba(255,255,255,.7);
}

/* ================= CARDS ================= */

.cards{
  max-width:900px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.card{
  padding:18px;
  border-radius:18px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card h3{
  margin:0 0 10px;
  font-family:var(--mono);
  letter-spacing:.22em;
  font-size:13px;
}

.card p{
  margin:0;
  color:#bbb;
  line-height:1.6;
}

@media (hover:hover){
  .card:hover{
    transform:translateY(-4px);
    border-color:rgba(178,18,31,.6);
    box-shadow:0 30px 90px rgba(0,0,0,.8);
  }
}

/* ================= FOOTER ================= */

footer{
  padding:40px 0 60px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.3);
}

.foot{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  color:#777;
}

/* ================= DESKTOP GORBA SCALE ================= */

@media (min-width:621px){
  .bg{
    background-size:78%;
    background-position:center 6%;
  }
}

/* ================= MOBILE ================= */

@media (max-width:620px){
  .hero{ padding-top:40svh; }
  .stack{ padding:16px; }
  .bg{
    background-size:96%;
    background-position:center 4%;
  }
  .btn{ width:100%; }
}
/* ================= RUNE DIVIDER ================= */

.runeDivider{
  max-width:900px;
  margin:34px auto 0;
  height:1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(178,18,31,.55),
    rgba(255,255,255,.10),
    rgba(178,18,31,.55),
    transparent
  );
  position:relative;
  opacity:.9;
}

.runeDivider::after{
  content:"⟡";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  font-size:14px;
  color: rgba(178,18,31,.9);
  text-shadow:
    0 0 10px rgba(178,18,31,.6),
    0 0 28px rgba(178,18,31,.35);
  background: rgba(0,0,0,.55);
  padding: 0 10px;
  border-radius:999px;
  border:1px solid rgba(178,18,31,.25);
}
/* ================= CARD DEPTH UPGRADE ================= */

.card{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.03),
      rgba(0,0,0,.35)
    ),
    rgba(0,0,0,.55);

  border:1px solid rgba(255,255,255,.22);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),   /* inner top highlight */
    inset 0 -1px 0 rgba(0,0,0,.6),         /* inner bottom shade */
    0 35px 120px rgba(0,0,0,.75);           /* outer depth */

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

/* Hover / press depth */
@media (hover:hover){
  .card:hover{
    transform: translateY(-4px);
    border-color: rgba(178,18,31,.55);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      inset 0 -1px 0 rgba(0,0,0,.7),
      0 35px 110px rgba(0,0,0,.9);
  }
}

.card:active{
  transform: translateY(1px);
}
/* ================= CURSED EDGE GLOW ================= */

.card{
  position:relative;
  overflow:hidden;
}

/* thin glow strip */
.card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(178,18,31,.9),
    transparent
  );

  box-shadow:
    0 0 12px rgba(178,18,31,.8),
    0 0 28px rgba(178,18,31,.5);

  opacity:.65;
}

/* stronger when hovered */
@media (hover:hover){
  .card:hover::before{
    opacity:1;
    box-shadow:
      0 0 16px rgba(178,18,31,1),
      0 0 46px rgba(178,18,31,.75);
  }
}
/* ================= CARD HEADER SCANLINE ================= */

.card h3{
  position:relative;
  padding-bottom:12px;
}

/* thin cursed line */
.card h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(178,18,31,.85),
    transparent
  );

  box-shadow:
    0 0 10px rgba(178,18,31,.6),
    0 0 24px rgba(178,18,31,.35);

  opacity:.85;
}

}
/* ================= GLITCH FLICKER (SAFE) ================= */

.sectionTitle{
  position:relative;
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Red “ghost” */
.sectionTitle::before{
  content: attr(data-glitch);
  position:absolute;
  left:0;
  top:0;
  transform: translate(1px, 0);
  color: rgba(178,18,31,.85);
  opacity: 0;
  pointer-events:none;
  text-shadow: 0 0 14px rgba(178,18,31,.35);
}

/* White “ghost” */
.sectionTitle::after{
  content: attr(data-glitch);
  position:absolute;
  left:0;
  top:0;
  transform: translate(-1px, 0);
  color: rgba(255,255,255,.85);
  opacity: 0;
  pointer-events:none;
}

/* Trigger short glitch bursts */
.sectionTitle{
  animation: glitchBurst 6.5s infinite;
}

@keyframes glitchBurst{
  0%, 86%, 100%{
    filter:none;
  }
  88%{
    filter: brightness(1.15) contrast(1.1);
  }
  89%{
    filter: brightness(.95) contrast(1.2);
  }
  90%{
    filter:none;
  }
}

.sectionTitle::before,
.sectionTitle::after{
  animation: glitchGhost 6.5s infinite;
}

@keyframes glitchGhost{
  0%, 86%, 100%{ opacity:0; }
  88%{ opacity:.55; }
  89%{ opacity:.15; }
  90%{ opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .sectionTitle,
  .sectionTitle::before,
  .sectionTitle::after{
    animation:none !important;
  }
}
/* ================= HERO PANEL "BREATHING" GLOW ================= */

.stack{
  position: relative; /* needed for the glow layer */
}

/* soft aura behind the panel */
.stack::after{
  content:"";
  position:absolute;
  inset:-26px;
  z-index:-1;                 /* behind the panel */
  border-radius: 34px;
  pointer-events:none;

  background:
    radial-gradient(closest-side at 50% 25%,
      rgba(178,18,31,.22),
      rgba(178,18,31,.08) 45%,
      transparent 70%
    );

  filter: blur(18px);
  opacity:.55;

  animation: heroGlow 4.8s ease-in-out infinite;
}

@keyframes heroGlow{
  0%,100%{
    transform: scale(1);
    opacity:.45;
  }
  50%{
    transform: scale(1.03);
    opacity:.75;
  }
}

@media (prefers-reduced-motion: reduce){
  .stack::after{ animation:none; }
}

/* ================= PREMIUM BUTTON PRESENCE ================= */
.btn{
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(178,18,31,.22), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events:none;
}

@media (hover:hover){
  .btn:hover::before{
    transform: translateX(120%);
  }
  .btn:hover{
    border-color: rgba(178,18,31,.55);
    box-shadow: 0 18px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(178,18,31,.22);
  }
}
/* ================= SIGNATURE LINE ================= */

.sigLine{
  margin:14px auto 0;
  font-family: var(--mono);
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color: rgba(255,255,255,.72);
  text-shadow: 0 0 18px rgba(178,18,31,.22);
}