/* ==========  Core colour & layout variables  ========== */
:root {
  --bg-page:        #f7f9fb;
  --clr-primary:    #02337f;
  --clr-primary-lt: #670D2F;
  --clr-dark:       #14213d;
  --clr-accent:     #EF88AD;

  --radius: 0.75rem;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
}

/* ==========  RESET  ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--clr-dark);
  line-height: 1.6;
}

/* ==========  GENERIC HELPERS  ========== */
.container {
  width: min(90%, var(--max-width));
  margin-inline: auto;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========  HEADER  ========== */
.site-header {
  background: var(--clr-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;          /* keep above content */
}

.logo {
  font-size: 1.75rem;
  font-family: "Fjord One", serif;
  text-decoration: none;
  color: #fff;
}

/*  NAV  */
.main-nav { margin-left: auto; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width 0.3s;
}

.nav-list a:hover::after {
  width: 100%;
}

/*  BURGER  */
.burger {
  display: none;                    /* hidden on desktop */
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

/* fallback “☰” if icon font missing */
.burger::before {
  content: "☰";
  display: block;
  line-height: 44px;
  text-align: center;
}

/* ==========  IMAGES (desktop)  ========== */
.container.content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-block: 2rem;
  display: block;
}

.container.content figure {
  margin: 2rem 0;
}

.container.content figure img {
  margin-bottom: 0.5rem;
}

.container.content figcaption {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  padding: 0.5rem 1rem;
  font-style: italic;
}

/* Centered images */
.container.content img.center,
.container.content figure.center {
  margin-left: auto;
  margin-right: auto;
}

/* Full-width images */
.container.content img.full-width {
  width: 100%;
  border-radius: 0;
}

/* ==========  IMAGES (mobile)  ========== */
@media (max-width: 768px) {
  .container.content img {
    margin-block: 1.5rem;
    border-radius: calc(var(--radius) * 0.75);
  }
  
  .container.content figure {
    margin: 1.5rem 0;
  }
  
  .container.content figcaption {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}




/* ==========  HERO (just colours/spacing)  ========== */
.hero {
  background: linear-gradient(145deg, var(--clr-primary) 20%, var(--clr-primary-lt) 80%);
  color: #fff;
  text-align: center;
  padding: 5rem 0 4rem;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-title { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1rem; }
.hero-sub   { font-size: 1.1rem; }



/* ==========  TABLE (desktop)  ========== */
.container.content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-block: 2rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.container.content thead th {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-lt) 100%);
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
}
.container.content tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e8f5;
}
.container.content tbody tr:nth-child(even) {
  background: #f8faff;
}

/* ==========  TABLE (mobile)  ========== */
@media (max-width: 768px) {
  .container.content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0.85rem;
  }
  
  .container.content thead th {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .container.content tbody td {
    padding: 0.75rem 1rem;
  }
}

/* ==========  FOOTER  ========== */
.site-footer {
  background: #013380;
  color: #c9d1ee;
  margin-top: 4rem;
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: #c9d1ee;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--clr-accent);
}

/* social icons */
.socials img {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #312e81;
  color: #c9d1ee;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.socials img:hover {
  transform: scale(1.12);             /* subtle enlargement */                     /* keep original fg   */
}
/* copyright line */
.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #8b94c1;
}

/* ==========  BACK-TO-TOP BUTTON  ========== */
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #EF88AD;
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 10000;    /* stay above everything */
}

/* fallback arrow if icon font fails */
.back-top::before {
  content: "↑";
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: #A53860;
  color: #000;
}

/* ==========  MEDIA QUERIES  ========== */

/* Mobile – hide nav list until burger clicked */
@media (max-width: 768px) {
  .burger { display: inline-flex; }      /* show burger */

  .nav-list {
    display: none;                       /* hide list */
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
    width: 220px;
    background: var(--clr-primary);
    padding: 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-list.open {                       /* toggled by JS */
    display: flex;
  }

  /* footer stack */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}

/* Very small screens – make table horizontally scrollable */
@media (max-width: 600px) {
  .casino-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.85rem;
  }

  .casino-table thead th,
  .casino-table tbody td {
    padding: 0.75rem 0.75rem;
  }
}


/* ===== Pros & Cons section =========================== */
.pros-cons ul {
  list-style: none;          /* remove default bullets   */
  padding-left: 0;           /* flush left               */
}

.pros-cons {
  margin-block: 3rem;
}

.pros-cons h2 {
  font-family: 'Fjord One', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--clr-dark);
}

.pros-cons__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* shared card look */
.pros-cons .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
}

.pros-cons .card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* icon colours */
.card.pros   h3 i { color: #16a34a; }   /* green check */
.card.cons   h3 i { color: #dc2626; }   /* red cross  */

/* bullet list */
.pros-cons ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.pros-cons ul li {
  position: relative;
  padding-left: 1.25rem;     /* space for the symbol     */
}

.card.pros ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;            /* keep green if you like   */
  font-weight: 700;
}

.card.cons ul li::before {
  content: "–";              /* en dash minus            */
  position: absolute;
  left: 0;
  top: 0;
  color: #dc2626;            /* keep red if you like     */
  font-weight: 700;
}

/* custom bullet symbols */
.card.pros ul li::marker { color: #16a34a; }
.card.cons ul li::marker { color: #dc2626; }

/* ===== Responsive tweak ===== */
@media (max-width: 600px) {
  .pros-cons ul { font-size: 0.9rem; }
}




/* =====================================================
   NUMBERED LISTS - All <ol> inside .container.content
   ===================================================== */

.container.content ol {
  list-style: none;          /* remove default 1. 2. 3.  */
  counter-reset: step;       /* start custom counter      */
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: .95rem;
  margin-block: 1.15rem;
}

.container.content ol li {
  position: relative;
  padding-left: 2.25rem;     /* space for badge           */
  line-height: 1.5;
  counter-increment: step;   /* add 1 for each <li>       */
}

/* ---- accent badge for numbered lists ---- */
.container.content ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* small screens – shrink badges slightly */
@media (max-width: 600px) {
  .container.content ol li::before {
    width: 1.3rem;
    height: 1.3rem;
    font-size: .75rem;
  }
}


/* =====================================================
   BULLET LISTS - All <ul> inside .container.content
   ===================================================== */

.container.content ul {
  list-style: none;          /* remove browser bullets   */
  padding-left: 0;           /* flush against container  */
  display: flex;
  flex-direction: column;
  gap: .55rem;               /* vertical spacing         */
  font-size: .95rem;
  margin-block: 1.15rem;
}

/* shared li layout */
.container.content ul li {
  position: relative;
  padding-left: 1.4rem;      /* room for custom marker   */
  line-height: 1.5;
}

/* ------- green ✔ check for all bullet lists ------- */
.container.content ul li::before {
  content: "✔";
  position: absolute;
  left: .05rem;              /* align text check */
  top: 0;
  font-size: .87rem;
  color: #16a34a;
}
/* ------- кув ✖ check for all bullet lists ------- */
.container.content ul.bullet--xmark li::before {
  content: "✖";
  position: absolute;
  left: .05rem;              /* align text check */
  top: 0;
  font-size: .87rem;
  color: #dc2626;
}

/* small screens – tighten spacing if desired */
@media (max-width: 600px) {
  .container.content ul,
  .container.content ol {
    font-size: .9rem;
  }
}


/* =====================================================
   TYPOGRAPHY INSIDE .container.content
   ===================================================== */
.container.content {
  /* narrower max-width for easier reading on large screens */
  max-width: 1000px;
}

/* ---------- Paragraphs ---------- */
.container.content p {
  font-size: 1.05rem;          /* slight bump from base  */
  line-height: 1.75;
  margin-block: 1.15rem;
  color: var(--clr-dark);
}

/* ---------- Headings ---------- */
.container.content h2,
.container.content h3,
.container.content h4 {
  font-family: 'Fjord One', serif;
  line-height: 1.35;
  color: var(--clr-dark);
  letter-spacing: 0.2px;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

/* H2 — left accent bar + larger size */
.container.content h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  position: relative;
  padding-left: 0.75rem;
}

.container.content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 3px;
  background: var(--clr-primary);
}

/* H3 — subtle underline */
.container.content h3 {
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--clr-accent);
  display: inline-block;
}

/* H4 — uppercase label style */
.container.content h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--clr-primary);
  margin-top: 1.8rem;
}


/* ===== Language switch (flag) ===================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;      /* same tap-target as burger */
  height: 50px;
  margin-left: 0.75rem;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.lang-switch img {
  width: 34px;      /* flag size */
  height: 34px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

.lang-switch:hover {
  transform: scale(1.12);    /* gentle zoom like social icons */
}

/* keep flag visible on small screens */
@media (max-width: 768px) {
  /* push burger & flag to the right (nav list becomes absolute) */
  .lang-switch { order: 10; }

}
