/* tiebreaker times - design.css
   Color palette: #696969 | #4A4A4A | #2C3E50 | #F0F0F0 | #212F3D
   All custom classes use the pg11- prefix. */

:root {
  --pg11-primary: #2C3E50;
  --pg11-deep: #212F3D;
  --pg11-mid: #4A4A4A;
  --pg11-grey: #696969;
  --pg11-light: #F0F0F0;
  --pg11-accent: #E5B567;
  --pg11-gold: #F4C77A;
  --pg11-bg: #212F3D;
  --pg11-text: #F0F0F0;
  --pg11-radius: 14px;
  --pg11-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--pg11-bg);
  color: var(--pg11-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pg11-gold); text-decoration: none; }

/* Layout */
.pg11-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.pg11-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.pg11-section { padding: 28px 0; }
.pg11-section-title { font-size: 2.2rem; font-weight: 700; margin: 0 0 6px; color: var(--pg11-light); }
.pg11-section-sub { font-size: 1.4rem; color: var(--pg11-grey); margin: 0 0 18px; }
.pg11-divider { height: 1px; background: rgba(240, 240, 240, 0.08); margin: 22px 0; border: 0; }

/* Header */
.pg11-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #212F3D 0%, #2C3E50 100%);
  border-bottom: 1px solid rgba(245, 197, 122, 0.18);
  box-shadow: var(--pg11-shadow);
}
.pg11-header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; max-width: 430px; margin: 0 auto;
}
.pg11-logo { display: flex; align-items: center; gap: 8px; color: var(--pg11-light); }
.pg11-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg11-logo-text { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.3px; }
.pg11-logo-text span { color: var(--pg11-gold); }
.pg11-header-actions { display: flex; align-items: center; gap: 8px; }
.pg11-icon-btn {
  background: transparent; border: 0; color: var(--pg11-light);
  font-size: 2rem; padding: 6px; cursor: pointer; border-radius: 8px;
}
.pg11-icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.pg11-btn {
  border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer;
  font-size: 1.35rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.pg11-btn:hover { transform: translateY(-1px); }
.pg11-btn-primary {
  background: linear-gradient(135deg, #F4C77A 0%, #E5B567 100%);
  color: #212F3D; box-shadow: 0 4px 12px rgba(229, 181, 103, 0.35);
}
.pg11-btn-outline {
  background: transparent; color: var(--pg11-light);
  border: 1.5px solid rgba(244, 199, 122, 0.55);
}

/* Mobile menu */
.pg11-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--pg11-deep); z-index: 9999;
  padding: 70px 18px 20px; transition: right 0.28s ease;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4); overflow-y: auto;
}
.pg11-mobile-menu.pg11-active { right: 0; }
.pg11-menu-close {
  position: absolute; top: 14px; right: 14px; background: transparent;
  border: 0; color: var(--pg11-light); font-size: 2.4rem; cursor: pointer;
}
.pg11-mobile-menu a {
  display: block; padding: 12px 14px; color: var(--pg11-light);
  font-size: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pg11-mobile-menu a:hover { background: rgba(244, 199, 122, 0.08); color: var(--pg11-gold); }
.pg11-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.pg11-overlay.pg11-active { opacity: 1; visibility: visible; }

/* Hero / Carousel */
.pg11-hero { position: relative; overflow: hidden; }
.pg11-slides { position: relative; }
.pg11-slide {
  position: relative; display: none; cursor: pointer;
}
.pg11-slide.pg11-active { display: block; }
.pg11-slide img { width: 100%; height: 220px; object-fit: cover; }
.pg11-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33, 47, 61, 0) 40%, rgba(33, 47, 61, 0.85) 100%);
}
.pg11-slide-caption {
  position: absolute; bottom: 14px; left: 16px; right: 16px; z-index: 2;
  color: var(--pg11-light);
}
.pg11-slide-caption h2 { font-size: 2rem; margin: 0 0 4px; font-weight: 800; }
.pg11-slide-caption p { font-size: 1.3rem; margin: 0; color: var(--pg11-gold); }
.pg11-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.pg11-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240, 240, 240, 0.35); cursor: pointer; border: 0;
}
.pg11-dot.pg11-active { background: var(--pg11-gold); width: 22px; border-radius: 4px; }

/* Hero CTA strip */
.pg11-cta-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px;
}
.pg11-cta-card {
  background: linear-gradient(135deg, #2C3E50, #212F3D);
  border: 1px solid rgba(244, 199, 122, 0.2);
  border-radius: var(--pg11-radius); padding: 14px; text-align: center; cursor: pointer;
  transition: transform 0.15s ease;
}
.pg11-cta-card:hover { transform: translateY(-2px); }
.pg11-cta-card i { font-size: 2.4rem; color: var(--pg11-gold); }
.pg11-cta-card span { display: block; font-size: 1.3rem; margin-top: 6px; color: var(--pg11-light); }

/* Search */
.pg11-search-wrap { margin: 6px 0 16px; }
.pg11-search-input {
  width: 100%; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(244, 199, 122, 0.3);
  background: rgba(255, 255, 255, 0.06); color: var(--pg11-light); font-size: 1.4rem;
  font-family: inherit;
}
.pg11-search-input::placeholder { color: var(--pg11-grey); }

/* Game grid */
.pg11-cat-block { margin-bottom: 24px; }
.pg11-cat-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.pg11-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--pg11-gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.pg11-cat-title i { font-size: 2rem; }
.pg11-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.pg11-game-card {
  background: rgba(255, 255, 255, 0.04); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pg11-game-card:hover { transform: translateY(-3px); box-shadow: var(--pg11-shadow); }
.pg11-game-card img { width: 100%; height: 86px; object-fit: cover; }
.pg11-game-name {
  font-size: 1.15rem; color: var(--pg11-light); padding: 6px 4px 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Info / content blocks */
.pg11-card {
  background: linear-gradient(135deg, #2C3E50, #212F3D);
  border: 1px solid rgba(244, 199, 122, 0.15);
  border-radius: var(--pg11-radius); padding: 18px; margin-bottom: 14px;
}
.pg11-card h2 { font-size: 1.9rem; margin: 0 0 8px; color: var(--pg11-gold); }
.pg11-card h3 { font-size: 1.55rem; margin: 14px 0 6px; color: var(--pg11-light); }
.pg11-card p { font-size: 1.4rem; margin: 0 0 10px; color: rgba(240, 240, 240, 0.85); }
.pg11-card ul { padding-left: 18px; margin: 8px 0; color: rgba(240, 240, 240, 0.85); font-size: 1.4rem; }
.pg11-card li { margin-bottom: 6px; }

/* Feature list */
.pg11-features { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pg11-feature {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255, 255, 255, 0.04); padding: 14px; border-radius: 12px;
  border-left: 3px solid var(--pg11-gold);
}
.pg11-feature .material-icons-outlined, .pg11-feature i { color: var(--pg11-gold); font-size: 2.4rem; }
.pg11-feature h3 { margin: 0 0 4px; font-size: 1.5rem; color: var(--pg11-light); }
.pg11-feature p { margin: 0; font-size: 1.3rem; color: var(--pg11-grey); }

/* Testimonials */
.pg11-testimonials { display: grid; gap: 10px; }
.pg11-testimonial {
  background: rgba(255, 255, 255, 0.04); padding: 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pg11-stars { color: var(--pg11-gold); font-size: 1.3rem; margin-bottom: 4px; }
.pg11-testimonial p { font-size: 1.35rem; margin: 0 0 8px; color: rgba(240, 240, 240, 0.9); }
.pg11-testimonial cite { font-size: 1.2rem; color: var(--pg11-grey); font-style: normal; }

/* Winners / payment strip */
.pg11-strip {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
}
.pg11-chip {
  background: rgba(244, 199, 122, 0.12); color: var(--pg11-light);
  padding: 8px 14px; border-radius: 999px; font-size: 1.25rem; white-space: nowrap;
  border: 1px solid rgba(244, 199, 122, 0.25);
}

/* RTP compact grid */
.pg11-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pg11-rtp-item {
  background: rgba(255, 255, 255, 0.04); padding: 10px; border-radius: 10px; text-align: center;
}
.pg11-rtp-item span { display: block; font-size: 1.15rem; color: var(--pg11-grey); }
.pg11-rtp-item strong { font-size: 1.6rem; color: var(--pg11-gold); }

/* App download CTA */
.pg11-app-cta {
  background: linear-gradient(135deg, #E5B567, #F4C77A); color: #212F3D;
  border-radius: var(--pg11-radius); padding: 18px; text-align: center;
}
.pg11-app-cta h2 { color: #212F3D; font-size: 1.8rem; margin: 0 0 6px; }
.pg11-app-cta p { color: #2C3E50; font-size: 1.35rem; margin: 0 0 12px; }

/* Footer */
.pg11-footer {
  background: #1a2530; padding: 28px 0 20px; margin-top: 20px;
  border-top: 1px solid rgba(244, 199, 122, 0.15);
}
.pg11-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px;
}
.pg11-footer-links a {
  font-size: 1.3rem; color: rgba(240, 240, 240, 0.75);
}
.pg11-footer-links a:hover { color: var(--pg11-gold); }
.pg11-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.pg11-footer-promo button {
  flex: 1 1 45%; padding: 10px; border-radius: 999px; font-size: 1.3rem; font-weight: 700;
  border: 1px solid rgba(244, 199, 122, 0.4); background: rgba(244, 199, 122, 0.08);
  color: var(--pg11-gold); cursor: pointer; font-family: inherit;
}
.pg11-footer-promo button:hover { background: rgba(244, 199, 122, 0.18); }
.pg11-footer p { font-size: 1.25rem; color: var(--pg11-grey); margin: 0 0 8px; }
.pg11-copyright { font-size: 1.2rem; color: var(--pg11-grey); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 14px; text-align: center; }

/* Bottom nav */
.pg11-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2C3E50, #212F3D);
  border-top: 1px solid rgba(244, 199, 122, 0.2);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}
.pg11-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--pg11-light); padding: 4px; position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}
.pg11-nav-btn i, .pg11-nav-btn .material-icons-outlined {
  font-size: 24px; transition: transform 0.15s ease;
}
.pg11-nav-btn span { font-size: 11px; }
.pg11-nav-btn:hover { color: var(--pg11-gold); }
.pg11-nav-btn:hover i { transform: scale(1.12); }
.pg11-nav-btn.pg11-active { color: var(--pg11-gold); }
.pg11-nav-btn.pg11-active::before {
  content: ""; position: absolute; top: 0; width: 30px; height: 3px;
  background: var(--pg11-gold); border-radius: 0 0 4px 4px;
}

/* Reveal animation */
.pg11-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.pg11-reveal.pg11-visible { opacity: 1; transform: translateY(0); }

/* Inline promo text link */
.pg11-aff-link { color: var(--pg11-gold); cursor: pointer; text-decoration: underline; }
.pg11-promo-text { color: var(--pg11-gold); font-weight: 600; }

/* Mobile padding clearance */
@media (max-width: 768px) {
  main, .pg11-main { padding-bottom: 80px; }
}

/* Desktop: hide bottom nav, expand container */
@media (min-width: 769px) {
  .pg11-bottom-nav { display: none; }
  .pg11-container, .pg11-wrapper, .pg11-header-row, .pg11-bottom-nav { max-width: 760px; }
  .pg11-grid { grid-template-columns: repeat(5, 1fr); }
  .pg11-features { grid-template-columns: 1fr 1fr; }
}
