:root {
  --tec-bg: #0d0d0d;
  --tec-bg-soft: #1a1214;
  --tec-panel: #181013;
  --tec-panel-alt: #221417;
  --tec-line: rgba(239, 68, 68, 0.28);
  --tec-line-strong: rgba(239, 68, 68, 0.48);
  --tec-accent: #dc2626;
  --tec-accent-bright: #ef4444;
  --tec-gold: #a3842c;
  --tec-text: #fef2f2;
  --tec-muted: #d7c5c5;
  --tec-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  --tec-radius: 22px;
  --tec-radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(163, 132, 44, 0.08), transparent 24%),
    var(--tec-bg);
  color: var(--tec-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

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

.tec-kicker {
  margin: 0 0 10px;
  color: var(--tec-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.tec-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.tec-section-head h2,
.tec-footer-banner h2,
.tec-age-panel h2 {
  margin: 0 0 14px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.tec-section-head p:last-child,
.tec-hero-text,
.tec-longform p,
.tec-method-panel p,
.tec-team-panel p,
.tec-rg-tile p,
.tec-rg-links li,
.tec-glossary-body p,
.tec-age-panel p {
  color: var(--tec-muted);
}

.tec-main-cta,
.tec-ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tec-main-cta {
  background: linear-gradient(135deg, var(--tec-accent), var(--tec-accent-bright));
  color: #f5d97c;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.28);
}

.tec-main-cta:hover,
.tec-main-cta:focus-visible,
.tec-ghost-cta:hover,
.tec-ghost-cta:focus-visible {
  transform: translateY(-2px);
}

.tec-ghost-cta {
  border: 1px solid var(--tec-line-strong);
  color: var(--tec-text);
  background: rgba(255, 255, 255, 0.02);
}

.tec-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.tec-header-scrolled {
  background: rgba(13, 13, 13, 0.92);
  border-color: var(--tec-line);
  backdrop-filter: blur(14px);
}

.tec-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.tec-brandmark {
  width: 196px;
}

.tec-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.tec-nav a {
  position: relative;
  font-weight: 600;
  color: var(--tec-muted);
}

.tec-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--tec-accent-bright);
  transition: transform 0.2s ease;
}

.tec-nav a:hover,
.tec-nav a:focus-visible {
  color: var(--tec-text);
}

.tec-nav a:hover::after,
.tec-nav a:focus-visible::after {
  transform: scaleX(1);
}

.tec-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--tec-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
}

.tec-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--tec-text);
}

.tec-hero-shell {
  padding: 44px 0 36px;
  background:
    radial-gradient(circle at 75% 30%, rgba(239, 68, 68, 0.18), transparent 18%),
    radial-gradient(circle at 68% 42%, rgba(255, 255, 255, 0.07), transparent 20%),
    radial-gradient(circle at 55% 55%, rgba(255, 255, 255, 0.05), transparent 26%);
}

.tec-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.tec-hero-copy h1 {
  margin: 0 0 18px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.tec-hero-copy h1 span {
  color: var(--tec-accent-bright);
}

.tec-hero-text {
  max-width: 600px;
  font-size: 1.08rem;
}

.tec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.tec-hero-stats {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.tec-stat-orbit {
  position: relative;
  width: min(100%, 480px);
  min-height: 420px;
}

.tec-stat-ribbon,
.tec-stat-stage {
  position: absolute;
  background: linear-gradient(180deg, rgba(36, 18, 21, 0.94), rgba(23, 15, 18, 0.95));
  border: 1px solid rgba(163, 132, 44, 0.2);
  border-left: 3px solid var(--tec-accent-bright);
  border-radius: var(--tec-radius);
  box-shadow: var(--tec-shadow);
}

.tec-stat-ribbon {
  width: 210px;
  padding: 18px 20px;
  animation: tecFloat 7s ease-in-out infinite;
}

.tec-stat-ribbon-a {
  top: 18px;
  left: 0;
}

.tec-stat-ribbon-b {
  top: 102px;
  right: 0;
  animation-delay: -1.5s;
}

.tec-stat-ribbon-c {
  bottom: 86px;
  left: 46px;
  animation-delay: -3s;
}

.tec-stat-stage {
  right: 24px;
  bottom: 0;
  width: 260px;
  padding: 26px 24px;
  overflow: hidden;
}

.tec-stage-line {
  height: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.15), rgba(220, 38, 38, 0.85), rgba(163, 132, 44, 0.2));
  animation: tecPulse 3s ease infinite;
}

.tec-stage-line:nth-child(2) {
  width: 82%;
  animation-delay: -0.8s;
}

.tec-stage-line:nth-child(3) {
  width: 64%;
  animation-delay: -1.6s;
}

.tec-stage-caption,
.tec-stat-label,
.tec-rating-line,
.tec-card-foot p,
.tec-team-role,
.tec-affiliate-note,
.tec-legal-line,
.tec-copyright {
  color: var(--tec-muted);
}

.tec-stat-value {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--tec-text);
}

.tec-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.tec-rg-strip,
.tec-casino-zone,
.tec-editorial-block,
.tec-method-zone,
.tec-glossary-zone,
.tec-team-zone {
  padding: 34px 0 28px;
}

.tec-rg-grid,
.tec-method-grid,
.tec-team-grid,
.tec-footer-grid {
  display: grid;
  gap: 18px;
}

.tec-rg-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tec-rg-tile,
.tec-rg-links,
.tec-method-panel,
.tec-team-panel,
.tec-glossary-item,
.tec-casino-review,
.tec-footer-banner {
  background: linear-gradient(180deg, rgba(26, 18, 20, 0.98), rgba(18, 12, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--tec-accent);
  border-radius: var(--tec-radius);
  box-shadow: var(--tec-shadow);
}

.tec-rg-tile,
.tec-rg-links,
.tec-method-panel,
.tec-team-panel {
  padding: 24px;
}

.tec-rg-links ul,
.tec-footer-links,
.tec-split-points ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tec-rg-links li + li,
.tec-footer-links li + li {
  margin-top: 10px;
}

.tec-rg-links a {
  color: #f8d992;
}

.tec-rg-badge,
.tec-footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.18);
  color: #f8d992;
  font-weight: 700;
}

.tec-card-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tec-casino-review {
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tec-casino-review:hover,
.tec-casino-review.tec-hovered {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(220, 38, 38, 0.18);
  border-color: rgba(239, 68, 68, 0.22);
}

.tec-casino-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tec-logo-box {
  width: 120px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.tec-casino-topline h3,
.tec-rg-tile h3,
.tec-rg-links h3,
.tec-method-panel h3,
.tec-team-panel h3,
.tec-footer-grid h3 {
  margin: 0 0 6px;
}

.tec-review-copy {
  min-height: 150px;
  color: var(--tec-muted);
}

.tec-bonus-line {
  margin: 18px 0 18px;
  font-weight: 700;
  color: #f8d992;
}

.tec-split-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tec-split-points h4 {
  margin: 0 0 10px;
  color: var(--tec-text);
}

.tec-split-points li {
  position: relative;
  padding-left: 16px;
  color: var(--tec-muted);
  margin-bottom: 8px;
}

.tec-split-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tec-gold);
}

.tec-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.tec-card-foot p {
  margin: 0;
  font-size: 0.86rem;
}

.tec-longform,
.tec-footer-shell {
  font-size: 1.02rem;
}

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

.tec-glossary-list {
  display: grid;
  gap: 14px;
}

.tec-glossary-item {
  overflow: hidden;
}

.tec-glossary-toggle {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--tec-text);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.tec-glossary-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.tec-glossary-body-open {
  max-height: 220px;
  padding: 0 24px 22px;
}

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

.tec-team-role {
  margin: 0 0 14px;
  font-weight: 700;
}

.tec-footer-shell {
  padding: 28px 0 42px;
}

.tec-footer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 22px;
}

.tec-footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.tec-affiliate-note,
.tec-legal-line,
.tec-copyright {
  text-align: center;
}

.tec-cookie-bar,
.tec-age-gate {
  position: fixed;
  z-index: 70;
}

.tec-cookie-bar[hidden],
.tec-age-gate[hidden] {
  display: none;
}

.tec-cookie-bar {
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(18, 12, 14, 0.96);
  border: 1px solid var(--tec-line);
  border-left: 3px solid var(--tec-accent);
  border-radius: 18px;
  box-shadow: var(--tec-shadow);
}

.tec-cookie-bar p {
  margin: 0;
}

.tec-cookie-actions {
  display: flex;
  gap: 12px;
}

.tec-cookie-btn {
  border: 0;
  cursor: pointer;
}

.tec-age-gate {
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(10px);
}

.tec-age-panel {
  width: min(92vw, 480px);
  padding: 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(33, 18, 21, 0.98), rgba(16, 11, 13, 0.98));
  border: 1px solid var(--tec-line);
  border-left: 3px solid var(--tec-accent);
  border-radius: 24px;
  box-shadow: var(--tec-shadow);
}

.tec-age-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.tec-top-button {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 50;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tec-accent), var(--tec-accent-bright));
  color: #f5d97c;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.tec-top-button-visible {
  opacity: 1;
  visibility: visible;
}

.tec-page-hero {
  padding: 56px 0 26px;
}

.tec-page-hero h1,
.tec-legal-copy h2 {
  font-family: "DM Serif Display", serif;
}

.tec-legal-copy,
.tec-contact-block,
.tec-about-page-grid {
  padding-bottom: 44px;
}

.tec-legal-copy article,
.tec-contact-panel,
.tec-about-page-card {
  margin-bottom: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(26, 18, 20, 0.98), rgba(18, 12, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--tec-accent);
  border-radius: var(--tec-radius);
  box-shadow: var(--tec-shadow);
}

.tec-legal-copy h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.tec-about-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@keyframes tecFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tecPulse {
  0%, 100% { opacity: 0.48; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.03); }
}

@media (max-width: 1024px) {
  .tec-card-stack,
  .tec-rg-grid,
  .tec-team-grid,
  .tec-about-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tec-hero-grid,
  .tec-footer-banner,
  .tec-card-foot {
    grid-template-columns: 1fr;
    display: grid;
  }

  .tec-hero-stats {
    min-height: 390px;
  }
}

@media (max-width: 820px) {
  .tec-menu-toggle {
    display: block;
  }

  .tec-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(18, 12, 14, 0.98);
    border: 1px solid var(--tec-line);
    border-left: 3px solid var(--tec-accent);
    border-radius: 20px;
    box-shadow: var(--tec-shadow);
  }

  .tec-nav.tec-nav-open {
    display: flex;
  }

  .tec-hero-grid,
  .tec-method-grid,
  .tec-footer-grid,
  .tec-card-stack,
  .tec-rg-grid,
  .tec-team-grid,
  .tec-about-page-grid,
  .tec-split-points {
    grid-template-columns: 1fr;
  }

  .tec-stat-orbit {
    min-height: 380px;
  }

  .tec-stat-ribbon {
    width: 180px;
  }

  .tec-stat-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 220px;
  }

  .tec-card-foot,
  .tec-cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .tec-wrap {
    width: min(100% - 24px, 1160px);
  }

  .tec-hero-copy h1 {
    font-size: 2.8rem;
  }

  .tec-stat-ribbon-a,
  .tec-stat-ribbon-b,
  .tec-stat-ribbon-c {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 12px;
  }

  .tec-stat-stage {
    margin-top: 0;
  }

  .tec-top-button {
    right: 14px;
  }
}
