/* ============================================================
   Lucky Spin - lucky-spin.css
   CSS class prefix: g442-
   Mobile-first design (max 430px), expandable to desktop
   ============================================================ */

:root {
  --g442-primary: #E65100;        /* deep orange */
  --g442-primary-dark: #BF3F00;
  --g442-bg: #2D2D2D;             /* dark background */
  --g442-bg-2: #1c1c1c;
  --g442-bg-3: #3a3a3a;
  --g442-text: #F08080;           /* light coral */
  --g442-pink: #FFB6C1;           /* light pink */
  --g442-white: #ffffff;
  --g442-grey: #c9c9c9;
  --g442-gold: #FFD54F;
  --g442-radius: 14px;
  --g442-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --g442-transition: all 0.28s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--g442-bg);
  color: var(--g442-white);
  line-height: 1.6;
  font-size: 1.5rem;
  overflow-x: hidden;
  padding-bottom: 70px;
}
a { color: var(--g442-pink); text-decoration: none; transition: var(--g442-transition); }
a:hover { color: var(--g442-gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.g442-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.g442-wrapper { padding: 18px 12px; }
.g442-section { padding: 26px 0; }
.g442-text-center { text-align: center; }
.g442-hidden { display: none !important; }

/* ---------- Header ---------- */
.g442-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #2D2D2D 100%);
  border-bottom: 2px solid var(--g442-primary);
  box-shadow: var(--g442-shadow);
}
.g442-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 10px;
}
.g442-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.7rem; color: var(--g442-white);
}
.g442-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g442-logo span { color: var(--g442-primary); }
.g442-header-actions { display: flex; align-items: center; gap: 6px; }
.g442-menu-btn {
  background: transparent; border: 0; color: var(--g442-white);
  font-size: 2.2rem; cursor: pointer; padding: 4px 8px;
}

/* ---------- Buttons ---------- */
.g442-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: 0; border-radius: 30px;
  font-size: 1.35rem; font-weight: 700; cursor: pointer;
  transition: var(--g442-transition); text-transform: uppercase;
  min-height: 38px; letter-spacing: 0.3px;
}
.g442-btn-primary {
  background: linear-gradient(135deg, var(--g442-primary) 0%, var(--g442-primary-dark) 100%);
  color: #fff; box-shadow: 0 4px 14px rgba(230, 81, 0, 0.45);
}
.g442-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 18px rgba(230, 81, 0, 0.6); }
.g442-btn-outline {
  background: transparent; border: 2px solid var(--g442-pink); color: var(--g442-pink);
}
.g442-btn-outline:hover { background: var(--g442-pink); color: #2D2D2D; }
.g442-btn-block { display: block; width: 100%; }
.g442-btn-lg { padding: 13px 26px; font-size: 1.55rem; }

/* ---------- Mobile menu ---------- */
.g442-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 80%; max-width: 320px; height: 100vh;
  background: #181818; z-index: 9999;
  transition: right 0.32s ease;
  padding: 80px 18px 30px; overflow-y: auto;
  border-left: 2px solid var(--g442-primary);
}
.g442-mobile-menu.g442-open { right: 0; }
.g442-mobile-menu h4 {
  font-size: 1.3rem; color: var(--g442-text); text-transform: uppercase;
  letter-spacing: 1px; margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #333;
}
.g442-mobile-menu a {
  display: block; padding: 10px 6px; color: var(--g442-white);
  font-size: 1.4rem; border-bottom: 1px solid #2a2a2a;
}
.g442-mobile-menu a:hover { padding-left: 14px; color: var(--g442-primary); }
.g442-menu-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer;
}
.g442-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.g442-overlay.g442-show { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.g442-hero {
  margin-top: 58px;
  position: relative;
  background: linear-gradient(135deg, rgba(230,81,0,0.85) 0%, rgba(45,45,45,0.92) 100%);
  padding: 28px 14px;
  overflow: hidden;
}
.g442-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,182,193,0.25), transparent 60%);
  pointer-events: none;
}
.g442-hero-content { position: relative; z-index: 2; text-align: center; }
.g442-hero h1 {
  font-size: 2.4rem; line-height: 1.25; margin-bottom: 10px;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.g442-hero h1 .g442-accent { color: var(--g442-gold); }
.g442-hero p { color: var(--g442-pink); margin-bottom: 16px; font-size: 1.4rem; }
.g442-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.g442-hero-stats {
  display: flex; justify-content: center; gap: 22px;
  margin-top: 18px; flex-wrap: wrap;
}
.g442-hero-stat { text-align: center; }
.g442-hero-stat strong { display: block; font-size: 1.9rem; color: var(--g442-gold); font-weight: 800; }
.g442-hero-stat span { font-size: 1.15rem; color: var(--g442-grey); }

/* ---------- Carousel ---------- */
.g442-carousel {
  position: relative; margin: 18px 0; border-radius: var(--g442-radius); overflow: hidden;
  box-shadow: var(--g442-shadow);
}
.g442-carousel-track { display: flex; transition: transform 0.6s ease; }
.g442-carousel-slide { min-width: 100%; position: relative; }
.g442-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.g442-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff; font-size: 1.4rem; font-weight: 600;
}
.g442-carousel-dots {
  display: flex; justify-content: center; gap: 6px; padding: 8px 0;
}
.g442-carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: #555; border: 0; cursor: pointer; padding: 0;
}
.g442-carousel-dots button.g442-active { background: var(--g442-primary); width: 22px; border-radius: 6px; }

/* ---------- Section titles ---------- */
.g442-section-title {
  text-align: center; margin-bottom: 18px;
}
.g442-section-title h2 {
  font-size: 2rem; color: var(--g442-white); position: relative; display: inline-block;
  padding: 0 12px;
}
.g442-section-title h2::before,
.g442-section-title h2::after {
  content: ""; position: absolute; top: 50%; width: 30px; height: 2px;
  background: var(--g442-primary);
}
.g442-section-title h2::before { right: 100%; }
.g442-section-title h2::after { left: 100%; }
.g442-section-title p { color: var(--g442-grey); font-size: 1.35rem; margin-top: 6px; }

/* ---------- Category tabs ---------- */
.g442-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 4px 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.g442-tabs::-webkit-scrollbar { display: none; }
.g442-tab {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 20px;
  background: var(--g442-bg-3); color: var(--g442-grey);
  font-size: 1.3rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: var(--g442-transition); border: 1px solid #444;
}
.g442-tab.g442-active {
  background: var(--g442-primary); color: #fff; border-color: var(--g442-primary);
}

/* ---------- Game grid & cards ---------- */
.g442-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.g442-game-card {
  background: var(--g442-bg-3); border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer; transition: var(--g442-transition);
  border: 1px solid #444;
}
.g442-game-card:hover { transform: translateY(-4px); border-color: var(--g442-primary); box-shadow: 0 8px 20px rgba(230,81,0,0.3); }
.g442-game-card img { width: 100%; height: 110px; object-fit: cover; background: #111; }
.g442-game-card-name {
  padding: 6px 6px 8px; text-align: center; font-size: 1.15rem; color: #fff;
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g442-game-card-badge {
  position: absolute; top: 4px; left: 4px;
  background: var(--g442-primary); color: #fff;
  font-size: 0.95rem; padding: 2px 7px; border-radius: 8px; font-weight: 700;
}
.g442-game-card-play {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s; color: var(--g442-gold); font-size: 2rem;
}
.g442-game-card:hover .g442-game-card-play { opacity: 1; }

/* ---------- Featured banner cards ---------- */
.g442-featured {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.g442-featured-card {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #3a3a3a, #1c1c1c);
  border-radius: var(--g442-radius); padding: 12px;
  border: 1px solid #444; transition: var(--g442-transition);
}
.g442-featured-card:hover { border-color: var(--g442-primary); }
.g442-featured-card img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.g442-featured-card .g442-fc-body { flex: 1; min-width: 0; }
.g442-featured-card h3 { font-size: 1.45rem; color: #fff; margin-bottom: 4px; }
.g442-featured-card p { font-size: 1.2rem; color: var(--g442-grey); margin-bottom: 8px; }

/* ---------- SEO content block ---------- */
.g442-content-block {
  background: var(--g442-bg-2); border-radius: var(--g442-radius); padding: 18px;
  border: 1px solid #3a3a3a;
}
.g442-content-block h2 { color: var(--g442-gold); font-size: 1.85rem; margin-bottom: 10px; }
.g442-content-block h3 { color: var(--g442-text); font-size: 1.55rem; margin: 14px 0 6px; }
.g442-content-block p { color: #d9d9d9; margin-bottom: 10px; font-size: 1.35rem; }
.g442-content-block ul { padding-left: 18px; margin-bottom: 10px; }
.g442-content-block ul li { color: #d9d9d9; margin-bottom: 6px; font-size: 1.3rem; position: relative; padding-left: 14px; }
.g442-content-block ul li::before { content: "▸"; color: var(--g442-primary); position: absolute; left: 0; }
.g442-content-block strong { color: var(--g442-pink); }
.g442-content-block a { font-weight: 600; }

/* ---------- Feature list ---------- */
.g442-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.g442-feature-item {
  background: var(--g442-bg-2); border-radius: 12px; padding: 14px 10px;
  text-align: center; border: 1px solid #3a3a3a;
}
.g442-feature-item .g442-ico { font-size: 2.4rem; color: var(--g442-primary); margin-bottom: 6px; }
.g442-feature-item h4 { font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.g442-feature-item p { font-size: 1.15rem; color: var(--g442-grey); line-height: 1.4; }

/* ---------- Payment ---------- */
.g442-payment-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.g442-payment-chip {
  background: var(--g442-bg-3); border: 1px solid #555;
  padding: 8px 14px; border-radius: 20px; font-size: 1.2rem; color: #fff;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.g442-faq-item {
  background: var(--g442-bg-2); border: 1px solid #3a3a3a; border-radius: 10px;
  margin-bottom: 8px; overflow: hidden;
}
.g442-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; color: #fff;
  padding: 12px 14px; font-size: 1.35rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.g442-faq-q .g442-faq-icon { color: var(--g442-primary); transition: transform 0.3s; flex-shrink: 0; }
.g442-faq-item.g442-open .g442-faq-icon { transform: rotate(45deg); }
.g442-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 14px; color: #cfcfcf; font-size: 1.25rem;
}
.g442-faq-item.g442-open .g442-faq-a { max-height: 400px; padding: 0 14px 12px; }

/* ---------- Footer ---------- */
.g442-footer {
  background: #141414; padding: 26px 14px 16px; margin-top: 30px;
  border-top: 3px solid var(--g442-primary);
}
.g442-footer-brand { text-align: center; margin-bottom: 18px; }
.g442-footer-brand img { width: 50px; height: 50px; margin: 0 auto 8px; border-radius: 10px; }
.g442-footer-brand h3 { color: var(--g442-white); font-size: 1.6rem; margin-bottom: 6px; }
.g442-footer-brand p { color: var(--g442-grey); font-size: 1.2rem; max-width: 380px; margin: 0 auto; }
.g442-footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 16px; }
.g442-footer-col h4 { color: var(--g442-text); font-size: 1.3rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.g442-footer-col a { display: block; color: var(--g442-grey); font-size: 1.2rem; padding: 4px 0; }
.g442-footer-col a:hover { color: var(--g442-primary); }
.g442-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.g442-footer-copy { text-align: center; color: #888; font-size: 1.15rem; border-top: 1px solid #2a2a2a; padding-top: 12px; }

/* ---------- Mobile bottom nav ---------- */
.g442-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1f1f1f, #141414);
  border-top: 2px solid var(--g442-primary);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.5);
}
.g442-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--g442-grey); font-size: 1rem; font-weight: 600;
  transition: var(--g442-transition); text-decoration: none;
  position: relative;
}
.g442-nav-item .g442-nav-ico { font-size: 2.2rem; line-height: 1; }
.g442-nav-item:hover { color: var(--g442-primary); transform: translateY(-2px); }
.g442-nav-item.g442-current { color: var(--g442-gold); }
.g442-nav-item.g442-current::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px;
  background: var(--g442-primary); border-radius: 0 0 6px 6px;
}
.g442-nav-item.g442-promo {
  color: var(--g442-pink);
}
.g442-nav-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--g442-primary); color: #fff;
  font-size: 0.85rem; padding: 1px 5px; border-radius: 8px; font-weight: 700;
}

/* ---------- Promo banner CTA strip ---------- */
.g442-cta-strip {
  background: linear-gradient(90deg, var(--g442-primary), #FF8A3D);
  padding: 16px 14px; border-radius: var(--g442-radius); text-align: center;
  margin: 18px 0;
}
.g442-cta-strip h3 { color: #fff; font-size: 1.7rem; margin-bottom: 4px; }
.g442-cta-strip p { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }

/* ---------- Step list ---------- */
.g442-steps { counter-reset: step; }
.g442-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--g442-bg-2); padding: 12px; border-radius: 10px;
  margin-bottom: 8px; border-left: 4px solid var(--g442-primary);
}
.g442-step-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--g442-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
}
.g442-step h4 { font-size: 1.35rem; color: #fff; margin-bottom: 3px; }
.g442-step p { font-size: 1.2rem; color: var(--g442-grey); }

/* ---------- Desktop / tablet ---------- */
@media (min-width: 768px) {
  html { font-size: 70%; }
  .g442-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .g442-menu-btn { display: none; }
  .g442-header-actions { gap: 10px; }
  .g442-hero h1 { font-size: 3.4rem; }
  .g442-game-grid { grid-template-columns: repeat(5, 1fr); }
  .g442-featured { grid-template-columns: repeat(2, 1fr); }
  .g442-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .g442-footer-cols { grid-template-columns: repeat(4, 1fr); }
  .g442-carousel-slide img { height: 320px; }
  .g442-desktop-nav { display: flex; gap: 14px; align-items: center; }
  .g442-desktop-nav a { color: var(--g442-grey); font-size: 1.3rem; font-weight: 600; }
  .g442-desktop-nav a:hover { color: var(--g442-primary); }
}
@media (max-width: 767px) {
  .g442-desktop-nav { display: none; }
}

/* ---------- Utility spacing ---------- */
.g442-mt-1 { margin-top: 8px; }
.g442-mt-2 { margin-top: 16px; }
.g442-mb-1 { margin-bottom: 8px; }
.g442-mb-2 { margin-bottom: 16px; }
