/* --- CSS RESET & BASE TYPOGRAPHY --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #212529;
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

ul, ol {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #155B8A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
a {
  color: #155B8A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C17A00;
  text-decoration: underline;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section, section {
  padding: 40px 20px;
}
section:last-of-type {
  margin-bottom: 0 !important;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #E8F0F7;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #155B8A;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C17A00;
}

.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: #155B8A;
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 10px rgba(21,91,138,0.05);
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 24px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C17A00;
  color: #fff;
  box-shadow: 0 4px 24px rgba(193,122,0,0.15);
}

/* Burger Menu (Hamburger) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #155B8A;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  padding: 4px 10px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #C17A00;
  outline: 2px solid #C17A00;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.45,0.6,0.38,1.6);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #155B8A;
  padding: 20px 24px 16px 0;
  margin: 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 240;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #C17A00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 16px 40px 20px 40px;
  gap: 24px;
}
.mobile-nav a {
  color: #155B8A;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  display: block;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #E8F0F7;
  color: #C17A00;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 12px 24px 16px 24px;
  }
}

/* --- HERO --- */
.hero {
  background: #E8F0F7;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(21,91,138,0.04);
  margin-bottom: 48px;
  padding: 40px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #155B8A;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.25rem;
  color: #2C3E50;
  margin-bottom: 16px;
}

/* --- FEATURES & CARDS --- */
.features, .feature-descriptions, .feature-grid, .feature-item {
  width: 100%;
}
.features {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(21,91,138,0.06);
  margin-bottom: 48px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #E8F0F7;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  box-shadow: 0 1px 3px rgba(21,91,138,0.03);
  margin-bottom: 0;
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

.feature-descriptions p {
  font-size: 1.04rem;
  color: #2c3e50;
}

/* --- CTA SECTIONS --- */
.cta {
  display: flex;
  background: #155B8A;
  color: #fff;
  border-radius: 14px;
  justify-content: center;
  margin-bottom: 48px;
  box-shadow: 0 6px 24px rgba(21,91,138,0.05);
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.cta h2, .cta h1 {
  color: #fff;
}
.cta p {
  color: #f2f2f2;
}
.cta .btn-primary {
  background: #fff;
  color: #155B8A;
  font-weight: 600;
  margin-left: 0;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #F2B134;
  color: #fff;
}

/* --- CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(21,91,138,0.08);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 260px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(21,91,138,0.12);
  transform: translateY(-3px);
}

/* --- CONTENT GRID --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-left: 4px solid #155B8A;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(21,91,138,0.08);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 450px;
  color: #232a31;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #155B8A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- FEATURES ITEM --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(21,91,138,0.04);
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: #E8F0F7;
}
th, td {
  padding: 14px 13px;
  text-align: left;
  border-bottom: 1px solid #E8F0F7;
}
th {
  color: #155B8A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

/* --- MISC LISTS --- */
.advantages-list li, .sports-list li, .category-filters li, .change-log li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.advantages-list li::before,
.sports-list li::before,
.category-filters li::before,
.change-log li::before {
  content: '\2022';
  color: #C17A00;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 2px;
}

/* --- ANNOUNCEMENT BANNERS --- */
.important-announcements, .important-info, .real-time-update-banner {
  background: #F2B134;
  color: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(193,122,0,0.05);
  margin: 14px 0 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
}
.important-announcements p,
.important-info p,
.real-time-update-banner p {
  margin-bottom: 0;
}
.important-announcements img,
.important-info img,
.real-time-update-banner img {
  width: 24px;
  height: 24px;
}

/* --- FOOTER --- */
footer {
  background: #F7F9FB;
  border-top: 1px solid #E8F0F7;
  margin-top: 64px;
  padding-top: 30px;
  padding-bottom: 24px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-navigation a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #155B8A;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-navigation a:hover {
  color: #C17A00;
}
.address-snippet {
  text-align: center;
  color: #6C7A89;
  font-size: 0.98rem;
}

/* --- GENERIC CLASSES --- */
.text-section {
  margin-bottom: 20px;
}
.privacy-notice {
  margin-top: 20px;
  padding: 12px;
  background: #E8F0F7;
  border-radius: 8px;
  color: #42526E;
  font-size: 0.98rem;
}
.confirmation-message, .next-steps-info {
  margin-bottom: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero, .features, .cta {
    padding: 30px 0 30px 0;
  }
  .card {
    min-width: 160px;
    padding: 20px 13px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid {
    gap: 12px;
  }
  .card-container {
    gap: 10px;
  }
  .footer-navigation {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    padding-top: 7px;
    padding-bottom: 7px;
    gap: 12px;
  }
  .feature-grid li {
    font-size: 0.99rem;
    padding: 10px 8px;
  }
  .cta, .features, .hero {
    border-radius: 8px;
    box-shadow: none;
    padding: 18px 0 18px 0;
    margin-bottom: 32px;
  }
}
@media (max-width: 600px) {
  .content-grid {
    gap: 6px;
  }
  table th, table td {
    font-size: 0.93rem;
    padding: 6px 4px;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- ANIMATIONS --- */
.btn-primary,
.card,
.section, .hero, .cta, .features,
.testimonial-card, .important-announcements, .important-info, .real-time-update-banner {
  transition: box-shadow 0.2s, background 0.25s, color 0.25s, border 0.2s, transform 0.23s;
}

/* --- COOKIE BANNER & COOKIE MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(21,91,138,0.08);
  padding: 20px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  min-height: 54px;
  border-top: 1px solid #E8F0F7;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.23s, transform 0.27s;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner p {
  margin: 0 16px 0 0;
  font-size: 0.97rem;
  color: #2c3e50;
  flex: 1;
  max-width: 540px;
}
.cookie-btn, .cookie-btn-secondary {
  background: #155B8A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(21,91,138,0.04);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C17A00;
  color: #fff;
}
.cookie-btn-secondary {
  background: #E8F0F7;
  color: #155B8A;
  font-weight: 500;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #F2B134;
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 8px;
  }
  .cookie-consent-banner p {
    margin: 0 0 6px 0;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1002;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,38,60,0.19);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  max-width: 510px;
  width: 90vw;
  padding: 36px 28px 24px 28px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(21,91,138,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.22s, opacity 0.17s;
  transform: translateY(32px);
  opacity: 0;
}
.cookie-modal.open {
  transform: translateY(0);
  opacity: 1;
}
.cookie-modal h2 {
  color: #155B8A;
  font-size: 1.24rem;
  margin-bottom: 8px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #E8F0F7;
  border-radius: 7px;
  padding: 12px 14px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2c3e50;
  flex: 1;
}
.cookie-category input[type='checkbox'] {
  accent-color: #155B8A;
  width: 20px;
  height: 20px;
  margin-right: 0;
}
.cookie-essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 6px;
  right: 13px;
  background: transparent;
  color: #155B8A;
  font-size: 2rem;
  border: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C17A00;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 4vw 12px 4vw;
  }
}

/* --- MISC INTERACTIONS & TRANSITIONS --- */
::-webkit-scrollbar {
  width: 7px;
  background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background: #E8F0F7;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C17A00;
}

/* --- UTILS --- */
.nowrap {
  white-space: nowrap;
}
.no-select {
  user-select: none;
}
.center-text {
  text-align: center;
}

/* --- BRAND FONTS (fallback include for safety) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');
