@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Teko:wght@500;600;700&display=swap");

:root {
  --bg: #151414;
  --surface: #201f1f;
  --surface-2: #292727;
  --text: #ffffff;
  --muted: #b3aeae;
  --accent: #fd7608;
  --accent-2: #ff9540;
  --danger: #ff5f5f;
  --success: #4cd97b;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  background: #000000;
  color: var(--text);
  line-height: 1.6;
}

.bg-motifs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-motif {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.08;
  filter: blur(0.1px);
  transform: rotate(var(--motif-rotate, 0deg));
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

.container {
  width: min(1440px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(21, 20, 20, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2d2a2a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.logo-text {
  color: var(--accent);
}

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-btn {
  background: transparent;
  border: 1px solid #3c3838;
  color: var(--text);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
}

.mobile-nav {
  display: none;
  padding: 0.7rem 0 1rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--muted);
}

.btn {
  border: 0;
  border-radius: 11px;
  padding: 0.72rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.22s ease, color 0.22s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #131212;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-ghost {
  border: 1px solid #4a4545;
  background: transparent;
  color: var(--text);
}

.hero {
  position: relative;
  padding: 0 0 2.9rem;
  overflow: hidden;
}

.hero-spotlight {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(440px, 68vh, 700px);
  border-radius: 0;
  border-top: 1px solid #3e3a3a;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  overflow: hidden;
  position: relative;
  background-image: url("../images/hero.avif");
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.72) 60%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
}

.hero-title-main {
  font-size: clamp(3rem, 12vw, 8.1rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0.55rem 0 0.9rem;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.56);
}

.hero-subtitle {
  width: min(840px, 92%);
  font-size: clamp(1rem, 1.9vw, 1.7rem);
  color: #e8e5e5;
  margin-bottom: 1.1rem;
}

/* Fog-style blend from hero into next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(21, 20, 20, 0) 0%,
      rgba(21, 20, 20, 0.58) 55%,
      rgba(21, 20, 20, 0.95) 100%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(253, 118, 8, 0.1) 0%,
      rgba(21, 20, 20, 0) 60%
    );
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
  font-family: "Teko", "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
}

p {
  margin-top: 0;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

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

.compliance-panel {
  background: linear-gradient(130deg, #201d1d, #161515);
  border: 1px solid #544646;
  border-left: 4px solid #fd7608;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.compliance-panel p {
  margin-bottom: 0.4rem;
}

#business-trust .container {
  position: relative;
  overflow: hidden;
  border: 1px solid #4f4545;
  border-radius: 16px;
  padding: 1.1rem;
  background: url("../images/business-bg.jpg") center / cover no-repeat;
}

#business-trust .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.72));
}

#business-trust h2,
#business-trust .info-grid {
  position: relative;
  z-index: 1;
}

#business-trust .card {
  background: rgba(17, 16, 16, 0.78);
  border-color: #6a5a5a;
  backdrop-filter: blur(2px);
}

#sports {
  position: relative;
  margin-top: -72px;
  padding-top: 110px;
}

#sports::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(21, 20, 20, 0.88) 0%,
    rgba(21, 20, 20, 0.35) 45%,
    rgba(21, 20, 20, 0) 100%
  );
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.card {
  background: linear-gradient(155deg, #262222 0%, #1a1818 62%, #191717 100%);
  border: 1px solid #5a4640;
  border-radius: 18px;
  padding: 1.05rem;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #fd7608;
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.42);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(253, 118, 8, 0.11), transparent 42%);
  pointer-events: none;
}

.card h3 {
  margin-top: 0.2rem;
}

.card .btn {
  margin-top: 1rem;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.card-progress {
  margin: 0.35rem 0 0.9rem;
}

.card-progress-meta {
  font-size: 0.82rem;
  color: #d4cccc;
  margin-bottom: 0.25rem;
}

.card-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0;
}

.card-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fd7608, #ffb176);
  transition: width 0.35s ease;
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:focus-visible {
  outline: 2px solid rgba(253, 118, 8, 0.65);
  outline-offset: 2px;
}

.card-icon {
  position: absolute;
  top: -1.35rem;
  right: 0.9rem;
  font-size: 3.6rem;
  line-height: 1;
  background: transparent;
  border: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
  z-index: 3;
}

.badge {
  display: inline-block;
  background: rgba(253, 118, 8, 0.12);
  color: #ffb176;
  border: 1px solid rgba(253, 118, 8, 0.36);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.challenge-banner {
  background: linear-gradient(130deg, #39281b, #1c1715);
  border: 1px solid #8a582f;
  border-radius: var(--radius);
  padding: 1.25rem;
  width: min(100%, 1320px);
  min-height: 260px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
}

.challenge-copy {
  max-width: 56%;
  padding-right: 1.2rem;
}

.challenge-float-image {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: min(580px, 54%);
  max-height: none;
  object-fit: cover;
  object-position: right center;
  border-radius: 14px;
  border: 0;
  box-shadow: none;
  clip-path: inset(-62px -2px -62px -18px round 14px);
}


.table-wrap {
  border: 1px solid #4c3f3f;
  border-radius: var(--radius);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #2f2c2c;
}

th {
  background: #221f1f;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.step {
  background: linear-gradient(130deg, #262222, #1a1818);
  border: 1px solid #4b3f3f;
  border-radius: var(--radius);
  padding: 0.9rem;
}

.disclaimer {
  border-left: 4px solid var(--accent);
  background: linear-gradient(130deg, #282121, #1c1a1a);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.newsletter {
  display: grid;
  gap: 0.8rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  background: #1d1b1b;
  color: var(--text);
  border: 1px solid #3d3939;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(253, 118, 8, 0.2);
}

.error {
  color: var(--danger);
  font-size: 0.9rem;
}

.success {
  color: var(--success);
  font-size: 0.9rem;
}

.auth-box {
  width: min(520px, 92%);
  margin: 2.4rem auto;
  background: var(--surface);
  border: 1px solid #363131;
  border-radius: var(--radius);
  padding: 1.2rem;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.remember-row label {
  margin: 0;
}

.profile-wrap {
  position: relative;
}

.profile-btn {
  background: #262323;
  border: 1px solid #4a4242;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.profile-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  width: 220px;
  background: #1f1c1c;
  border: 1px solid #433b3b;
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.profile-menu.open {
  display: block;
}

.profile-menu p {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #272222;
  color: var(--text);
  border: 1px solid #534545;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.quiz-panel {
  background: linear-gradient(155deg, #252121, #171616);
  border: 1px solid #5a4640;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

#quiz-root .quiz-panel {
  width: min(980px, 100%);
  margin: 0 auto;
}

.progress-wrap {
  background: #2f2b2b;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--accent), #ffaa66);
  height: 100%;
  width: 0;
  transition: width 0.24s ease;
}

.options {
  display: grid;
  gap: 0.55rem;
}

.option {
  background: #232020;
  border: 1px solid #403b3b;
  border-radius: 10px;
  padding: 0.42rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option:hover {
  border-color: #6a5858;
  background: #292424;
}

.option input[type="radio"] {
  accent-color: var(--accent);
}

.option-text {
  flex: 1;
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.option input[type="radio"]:checked + .option-text {
  background: rgba(253, 118, 8, 0.14);
  border-color: rgba(253, 118, 8, 0.55);
  color: #ffffff;
}

.result-item {
  border: 1px solid #3a3434;
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
}

.correct {
  color: var(--success);
}

.wrong {
  color: var(--danger);
}

.page-title {
  padding: 2rem 0 1rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #312d2d;
  padding: 1.5rem 0;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.quiz-modal.open {
  display: block;
}

.quiz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.82));
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.quiz-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 94%);
  max-height: 90vh;
  overflow: auto;
  margin: 5vh auto;
  background: linear-gradient(160deg, rgba(39, 34, 34, 0.96), rgba(20, 18, 18, 0.97));
  border: 1px solid #7a5539;
  border-radius: 20px;
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.62);
  padding: 1.05rem;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.quiz-modal.open .quiz-modal-backdrop {
  opacity: 1;
}

.quiz-modal.open .quiz-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.quiz-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #4b3a31;
}

.quiz-close-btn {
  border: 1px solid #5c4a3f;
  background: #231f1f;
  color: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.quiz-close-btn:hover {
  border-color: #fd7608;
  transform: translateY(-1px);
}

.quiz-modal.open .quiz-panel {
  animation: modalPanelRise 0.28s ease both;
}

.quiz-modal.open .option {
  animation: modalOptionIn 0.22s ease both;
  animation-delay: calc(var(--option-i, 0) * 55ms);
}

@keyframes modalPanelRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalOptionIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.footer-disclaimer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #3a3434;
  color: #bfbaba;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-disclaimer a {
  color: #ffb176;
  text-decoration: underline;
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .menu-btn,
  .mobile-nav {
    display: none !important;
  }

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

  .newsletter {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

}

@media (max-width: 900px) {
  .challenge-banner {
    width: min(100%, 760px);
    min-height: auto;
    padding: 1rem;
  }

  .challenge-copy {
    max-width: 100%;
  }

  .challenge-float-image {
    display: none;
  }
}

@media (min-width: 1020px) {
  .cards-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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