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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background-color: #f8fafc;
}

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

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

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --primary: #059669;
  --primary-soft: #10b981;
  --primary-dark: #047857;
  --accent: #0891b2;
  --accent-2: #06b6d4;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --border-subtle: #e2e8f0;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 4px 20px rgba(5, 150, 105, 0.1);
  --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.15);
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 25%, #f0f9ff 50%, #f0fdf4 75%, #ecfdf5 100%);
  background-size: 400% 400%;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.08), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(8, 145, 178, 0.08), transparent 50%);
  opacity: 1;
}

.container {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text-main);
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.logo-text span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease-out;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--primary);
}

.nav-link.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.3);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}

/* Generic layout */

main {
  padding: 40px 0 60px;
}

.section-alt {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.section-alt .section-title,
.contact-card .section-title,
.contact-cta .section-title {
  color: var(--text-main);
}

.section-alt .section-description,
.contact-card .section-description,
.contact-cta .section-description {
  color: var(--text-soft);
}

.hero {
  padding: 60px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(5, 150, 105, 0.1), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(8, 145, 178, 0.1), transparent 60%);
  opacity: 0.6;
  z-index: -1;
}

.section {
  position: relative;
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-eyebrow {
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text-main);
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.15);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.15);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.hero-panel-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
}

.hero-panel-badge {
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 600;
}

.hero-panel-title {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text-main);
  font-weight: 700;
}

.hero-panel-text {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-panel-link {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-panel-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: 2px solid rgba(5, 150, 105, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
}

/* Sections and cards */

.section-header {
  max-width: 650px;
  margin-bottom: 40px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.section-title {
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--text-main);
  font-weight: 700;
}

.section-description {
  margin: 0;
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  gap: 28px;
}

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

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

.card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.15);
  border-color: rgba(5, 150, 105, 0.25);
}

.card-title {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
}

.card-title-large {
  font-size: 26px;
  margin-bottom: 14px;
}

.card-text {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.card-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}

.card-list {
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.card-list li {
  margin-bottom: 8px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.card-game .card-text {
  margin-bottom: 12px;
}

.card-game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.card-game-large {
  padding: 32px;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 8px;
}

.pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-weight: 600;
}

.pill-green {
  background: rgba(5, 150, 105, 0.15);
  color: var(--primary-dark);
  border-color: rgba(5, 150, 105, 0.3);
}

.pill-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.2);
}

.pill-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
  border-color: rgba(147, 51, 234, 0.2);
}

/* Layout utilities */

.layout-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
}

.list li {
  padding-left: 20px;
  border-left: 3px solid rgba(5, 150, 105, 0.3);
  margin-bottom: 14px;
  position: relative;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: -2px;
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
}

.list-large {
  font-size: 17px;
}

.list-large li {
  margin-bottom: 18px;
}

.details-grid {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.1);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.details-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.details-row:last-child {
  border-bottom: none;
}

.details-label {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
}

.details-value {
  font-size: 15px;
  color: var(--text-main);
}

.body-text {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}

.body-text p {
  margin-bottom: 20px;
}

.body-text p:last-child {
  margin-bottom: 0;
}

/* Page hero / breadcrumbs */

.page-hero {
  padding: 50px 0 40px;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

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

.page-title {
  font-size: 42px;
  margin: 0 0 16px;
  color: var(--text-main);
  font-weight: 800;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 40rem;
  line-height: 1.7;
}

.link-inline {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-inline:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.alert-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-soft);
}

/* Games filter */

.games-filter {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(5, 150, 105, 0.4);
  color: var(--primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-color: transparent;
}

/* Contact layouts */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.1);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 15px;
  color: var(--text-soft);
}

.contact-meta h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 700;
}

.contact-meta p {
  margin: 0 0 6px;
  line-height: 1.7;
}

.contact-meta a {
  color: var(--primary);
  transition: color 0.2s ease;
}

.contact-meta a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-cta {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.1);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  backdrop-filter: blur(10px);
}

.contact-cta-compact {
  margin-top: 24px;
}

.contact-cta-actions {
  text-align: right;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  background: rgba(255, 255, 255, 0.9);
  padding: 24px 0 28px;
  font-size: 14px;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

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

/* Responsive */

@media (max-width: 1000px) {
  .nav {
    gap: 20px;
    font-size: 14px;
  }

  .hero-grid,
  .layout-two-column,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    margin-top: 24px;
  }

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

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 640px);
  }

  .nav {
    display: none;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .contact-cta {
    flex-direction: column;
  }

  .contact-cta-actions {
    text-align: left;
    width: 100%;
  }
}
