:root {
  --bg: #08100c;
  --bg2: #0d1511;
  --card: #111b16;
  --line: #1d2b23;
  --text: #e8f0ec;
  --muted: #8a9a91;
  --accent: #22e07a;
  --accent-ink: #04140b;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px
}

body {
  /* background:
    radial-gradient(circle at top, rgba(34, 224, 122, .08), transparent 30%),
    linear-gradient(180deg, #08100c 0%, #0c120f 100%); */
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
  cursor: pointer
}



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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100
}

.skip:focus {
  left: 8px
}

header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding: 14px 24px
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 20px;
  background: rgba(13, 21, 17, .72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18)
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px
}

.logo b {
  color: var(--accent);
  font-weight: 700
}

.logo svg {
  width: 22px;
  height: 22px
}

.menu {
  display: flex;
  gap: 22px;
  list-style: none;
  font-size: 14px;
  color: var(--muted)
}

.menu a:hover,
.menu a[aria-current] {
  color: var(--text)
}

/* Base style for the dot (hidden by default) */
.menu a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--accent, #22e07a); /* Uses your variable or green */
  vertical-align: middle;
  
  /* Animation for smooth appearance */
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show the dot when the link is active OR has aria-current */
.menu a.active::after,
.menu a[aria-current]::after {
  opacity: 1;
  transform: scale(1);
}

.nav .cta {
  margin-left: auto;
}

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14px var(--sans);
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s, background .2s, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.btn:hover {
  transform: translateY(-1px)
}

.btn:hover {
  border-color: #179750;
  box-shadow: 0 12px 24px rgba(18, 34, 28, .2)
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

.btn.primary:hover {
  background: #3df08f
}

.btn.sm {
  padding: 9px 20px;
  font-size: 12.5px;
  border-radius: 999px;
  margin-left: auto;
}

.hero {
  padding: 92px 0 88px;
  overflow: hidden;
  background: radial-gradient(55% 80% at 80% 35%, rgba(34, 224, 122, .1), transparent 72%);
}

.hero-grid {
  display: grid;
  /* Adjust the fractions to match your desired width ratio */
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 48px;
  align-items: start; /* Align to top */
  /* padding: 40px; */
  /* background-color: #050806; */ /* Dark background from image */
}
}

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

.hero-copy .badge span {
  color: var(--muted)
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 224, 122, .35);
  background: rgba(34, 224, 122, .07);
  padding: 6px 14px;
  border-radius: 999px
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite
}

@keyframes pulse {
  50% {
    opacity: .35
  }
}

h1 {
  font-size: clamp(48px, 6.2vw, 65px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.3em;
  margin: 26px 0 22px
}

h1 span {
  color: var(--accent);
  text-shadow: 0 0 38px rgba(34, 224, 122, .16)
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: #b8c6be;
  max-width: 520px
}

.lead strong {
  color: var(--text)
}

.sub {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 500px;
  margin: 16px 0 28px
}

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

.hero-copy .actions .btn {
  padding: 13px 18px
}

.object3d-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  align-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.object3d-visual:hover {
  transform: translateY(-5px);
}

/* Ensure images inside fit perfectly */
.object3d-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Styling the caption (the small text below images) */
.object3d-visual .figcaption {
  margin-top: 12px;
  font-family: monospace;
  font-size: 12px;
  color: rgba(34, 224, 122, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-visual {
  grid-column: 1 / span 2;
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(142, 173, 155, .2);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(25, 39, 31, .92), rgba(10, 17, 13, .88));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .38), 0 0 80px rgba(34, 224, 122, .08);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .45s ease, box-shadow .45s ease
}

.product-visual:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-4px);
  box-shadow: 0 42px 110px rgba(0, 0, 0, .42), 0 0 90px rgba(34, 224, 122, .12)
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #0b100d
}

.product-visual figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 5px 1px;
  color: #d5e1d9;
  font: 500 11px var(--mono)
}

.product-visual figcaption > span:last-child {
  color: var(--muted)
}

.live-dot,
.hero-meta span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(34, 224, 122, .65)
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px
}

/* section {
  padding: 96px 0
} */

.alt {
  background: var(--bg2);
  border-block: 1px solid var(--line)
}

h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.sec-head p {
  color: var(--muted);
  margin-top: 10px
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.chip {
  font: 500 12.5px var(--sans);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer
}

.chip:hover {
  color: var(--text)
}

.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .08)
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 122, .4);
  box-shadow: 0 18px 36px rgba(11, 22, 17, .18)
}

.card[hidden] {
  display: none
}

.thumb {
  height: 170px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04)
}

.t1 {
  background: repeating-linear-gradient(0deg, rgba(34, 224, 122, .12) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(34, 224, 122, .12) 0 1px, transparent 1px 14px), #0a1510
}

.t2 {
  background: radial-gradient(120% 80% at 20% 90%, rgba(34, 224, 122, .45), transparent 60%), radial-gradient(100% 70% at 85% 10%, rgba(40, 120, 200, .35), transparent 60%), #0a1218
}

.t3 {
  background: linear-gradient(transparent 55%, rgba(34, 224, 122, .35)), repeating-linear-gradient(90deg, rgba(34, 224, 122, .5) 0 5px, transparent 5px 12px) bottom/100% 50% no-repeat, #0a1510
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font: 600 10.5px var(--sans);
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 16, 12, .85);
  border: 1px solid var(--line)
}

.card h3 {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px
}

.card h3 span {
  font: 400 12px var(--mono);
  color: var(--accent)
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 20px;
  flex: 1
}

.row {
  display: flex;
  gap: 8px
}

.row .btn {
  flex: 1;
  justify-content: center;
  padding: 10px;
  font-size: 13px;
  background: var(--bg)
}

.row .btn.ico {
  flex: 0 0 42px;
  font-family: var(--mono)
}

.more {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 500
}

.more a:hover {
  color: var(--accent)
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.feat h2 {
  margin: 12px 0 18px
}

.feat h2 span {
  color: var(--accent)
}

.feat p.d {
  color: #a9b9b0;
  max-width: 480px
}

.ticks {
  list-style: none;
  margin: 24px 0 30px;
  display: grid;
  gap: 12px
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px
}

.ticks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800
}

.screen {
  aspect-ratio: 4/3.1;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: radial-gradient(60% 50% at 50% 45%, rgba(34, 224, 122, .3), transparent 70%), linear-gradient(160deg, #16222c, #0a0f14);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 30px rgba(34, 224, 122, .08), 0 28px 42px rgba(0, 0, 0, .12)
}

.monitor {
  width: 68%;
  aspect-ratio: 16/10;
  border: 5px solid #05080a;
  border-radius: 8px;
  background: radial-gradient(70% 70% at 70% 45%, rgba(34, 224, 122, .9), #04140b 60%);
  box-shadow: 0 0 45px rgba(34, 224, 122, .18)
}

.updates {
  max-width: 780px;
  margin: 44px auto 0;
  display: grid;
  gap: 18px
}

.upd {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .08)
}

.upd:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 122, .4);
  box-shadow: 0 18px 36px rgba(11, 22, 17, .18)
}

.upd .i {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px
}

.upd h3 {
  font-size: 15px
}

.upd time {
  font: 400 10.5px var(--sans);
  color: var(--muted);
  margin-left: 8px;
  text-transform: uppercase
}

.upd p {
  font-size: 13.5px;
  color: var(--muted)
}

.center {
  text-align: center
}

footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px
}

.fgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px
}

.fgrid p {
  color: var(--muted);
  font-size: 14px;
  max-width: 300px;
  margin-top: 16px
}

.fgrid h4 {
  font-size: 14px;
  margin-bottom: 16px
}

.fgrid ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted)
}

.fgrid a:hover {
  color: var(--accent)
}

.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted)
}

.legal nav {
  display: flex;
  gap: 24px
}

@media(max-width:900px) {
  .grid {
    grid-template-columns: 1fr
  }

  .feat {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .fgrid {
    grid-template-columns: 1fr 1fr
  }

  .fgrid>div:first-child {
    grid-column: 1/-1
  }

  .burger {
    display: block
  }

  .nav .cta {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 0;
    background: rgba(17, 27, 22, .96);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2)
  }

  .menu.open {
    display: flex;
    background-color: black;
  }

  .menu a {
    display: block;
    padding: 12px 14px
  }

  .nav {
    position: relative
  }

  .hero {
    padding: 68px 0
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .hero-copy {
    max-width: 650px;
    margin: 0 auto;
    text-align: center
  }

  .hero-copy .lead,
  .hero-copy .sub {
    margin-left: auto;
    margin-right: auto
  }

  .hero-copy .actions {
    justify-content: center
  }

  .hero-meta {
    justify-content: center
  }

  .product-visual {
    width: min(100%, 760px);
    margin: 0 auto;
    transform: none
  }

  .product-visual:hover {
    transform: translateY(-3px)
  }

  section {
    padding: 68px 0
  }
}

/* Ad box: wide enough for a 300px ad, dark theme */
.ad-square-box {
    width: 100%;
    max-width: 340px;
    min-height: 290px;
    margin: 30px auto;
    padding: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
}

/* Optional: Floating the ad to the side of text */
.ad-inline-right {
    float: right;
    margin: 0 0 20px 20px;
}

/* The small "Advertisement" text above the ad */
.ad-label {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 5px;
}

/* Responsive: Center it on mobile */
@media (max-width: 600px) {
    .ad-square-box, .ad-inline-right {
        float: none;
        margin: 20px auto;
    }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* Mobile Styles (Max-width: 768px) */
@media (max-width: 768px) {

  
  /* 1. Global Container Adjustment */
  .wrap {
    width: 100% !important;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 2. Typography Adjustments */
  h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 28px !important;
  }

  /* 3. Header & Navigation (Burger Menu) */
  header .nav {
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 100;
  }

  header .burger {
    display: block !important; /* Show the burger icon */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  
  header .menu {
    display: none; /* Hide menu by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff; /* Match your theme */
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

  /* Class to toggle menu via JS */
  header .menu.active {
    display: flex;
    background-color: black;
  }
  
  /* 4. Grid Stacking */
  .hero-grid, 
  .grid, 
  .feat, 
  .updates {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  .hero-grid > *, 
  .grid > *, 
  .feat > *, 
  .updates > * {
    width: 100% !important;
  }

  /* 5. Row Stacking (Flex items) */
  .row, .actions, .sec-head, .filters {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px;
  }

  /* 6. Fix for Hadescore OS section */
  #t-os {
    text-align: center;
    padding: 40px 20px;
  }
}