:root {
  --color-bg: #f4f5f7;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;
  --color-border-soft: #e5e7eb;
  --color-border-strong: #d1d5db;

  --color-text-main: #111827;
  --color-text-muted: #6b7280;
  --color-text-soft: #9ca3af;
  --color-text-accent: #0f172a;

  --color-primary: #2563eb;
  --color-primary-soft: #dbeafe;
  --color-primary-strong: #1d4ed8;
  --color-primary-light: #60a5fa;

  --color-accent: #f97316;
  --color-accent-soft: #ffedd5;

  --font-primary: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-secondary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 8px 15px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.12);

  --container-max: 1120px;
  --container-padding: 1.5rem;

  --transition-fast: 150ms ease-out;
  --transition-normal: 220ms ease-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-main);
  background: radial-gradient(circle at top, #e5edff 0, transparent 55%),
              linear-gradient(180deg, #f9fafb 0, #eef2ff 40%, #f3f4f6 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
}

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  color: var(--color-text-accent);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 2.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
}

.subtitle {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  margin-bottom: var(--space-4);
}

strong {
  font-weight: 600;
  color: var(--color-text-accent);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

section {
  padding: var(--space-12) 0;
}

section:nth-child(odd) {
  background: rgba(255, 255, 255, 0.3);
}

.section-header {
  text-align: left;
  margin-bottom: var(--space-8);
}

.section-header.centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-header h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.section-header h2::after {
  content: "";
  display: inline-block;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* HEADER / NAV */

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
}

.logo a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-primary), transparent);
}

.logo a:hover {
  color: var(--color-primary);
}

.nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-block: var(--space-1);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-normal);
}

.nav a:hover {
  color: var(--color-text-main);
}

.nav a:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 1.7rem;
  color: var(--color-primary-strong);
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  padding-top: var(--space-16);
  padding-bottom: var(--space-10);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-8);
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  margin-bottom: var(--space-3);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary-strong);
}

.hero-content h1 {
  margin-bottom: var(--space-3);
}

.hero-content p {
  font-size: var(--text-lg);
}

.hero-content .highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero-content .highlight::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 20% 0, rgba(37, 99, 235, 0.18), transparent 60%),
              radial-gradient(circle at 80% 100%, rgba(249, 115, 22, 0.14), transparent 60%);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(209, 213, 219, 0.8);
  background: #ffffff;
}

/* ABOUT */

.about-section {
  position: relative;
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-10);
}

.about-block.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-text {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-soft);
}

.about-text h3 {
  margin-bottom: var(--space-3);
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 60%);
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-md);
}

/* WHY SECTION */

.why-section {
  background: #ffffff;
}

.why-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-6);
  align-items: center;
}

.why-text {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  border: 1px dashed var(--color-border-strong);
}

.why-text p {
  margin-bottom: var(--space-2);
}

.why-image {
  position: relative;
}

.why-image::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 50% 0, rgba(37, 99, 235, 0.12), transparent 60%);
  z-index: 0;
}

.why-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-md);
}

/* FEATURES */

.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.feature-item {
  background: var(--color-surface);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-bottom-left-radius: var(--radius-lg);
  background: radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.16), transparent 60%);
}

.feature-item h4 {
  font-size: var(--text-lg);
}

.feature-item p {
  z-index: 1;
}

/* BOOKMAKERS */

.bookmakers-section {
  position: relative;
}

.bookmakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.bookmaker-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.bookmaker-media {
  position: relative;
  overflow: hidden;
}

.bookmaker-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.bookmaker-card:hover .bookmaker-media img {
  transform: scale(1.04);
}

.bookmaker-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.bookmaker-card h4 {
  font-size: var(--text-lg);
}

.bookmaker-actions {
  margin-top: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.5rem;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary i {
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.03);
}

/* TESTIMONIALS */

.testimonials-section {
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3rem;
  color: var(--color-primary-soft);
  font-family: var(--font-primary);
}

.testimonial-text {
  margin-top: var(--space-4);
  font-style: italic;
  color: var(--color-text-main);
}

.testimonial-author {
  margin-top: var(--space-2);
  text-align: right;
  font-weight: 600;
  color: var(--color-primary-strong);
}

/* CONTACT / HELP */

.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-6);
  align-items: flex-start;
}

.contact-info h2 {
  margin-bottom: var(--space-3);
}

.contact-info .subtitle {
  margin-bottom: var(--space-3);
}

.contact-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.contact-box h3 {
  margin-bottom: var(--space-3);
}

.contact-box ul {
  padding-left: 1.1rem;
}

.contact-box li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

/* IMPORTANT MESSAGE */

.important-message {
  padding-top: var(--space-10);
}

.message-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-soft);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}

.message-box h3 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}

.message-box h3::before {
  content: "!";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
}

.message-box .last-line {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border-soft);
  font-weight: 600;
  text-align: center;
  color: var(--color-text-accent);
}

/* FOOTER */

.footer-section {
  background: #ffffff;
  border-top: 1px solid var(--color-border-soft);
  padding: var(--space-6) 0;
}

.footer-links {
  text-align: center;
  padding-top: var(--space-3);
}

.footer-links p {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-soft);
  margin-inline: var(--space-1);
  position: relative;
  padding-bottom: 2px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.footer-links a:hover {
  color: var(--color-primary-strong);
}

.footer-links a:hover::after {
  width: 100%;
}

.sitename {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-xs);
  color: var(--color-primary-strong);
}

/* UTILS */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary-strong);
}

.text-secondary {
  color: var(--color-text-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .about-block,
  .about-block.reverse,
  .why-content,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bookmaker-card {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: var(--space-10) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .main-header .container {
    gap: var(--space-2);
  }

  .menu-icon {
    display: block;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border-soft);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--container-padding);
    gap: var(--space-3);
  }

  .nav a {
    width: 100%;
  }

  #menu-toggle:checked ~ .nav {
    max-height: 260px;
  }

  .hero {
    padding-top: var(--space-12);
  }

  .hero-content p {
    font-size: var(--text-base);
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 0.9rem;
  }

  section {
    padding: var(--space-8) 0;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .hero-content .highlight {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-links a {
    display: inline-block;
    margin-bottom: var(--space-1);
  }
}
