@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Open+Sans:wght@400;600&family=Raleway:wght@700&family=Rajdhani:wght@600&display=swap');

html, body {
  max-width: 100%;
  overflow-x: hidden !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  margin: 0;
  padding: 0;
  background-color: #f0f1f6;
  color: #333;
}

p, li {
  font-size: 0.9rem;
}

/* ================= HEADER ================= */

.top-header {
  background-color: #1e1e1e;
  padding: 10px 5%;
  color: #fff;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: 1px;
  text-decoration: none;
}

.site-name:hover {
  color: #fbbc05;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.site-name {
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: 1px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #fbbc05;
}

.nav-list {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a i {
  font-size: 1.2rem;
  margin-right: 6px;
}

.nav-list a:hover {
  background-color: #fbbc05;
  color: #1e1b2e;
}

.casino-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  margin-top: 12px;
}

/* ================= NAV DROPDOWN ================= */

.dropdown {
  position: relative;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  padding: 14px 0;
  list-style: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 240px;
  font-size: 1.05rem;
}

.dropdown-menu li {
  padding: 5px 20px;
}

.dropdown-menu li a {
  font-size: 1.2rem;
  padding: 14px 20px;
  color: #1e1b2e;
  text-decoration: none;
  display: block;
  transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #fbbc05;
  color: #fff;
  border-radius: 4px;
}

/* ================= CARDS ================= */

.card-section {
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 10px;
}

.card {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  margin-bottom: 30px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card img {
  width: auto;
  max-width: 200px; /* Minska till en rimlig bredd */
  max-height: 200px; /* Håll loggan lagom hög */
  object-fit: contain;
  background-color: #ffffff;
  display: block;
  margin: 0 auto; /* Centrera bilden i kortet */
}

.card-content {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
}

.card-content h2 {
  font-size: 1.5rem;
  color: #1e1b2e;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.card-content p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1em;
}

.card-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-content li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #444;
}

.card-content i {
  color: #fbbc05;
  margin-right: 6px;
}

/* ================= ARTICLE / INFO BLOCK ================= */

.article-meta {
  max-width: 900px;
  margin: 60px auto 30px;
  padding: 0 20px;
}

.article-meta h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e1b2e;
  margin-bottom: 0.2em;
}

.updated-date {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.written-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #444;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbbc05;
}

.intro,
.info-block-clean {
  max-width: 1500px;
  margin: 60px auto;
  padding: 0 30px;
  background: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.intro p,
.info-block-clean p {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1.6em;
}

.intro h2,
.info-block-clean h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8em;
  color: #1e1b2e;
}

.info-block-clean h3 {
  font-size: 1.5rem;
  margin-top: 2em;
  color: #1e1b2e;
}

.info-block-clean ul,
.info-block-clean ol {
  margin-left: 1.2em;
  margin-bottom: 1.5em;
}

.info-block-clean li {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0.6em;
}

/* ================= TOC ================= */

.table-of-contents {
  background-color: #f9f9f9;
  padding: 1em;
  margin: 0 auto;
  max-width: 900px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-of-contents a {
  background-color: #fff;
  padding: 0.5em 0.8em;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.2s;
}

.table-of-contents a:hover {
  background-color: #eee;
}

/* ================= FOOTER ================= */

footer {
  background: linear-gradient(to right, #15151e, #1e1b2e); /* samma som header */
  color: #ffffff;
  padding: 40px 20px;
  border-top: 3px solid #fbbc05;
  text-align: center;
  font-size: 1rem;
  font-family: 'Rajdhani', sans-serif;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

footer li {
  display: inline-block;
  margin: 0 12px;
}

footer a {
  color: #fbbc05;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-email {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  color: #ffffff;
}


/* ================= FAQ ================= */

.faq-section {
  background-color: #2e2742;
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  margin-top: 40px;
}

.faq-section h3 {
  color: #fbbc05;
}

  .mobile-only {
    display: none;
  }

/* ================= RESPONSIVE ================= */
/* =============== MOBILE MENU =============== */

.hamburger {
  display: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
    .site-name {
    font-size: 1.2rem;
  }

    .header-container {
    width: 100%;
    justify-content: space-between;
  }

  /* Sidopanel för hamburgermenyn */
  .nav-list {
    position: fixed;
    top: 0;
    right: -300px; /* helt utanför skärmen */
    width: 250px;
    height: 100%;
    background-color: #1e1e1e;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .mobile-only {
  display: block;
}

  .nav-list.open {
    right: 0;
  }

  .nav-list li {
    margin: 15px 0;
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 12px 0;
    font-size: 1.2rem;
  }

  /* Göm dropdown och visa mobil-länkar direkt */
  .dropdown {
    display: none;
  }

  /* Mobilanpassning för .card */
  .card {
    flex-direction: column;
    max-width: 320px;
    margin: 0 auto 20px;
    align-items: center;
  }

  .card img {
    max-width: 120px;
    max-height: 40px;
    margin-bottom: 10px;
  }

  .card-content {
    text-align: center;
    padding: 10px;
  }

  .card-content h2 {
    font-size: 1.2rem;
  }

  .card-content p,
  .card-content li {
    font-size: 0.9rem;
  }

  /* Overlay (mörk bakgrund) */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 500;
  }

  .overlay.active {
    display: block;
  }
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1e1b2e;
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1;
}

.cookie-banner a {
  color: #fbbc05;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #fbbc05;
  color: #1e1b2e;
  border: none;
  padding: 8px 16px;
  margin-left: 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-banner button:hover {
  background-color: #e6a900;
}






