/* ============================================
   RESPONSIBLE GAMING POLICY PAGE THEME
   ============================================ */

   /* ===============================
   GLOBAL RESET & BASE STYLE
================================= */


   * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, h5 { font-family: "Inter", sans-serif; }
p, li { color: #E2E8F0; line-height: 1.7; }

.card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

   /* ===============================
   HEADER
================================= */
header {
    background: linear-gradient(90deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 120px;
    box-shadow: 0 3px 12px rgba(251, 191, 36, 0.15); /* subtle gold glow */
}
header li {
  text-transform: capitalize;
}

/* Hide mobile nav by default */
.mobile-nav {
  display: none;
  background: #0F172A;
  border-top: 1px solid #334155;
  padding: 20px;
}

.menu {
    display: none;
}

/* Logo & title alignment */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-wrap img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

header h1 {
    color: #FBBF24;
    font-size: 1.6rem;
    font-weight: 600;
    text-indent: -9999px;
}

header ul {
    list-style: none;
}

header li {
    display: inline-block;
    margin-left: 40px;
}

header a {
    color: #F9FAFB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header a:hover {
    color: #FBBF24;
}

  /* Submenu initial state: hidden */
  .submenu {
    position:absolute;
    top:100%;
    left:0;
    min-width:210px;
    background:#1E293B;
    color:#F1F5F9;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(0, 0, 0, 0.15);
    padding:8px 0;
    transform-origin:top left;
    transform:translateY(-6px) scaleY(.98);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    z-index:50;
  }
  .submenu a {
    display:block;
    padding:10px 14px 10px 0;
    color:inherit;
    text-decoration: none;
  }
  .submenu a:hover,
  .submenu a:focus { background:#334155; }

    /* Show submenu on hover (desktop) */

    .has-sub {
        position: relative; /* needed so submenu positions relative to this item */
    }
  
    .has-sub:hover > .submenu,
    .has-sub:focus-within > .submenu {
        top: 100%;
        left: 0;
        opacity:1;
        transform:translateY(0) scaleY(1);
        pointer-events:auto;
    }

  /* Arrow indicator */
  .caret { margin-left:6px; font-size:.8em; opacity:.9; }


/* ---------- Base Styles ---------- */
body {
  background: radial-gradient(circle at top, #0F172A 0%, #0B1320 100%);
  color: #E2E8F0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.3px;
}

a {
  text-decoration: none;
}

/* ---------- PAGE BASE ---------- */
.policy-page {
  background: #0F172A;
  color: #E2E8F0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  padding-bottom: 60px;
}



/* ---------- HERO SECTION ---------- */
.policy-hero {
  background: linear-gradient(135deg, #162A45 0%, #0F172A 100%);
  text-align: center;
  padding: 160px 10% 100px;
  border-bottom: 1px solid #334155;
  box-shadow: 0 3px 12px rgba(251, 191, 36, 0.15);
}

.policy-hero h1 {
  font-size: 2.4rem;
  color: #FBBF24;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.policy-hero .intro-text {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- SECTION STYLING ---------- */
.policy-section {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 50px 44px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.policy-section:hover {
  border-color: #FBBF24;
  box-shadow: 0 6px 20px rgba(251,191,36,0.15);
  transform: translateY(-2px);
}

.policy-section h2 {
  color: #FBBF24;
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 650;
  position: relative;
}

.policy-section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #facc15);
  margin-top: 8px;
  border-radius: 2px;
}

.policy-section p {
  color: #CBD5E1;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.policy-section ul {
  list-style: none;
  margin: 10px 0 16px 0;
  padding-left: 0;
}

.policy-section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #E2E8F0;
  line-height: 1.6;
}

.policy-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #FBBF24;
  font-size: 1.3rem;
  line-height: 1;
}

/* ---------- SAFETY LINE ---------- */
.safety-line {
  font-size: 0.95rem;
  color: #E2E8F0;
  background: #162A45;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.safety-line a {
  color: #FACC15;
  text-decoration: none;
  font-weight: 600;
}
.safety-line a:hover {
  text-decoration: underline;
}

/* ---------- LINKS INSIDE CONTENT ---------- */
.policy-section a {
  color: #FBBF24;
  text-decoration: none;
  transition: color 0.2s ease;
}
.policy-section a:hover {
  color: #FDE68A;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0B1320;
  color: #94A3B8;
  text-align: center;
  padding: 40px 10px;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
}
footer a {
  color: #FBBF24;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  color: #FDE68A;
}

/* ============================================
   RESPONSIVE DESIGN STRUCTURE
   Breakpoints: 1280 / 1024 / 768 / 600 / 480 / 375
   ============================================ */

/* -------- <1280px (Large Tablets / Small Laptops) -------- */
@media (max-width: 1280px) {
  main {
    padding: 0 40px;
  }
  .policy-section {
    margin: 50px auto;
    padding: 44px 40px;
  }
  .policy-hero h1 {
    font-size: 2.2rem;
  }
  .policy-hero .intro-text {
    font-size: 1.05rem;
  }
}

/* -------- <1024px (Standard Tablets) -------- */
@media (max-width: 1024px) {
  header {
    padding: 0 60px;
  }
  .has-sub {
    display: none;
  }
  .menu {
    display: block;
    background: transparent;
    color: #FBBF24; /* gold tone for contrast */
    font-size: 32px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
  }
    .mobile-nav {
    display: none; /* hidden by default */
    flex-direction: column;
    gap: 10px; 
    background: #1E293B;
    border-top: 1px solid #334155;
    position: absolute;
    top: 80px;
    right: 0;
    width: 60%;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 99;
  }

    .mobile-nav.open {
  display: block;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  display: block;
  padding: 10px 22px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav a:hover {
  background: #0F172A;
  color: #FBBF24;
}

.mobile-nav summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #FBBF24;
  position: relative;
}

  .mobile-nav details {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  width: 100%;
}

/* restore native details toggle behavior */
.mobile-nav details > ul {
  display: none;
}

.home {
  display: flex;
  flex-direction: column;
  left: 18px;
}

.mobile-nav details[open] > ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul:first-of-type {
  background: transparent;
  padding-bottom: 12px;
}

.mobile-nav ul:first-of-type li a {
  display: block;
  padding: 12px 20px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #334155;
}

.mobile-nav ul:first-of-type li a:hover {
  background: #0F172A;
  color: #FBBF24;
}

    nav.nav {
    margin-right: 70px; /* pushes links left so they don't touch the menu */
  }

.submenu {
  display: none;
}

.submenu.open {
  display: block;
}

  main {
    padding: 0 30px;
  }
  .policy-section {
    padding: 36px 32px;
    margin: 40px auto;
  }
  .policy-hero {
    padding: 140px 8% 80px;
  }
  .policy-hero h1 {
    font-size: 2rem;
  }
  .policy-hero .intro-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  .policy-section h2 {
    font-size: 1.35rem;
  }
  .policy-section p {
    font-size: 0.98rem;
  }
}

/* -------- <768px (Mobile Landscape / Small Tablets) -------- */
@media (max-width: 768px) {
  .site-name {
    font-size: 1.4rem;
  }
  .intro {
    padding: 100px 6% 60px;
  }
  .intro h1 {
    font-size: 1.9rem;
  }
  .intro p {
    font-size: 1rem;
  }
  .update-date {
    font-size: 0.9rem;
    padding: 5px 12px;
  }

  body {
    font-size: 0.96rem;
  }
  .policy-hero {
    padding: 120px 7% 70px;
  }
  .policy-hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .policy-hero .intro-text {
    font-size: 0.95rem;
  }
  .policy-section {
    margin: 32px auto;
    padding: 28px 24px;
  }
  .policy-section h2 {
    font-size: 1.25rem;
  }
  .policy-section p,
  .policy-section li {
    font-size: 0.93rem;
  }
  footer {
    font-size: 0.85rem;
  }
}

/* -------- <600px (Mobile Portrait) -------- */
@media (max-width: 600px) {
  .logo-wrap img {
  margin-left: -20px ;
}
.mobile-nav summary {
  font-size: 0.95rem;
}
.mobile-nav ul:first-of-type li a {
  font-size: 0.95rem;
  padding-left: 10px;
}
.menu {
  font-size: 28px;
}

  body {
    font-size: 0.9rem;
  }
  .policy-hero {
    padding: 110px 6% 60px;
  }
  .policy-hero h1 {
    font-size: 1.6rem;
  }
  .policy-hero .intro-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .policy-section {
    margin: 28px 4%;
    padding: 24px 20px;
  }
  .policy-section h2 {
    font-size: 1.15rem;
  }
  .policy-section p,
  .policy-section li {
    font-size: 0.88rem;
  }
  footer {
    padding: 30px 6%;
    font-size: 0.8rem;
  }
}

/* -------- <480px (Compact Phones) -------- */
@media (max-width: 480px) {
  .logo-wrap img {
  margin-left: -40px ;
  height: 140px;
}

header li {
    font-size: 0.95rem;
    margin-left: 85px;
}
.mobile-nav summary {
  font-size: 0.85rem;
}
.mobile-nav ul:first-of-type li a {
  font-size: 0.85rem;
  padding-left: 4px;
}
.menu {
  font-size: 26px;
  top: 22px;
  right: 22px;
}

  body {
    font-size: 0.88rem;
  }
  .policy-hero {
    padding: 100px 5% 50px;
  }
  .policy-hero h1 {
    font-size: 1.4rem;
  }
  .policy-hero .intro-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .policy-section {
    padding: 20px 16px;
    margin: 24px 5%;
  }
  .policy-section h2 {
    font-size: 1.1rem;
  }
  .policy-section p,
  .policy-section li {
    font-size: 0.85rem;
  }
  .safety-line {
    font-size: 0.82rem;
  }
}

/* -------- <375px (Small / Old Phones) -------- */
@media (max-width: 375px) {
        .logo-wrap img {
  height: 120px;
}
header li {
    font-size: 0.80rem;
    margin-left: 80px;
}
.mobile-nav summary {
  font-size: 0.75rem;
}
.mobile-nav ul:first-of-type li a {
  font-size: 0.70rem;
  padding: 6px 0;
}
.menu {
  font-size: 24px;
  top: 24px;
  right: 18px;
}

  body {
    font-size: 0.75rem;
  }
  .policy-hero {
    padding: 90px 4% 40px;
  }
  .policy-hero h1 {
    font-size: 1.15rem;
  }
  .policy-hero .intro-text {
    font-size: 0.72rem;
  }
  .policy-section {
    padding: 18px 14px;
    margin: 20px 4%;
  }
  .policy-section h2 {
    font-size: 0.95rem;
  }
  .policy-section p,
  .policy-section li {
    font-size: 0.7rem;
  }
  footer {
    font-size: 0.68rem;
    padding: 24px 5%;
  }
}