@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Quicksand:wght@500;700&display=swap');

:root {
  --primary: #F8FAFC; /* Modern Off-White */
  --primary-light: #FFFFFF; /* Pure White Card Background */
  --accent: #E11D48; /* Vibrant Premium Red */
  --accent-hover: #BE123C; /* Darker Cherry Red */
  --secondary: #0F172A; /* Deep Dark Slate */
  --secondary-light: #334155;
  --dark: #0F172A; /* Deep Stroke/Border Tone */
  --light: #1E293B; /* Slate Dark Text on Light backgrounds */
  --white: #FFFFFF;
  --danger: #EF4444;
  --border-color: #0F172A;
  --border-width: 4px;
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --shadow: 6px 6px 0px #0F172A;
  --shadow-sm: 4px 4px 0px #0F172A;
  --shadow-lg: 10px 10px 0px #0F172A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--light);
  background-image: radial-gradient(rgba(225, 29, 72, 0.06) 15%, transparent 15%),
                    radial-gradient(rgba(225, 29, 72, 0.06) 15%, transparent 15%);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  overflow-x: hidden;
  line-height: 1.6;
}

/* MANDATORY COMPLIANCE DISCLAIMER BAR */
.disclaimer-bar {
  background: var(--dark);
  color: var(--primary);
  border-bottom: var(--border-width) solid var(--border-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  padding: 8px 15px;
  position: relative;
  z-index: 1000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.disclaimer-badge {
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid var(--border-color);
}

/* SLIM AND PERFECT HEADER SYSTEM */
header {
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: var(--border-width) solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1px var(--dark);
  text-shadow: 2px 2px 0px var(--dark);
}

nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 16px;
  height: 100%;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 10px;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(225, 29, 72, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--white);
  background: var(--accent);
  border: 3px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 2px 2px 0px var(--border-color);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.15s ease-in-out;
}

.header-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--border-color);
  background: var(--accent-hover);
}

/* MOBILE NAV ELEMENTS */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: 3px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--border-color);
  position: relative;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  width: 18px;
  height: 3px;
  background: var(--white);
  position: relative;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-line::before { top: -6px; }
.hamburger-line::after { bottom: -6px; }

/* Slide Menu Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.mobile-overlay.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  text-align: center;
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-cta {
  margin-top: 24px;
  width: 100%;
  padding: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  background: var(--accent);
  border: var(--border-width) solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  text-decoration: none;
}

/* COMPLIANCE WARNING CARD */
.compliance-warning-card {
  background: rgba(225, 29, 72, 0.05);
  border: var(--border-width) solid var(--accent);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compliance-warning-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
  text-transform: uppercase;
}

.compliance-warning-body {
  font-size: 15px;
  font-weight: 600;
  color: var(--light);
}

/* CARTOON COMPONENT DESIGN SYSTEM */
.cartoon-card {
  background: var(--primary-light);
  border: var(--border-width) solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--light);
}

.cartoon-card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 10px 0px var(--border-color);
}

.cartoon-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border: var(--border-width) solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  text-align: center;
}

.cartoon-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: var(--accent-hover);
}

.cartoon-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-color);
}

.cartoon-btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.cartoon-btn-secondary:hover {
  background: var(--secondary-light);
}

/* SECTIONS & CONTAINERS */
.section {
  padding: 60px 20px;
  position: relative;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: var(--accent);
  -webkit-text-stroke: 1.5px var(--dark);
  text-shadow: 3px 3px 0px var(--dark);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  color: var(--dark);
  border: var(--border-width) solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  animation: slideInUp 0.5s ease-out;
}

.cookie-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-text {
  font-size: 14px;
  font-weight: 600;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

/* HERO SECTION */
.hero {
  background: radial-gradient(circle at center, var(--primary-light) 0%, var(--primary) 70%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-width) solid var(--border-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M30 20 l10 10-10 10-10-10z M70 50 l10 10-10 10-10-10z M50 10 l5 5-5 5-5-5z M20 80 l5 5-5 5-5-5z' fill='%23e11d48' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border: 3px solid var(--border-color);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  -webkit-text-stroke: 2px var(--border-color);
  text-shadow: 4px 4px 0px var(--border-color);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--light);
}

/* LOBBY / GAME BOARD */
.game-container-wrapper {
  background: var(--dark);
  border: var(--border-width) solid var(--border-color);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.game-header {
  background: var(--white);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-width) solid var(--border-color);
}

.game-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
}

.game-iframe-holder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.game-iframe-holder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* FEATURE CARDS GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  text-align: center;
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border: var(--border-width) solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-sm);
  font-size: 36px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* STATS BAR */
.stats-bar {
  background: var(--accent);
  color: var(--white);
  border-top: var(--border-width) solid var(--border-color);
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 30px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 40px;
  -webkit-text-stroke: 1.5px var(--dark);
  margin-bottom: 5px;
}

.stat-item p {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

/* CONTACT FORM */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 14px;
  border: var(--border-width) solid var(--border-color);
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* BLOG DESIGN */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-meta {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 15px;
}

.blog-excerpt {
  flex-grow: 1;
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.blog-full-article {
  background: var(--primary-light);
  border: var(--border-width) solid var(--border-color);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  margin-bottom: 40px;
}

.blog-full-meta {
  font-family: var(--font-display);
  color: var(--accent);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.blog-full-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--light);
}

.blog-full-body h2 {
  font-family: var(--font-display);
  color: var(--accent);
  margin-top: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.blog-full-body p {
  margin-bottom: 20px;
}

/* ACCORDION FAQ */
.faq-item {
  margin-bottom: 16px;
}

.faq-trigger {
  width: 100%;
  background: var(--primary-light);
  border: var(--border-width) solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.faq-trigger:hover {
  background: rgba(225, 29, 72, 0.05);
}

.faq-content {
  background: var(--primary-light);
  border-left: var(--border-width) solid var(--border-color);
  border-right: var(--border-width) solid var(--border-color);
  border-bottom: var(--border-width) solid var(--border-color);
  border-radius: 0 0 16px 16px;
  padding: 20px;
  margin-top: -8px;
  display: none;
}

/* FOOTER */
footer {
  background: var(--dark);
  border-top: var(--border-width) solid var(--border-color);
  padding: 50px 20px 30px 20px;
  color: var(--primary);
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 15px;
  -webkit-text-stroke: 0.5px var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

.footer-links-col h5 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

.footer-links-col ul li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  font-size: 14px;
}

.footer-links-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

.footer-address {
  margin-top: 10px;
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

/* ANIMATIONS */
@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1023px) {
  header {
    height: 60px;
  }
  .header-container {
    padding: 0 16px;
  }
  .nav-list, .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-title {
    font-size: 38px;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}