/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    color: #1F2937; /* Dark Charcoal */
    background: #FDFDFD; /* Soft White */
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #4e8cff 0%, #2bcc8f 100%);
    padding: 1rem 1rem;        /* Noe mindre horisontal padding for mobil */
    position: relative;
    z-index: 1000;             /* Sørg for at header ligger over alt */
}

header .logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Nav Links (desktop) */
header .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
}

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: #D3DAD9; /* Vivid Green */
}

/* Burger button (hidden on desktop) */
.burger {
    display: none;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* MOBILE AND TABLET STYLES */
@media (max-width: 768px) {
    /* Show burger icon */
    .burger {
        display: flex;                 /* Vis burger på skjerm inntil 768px */
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;             /* Skyv burger helt ut til høyre */
        z-index: 1100;                 /* Sørger for å ligge over nav‐menyen */
    }

    /* Hide the normal nav by default */
    header .nav-links {
        display: none;                 /* Skjult helt til burger klikkes */
        flex-direction: column;
        background: linear-gradient(90deg, #4e8cff 0%, #2bcc8f 100%);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        gap: 0;
    }

    /* When nav has .open, show it */
    header .nav-links.open {
        display: flex;
    }

    /* Stack links vertically and add padding */
    header .nav-links.open a {
        padding: 0.75rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    header .nav-links a {
        padding: 0.75rem 1.5rem;
        color: #fff;
        font-size: 1rem;
    }

    header .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Responsive header layout */
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header nav {
        flex-direction: column;
        gap: 10px;
    }

    /* Adjust hero section for mobile */
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    main h2 {
        font-size: 1.8em;
    }

    main p {
        font-size: 1em;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #3B82F6, #22C55E); /* Gradient Blue to Green */
    color: #FFFFFF; /* White text */
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero .button {
    display: inline-block;
    background: #FFFFFF; /* White button */
    color: #3B82F6; /* Blue text */
    padding: 15px 30px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.hero .button:hover {
    background: #FDFDFD; /* Soft White on hover */
    color: #22C55E; /* Green text on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    padding: 50px 20px;
    text-align: left;
}

main h2 {
    font-size: 2.2em;
    color: #3B82F6; /* Blue heading */
    margin-bottom: 20px;
}

main p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #1F2937; /* Dark Charcoal */
}

/* Footer */
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 */
}

/* 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;
  }
}

/* Bullet List */
ul.custom-bullet-list {
    list-style: none;         /* Slår av standard punkter */
    margin: 1.5rem 0;         /* Avstand over og under listen */
    padding-left: 0;          /* Fjern innebygget venstrepadding */
    max-width: 700px;         /* Valgfritt: begrens bredde på listen */
}

ul.custom-bullet-list li {
    position: relative;       /* For å plassere pseudo‐elementet */
    margin-bottom: 1rem;      /* Avstand mellom hvert listepunkt */
    padding-left: 1.75rem;    /* Plass til den egendefinerte kulen */
    font-size: 1rem;          /* Match hovedtekststørrelse */
    color: #1F2937;           /* Mørk grå/svart (Dark Charcoal) */
    line-height: 1.6;
}

/* Pseudo‐element for å lage en egendefinert bullet */
ul.custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;                  /* Plasser kulen helt til venstre innenfor hvert li */
    top: 0.6rem;              /* Juster slik at kulen sentreres vertikalt */
    width: 0.5rem;            /* Diameter på kulen */
    height: 0.5rem;           /* Samme som bredde for en sirkel */
    background-color: #22C55E;/* Grønn farge som i designet (#22C55E) */
    border-radius: 50%;       /* Gjør kvadratet til en sirkel */
}

/* Fjern margin under siste element om ønskelig */
ul.custom-bullet-list li:last-child {
    margin-bottom: 0;
}

/* Numbered List (custom counter) */
ul.custom-list {
    list-style: none;             /* Fjern standard punktmerking */
    margin: 2rem 0;               /* Avstand over/under listen */
    padding-left: 0;              /* Ingen venstrepadding på selve UL */
    counter-reset: section-counter; /* Sett telleren tilbake til 0 */
    max-width: 700px;             /* Juster etter behov */
}

ul.custom-list li {
    margin-bottom: 1.5rem;        /* Avstand mellom hvert listepunkt */
}

/* Hovedregelen: H3 med .custom-heading teller opp counteren */
ul.custom-list h3.custom-heading1 {
    position: relative;           /* Vi bruker absolutt posisjon for sifferet */
    counter-increment: section-counter; /* Øk telleren med 1 per H3 */
    font-size: 1.25rem;           /* Overskriftsstørrelse */
    font-weight: 600;             /* Litt fetere */
    color: #1F2937;               /* Mørk grå/svart */
    margin-bottom: 0.5rem;        /* Luft under overskriften */
    padding-left: 2.5rem;         /* Venstreplass til siffer‐sirkelen */
    line-height: 1.4;
}

/* ::before plasserer det runde sifferet til venstre for H3 */
ul.custom-list h3.custom-heading1::before {
    content: counter(section-counter); /* Selve nummeret (“1”, “2”, “3” osv.) */
    position: absolute;
    left: 0;                       /* Plasser sirkelen helt til venstre innenfor H3 */
    top: 0;                        /* Juster vertikalt etter behov */
    width: 2rem;
    height: 2rem;
    background-color: #22C55E;     /* Grønn sirkel – juster farge ved behov */
    color: #fff;                   /* Hvit farge på tallet */
    font-size: 1rem;               /* Størrelse på tallet */
    font-weight: 700;              /* Fet skrift */
    border-radius: 50%;            /* Rund sirkel */
    display: flex;
    align-items: center;           /* Sentrer tallet vertikalt */
    justify-content: center;       /* Sentrer tallet horisontalt */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Lett skygge under sirkelen */
}

/* Stil for paragraf under hver H3 (valgfritt) */
ul.custom-list p {
    margin: 0;                     /* Fjern ekstra margin */
    padding-left: 2.5rem;          /* Sørg for at teksten flukter med H3‐teksten */
    font-size: 1rem;
    color: #374151;                /* Litt lysere grå for brødtekst */
    line-height: 1.6;
}

/* FAQ Container */
.faq-container {
    margin: 50px 0;
    padding: 20px 0;
    color: #1F2937; /* Dark Charcoal */
    font-family: 'Poppins', Arial, sans-serif;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid #F4F4F4; /* Subtle divider */
    padding: 15px 0;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.faq-item:hover {
    background: rgba(59, 130, 246, 0.1); /* Light blue highlight on hover */
    color: #3B82F6; /* Blue text on hover */
}

.faq-item:last-child {
    border-bottom: none; /* Remove divider for the last item */
}

/* FAQ Question */
.faq-question {
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    color: #1F2937; /* Dark Charcoal for text */
}

.faq-question .icon {
    font-size: 1.4em;
    color: #3B82F6; /* Blue icon */
    transition: transform 0.3s, color 0.3s;
}

.faq-question.open .icon {
    transform: rotate(180deg); /* Rotate icon when open */
    color: #22C55E; /* Green when open */
}

/* FAQ Answer */
.faq-answer {
    margin-top: 10px;
    font-size: 1em;
    color: #4B5563; /* Lighter Charcoal */
    line-height: 1.6;
    display: none; /* Hidden by default */
}

.faq-answer.visible {
    display: block; /* Show the answer when visible */
}

/* 1) Casino TOP Styles */

/* 2) Wrapper */
.casino-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 3) Card */
.casino-card {
  position: relative;              /* for rank badge */
  display: flex;
  flex-direction: row;
  background: #212936;             /* card background */
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  border-left: 4px solid #4e80ee;  /* accent border */
}

/* 4) Rank badge */
.rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  background: #4e80ee;             /* primary accent */
  color: #ffffff;
  border-radius: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 5) Image column and responsive tweaks */
.card-image {
  flex: 0 0 20%;                   /* ~20% of card width */
  max-width: 240px;                /* desktop limit */
  min-width: 120px;                /* mobile limit */
  aspect-ratio: 1 / 1;             /* square */
  background: #f7f7f7;             /* neutral frame */
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .card-image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 1rem;
  }
}

/* 6) Main content area - FIXED: Using CSS Grid for consistent layout */
.card-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 180px 200px; /* casino-info | offers | actions */
  align-items: center;
  padding: 1rem;
  gap: 2rem;
}

/* 7) Casino info (title + rating) */
.casino-info {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Allow text to wrap/truncate if needed */
}
.casino-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffffff;
}
.rating {
  margin-top: 0.25rem;
  display: flex;
}
.rating .star {
  color: #FFD700;
  font-size: 1rem;
  margin-right: 2px;
}

/* 8) Offers block - FIXED: Removed auto margins */
.offers {
  width: 180px;
  padding: 1rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(140, 172, 229, 0.1);
  border: 1px solid #4e80ee;
  border-radius: 4px;
  justify-self: center; /* Center within its grid cell */
}
.offers .bonus,
.offers .freespins {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.offers .bonus::before,
.offers .freespins::before {
  content: attr(data-label);
  font-size: 1.25rem;
  font-weight: bold;
  color: #4e80ee;
  margin-bottom: 0.25rem;
}
.offers .amount {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

/* 9) Actions (buttons + disclaimer) - FIXED: Positioned in grid */
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-self: center; /* Center within its grid cell */
}
.btn-primary,
.btn-secondary {
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-primary {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: linear-gradient(45deg, #4e80ee, #8cace5);
  color: #ffffff;
  animation: earthquake 4s ease-in-out infinite;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #8cace5, #4e80ee);
}
.btn-secondary {
  width: 160px;
  padding: 0.75rem;
  font-size: 0.85rem;
  background: #212936;
  color: #8cace5;
  border: 1px solid #8cace5;
}
.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.disclaimer {
  font-size: 0.75rem;
  color: #ffffff;
  margin-top: 0.5rem;
  text-align: center;
}

/* 10) Shake animation */
@keyframes earthquake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  2%   { transform: translate(-2px, 1px) rotate(-1deg); }
  4%   { transform: translate(-2px, -1px) rotate(1deg); }
  6%   { transform: translate(2px, 1px) rotate(0deg); }
  8%   { transform: translate(2px, -1px) rotate(1deg); }
  10%  { transform: translate(-2px, 1px) rotate(-1deg); }
  11%, 100% { transform: translate(0, 0) rotate(0deg); }
}

/* 11) Mobile adaptation - FIXED: Better responsive grid */
@media (max-width: 768px) {
  .casino-card {
    flex-direction: column;
  }
  .card-content {
    display: flex; /* Switch back to flexbox on mobile */
    flex-direction: column;
    gap: 1rem;
  }
  .casino-info {
    align-items: center;
    text-align: center;
  }
  .offers {
    width: 80%;
    margin: 0 auto 1rem;
  }
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 48%;
  }
  .disclaimer {
    order: 1;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Section title */
.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #212936;
  text-align: center;
  margin: 2rem 0 1rem;
}




.image-container {
  text-align: center; /* centers the image horizontally */
  margin: 1em 0;      /* optional spacing */
}

.image-container img {
  max-width: 800px;   /* choose a max size for the image */
  width: 100%;        /* makes it responsive but not bigger than 600px */
  height: auto;       /* keeps proportions */
  display: inline-block;
}

/* Section Title */
.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #212936;
    text-align: center;
    margin: 2rem 0 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 1.5rem;
}

.breadcrumbs-inner-article {
    max-width: 1200px;
    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;
}

.breadcrumbs-inner .divider {
    color: #999;
}

.breadcrumbs-inner .current {
    color: #777;
    font-weight: 600;
}

/* Info Table */
.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;
}

@media (max-width: 768px) {
    .table-container {
        box-shadow: none;
        border-radius: 4px;
    }

    thead th,
    tbody td {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Custom Table Design for Casino Krypto */
.custom-table-wrapper {
    max-width: 1000px;                /* Samme max-bredde som andre innhold */
    margin: 2rem auto;                /* Avstand over og under, sentrert */
    overflow-x: auto;                 /* Horisontal scroll på små skjermer */
    padding: 0 1rem;                  /* Litt padding på mobil */
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;                 /* Hvit bakgrunn */
    border-radius: 8px;               /* Avrundede hjørner */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;                 /* Klipp hjørner hvis nødvendig */
}

.custom-table thead {
    background: #4e8cff;              /* Blå aksentfarge */
}

.custom-table thead th {
    color: white;                      /* Hvit tekst i header */
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.95rem;
}

.custom-table tbody tr:nth-child(even) {
    background: #f9f9f9;              /* Lys grå radstripe */
}

.custom-table tbody tr:hover {
    background: #f0f4ff;              /* Svakt blålig hover-effekt */
}

.custom-table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #333;                      /* Mørk tekst for celler */
    border-top: 1px solid #e5e7eb;    /* Lys grå linje mellom rader */
}

/* Fjern øverste grense for første rad i tbody, for jevn overgang fra header */
.custom-table tbody tr:first-child td {
    border-top: none;
}

/* Hvis du vil markere en spesiell rad (f.eks. en aktiv verdi) */
.custom-table tbody tr.active-row {
    background: #e0f2ff;              /* Svakt blått for aktiv rad */
}

/* Responsive justeringer */
@media (max-width: 768px) {
    .custom-table-wrapper {
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }
    .custom-table thead th,
    .custom-table tbody td {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Dropdown‐container */
.dropdown {
    position: relative;
}

/* Knappen "Blogg" får pil ned ved hjelp av ::after */
.drop-btn {
    position: relative;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    transition: opacity 0.2s ease;
}

/* Pil ned (▼) - pseudo-element */
.drop-btn::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: #fff;
}

.drop-btn:hover {
    opacity: 0.8;
}

/* Dropdown-innholdet: 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: 1200;
    padding: 0.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}

/* Hver lenke i dropdown */
.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: #F9FAFB;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover-effekt på lenkene i dropdown */
.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;
}

/* Mobile-tilpasning for dropdown (under 768px) */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;             /* Blir en del av flyten i mobil‐nav */
        box-shadow: none;
        border-radius: 0;
        background: #1E2430;
        max-height: none;
    }
    .dropdown-content.collapsed {
        display: none;
    }
    .dropdown-content.expanded {
        display: block;
    }
    .dropdown-content a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        color: #F9FAFB;
    }
}



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;
}



ol {
  counter-reset: custom-counter;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

ol li {
  counter-increment: custom-counter;
  position: relative;
  padding: 15px 20px 15px 70px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4A90E2 0%, #2ECC71 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
}



.logo a {
  text-decoration: none;
  color: inherit;
}




/* ── 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;
  }
}


















       .demo-container {
            max-width: 900px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .game-frame {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            border: 2px solid #e5e7eb;
        }

        .play-button-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 500px;
            position: relative;
            overflow: hidden;
        }

        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(77, 142, 252, 0.7), rgba(43, 203, 144, 0.7));
            z-index: 2;
        }

        .game-title,
        .play-button {
            position: relative;
            z-index: 3;
        }

        .play-button {
            background: linear-gradient(135deg, #4d8efc 0%, #2bcb90 100%);
            color: #ffffff;
            border: none;
            padding: 1.5rem 3rem;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(77, 142, 252, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .play-button:hover {

            box-shadow: 0 12px 32px rgba(77, 142, 252, 0.6);
        }

        .play-button:active {
            transform: translateY(-1px);
        }

        .game-title {
            margin-bottom: 2rem;
            font-size: 2rem;
            font-weight: bold;
            color: #ffffff;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .game-iframe {
            width: 100%;
            height: 500px;
            border: none;
            display: none;
        }

        .loading {
            display: none;
            text-align: center;
            padding: 2rem;
            color: #6b7280;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-radius: 50%;
            border-top-color: #4d8efc;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 1rem;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .demo-container {
                padding: 0 0.5rem;
            }
            
            .play-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
            
            .game-title {
                font-size: 1.5rem;
                margin-bottom: 1.5rem;
            }
            
            .game-frame,
            .game-iframe {
                height: 400px;
            }
            
            .play-button-container {
                height: 400px;
            }
        }
        
        
        .image-container {
  text-align: center; /* centers the image horizontally */
  margin: 1em 0;      /* optional spacing */
}

.image-container img {
  max-width: 800px;   /* choose a max size for the image */
  width: 100%;        /* makes it responsive but not bigger than 600px */
  height: auto;       /* keeps proportions */
  display: inline-block;
}