/* ──────────────────────────────────────────────────────────────────────────
   FONT + RESET + BASE
   ────────────────────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f6f8;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ──────────────────────────────────────────────────────────────────────────
   HEADER / NAVIGATION
   ────────────────────────────────────────────────────────────────────────── */


.site-logo {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #3B82F6; /* Vivid Blue */
  color: #FFFFFF;      /* White text */
  position: relative;  /* for positioning mobile nav */
}

header .logo {
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
}

/* target your renamed nav */
header .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

header .nav-links a {
  color: #FFFFFF; /* White links */
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: color 0.3s;
}

header .nav-links a:hover {
  color: #22C55E; /* Vivid Green */
}

@media (max-width: 768px) {
  /* hide the normal nav */
  header .nav-links {
    display: none;
    flex-direction: column;
    background: #3B82F6;
    position: absolute;
    top: 100%;    /* just below header */
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }

  /* show the burger icon */
  .burger {
    display: flex;
  }

  /* when nav has .open, show it */
  header .nav-links.open {
    display: flex;
  }

  /* stack links vertically and separate them */
  header .nav-links.open a {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
}
/* ──────────────────────────────────────────────────────────────────────────
   HERO SECTION (ØVERST)
   ────────────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(90deg, #4e8cff 0%, #2bcc8f 100%);
  padding-bottom: 1rem; /* Gir plass til hero-bottom */
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1rem 0; /* Top: 2.5rem, sider: 1rem, ingen bunn */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;   /* Unngå wrapping så lenge skjermen er bred nok */
  gap: 1rem;
}

/* ─── VENSTRE BLOKK: Logo + Rating + Tittel ─── */
.logo-block {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 1rem;
}

/* Casino-logo med fast bredde */
.casino-logo {
  width: 180px;
  height: auto;
}

/* Tekst-blokk ved siden av logo */
.title-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Rating-stjerner + verdi */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rating .star {
  width: 20px;
  height: 20px;
  fill: #f8c300;
}

.rating-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Hovedtittel (casino-navn + "Anmeldelse") */
.casino-title {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

/* ─── HØYRE BLOKK: Pakk bonus + knapp i én flex-container ─── */
.promo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 1 auto;
}

/* MIDTRE DEL: Velkomstbonus */
.bonus-container {
  display: flex;
  justify-content: center;
}

.bonus-box {
  background: #1e2430;            /* Mørk bakgrunn lik skjermbildet */
  border: 1px solid #4e8cff;       /* Tynn lys blå kant */
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  width: 220px;                    /* Fast bredde */
  color: #fff;
}

.bonus-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4e8cff;                  /* Lys blå farge på “BONUS” */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus-box .bonus-line1 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bonus-box .bonus-big {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4e8cff;                  /* Lys blå på “Gratisspinn” */
  margin-bottom: 0.5rem;
}

.bonus-box .bonus-line2 {
  font-size: 1rem;
  font-weight: 600;
}

/* HØYRE DEL: Spill-nå-knapp */
.play-container {
  display: flex;
  justify-content: center;
}

.play-button {
  display: inline-block;
  background: #ffcc00;             /* Gul knapp */
  color: #1e2430;                  /* Mørk tekst */
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: 2px solid #e6b800;       /* Litt mørkere gul kant */
  transition: background 0.2s ease;
}

.play-button:hover {
  background: #e6b800;             /* Mørkere gul ved hover */
}

/* ──────────────────────────────────────────────────────────────────────────
   HERO BOTTOM: Ansvarserklæring
   ────────────────────────────────────────────────────────────────────────── */
.hero-bottom {
  max-width: 1000px;
  margin: 0.5rem auto 0; /* 0.5rem fra hero-inner */
  padding: 0 1rem;
  text-align: center;
}

.responsibility {
  font-size: 0.9rem;
  color: #fff;
}

/* ──────────────────────────────────────────────────────────────────────────
   BREADCRUMBS
   ────────────────────────────────────────────────────────────────────────── */
.breadcrumbs {
  margin-top: 1.5rem;
}

.breadcrumbs-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumbs-inner a {
  color: #4e8cff;
  transition: opacity 0.2s ease;
}

.breadcrumbs-inner a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.breadcrumbs-inner .divider {
  color: #999;
}

.breadcrumbs-inner .current {
  color: #777;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────
   INFORMASJONS­TABELL
   ────────────────────────────────────────────────────────────────────────── */
.info-table {
  padding: 2rem 1rem;
}

.table-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead {
  background: #4e8cff;
}

thead th {
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f9f9f9;
}

tbody tr:hover {
  background: #f0f4ff;
}

tbody td {
  padding: 0.75rem 1rem;
  color: #333;
  font-size: 0.95rem;
  word-wrap: break-word;
}

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIV JUSTERING
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .logo-block,
  .promo-block {
    justify-content: center !important;
  }

  .hero-bottom {
    margin-top: 1rem;
  }

  .breadcrumbs-inner {
    justify-content: center;
  }

  .table-container {
    box-shadow: none;
    border-radius: 4px;
  }

  thead th,
  tbody td {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}


footer {
    background: #1F2937; /* Dark Charcoal */
    color: #FFFFFF; /* White text */
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #3B82F6; /* Blue links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer a:hover {
    color: #22C55E; /* Green on hover */
}



  /* Dropdown‐container */
   .dropdown {
  position: relative;
}

/* ──────────────────────────────────────────────────────────────────────────
   HEADER / NAVIGATION (justert for mobil og dropdown)
   ────────────────────────────────────────────────────────────────────────── */

/* Skjul burger‐knappen på desktop */


/* Basestil for nav‐lenker som flex på desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Dropdown‐container */
.dropdown {
  position: relative;
}

/* “Blogg”-knapp med pil */
.drop-btn {
  position: relative;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
  display: inline-block;
  transition: opacity 0.2s ease;
}
.drop-btn::after {
  content: "▼";
  font-size: 0.6rem;
  margin-left: 0.25rem;
  vertical-align: middle;
  color: #fff;
}
.drop-btn:hover {
  opacity: 0.8;
}

/* Dropdown innhold (skjult som standard) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #1E2430;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  z-index: 1000;
  padding: 0.5rem 0;
  max-height: 300px;
  overflow-y: auto;
}
.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #F9FAFB;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-content a:hover {
  background: #2C3240;
  color: #4E8CFF;
}

/* Vis dropdown‐innhold på hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Scrollbar‐stil for dropdown‐innhold (WebKit) */
.dropdown-content::-webkit-scrollbar {
  width: 6px;
}
.dropdown-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIV (for skjermer under 768px)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Vis burger‐knappen på mobil */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
  }
  .burger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
  }

  /* Skjul hoved‐nav på mobil til burger er klikket */
  .nav-links {
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, #4e8cff 0%, #2bcc8f 100%);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    gap: 0;
    z-index: 999;
  }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-size: 1rem;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Når nav er «åpen», vis den */
  .nav-links.open {
    display: flex;
  }

  /* Dropdown på mobil: gjør dropdown-content til en del av flyten */
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #1E2430;
    max-height: none;
  }
  .dropdown-content a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  /* Skjul dropdown-content på mobil som standard; vis kun når klikket */
  .dropdown-content.collapsed {
    display: none;
  }
  .dropdown-content.expanded {
    display: block;
  }

  /* Juster eventuell overscroll i nav-links */
  .nav-links {
    max-height: 80vh;
    overflow-y: auto;
  }
}


/* ── Main wrapper ────────────────────────────────────────────────── */
main {
    max-width: 1000px;     /* cap the content width */
    margin: 0 auto;        /* center horizontally */
    padding: 50px 20px;    /* keep your existing vertical + side padding */
    text-align: left;    /* center all text inside */
}

/* ── Headings ───────────────────────────────────────────────────── */
main h2 {
    font-size: 2.2em;
    color: #3B82F6;
    margin-bottom: 20px;
}
main h3 {
    font-size: 1.75em;
    color: #1F2937;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}
main h4 {
    font-size: 1.5em;
    color: #1F2937;
    margin: 1.25rem 0 0.75rem;
    line-height: 1.3;
}
main h5 {
    font-size: 1.25em;
    color: #1F2937;
    margin: 1rem 0 0.5rem;
    line-height: 1.3;
}
main h6 {
    font-size: 1em;
    color: #1F2937;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.3;
}

/* ── Paragraphs ────────────────────────────────────────────────── */
main p {
    font-size: 1.1em;
    color: #1F2937;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ── Links ──────────────────────────────────────────────────────── */
main a {
    color: #4E8CFF;
    text-decoration: none;
    transition: color 0.2s ease;
}
main a:hover,
main a:focus {
    color: #22C55E;
    text-decoration: underline;
}

/* ── Lists ──────────────────────────────────────────────────────── */
main ul,
main ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}
main ul li,
main ol li {
    margin-bottom: 0.5rem;
}

/* ── Blockquotes ───────────────────────────────────────────────── */
main blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #3B82F6;
    background-color: #F0F4FF;
    color: #1F2937;
    font-style: italic;
    line-height: 1.6;
}

/* ── Figures & Images ───────────────────────────────────────────── */
main figure {
    margin: 2rem 0;
    text-align: center;
}
main figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
main figcaption {
    margin-top: 0.5rem;
    font-size: 0.9em;
    color: #555;
}

/* ── Tables ─────────────────────────────────────────────────────── */
main table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
main table th,
main table td {
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    font-size: 0.95rem;
    color: #333;
}
main table thead {
    background: #4E8CFF;
}
main table thead th {
    color: #FFF;
    font-weight: 600;
    text-align: left;
}

/* ── Responsive tweaks ──────────────────────────────────────────── */
@media (max-width: 768px) {
    main h2 { font-size: 1.8em; }
    main p  { font-size: 1em; }
    main table th,
    main table td { font-size: 0.9rem; padding: 0.5rem 0.75rem; }
}

/* Pros & Cons Container */
.pros-cons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px 0;
}

/* Shared box styling */
.pros, .cons {
  flex: 1;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid;
  font-family: 'Poppins', Arial, sans-serif;
  color: #1F2937;
  background: #ffffff; /* optional white background */
}

/* Pros border color */
.pros {
  border-color: #22C55E;
}

/* Cons border color */
.cons {
  border-color: #D32F2F;
}

/* Heading markers */
.pros h3::before,
.cons h3::before {
  font-size: 1.5em;
  margin-right: 8px;
  line-height: 1;
}

.pros h3::before {
  content: '+';
  color: #22C55E;
}

.cons h3::before {
  content: '–';
  color: #D32F2F;
}

/* Remove default bullets */
.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List items with inline markers */
.pros li,
.cons li {
  position: relative;
  padding-left: 25px;      /* space for marker */
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

/* Center the + / – vertically next to the text */
.pros li::before,
.cons li::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

.pros li::before {
  content: '+';
  color: #22C55E;
}

.cons li::before {
  content: '–';
  color: #D32F2F;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .pros-cons-container {
    flex-direction: column;
    gap: 20px;
  }
}


/* ── Responsive Images ───────────────────────────────────────────── */
main img,
figure img,
.card-image img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 1rem auto;        /* center and add vertical spacing */
}

/* Optional: center captions */
figure figcaption {
  text-align: center;
  font-size: 0.9em;
  color: #555;
  margin-top: 0.5rem;
}

/* ── Mobile tweaks ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  main img,
  figure img,
  .card-image img {
    margin: 0.5rem auto;    /* slightly tighter on mobile */
  }
}



/* ── “Other similar casinos” block ───────────────────────────────── */
/* ── Other similar casinos block ────────────────────────────────── */
.similar-casinos {
  margin: 2rem auto;
  padding: 0 20px;
  max-width: 900px;
}

.similar-casinos .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: #212936;
}

/* ── Cards grid ───────────────────────────────────────────────── */
.similar-casinos .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* ── Individual card ──────────────────────────────────────────── */
.similar-casinos .casino-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ── Logo container (fixes all logos at same vertical position) ─ */
.similar-casinos .casino-card .card-image {
  height: 120px;              /* fixed height for uniformity */
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Logo image sizing ────────────────────────────────────────── */
.similar-casinos .casino-card .card-image img {
  max-height: 100%;           /* fill container vertically */
  max-width: 70%;             /* don’t overflow horizontally */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ── Review link styled like H3 ───────────────────────────────── */
.similar-casinos .casino-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0.75rem 0 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.similar-casinos .casino-link:hover {
  color: #4E8CFF;
}

/* ── Mobile fallback ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .similar-casinos .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
