/* Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: inherit;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

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: 'Trebuchet MS', Helvetica, sans-serif;
  background-color: #fffcf0; /* Theme BG Color */
  color: #1c1407; /* Theme Text Color */
}

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

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

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

.c2hglv-content-section {
  padding: 80px 20px;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: justify;
}

/* Header & Navigation */
.c2hglv-header-c-l-r {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark for glassmorphism */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.c2hglv-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.c2hglv-logo span {
  color: #fff; /* White for the site name */
}

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

.c2hglv-desktop-nav li {
  margin: 0;
}

.c2hglv-desktop-nav a {
  color: #e0e0e0; /* Light gray for navigation links */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.c2hglv-desktop-nav a:hover {
  color: #fff; /* White on hover */
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.c2hglv-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.c2hglv-age-flag {
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.c2hglv-hamburger {
  display: none; /* Hidden by default on desktop */
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.4rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
}
.c2hglv-hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #f0f0f0;
}


.c2hglv-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.c2hglv-mobile-menu li {
  margin: 0;
}

.c2hglv-mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.c2hglv-mobile-menu a:hover {
  background-color: rgba(255, 235, 59, 0.2); /* Yellow tint on hover */
  color: #fff;
  transform: scale(1.05);
}

.c2hglv-close-menu {
  position: absolute;
  top: 30px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all 0.3s ease;
}
.c2hglv-close-menu:hover {
  color: #d97706; /* Primary color on hover */
  transform: rotate(180deg) scale(1.1);
}

#c2hglv-disclosure-bar {
  background: #061209;
  color: #a5d6a7;
  text-align: center;
  padding: 7px 16px;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.35px;
  border-bottom: 2px solid #2e7d32;
  width: 100%;
  box-sizing: border-box;
}

/* Footer */
.c2hglv-footer {
  padding: 50px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.c2hglv-footer h3 {
  margin-bottom: 20px;
  opacity: 0.8;
  font-size: 1.8rem;
  color: #d97706; /* Primary color */
}

.c2hglv-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;
}

.c2hglv-footer li {
  margin: 0;
}

.c2hglv-footer a {
  color: #e0e0e0; /* Light gray for footer links */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.c2hglv-footer a:hover {
  color: #fff;
  text-decoration: underline;
  transform: translateY(-2px);
}

.c2hglv-footer-contact p {
  margin: 5px 0;
  opacity: 0.9;
  font-size: 0.95em;
}
.c2hglv-footer-contact strong {
  color: #fff;
}

.c2hglv-footer-contact a {
  color: #a5d6a7; /* Light green for support link */
  text-decoration: underline;
}
.c2hglv-footer-contact a:hover {
  color: #fff;
}

.c2hglv-footer p {
  margin-bottom: 10px;
  font-size: 0.9em;
  text-align: justify;
  color: #f0f0f0;
  opacity: 0.85;
}
.c2hglv-footer p strong {
  color: #ffeb3b; /* Yellow for emphasis */
  font-weight: 700;
}

.c2hglv-footer a[href*="gambleaware.org"] {
  text-decoration: underline;
  color: inherit;
  font-weight: bold;
}

.c2hglv-footer a[href*="gambleaware.org"]:hover {
  color: #d97706; /* Primary color on hover */
}

.c2hglv-footer .regulatory-info {
  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;
}

.c2hglv-footer .regulatory-info strong {
  display: block;
  margin-bottom: 4px;
  opacity: 0.9;
  color: #fff;
}

.c2hglv-copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 0.8em;
  opacity: 0.7;
  color: #ccc;
}
.c2hglv-copyright a {
  color: inherit;
  text-decoration: underline;
}
.c2hglv-copyright a:hover {
  color: #d97706;
}


/* Buttons */
.c2hglv-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #facc15, #d97706); /* Yellow to Primary gradient */
  color: #1c1407; /* Dark text on bright button */
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4); /* Shadow using primary color */
}

.c2hglv-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.6);
  background: linear-gradient(45deg, #fadb4b, #e68a2e); /* Brighter gradient on hover */
  color: #fff;
}

/* Hero Section - ASYMMETRIC-SPLIT */
.c2hglv-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  padding: 140px 5% 60px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  background-color: transparent; /* Transparent to allow underlying section color */
}

.c2hglv-hero-text {
  padding-right: 40px;
  text-align: left; /* Default left alignment */
}

.c2hglv-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
  color: #d97706; /* Primary color for hero title */
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.c2hglv-hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.9;
  color: #1c1407; /* Dark text for paragraph */
}

.c2hglv-hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end; /* Aligns image to the right within its container */
  border-radius: 40px 0 40px 0; /* Asymmetric border radius */
  box-shadow: 20px 20px 0px rgba(0,0,0,0.1); /* Neo-brutalist shadow */
  overflow: hidden; /* Ensures the image stays within rounded corners */
}

.c2hglv-hero-image img {
  width: 100%;
  height: 600px; /* Fixed height for hero image */
  object-fit: cover;
  border-radius: 40px 0 40px 0; /* Matches container */
}

/* Trust Badges for Hero */
.c2hglv-trust-badge {
  position: absolute;
  bottom: 20px;
  left: -30px; /* Positioned outside the main content area for visual flair */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: rotate(-5deg); /* Slight rotation for dynamic feel */
}
.c2hglv-trust-badge span {
  font-size: 1.2rem; /* Larger icon */
}

/* Game Grid - NEO-BRUTALIST ARCHITECTURE */
.c2hglv-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 60px auto;
  padding: 0 20px;
}

.c2hglv-game-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff; /* Card background */
  border: 6px solid #000; /* Thick black border */
  box-shadow: 12px 12px 0px #000; /* Hard drop shadow */
  display: flex;
  flex-direction: column;
}

.c2hglv-game-card-image-container {
  width: 100%;
  height: 200px; /* Fixed height for all card images */
  overflow: hidden;
  position: relative;
  background-color: #333; /* Dark background while image loads */
}

.c2hglv-game-card img {
  width: 100%;
  height: 200px; /* Matches container height */
  object-fit: cover;
  border-bottom: 6px solid #000; /* Matches card border */
  filter: grayscale(20%) contrast(120%); /* Gritty, high-contrast look */
}

.c2hglv-game-card-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1; /* Allows content to fill available space */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.c2hglv-game-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #d97706; /* Primary color for game title */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c2hglv-game-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
  flex-grow: 1; /* Allow description to push button */
}

.c2hglv-game-card .c2hglv-btn {
  margin-top: auto; /* Pushes the button to the bottom */
  width: 100%; /* Full width button within card */
  padding: 12px 20px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: linear-gradient(45deg, #facc15, #d97706); /* Golden gradient */
}

.c2hglv-game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 20px 20px 0px #000, 0 20px 40px rgba(0,0,0,0.4); /* Combine shadows */
}

/* Section Backgrounds - BRUTALIST-STRIPES */
.c2hglv-section-primary {
  background-color: #fffcf0; /* Theme BG Color */
  padding: 80px 0; /* Vertical padding for sections */
}

.c2hglv-section-accent {
  background-color: #fef3c7; /* Lighter tint of primary color */
  padding: 80px 0;
}

.c2hglv-section-secondary {
  background-color: #fff8e1; /* Another light tint */
  padding: 80px 0;
}

/* Mobile Breakpoints */
/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  .c2hglv-hero {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    padding: 80px 5% 60px !important;
    gap: 40px !important;
    text-align: center;
  }
  .c2hglv-hero-text {
    padding-right: 0;
  }
  .c2hglv-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem) !important;
  }
  .c2hglv-hero p {
    font-size: 1.1rem;
  }
  .c2hglv-hero-image {
    justify-content: center; /* Center image in its container */
    width: 100%; /* Take full width */
    max-width: 600px; /* Max width for the image itself */
    margin: 0 auto; /* Center the image container */
    box-shadow: 0px 20px 0px rgba(0,0,0,0.1); /* Adjust shadow */
    border-radius: 40px 40px 0 0; /* Top rounded, bottom sharp */
  }
  .c2hglv-hero-image img {
    height: 450px; /* Adjust height for tablet */
    border-radius: 40px 40px 0 0;
  }
  .c2hglv-trust-badge {
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    bottom: -15px; /* Adjust position */
  }
  .c2hglv-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 24px;
  }
  .c2hglv-game-card {
    border-radius: 12px;
    box-shadow: 8px 8px 0px #000;
  }
  .c2hglv-game-card img {
    height: 160px;
    border-bottom: 4px solid #000;
  }
  .c2hglv-game-card:hover {
    box-shadow: 12px 12px 0px #000, 0 12px 25px rgba(0,0,0,0.3);
  }
}

/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
  html, body {
    font-size: 15px; /* Base font size for mobile */
  }
  .c2hglv-header {
    padding: 12px 16px !important;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .c2hglv-desktop-nav {
    display: none !important;
  }
  .c2hglv-logo {
    font-size: 1.2rem;
  }
  .c2hglv-hamburger {
    display: flex !important;
  }
  .c2hglv-hero {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    padding: 60px 16px 40px !important;
    text-align: center !important;
    gap: 24px !important;
    min-height: unset !important;
    background-attachment: scroll !important;
  }
  .c2hglv-hero h1, .c2hglv-hero-text h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }
  .c2hglv-hero p, .c2hglv-hero-text p {
    font-size: 1rem !important;
    margin-bottom: 24px !important;
  }
  .c2hglv-hero-image {
    display: none !important; /* Hide image on mobile */
  }
  .c2hglv-trust-badge {
    display: none !important; /* Hide badges on mobile */
  }
  .c2hglv-game-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 12px !important;
    margin-top: 40px;
  }
  .c2hglv-game-card {
    border-radius: 12px !important;
    border: 4px solid #000;
    box-shadow: 6px 6px 0px #000;
  }
  .c2hglv-game-card img {
    height: 140px !important;
    border-bottom: 4px solid #000;
  }
  .c2hglv-game-card-content {
    padding: 16px;
  }
  .c2hglv-game-card h3 {
    font-size: 1.2rem;
  }
  .c2hglv-game-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  .c2hglv-game-card .c2hglv-btn {
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    border-radius: 6px;
  }
  .c2hglv-game-card:hover {
    box-shadow: 8px 8px 0px #000, 0 8px 15px rgba(0,0,0,0.2);
  }
  .c2hglv-content-section {
    padding: 40px 16px !important;
    font-size: 1rem !important;
  }
  .c2hglv-footer {
    padding: 30px 16px !important;
    font-size: 0.85rem !important;
  }
  .c2hglv-footer h3 {
    font-size: 1.5rem;
  }
  .c2hglv-footer ul {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px;
  }
  .c2hglv-footer a {
    font-size: 0.95rem;
  }
  .c2hglv-footer p {
    font-size: 0.85rem;
    text-align: left;
  }
  .c2hglv-footer .regulatory-info {
    text-align: left;
  }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  html, body {
    font-size: 14px; /* Even smaller base font size */
  }
  .c2hglv-hero h1, .c2hglv-hero-text h1 {
    font-size: clamp(1.4rem, 8vw, 2rem) !important;
  }
  .c2hglv-hero p, .c2hglv-hero-text p {
    font-size: 0.95rem;
  }
  .c2hglv-game-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .c2hglv-game-card {
    border-radius: 10px !important;
    border-width: 3px;
    box-shadow: 4px 4px 0px #000;
  }
  .c2hglv-game-card img {
    height: 180px !important;
    border-bottom-width: 3px;
  }
  .c2hglv-game-card-content {
    padding: 12px;
  }
  .c2hglv-game-card h3 {
    font-size: 1.1rem;
  }
  .c2hglv-game-card p {
    font-size: 0.88rem;
  }
  .c2hglv-game-card .c2hglv-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
  .c2hglv-game-card:hover {
    box-shadow: 6px 6px 0px #000, 0 6px 12px rgba(0,0,0,0.15);
  }
  .c2hglv-footer {
    padding: 25px 12px !important;
    font-size: 0.8rem !important;
  }
  .c2hglv-footer ul {
    gap: 8px !important;
  }
  .c2hglv-footer a {
    font-size: 0.9rem;
  }
  .c2hglv-footer p {
    font-size: 0.8rem;
  }
}

/* === DESKTOP ONLY: Hide hamburger === */
@media (min-width: 769px) {
  .c2hglv-hamburger {
    display: none !important;
  }
  .c2hglv-desktop-nav {
    display: flex !important;
  }
  /* Re-ensure desktop header layout */
  .c2hglv-header-c-l-r .c2hglv-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .c2hglv-mobile-menu {
    display: none !important; /* Ensure it's hidden on desktop */
  }
}
/* === HIGH RES DISPLAY === */
@media (min-width: 1600px) {
  .c2hglv-hero {
    padding: 160px 5% 80px;
    gap: 80px;
  }
  .c2hglv-hero-image img {
    height: 700px;
  }
  .c2hglv-game-grid {
    grid-template-columns: repeat(4, 1fr); /* Allow 4 columns on large screens if space permits */
  }
}