* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  overflow-x: hidden;
}

body {
  font-family: merri-400;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #0a192f 0%, #1a2332 100%);
  color: #fff;
  min-height: 100vh;
  position: relative;
}

body.modal-open,
body.offcanvas-open {
  overflow: hidden !important;
}

/* Ensure menu is above everything */
html,
body {
  overflow-x: hidden;
}

body:has(.offcanvas.show) {
  overflow: hidden !important;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

main,
section,
footer {
  position: relative;
  z-index: 1;
}

.container {
  position: relative;
  z-index: auto;
}

/* Force menu elements to be on top */
.offcanvas,
.offcanvas-backdrop,
.offcanvas *{
  box-sizing: border-box;
}

.offcanvas-end * {
  position: relative;
  z-index: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

input,
textarea {
  border: none;
  outline: none;
}

@font-face {
  font-family: merri-400;
  src: url(/assets/fonts/Merriweather_120pt-Regular.ttf);
}

/* header */

header {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.3);
  background: rgba(10, 25, 47, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

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

header .logo img {
  filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.3));
  transition: all 0.3s ease;
  object-fit: contain;
}

header .logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.5));
  transform: scale(1.05);
}

header .logo h4 {
  background: linear-gradient(135deg, #00D9FF, #00B8D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 0;
}

header .btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

header .btn img {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
}

header .btn:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 217, 255, 0.8));
  transform: scale(1.1);
}

@media (max-width: 576px) {
  header .logo h4 {
    font-size: 14px;
  }
  
  header .logo img {
    width: 40px;
    height: 40px;
  }
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu li {
  list-style: none;
}

.header-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
}

.header-menu a:hover {
  color: #00D9FF;
  background: rgba(0, 217, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .header-menu {
    display: none;
  }
}

/* Mobile offcanvas menu */
.offcanvas {
  z-index: 9999 !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background-color: #0a192f !important;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8) !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease-in-out !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.offcanvas.show {
  visibility: visible !important;
  transform: translateX(0) !important;
}

.offcanvas.showing,
.offcanvas.hiding {
  visibility: visible !important;
}

.offcanvas-backdrop {
  z-index: 9998 !important;
  background-color: rgba(0, 0, 0, 0.85) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  opacity: 1 !important;
}

.offcanvas-backdrop.show {
  opacity: 1 !important;
  display: block !important;
}

.offcanvas-end {
  width: 320px !important;
  max-width: 85vw !important;
  background-color: #0f1e35 !important;
  border-left: 3px solid rgba(0, 217, 255, 0.5) !important;
  height: 100vh !important;
  min-height: 100vh !important;
  right: 0 !important;
}

.offcanvas-header {
  border-bottom: 2px solid rgba(0, 217, 255, 0.3) !important;
  padding: 1.5rem !important;
  background-color: rgba(0, 30, 50, 1) !important;
  position: relative !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.offcanvas-title {
  color: #00D9FF;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
  position: relative;
  z-index: 10001;
}

.btn-close {
  position: relative;
  z-index: 10002;
  opacity: 1;
}

.btn-close-white {
  filter: brightness(0) invert(1) !important;
  background: transparent !important;
}

.btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.5) !important;
}

/* Additional menu styling to ensure visibility */
.text-bg-dark {
  background-color: #0a192f !important;
  color: #fff !important;
}

/* Force full height for offcanvas container */
#mobileMenu {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
}

/* Ensure menu is visible when shown */
.offcanvas.show,
.offcanvas.showing {
  display: flex !important;
}

.offcanvas-backdrop.fade {
  opacity: 0;
}

.offcanvas-backdrop.show {
  opacity: 0.85 !important;
}

.offcanvas-body {
  padding: 1.5rem !important;
  overflow-y: auto !important;
  background-color: #0f1e35 !important;
  position: relative !important;
  z-index: 10000 !important;
  flex-grow: 1 !important;
  min-height: 0 !important;
  height: auto !important;
}

.mobile-nav {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  list-style: none !important;
}

.mobile-nav li {
  margin-bottom: 10px !important;
  padding: 0 !important;
  list-style: none !important;
}

.mobile-nav a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  border-left: 3px solid transparent !important;
  background: rgba(20, 40, 60, 0.6) !important;
  position: relative !important;
  z-index: 10001 !important;
}

.mobile-nav a span {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #00D9FF;
  background: rgba(0, 217, 255, 0.15);
  border-left-color: #00D9FF;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
  outline: none;
}

.mobile-nav a:active {
  transform: translateX(3px);
}

/* footer */
footer {
  background-color: #2d3654;
}
.footer-section {
  padding: 40px 0;
  background-color: #2d3654;
}

.play-responsibly-box {
  background-color: #3e3a56;
  border: 2px solid #ff6b6b;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-bottom: 25px;
  color: #b8bcc8;
}

.play-responsibly-box h5 {
  color: #ff6b6b;
  font-weight: bold;
  margin-bottom: 10px;
}

.age-warning {
  background-color: rgba(0, 217, 255, 0.1);
  border: 2px solid #00D9FF;
  border-radius: 12px;
  padding: 18px 25px;
  margin-bottom: 25px;

  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;

  strong {
    color: #00D9FF;
    font-size: 18px;
  }
  span {
    color: #b8bcc8;
  }
}

.disclaimer-box {
  background-color: #232b45;
  border-radius: 8px;
  padding: 25px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #b8bcc8;
  font-size: 15px;

  strong {
    color: #fff;
  }
}

.footer-links a {
  color: #00D9FF;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #00B8D4;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.logos img {
  height: 35px;
  margin: 0 12px;
  opacity: 0.85;
}

.logos img:hover {
  opacity: 1;
}
.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #3a4158;
  color: #b8bcc8;
  font-size: 0.9rem;
  margin-top: 20px;
}
