/* CSS Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100vw; /* Prevent horizontal overflow globally */
}

/* Global Styles */
html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
  background-color: #100c0c; /* Pri BG color */
  color: #fff0f0; /* Text color */
  line-height: 1.8;
  font-size: 16px;
}

main {
  flex: 1;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden; /* Prevent main content overflow */
}

img, canvas, iframe, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-sizing: border-box;
}

a {
  color: #ffd700; /* Sec accent for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6b35; /* Acc accent for link hover */
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.2em;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; color: #ffd700; }
h2 { font-size: 2.2rem; color: #ff1744; }
h3 { font-size: 1.8rem; color: #ffcc00; }
h4 { font-size: 1.5rem; color: #ff6b35; }

p {
  margin-bottom: 1em;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Container */
.cnznqo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.cnznqo-header-l-r-r {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* For Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cnznqo-header-l-r-r .cnznqo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cnznqo-logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.cnznqo-logo span {
  background: linear-gradient(45deg, #ff1744, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cnznqo-desktop-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.cnznqo-desktop-nav a {
  color: #fff0f0;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cnznqo-desktop-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffd700;
  text-decoration: none;
}

.cnznqo-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cnznqo-age-flag {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.cnznqo-age-flag img {
  border-radius: 3px;
}

.cnznqo-hamburger {
  display: none; /* Hidden by default on desktop */
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.4rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cnznqo-hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

/* Mobile Menu */
.cnznqo-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 30px;
  overflow-y: auto;
}

.cnznqo-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cnznqo-mobile-menu li {
  margin-bottom: 15px;
}

.cnznqo-mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cnznqo-mobile-menu a:hover {
  background-color: rgba(255, 215, 0, 0.2); /* Sec accent hover */
  color: #ffd700;
  text-decoration: none;
}

.cnznqo-close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.cnznqo-close-menu:hover {
  color: #ff1744; /* Pri accent on hover */
}

/* Disclosure Bar */
#cnznqo-disclosure-bar {
  background: #120820;
  color: #ce93d8;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #6a1b9a;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#cnznqo-disclosure-bar span {
  white-space: nowrap;
}

/* Footer */
.cnznqo-footer {
  padding: 50px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  margin-top: auto; /* Pushes footer to the bottom */
  width: 100%;
  box-sizing: border-box;
}

.cnznqo-footer .cnznqo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cnznqo-footer h3 {
  margin-bottom: 20px;
  opacity: 0.8;
  color: #ffffff;
}

.cnznqo-footer ul {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid rgba(150, 150, 150, 0.2);
  padding-bottom: 20px;
}

.cnznqo-footer li a {
  color: #ffffff;
  opacity: 0.85;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.cnznqo-footer li a:hover {
  color: #ffcc00;
  opacity: 1;
  text-decoration: none;
}

.cnznqo-footer-contact {
  margin-top: 20px;
  font-size: 0.85em;
  text-align: center;
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
}

.cnznqo-footer-contact span {
  font-weight: 500;
}

.cnznqo-footer-contact a {
  color: #ffffff;
  text-decoration: underline;
}

.cnznqo-footer-contact a:hover {
  color: #ffcc00;
}

.cnznqo-footer > div > div:first-of-type { /* Styles for the "STRICTLY FREE-TO-PLAY ENTERTAINMENT" section */
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  margin-top: 15px;
  width: 100%;
  box-sizing: border-box;
}

.cnznqo-footer h4 {
  margin: 0 0 8px 0;
  color: #ffcc00; /* Sec accent for H4 */
  font-size: 1.2em;
}

.cnznqo-footer p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.cnznqo-footer p strong {
  color: #ffffff;
}

.cnznqo-footer > div > div:nth-of-type(2) { /* Styles for the 18+ warning paragraph */
  padding: 20px 0;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
}

.cnznqo-footer > div > div:nth-of-type(2) p {
  text-align: justify;
  font-size: 1em;
}

.cnznqo-footer > div > div:nth-of-type(2) p strong {
  color: #ff1744; /* Pri accent for strong warning */
}

.cnznqo-footer > div > div:nth-of-type(3) { /* Styles for Responsible Gaming section */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
  font-size: 0.85em;
  opacity: 0.8;
  line-height: 1.55;
}

.cnznqo-footer > div > div:nth-of-type(3) a {
  color: #ffcc00;
  text-decoration: underline;
}

.cnznqo-footer > div > div:nth-of-type(3) a:hover {
  color: #ff6b35;
}

.cnznqo-footer > div > div:nth-of-type(4) { /* Styles for Regulatory Information */
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:12px;
  margin-top:12px;
  font-size:0.78em;
  opacity:0.75;
  line-height:1.55;
  text-align:left;
}

.cnznqo-footer > div > div:nth-of-type(4) strong {
  display:block;
  margin-bottom:4px;
  opacity:0.9;
  color: #ffffff;
}

.cnznqo-footer .cnznqo-copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 0.85em;
  opacity: 0.75;
}

.cnznqo-footer .cnznqo-copyright a {
  color: #ffffff;
  text-decoration: underline;
}

.cnznqo-footer .cnznqo-copyright a:hover {
  color: #ffcc00;
}

/* Buttons */
.cnznqo-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #ff1744, #ff6b35); /* Pri & Acc gradient */
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 26, 70, 0.4); /* Pri accent shadow */
}

.cnznqo-btn:hover {
  background: linear-gradient(45deg, #ff6b35, #ff1744); /* Reversed gradient on hover */
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6); /* Acc accent shadow on hover */
  transform: translateY(-2px) scale(1.03);
}

/* Hero Section (FULL-BLEED-OVERLAY) */
.cnznqo-hero {
  position: relative;
  min-height: 85vh;
  padding: 160px 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background-image: url('https://picsum.photos/seed/socialgaming/1920/1080'); /* Placeholder image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  box-sizing: border-box;
  overflow: hidden; /* Crucial for pseudo-element overlay */
}

.cnznqo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.cnznqo-hero .cnznqo-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}

.cnznqo-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
  color: #ffffff; /* White for main headline */
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.cnznqo-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 30px;
  color: #e0e0e0; /* Lighter text for readability */
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.cnznqo-hero .cnznqo-trust-badges {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cnznqo-trust-badge {
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
}

.cnznqo-trust-badge svg { /* Icon styling if used */
  width: 16px;
  height: 16px;
  fill: #ffd700;
}

/* Content Section */
.cnznqo-content-section {
  padding: 80px 20px;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.cnznqo-content-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #ffcc00; /* Sec accent for H2 */
}

.cnznqo-content-section p {
  margin-bottom: 1.5em;
  opacity: 0.9;
}

/* Games Grid (BENTO-BOX-GRID) */
.cnznqo-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 350px; /* Default row height */
  gap: 30px;
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
}

.cnznqo-game-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Align text to bottom */
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cnznqo-game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.cnznqo-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.4s ease;
}

.cnznqo-game-card:hover img {
  transform: scale(1.08);
}

.cnznqo-game-card-info {
  position: relative;
  z-index: 2;
  padding: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); /* For Safari */
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.1);
  min-height: 100px; /* Ensure space for text */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cnznqo-game-card-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cnznqo-game-card-info p {
  font-size: 0.9rem;
  opacity: 0.85;
  color: #e0e0e0;
}

/* Special Card for Bento Grid (first card) */
@media (min-width: 1025px) { /* Apply only on larger screens */
  .cnznqo-game-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .cnznqo-game-card:first-child .cnznqo-game-card-img-container { /* Ensure image fits the larger card */
    height: 100%; /* Auto height for first card's image */
  }
  .cnznqo-game-card:first-child .cnznqo-game-card-info {
    min-height: 150px; /* More space for text in larger card */
  }
}

/* Responsive Design */

/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  .cnznqo-header-l-r-r .cnznqo-container {
    gap: 20px;
  }
  .cnznqo-desktop-nav ul {
    gap: 15px;
  }
  .cnznqo-desktop-nav a {
    font-size: 0.95rem;
    padding: 6px 10px;
  }
  .cnznqo-hero {
    padding: 120px 5% 60px;
    min-height: 70vh;
    text-align: center; /* Center align hero text on tablet */
    background-attachment: scroll; /* Disable parallax on tablet */
  }
  .cnznqo-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
  .cnznqo-hero p {
    font-size: 1.1rem;
  }
  .cnznqo-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px auto;
  }
  .cnznqo-game-card {
    border-radius: 16px;
  }
  .cnznqo-game-card-info {
    padding: 15px;
  }
  .cnznqo-game-card-info h3 {
    font-size: 1.3rem;
  }
  .cnznqo-content-section {
    padding: 60px 5%;
    font-size: 1rem;
  }
  .cnznqo-footer {
    padding: 40px 20px;
  }
  .cnznqo-footer ul {
    gap: 15px;
  }
}

/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
  html, body {
    font-size: 15px; /* Slightly smaller base font for mobile */
  }
  .cnznqo-header-l-r-r {
    padding: 15px 20px;
  }
  .cnznqo-logo {
    font-size: 1.4rem;
  }
  .cnznqo-desktop-nav {
    display: none !important;
  }
  .cnznqo-hamburger {
    display: flex !important; /* Show hamburger on mobile */
  }
  .cnznqo-age-flag {
    display: flex;
    padding: 4px 8px;
    font-size: 0.8rem;
    gap: 4px;
  }
  .cnznqo-hero {
    min-height: unset !important;
    padding: 80px 16px 50px !important;
    text-align: center !important;
    background-attachment: scroll !important; /* Ensure no parallax on mobile */
  }
  .cnznqo-hero h1, .cnznqo-hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 3rem) !important;
    margin-bottom: 16px !important;
  }
  .cnznqo-hero p, .cnznqo-hero-text p {
    font-size: 1rem !important;
    margin-bottom: 24px !important;
  }
  .cnznqo-hero .cnznqo-trust-badges {
    justify-content: center;
  }
  .cnznqo-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 16px !important;
    margin: 40px auto;
  }
  .cnznqo-game-card {
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
  .cnznqo-game-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
  }
  .cnznqo-game-card-info {
    padding: 12px;
    min-height: 80px;
  }
  .cnznqo-game-card-info h3 {
    font-size: 1.2rem;
  }
  .cnznqo-game-card-info p {
    font-size: 0.85rem;
  }
  .cnznqo-content-section {
    padding: 50px 16px !important;
    font-size: 1rem !important;
  }
  .cnznqo-footer {
    padding: 30px 16px !important;
  }
  .cnznqo-footer h3 {
    font-size: 1.5rem;
  }
  .cnznqo-footer ul {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .cnznqo-footer li a {
    font-size: 0.95rem;
  }
  .cnznqo-footer > div > div:nth-of-type(2) p {
    text-align: left; /* Left align text on mobile */
  }
  .cnznqo-footer > div > div:nth-of-type(4) {
    text-align: left;
  }
  .cnznqo-btn {
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
  }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  .cnznqo-logo {
    font-size: 1.3rem;
  }
  .cnznqo-header-l-r-r {
    padding: 12px 16px;
  }
  .cnznqo-hamburger {
    padding: 5px 8px;
    font-size: 1.3rem;
  }
  .cnznqo-hero {
    padding: 60px 16px 40px !important;
  }
  .cnznqo-hero h1, .cnznqo-hero-text h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
    margin-bottom: 12px !important;
  }
  .cnznqo-hero p, .cnznqo-hero-text p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  .cnznqo-hero .cnznqo-trust-badges {
    flex-direction: column;
    align-items: center;
  }
  .cnznqo-game-grid {
    grid-template-columns: 1fr !important; /* Single column on smallest screens */
    gap: 12px !important;
  }
  .cnznqo-game-card {
    border-radius: 10px !important;
  }
  .cnznqo-game-card img {
    height: 180px !important; /* Adjust image height for single column cards */
  }
  .cnznqo-game-card-info {
    min-height: 70px;
    padding: 10px;
  }
  .cnznqo-game-card-info h3 {
    font-size: 1.1rem;
  }
  .cnznqo-game-card-info p {
    font-size: 0.8rem;
  }
  .cnznqo-content-section {
    padding: 40px 16px !important;
    font-size: 0.95rem !important;
  }
  .cnznqo-footer {
    padding: 25px 16px !important;
    font-size: 0.8rem !important;
  }
  .cnznqo-footer h3 {
    font-size: 1.3rem;
  }
  .cnznqo-footer ul {
    gap: 8px !important;
  }
  .cnznqo-footer li a {
    font-size: 0.9rem;
  }
  .cnznqo-footer > div > div:nth-of-type(2) p {
    font-size: 0.9em;
  }
  .cnznqo-footer .cnznqo-copyright {
    font-size: 0.75em;
  }
}

/* === DESKTOP ONLY: Hide hamburger, show nav === */
@media (min-width: 769px) {
  .cnznqo-hamburger {
    display: none !important;
  }
  .cnznqo-desktop-nav {
    display: flex !important;
  }
  .cnznqo-mobile-menu {
    display: none !important; /* Ensure mobile menu is hidden on desktop */
  }
}

/* Specific overrides for mobile menu overlay for consistent styling */
.cnznqo-mobile-menu-open {
  overflow: hidden; /* Prevent scrolling of main content when menu is open */
}

/* Explicitly hide hamburger and show nav for desktop */
@media (min-width: 769px) {
  .cnznqo-hamburger { display: none; }
  .cnznqo-desktop-nav { display: flex; }
  .cnznqo-mobile-menu { display: none; }
}

/* Explicitly show hamburger and hide nav for mobile */
@media (max-width: 768px) {
  .cnznqo-hamburger { display: flex; }
  .cnznqo-desktop-nav { display: none; }
}