/* ==========================================================================
   LIGHT CATERING SOCIAL CASINO - PREMIUM STYLESHEET
   100% Free Social Gaming Portal (Canada 19+)
   ========================================================================== */

:root {
  --bg-dark: #090b10;
  --bg-surface: #0e121b;
  --bg-card: #131926;
  --bg-card-hover: #171f30;
  --glass-border: rgba(229, 193, 88, 0.22);
  --glass-border-light: rgba(255, 255, 255, 0.08);

  --color-gold: #e5c158;
  --color-gold-bright: #f7db8c;
  --color-gold-dark: #b89228;
  --color-accent-glow: rgba(229, 193, 88, 0.18);

  --text-main: #f8f9fa;
  --text-muted: #9aa7b8;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-width: 1200px;
}

/* Reset & Mobile Optimization */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-gold);
  color: #000;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 3px !important;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: var(--color-gold);
  font-weight: 700;
}

/* Warning Strip */
.warning-strip {
  background: #0e0b17;
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: #0a0d14;
  box-shadow: 0 4px 20px rgba(229, 193, 88, 0.3);
}

.btn-primary:active, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229, 193, 88, 0.55);
  background: var(--color-gold-bright);
}

.btn-outline {
  border: 1px solid rgba(229, 193, 88, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.btn-outline:active, .btn-outline:hover {
  border-color: var(--color-gold);
  background: rgba(229, 193, 88, 0.12);
  color: var(--color-gold);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: #090b10;
  border-bottom: 1px solid var(--glass-border-light);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(229, 193, 88, 0.5));
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

.brand-title b {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

/* Burger Button (<= 991px) */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 38px;
  padding: 6px;
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1100;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-gold);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Side Panel */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #0b0e17;
  border-left: 1px solid var(--glass-border);
  z-index: 1300;
  padding: 24px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border-light);
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(229, 193, 88, 0.15);
  border: 1px solid var(--glass-border);
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.mobile-drawer-close:active {
  background: var(--color-gold);
  color: #000;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  text-decoration: none;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--color-gold);
  background: rgba(229, 193, 88, 0.1);
  border-color: var(--glass-border-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 85px 0 65px 0;
  background: #090b10;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pills-group {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pill-gold {
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid var(--glass-border);
  color: var(--color-gold);
}

.pill-age {
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.28);
  color: #ff6b6b;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-tag {
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-disc {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 30px auto;
}

/* Sections & Cards */
.section {
  padding: 75px 0;
}

.section-alt {
  background: var(--bg-surface);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 42px auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(229, 193, 88, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px var(--color-accent-glow);
}

.card-thumb {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slot Switcher Horizontal Scroll Bar */
.slot-switcher-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(229, 193, 88, 0.4);
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-gold);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px 22px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Age Gate Dialog Modal */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.95);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-gate-card {
  background: #0e1320;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.age-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px auto;
  background: rgba(229, 193, 88, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 800;
}

/* Helper Utility Classes */
.drawer-footer {
  margin-top: auto;
  padding-top: 30px;
}

.btn-full {
  width: 100%;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.section-tag {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.slot-facade-container {
  width: 100%;
  height: 560px;
  max-height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  background: #101524;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
}

.slot-facade-img {
  max-width: 320px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.slot-facade-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 8px;
}

.slot-facade-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn-launch-demo {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.story-text-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.story-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.story-quote-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-gold);
  line-height: 1.3;
  margin-bottom: 18px;
}

.story-quote-cite {
  display: block;
  color: var(--text-main);
  font-weight: 600;
  font-style: normal;
  margin-bottom: 20px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mascot-media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.team-card-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-card-role {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.step-marker {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-serif);
  margin-bottom: 10px;
  display: block;
}

.step-card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-card-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.footer-brand-logo {
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-disclaimer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-age-badge {
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 700;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.modal-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn-flex {
  flex: 1;
}

.text-center {
  text-align: center !important;
}

.text-center .hero-disc,
.text-center .hero-tag,
.text-center .section-sub,
.text-center .pills-group,
.text-center .hero-cta-group,
.text-center .pill-row {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.page-content-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.page-content-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-top: 36px;
  margin-bottom: 14px;
}

.page-content-card h2:first-child {
  margin-top: 0;
}

.page-content-card h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-content-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.page-content-card ul, .page-content-card ol {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.page-content-card li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-content-card strong {
  color: var(--text-main);
}

.page-content-card a {
  color: var(--color-gold);
  text-decoration: underline;
}

.page-content-card a:hover {
  color: var(--color-gold-bright);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px;
  background: rgba(8, 10, 14, 0.6);
  border: 1px solid var(--glass-border-light);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
}

/* Footer */
.footer {
  background: #05070a;
  border-top: 1px solid var(--glass-border-light);
  padding: 60px 0 30px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 14px 0;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile First Polish <=991px, <=768px, <=480px, <=340px)
   ========================================================================== */

@media screen and (max-width: 991px) {
  .nav-links, .nav-row > div > .btn-primary {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-grid .hero-cta-group,
  .hero-grid .pills-group,
  .hero-grid .pill-row {
    justify-content: center;
  }

  .hero-grid .hero-disc,
  .hero-grid .hero-tag,
  .hero-grid .story-text-block {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .pills-group {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .hero-section {
    padding: 50px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .slot-switcher-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .slot-switcher-bar .btn {
    flex-shrink: 0;
    padding: 10px 18px;
    min-height: 42px;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .glass-card {
    padding: 22px 18px;
  }

  .card-thumb {
    height: 160px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-tag {
    font-size: 1rem;
  }

  .hero-disc {
    font-size: 0.88rem;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 0.88rem;
  }

  .age-gate-card {
    padding: 24px 16px;
  }
}

@media screen and (max-width: 340px) {
  html {
    font-size: 13px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .mobile-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}
