/* ==========================================================================
   Queen Casino - style-eb2e.css
   Mobile-first stylesheet. All custom classes use the g2e3- prefix.
   Palette: #FF4500 (primary) | #DEB887 (gold) | #FFEB3B (highlight)
            #FFFACD (light)  | #0D1117 (dark background)
   ========================================================================== */

:root {
  --g2e3-primary: #FF4500;
  --g2e3-primary-dark: #c33a00;
  --g2e3-gold: #DEB887;
  --g2e3-highlight: #FFEB3B;
  --g2e3-light: #FFFACD;
  --g2e3-dark: #0D1117;
  --g2e3-dark-2: #161b22;
  --g2e3-dark-3: #1f2630;
  --g2e3-text: #f5f5f5;
  --g2e3-text-soft: #b9b9c4;
  --g2e3-border: rgba(222, 184, 135, 0.25);
  --g2e3-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.45);
  --g2e3-radius: 1rem;
  --g2e3-header-h: 6rem;
  --g2e3-nav-h: 6.4rem;
}

/* ----- Reset & base ----- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--g2e3-dark);
  color: var(--g2e3-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--g2e3-highlight);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
}

ul {
  list-style: none;
}

/* ----- Layout containers ----- */
.g2e3-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g2e3-section {
  padding: 2.4rem 0 1.6rem;
}

.g2e3-wrapper {
  padding-top: var(--g2e3-header-h);
}

/* ----- Header / top navigation ----- */
.g2e3-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--g2e3-header-h);
  background: linear-gradient(180deg, #0a0e14 0%, #11161e 100%);
  border-bottom: 0.2rem solid var(--g2e3-primary);
  box-shadow: var(--g2e3-shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.g2e3-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g2e3-text);
  font-weight: 800;
  font-size: 1.8rem;
}

.g2e3-logo img,
.g2e3-logo-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  object-fit: cover;
  background: var(--g2e3-primary);
}

.g2e3-logo span {
  background: linear-gradient(90deg, var(--g2e3-highlight), var(--g2e3-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.g2e3-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g2e3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  min-height: 3.4rem;
  line-height: 1;
  font-family: inherit;
}

.g2e3-btn:active {
  transform: scale(0.94);
}

.g2e3-btn-primary {
  background: linear-gradient(135deg, var(--g2e3-primary), #ff7a3a);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(255, 69, 0, 0.45);
}

.g2e3-btn-secondary {
  background: transparent;
  color: var(--g2e3-highlight);
  border: 0.15rem solid var(--g2e3-gold);
}

.g2e3-btn-gold {
  background: linear-gradient(135deg, var(--g2e3-gold), #f0d9a8);
  color: var(--g2e3-dark);
  box-shadow: 0 0.3rem 0.8rem rgba(222, 184, 135, 0.45);
}

.g2e3-btn-block {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
}

.g2e3-menu-toggle {
  background: transparent;
  border: 0.15rem solid var(--g2e3-border);
  color: var(--g2e3-gold);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ----- Mobile slide-in menu ----- */
.g2e3-mobile-menu {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--g2e3-dark-2);
  z-index: 9999;
  padding: 2.2rem 1.6rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 0.2rem solid var(--g2e3-primary);
}

.g2e3-mobile-menu.g2e3-menu-open {
  right: 0;
}

.g2e3-mobile-menu h3 {
  color: var(--g2e3-highlight);
  font-size: 1.5rem;
  margin: 1.6rem 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border-bottom: 0.1rem dashed var(--g2e3-border);
  padding-bottom: 0.4rem;
}

.g2e3-mobile-menu ul li a {
  display: block;
  padding: 0.9rem 0.4rem;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.06);
  color: var(--g2e3-text);
  font-size: 1.4rem;
}

.g2e3-mobile-menu ul li a:hover {
  color: var(--g2e3-primary);
  padding-left: 0.8rem;
}

.g2e3-menu-close {
  background: transparent;
  border: none;
  color: var(--g2e3-text-soft);
  font-size: 1.8rem;
  float: right;
  cursor: pointer;
}

.g2e3-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.g2e3-overlay.g2e3-overlay-show {
  opacity: 1;
  visibility: visible;
}

/* ----- Carousel ----- */
.g2e3-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--g2e3-radius);
  overflow: hidden;
  margin-top: 1.4rem;
  box-shadow: var(--g2e3-shadow);
  aspect-ratio: 16 / 9;
  background: var(--g2e3-dark-2);
}

.g2e3-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--g2e3-carousel-fade, 0.6s) ease;
  z-index: 1;
}

.g2e3-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g2e3-carousel-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(13, 17, 23, 0.7);
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  color: var(--g2e3-highlight);
  font-weight: 700;
}

.g2e3-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.g2e3-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
}

.g2e3-carousel-dot.g2e3-dot-active {
  background: var(--g2e3-primary);
  transform: scale(1.2);
}

/* ----- Section heading ----- */
.g2e3-section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  color: var(--g2e3-text);
}

.g2e3-section-title i {
  color: var(--g2e3-primary);
  font-size: 2rem;
}

.g2e3-section-title .g2e3-accent {
  color: var(--g2e3-highlight);
}

.g2e3-subtitle {
  color: var(--g2e3-text-soft);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

/* ----- Hero ----- */
.g2e3-hero {
  padding: 1.6rem 0 2.2rem;
  text-align: center;
}

.g2e3-hero h1 {
  font-size: 2.4rem;
  margin: 1rem 0;
  color: var(--g2e3-text);
  line-height: 1.2;
}

.g2e3-hero h1 .g2e3-accent {
  color: var(--g2e3-primary);
}

.g2e3-hero p {
  color: var(--g2e3-text-soft);
  margin-bottom: 1.4rem;
}

.g2e3-hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ----- Filter chips ----- */
.g2e3-filter {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.g2e3-filter::-webkit-scrollbar {
  display: none;
}

.g2e3-filter-chip {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  background: var(--g2e3-dark-3);
  color: var(--g2e3-text-soft);
  font-size: 1.3rem;
  font-weight: 600;
  border: 0.1rem solid var(--g2e3-border);
  cursor: pointer;
  white-space: nowrap;
}

.g2e3-filter-chip.g2e3-chip-active {
  background: var(--g2e3-primary);
  color: #fff;
  border-color: var(--g2e3-primary);
}

/* ----- Game grid ----- */
.g2e3-game-section {
  margin-bottom: 2rem;
}

.g2e3-game-cat-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  margin: 1rem 0 0.9rem;
  color: var(--g2e3-gold);
  border-left: 0.4rem solid var(--g2e3-primary);
  padding-left: 0.8rem;
}

.g2e3-game-cat-title i {
  font-size: 1.8rem;
  color: var(--g2e3-highlight);
}

.g2e3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.g2e3-game-card {
  display: block;
  background: var(--g2e3-dark-2);
  border-radius: 0.8rem;
  overflow: hidden;
  border: 0.1rem solid var(--g2e3-border);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.g2e3-game-card:hover,
.g2e3-game-card:active {
  transform: translateY(-0.3rem);
  border-color: var(--g2e3-primary);
  box-shadow: 0 0.4rem 1rem rgba(255, 69, 0, 0.25);
}

.g2e3-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--g2e3-dark-3);
}

.g2e3-game-card .g2e3-game-name {
  display: block;
  font-size: 1.15rem;
  color: var(--g2e3-text);
  padding: 0.4rem 0.3rem 0.6rem;
  line-height: 1.2;
  min-height: 3rem;
  font-weight: 600;
}

/* ----- Info / feature cards ----- */
.g2e3-card {
  background: var(--g2e3-dark-2);
  border-radius: var(--g2e3-radius);
  padding: 1.4rem;
  border: 0.1rem solid var(--g2e3-border);
  margin-bottom: 1rem;
  box-shadow: var(--g2e3-shadow);
}

.g2e3-card h3 {
  color: var(--g2e3-highlight);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g2e3-card p {
  color: var(--g2e3-text-soft);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.g2e3-card-list {
  margin-top: 0.6rem;
}

.g2e3-card-list li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: var(--g2e3-text-soft);
  font-size: 1.3rem;
}

.g2e3-card-list li::before {
  content: "★";
  color: var(--g2e3-primary);
  position: absolute;
  left: 0;
  top: 0.4rem;
}

/* ----- Two-column feature grid ----- */
.g2e3-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.g2e3-feature {
  background: var(--g2e3-dark-2);
  border-radius: 0.8rem;
  padding: 1.1rem 0.8rem;
  text-align: center;
  border: 0.1rem solid var(--g2e3-border);
}

.g2e3-feature i {
  font-size: 2.4rem;
  color: var(--g2e3-primary);
  margin-bottom: 0.5rem;
}

.g2e3-feature h4 {
  font-size: 1.3rem;
  color: var(--g2e3-highlight);
  margin-bottom: 0.3rem;
}

.g2e3-feature p {
  font-size: 1.2rem;
  color: var(--g2e3-text-soft);
}

/* ----- RTP compact table ----- */
.g2e3-rtp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.g2e3-rtp-item {
  background: var(--g2e3-dark-3);
  border-radius: 0.6rem;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
}

.g2e3-rtp-item .g2e3-rtp-name {
  color: var(--g2e3-text);
  font-weight: 600;
}

.g2e3-rtp-item .g2e3-rtp-value {
  color: var(--g2e3-highlight);
  font-weight: 800;
}

/* ----- Testimonials ----- */
.g2e3-testimonial {
  background: var(--g2e3-dark-2);
  border-radius: 0.8rem;
  padding: 1.1rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--g2e3-primary);
}

.g2e3-testimonial .g2e3-stars {
  color: var(--g2e3-highlight);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.g2e3-testimonial p {
  color: var(--g2e3-text-soft);
  font-size: 1.3rem;
  font-style: italic;
}

.g2e3-testimonial .g2e3-author {
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--g2e3-gold);
  font-size: 1.25rem;
}

/* ----- Winners showcase ----- */
.g2e3-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--g2e3-dark-3);
  border-radius: 0.6rem;
  padding: 0.7rem;
  margin-bottom: 0.6rem;
}

.g2e3-winner .g2e3-winner-avatar {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--g2e3-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.g2e3-winner .g2e3-winner-info {
  flex: 1;
  font-size: 1.25rem;
}

.g2e3-winner .g2e3-winner-amount {
  color: var(--g2e3-highlight);
  font-weight: 800;
  font-size: 1.3rem;
}

/* ----- Payment grid ----- */
.g2e3-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.g2e3-pay-item {
  background: var(--g2e3-dark-3);
  border-radius: 0.6rem;
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--g2e3-text-soft);
  border: 0.1rem solid var(--g2e3-border);
}

.g2e3-pay-item i {
  font-size: 2rem;
  color: var(--g2e3-gold);
  display: block;
  margin-bottom: 0.3rem;
}

/* ----- Promo / text link inside content ----- */
.g2e3-inline-link {
  color: var(--g2e3-primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.g2e3-text-body {
  color: var(--g2e3-text-soft);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.g2e3-text-body strong {
  color: var(--g2e3-highlight);
}

/* ----- FAQ accordion ----- */
.g2e3-faq-item {
  background: var(--g2e3-dark-2);
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  border: 0.1rem solid var(--g2e3-border);
  overflow: hidden;
}

.g2e3-faq-q {
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--g2e3-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
}

.g2e3-faq-q .g2e3-faq-icon {
  color: var(--g2e3-primary);
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.g2e3-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--g2e3-text-soft);
  font-size: 1.3rem;
  padding: 0 1.1rem;
}

.g2e3-faq-item.g2e3-faq-open .g2e3-faq-a {
  max-height: 400px;
  padding: 0 1.1rem 1rem;
}

.g2e3-faq-item.g2e3-faq-open .g2e3-faq-icon {
  transform: rotate(45deg);
}

/* ----- App download CTA ----- */
.g2e3-app-cta {
  background: linear-gradient(135deg, var(--g2e3-primary), #ff7a3a);
  border-radius: var(--g2e3-radius);
  padding: 1.4rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

.g2e3-app-cta h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.g2e3-app-cta p {
  color: #fff4ec;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.g2e3-app-cta .g2e3-app-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Footer ----- */
.g2e3-footer {
  background: #06090d;
  padding: 2.2rem 1.2rem 9rem;
  border-top: 0.2rem solid var(--g2e3-primary);
  margin-top: 2rem;
}

.g2e3-footer-brand {
  color: var(--g2e3-text-soft);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.g2e3-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.4rem;
}

.g2e3-footer-promo .g2e3-btn {
  flex: 1 1 auto;
  padding: 0.6rem 0.9rem;
  font-size: 1.2rem;
}

.g2e3-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.8rem;
  margin-bottom: 1.2rem;
}

.g2e3-footer-links a {
  font-size: 1.2rem;
  color: var(--g2e3-text-soft);
  padding: 0.3rem 0;
}

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

.g2e3-footer-copy {
  border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  font-size: 1.15rem;
  color: var(--g2e3-text-soft);
  text-align: center;
}

/* ----- Mobile bottom navigation ----- */
.g2e3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--g2e3-nav-h);
  background: linear-gradient(180deg, #11161e, #06090d);
  border-top: 0.15rem solid var(--g2e3-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0, 0, 0, 0.5);
}

.g2e3-bottom-nav-item {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--g2e3-text-soft);
  font-size: 1.1rem;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  transition: color 0.18s ease, transform 0.18s ease;
}

.g2e3-bottom-nav-item i,
.g2e3-bottom-nav-item .material-icons,
.g2e3-bottom-nav-item .bi {
  font-size: 2.2rem;
  line-height: 1;
}

.g2e3-bottom-nav-item.g2e3-active {
  color: var(--g2e3-highlight);
}

.g2e3-bottom-nav-item.g2e3-promo {
  color: var(--g2e3-gold);
}

.g2e3-bottom-nav-item:active {
  transform: scale(0.9);
  color: var(--g2e3-primary);
}

.g2e3-bottom-nav-item.g2e3-promo:active {
  color: var(--g2e3-primary);
}

/* ----- Back to top ----- */
.g2e3-back-top {
  position: fixed;
  right: 1.2rem;
  bottom: calc(var(--g2e3-nav-h) + 1rem);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--g2e3-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
  box-shadow: 0 0.3rem 0.9rem rgba(255, 69, 0, 0.5);
}

.g2e3-back-top.g2e3-back-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ----- Reveal animation ----- */
.g2e3-reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.g2e3-reveal.g2e3-reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Disclaimer ----- */
.g2e3-disclaimer {
  background: rgba(255, 69, 0, 0.08);
  border: 0.1rem solid rgba(255, 69, 0, 0.3);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
  font-size: 1.2rem;
  color: var(--g2e3-text-soft);
  margin-top: 1rem;
}

/* ----- Mobile clearance for fixed bottom navigation ----- */
@media (max-width: 768px) {
  main.g2e3-wrapper {
    padding-bottom: 8rem;
  }
}

/* ----- Desktop: hide bottom nav, widen container ----- */
@media (min-width: 769px) {
  body {
    max-width: 480px;
  }
  .g2e3-bottom-nav {
    display: none;
  }
  .g2e3-footer {
    padding-bottom: 2.4rem;
  }
}

/* ----- Small phone tweaks ----- */
@media (max-width: 360px) {
  .g2e3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .g2e3-hero h1 {
    font-size: 2rem;
  }
  .g2e3-btn {
    padding: 0.6rem 0.9rem;
    font-size: 1.2rem;
  }
}
