/* ====================================
   37jl casino - design.css
   Mobile-first responsive design
   All classes use prefix: gc33-
   ==================================== */

:root {
  --gc33-bg-dark: #0E1621;
  --gc33-bg-darker: #050B14;
  --gc33-bg-card: #131E2C;
  --gc33-primary: #48D1CC;
  --gc33-primary-light: #AFEEEE;
  --gc33-gold: #DEB887;
  --gc33-gold-bright: #F1C690;
  --gc33-cream: #FFEFD5;
  --gc33-muted: #E5E5E5;
  --gc33-border: rgba(72, 209, 204, 0.18);
  --gc33-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  --gc33-shadow-hover: 0 6px 30px rgba(72, 209, 204, 0.28);
  --gc33-radius: 14px;
  --gc33-radius-sm: 9px;
  --gc33-transition: all 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--gc33-bg-dark);
  color: var(--gc33-cream);
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

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

a { color: var(--gc33-primary); text-decoration: none; transition: var(--gc33-transition); }
a:hover { color: var(--gc33-primary-light); }

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

/* ========== Header ========== */
.gc33-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(14, 22, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gc33-border);
  z-index: 1000;
  padding: 0.55rem 0.8rem;
}

.gc33-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  max-width: 430px;
  margin: 0 auto;
}

.gc33-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gc33-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.gc33-logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gc33-primary-light);
  letter-spacing: 0.3px;
  line-height: 1;
}

.gc33-logo-text span { color: var(--gc33-gold); }

.gc33-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Buttons */
.gc33-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--gc33-radius-sm);
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--gc33-transition);
  white-space: nowrap;
  min-height: 36px;
  font-family: inherit;
}

.gc33-btn-primary {
  background: linear-gradient(135deg, var(--gc33-gold) 0%, #B8915B 100%);
  color: var(--gc33-bg-dark);
  box-shadow: 0 2px 8px rgba(222, 184, 135, 0.3);
}

.gc33-btn-secondary {
  background: var(--gc33-primary);
  color: var(--gc33-bg-dark);
}

.gc33-btn-ghost {
  background: rgba(72, 209, 204, 0.08);
  border: 1px solid var(--gc33-primary);
  color: var(--gc33-primary-light);
}

.gc33-btn:hover { transform: translateY(-1px); box-shadow: var(--gc33-shadow); }

.gc33-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gc33-radius-sm);
  background: rgba(72, 209, 204, 0.1);
  color: var(--gc33-primary);
  border: none;
  cursor: pointer;
  transition: var(--gc33-transition);
  font-size: 1.7rem;
}

.gc33-icon-btn:hover { background: rgba(72, 209, 204, 0.25); transform: rotate(90deg); }

/* ========== Mobile menu ========== */
.gc33-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--gc33-bg-darker);
  z-index: 9999;
  padding: 5rem 1.2rem 1.8rem;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  border-bottom: 1px solid var(--gc33-border);
  max-height: 100vh;
  overflow-y: auto;
}

.gc33-mobile-menu.gc33-open { transform: translateY(0); }

.gc33-menu-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--gc33-primary-light);
  font-size: 2rem;
  cursor: pointer;
}

.gc33-menu-title {
  color: var(--gc33-primary);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0.8rem 0 0.6rem;
  border-bottom: 1px solid var(--gc33-border);
  padding-bottom: 0.4rem;
  font-weight: 700;
}

.gc33-menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gc33-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(72, 209, 204, 0.08);
  border-radius: var(--gc33-radius-sm);
  color: var(--gc33-cream);
  font-size: 1.25rem;
  font-weight: 500;
  transition: var(--gc33-transition);
}

.gc33-menu-list a i { color: var(--gc33-gold); font-size: 1.4rem; }
.gc33-menu-list a:hover { background: rgba(72, 209, 204, 0.22); color: var(--gc33-primary-light); transform: translateX(2px); }

/* ========== Main content ========== */
main {
  padding-top: 5.2rem;
  padding-bottom: 80px;
}

.gc33-section { padding: 1.5rem 0; }

.gc33-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gc33-primary-light);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.3;
}

.gc33-section-title i { color: var(--gc33-gold); font-size: 1.8rem; }

.gc33-section-subtitle {
  font-size: 1.35rem;
  color: var(--gc33-gold);
  margin: 0.9rem 0 0.5rem;
  font-weight: 700;
}

.gc33-lead {
  font-size: 1.35rem;
  color: var(--gc33-muted);
  line-height: 1.65;
  margin-bottom: 0.7rem;
}

.gc33-text p { margin-bottom: 0.7rem; color: var(--gc33-muted); line-height: 1.65; }
.gc33-text strong { color: var(--gc33-primary-light); }
.gc33-text em { color: var(--gc33-gold); font-style: normal; font-weight: 600; }

/* ========== Carousel ========== */
.gc33-carousel {
  position: relative;
  border-radius: var(--gc33-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
  background: var(--gc33-bg-darker);
  box-shadow: var(--gc33-shadow);
}

.gc33-carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.gc33-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

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

.gc33-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,22,33,0.75));
  pointer-events: none;
}

.gc33-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.gc33-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(175, 238, 238, 0.45);
  cursor: pointer;
  transition: var(--gc33-transition);
  border: none;
  padding: 0;
}

.gc33-carousel-dot.gc33-active {
  background: var(--gc33-gold);
  width: 20px;
  border-radius: 4px;
}

/* Hero H1 */
.gc33-hero-title {
  font-size: 1.9rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--gc33-primary-light);
  margin: 0.8rem 0 0.5rem;
}

.gc33-hero-title strong { color: var(--gc33-gold); }

.gc33-hero-sub {
  font-size: 1.3rem;
  color: var(--gc33-muted);
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

/* ========== Game grid ========== */
.gc33-games-block { margin-bottom: 1.5rem; }

.gc33-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--gc33-border);
}

.gc33-cat-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gc33-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gc33-cat-header h2 i { color: var(--gc33-gold); }

.gc33-cat-tag {
  font-size: 1rem;
  background: rgba(222, 184, 135, 0.15);
  color: var(--gc33-gold);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.gc33-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.gc33-game-card {
  background: var(--gc33-bg-card);
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius-sm);
  padding: 0.4rem;
  text-align: center;
  transition: var(--gc33-transition);
  cursor: pointer;
  overflow: hidden;
}

.gc33-game-card:hover {
  border-color: var(--gc33-primary);
  transform: translateY(-3px);
  box-shadow: var(--gc33-shadow-hover);
}

.gc33-game-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}

.gc33-game-name {
  font-size: 1.05rem;
  color: var(--gc33-cream);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Card / panel ========== */
.gc33-card {
  background: var(--gc33-bg-card);
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.gc33-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gc33-primary-light);
  margin-bottom: 0.5rem;
}

/* Inline promo link */
.gc33-promo-link {
  color: var(--gc33-gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(222, 184, 135, 0.4);
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  display: inline;
}

.gc33-promo-link:hover { color: var(--gc33-gold-bright); }

/* Features list */
.gc33-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 0.8rem 0;
}

.gc33-feature-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
  background: rgba(72, 209, 204, 0.05);
  border-left: 3px solid var(--gc33-primary);
  border-radius: var(--gc33-radius-sm);
}

.gc33-feature-icon {
  color: var(--gc33-gold);
  font-size: 1.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.gc33-feature-text {
  color: var(--gc33-muted);
  font-size: 1.22rem;
  line-height: 1.5;
}

.gc33-feature-text strong { color: var(--gc33-primary-light); }

/* Steps */
.gc33-steps { list-style: none; counter-reset: step; margin: 0.8rem 0; }
.gc33-step {
  counter-increment: step;
  padding: 0.7rem 0.7rem 0.7rem 3rem;
  position: relative;
  margin-bottom: 0.5rem;
  background: rgba(72, 209, 204, 0.05);
  border-radius: var(--gc33-radius-sm);
  font-size: 1.22rem;
  color: var(--gc33-muted);
  line-height: 1.5;
}
.gc33-step::before {
  content: counter(step);
  position: absolute;
  left: 0.7rem; top: 0.7rem;
  width: 1.8rem; height: 1.8rem;
  background: var(--gc33-gold);
  color: var(--gc33-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.gc33-step strong { color: var(--gc33-primary-light); }

/* Testimonials */
.gc33-testimonials { display: grid; gap: 0.7rem; margin: 0.8rem 0; }
.gc33-testimonial {
  background: rgba(222, 184, 135, 0.06);
  border: 1px solid rgba(222, 184, 135, 0.22);
  border-radius: var(--gc33-radius-sm);
  padding: 0.9rem 1rem;
}
.gc33-testimonial-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  align-items: center;
}
.gc33-testimonial-name { color: var(--gc33-gold); font-weight: 700; }
.gc33-testimonial-stars { color: #FFD700; font-size: 1.05rem; letter-spacing: 1px; }
.gc33-testimonial-text { color: var(--gc33-muted); font-size: 1.18rem; line-height: 1.55; }

/* Payment methods */
.gc33-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.gc33-pay-item {
  background: rgba(175, 238, 238, 0.06);
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius-sm);
  padding: 0.75rem 0.3rem;
  text-align: center;
  font-size: 1rem;
  color: var(--gc33-cream);
  font-weight: 600;
}
.gc33-pay-item i, .gc33-pay-item .material-icons-outlined {
  font-size: 1.6rem;
  color: var(--gc33-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* Winners */
.gc33-winners { display: grid; gap: 0.45rem; margin: 0.7rem 0; }
.gc33-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.8rem;
  background: rgba(72, 209, 204, 0.06);
  border-left: 3px solid var(--gc33-gold);
  border-radius: var(--gc33-radius-sm);
  font-size: 1.15rem;
}
.gc33-winner-name { color: var(--gc33-primary-light); font-weight: 700; }
.gc33-winner-game { color: var(--gc33-muted); font-size: 1rem; }
.gc33-winner-amount { color: var(--gc33-gold); font-weight: 800; }

/* RTP bars */
.gc33-rtp-row { margin-bottom: 0.75rem; }
.gc33-rtp-header { display: flex; justify-content: space-between; margin-bottom: 0.3rem; font-size: 1.15rem; }
.gc33-rtp-name { color: var(--gc33-cream); font-weight: 600; }
.gc33-rtp-value { color: var(--gc33-gold); font-weight: 700; }
.gc33-rtp-bar {
  height: 7px;
  background: rgba(175, 238, 238, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.gc33-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gc33-primary), var(--gc33-gold));
  border-radius: 4px;
}

/* FAQ */
.gc33-faq-item {
  background: var(--gc33-bg-card);
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius-sm);
  margin-bottom: 0.55rem;
  overflow: hidden;
}
.gc33-faq-q {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gc33-primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.22rem;
  gap: 0.5rem;
}
.gc33-faq-q .gc33-faq-toggle { color: var(--gc33-gold); transition: var(--gc33-transition); }
.gc33-faq-item.gc33-open .gc33-faq-toggle { transform: rotate(45deg); }
.gc33-faq-a {
  padding: 0 1rem 0.9rem;
  color: var(--gc33-muted);
  font-size: 1.18rem;
  display: none;
  line-height: 1.55;
}
.gc33-faq-item.gc33-open .gc33-faq-a { display: block; }

/* Promo CTA strip */
.gc33-cta-strip {
  background: linear-gradient(135deg, rgba(72, 209, 204, 0.12), rgba(222, 184, 135, 0.12));
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius);
  padding: 1rem 1.2rem;
  text-align: center;
  margin: 1rem 0;
}
.gc33-cta-strip h3 { color: var(--gc33-gold); font-size: 1.45rem; margin-bottom: 0.3rem; }
.gc33-cta-strip p { color: var(--gc33-muted); font-size: 1.18rem; margin-bottom: 0.7rem; }

/* App download box */
.gc33-app-box {
  background: linear-gradient(135deg, rgba(72, 209, 204, 0.1), rgba(222, 184, 135, 0.1));
  border: 1px solid var(--gc33-border);
  border-radius: var(--gc33-radius);
  padding: 1.2rem;
  text-align: center;
  margin: 1rem 0;
}
.gc33-app-box h3 { color: var(--gc33-primary-light); font-size: 1.45rem; margin-bottom: 0.4rem; }
.gc33-app-box p { color: var(--gc33-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.gc33-app-box .gc33-btn { margin: 0.3rem; }

/* ========== Footer ========== */
.gc33-footer {
  background: var(--gc33-bg-darker);
  border-top: 1px solid var(--gc33-border);
  padding: 1.6rem 0 1.2rem;
  margin-top: 1.5rem;
}

.gc33-footer-brand {
  color: var(--gc33-muted);
  font-size: 1.18rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.gc33-footer-brand strong { color: var(--gc33-primary-light); }

.gc33-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.gc33-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.8rem;
  margin: 1rem 0;
  font-size: 1.15rem;
}

.gc33-footer-links a {
  color: var(--gc33-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gc33-footer-links a i { color: var(--gc33-primary); font-size: 1.2rem; }

.gc33-footer-copy {
  text-align: center;
  color: rgba(229, 229, 229, 0.55);
  font-size: 1.05rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gc33-border);
  line-height: 1.5;
}

/* ========== Mobile bottom nav ========== */
.gc33-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(14,22,33,0.98), rgba(5,11,20,0.99));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gc33-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.35rem 0.25rem;
  z-index: 1000;
  height: 62px;
  max-width: 430px;
  margin: 0 auto;
}

.gc33-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--gc33-muted);
  text-decoration: none;
  padding: 0.25rem;
  border-radius: var(--gc33-radius-sm);
  transition: var(--gc33-transition);
  min-height: 54px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  position: relative;
}

.gc33-nav-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gc33-gold);
  transition: width 0.3s ease;
  border-radius: 0 0 4px 4px;
}

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

.gc33-nav-item.gc33-active::before { width: 28px; }

.gc33-nav-icon {
  font-size: 2.1rem;
  line-height: 1;
}

.gc33-nav-icon.fa, .gc33-nav-icon.fas, .gc33-nav-icon.far { font-size: 1.9rem; }
.gc33-nav-icon.material-icons-outlined { font-size: 2.1rem; }

.gc33-nav-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.gc33-nav-item:hover .gc33-nav-icon { transform: scale(1.15); }

/* Desktop */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .gc33-wrapper { max-width: 1200px; }
  .gc33-header-inner { max-width: 1200px; }
  .gc33-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .gc33-game-grid { grid-template-columns: repeat(6, 1fr); }
  .gc33-features { grid-template-columns: repeat(2, 1fr); }
  .gc33-testimonials { grid-template-columns: repeat(3, 1fr); }
  .gc33-footer-promos { grid-template-columns: repeat(4, 1fr); }
  .gc33-footer-links { grid-template-columns: repeat(5, 1fr); }
  .gc33-pay-grid { grid-template-columns: repeat(8, 1fr); }
  .gc33-carousel { aspect-ratio: 21/9; }
}

/* Utility */
.gc33-text-center { text-align: center; }
.gc33-mt-1 { margin-top: 0.5rem; }
.gc33-mt-2 { margin-top: 1rem; }
.gc33-mb-1 { margin-bottom: 0.5rem; }
.gc33-mb-2 { margin-bottom: 1rem; }
.gc33-hidden-mobile { display: none; }

@media (min-width: 769px) {
  .gc33-hidden-mobile { display: block; }
  .gc33-hidden-desktop { display: none; }
}
