/*!
 * c54c.click - layout stylesheet (layout-8052.css)
 * All custom class names use the "g529-" prefix to isolate the namespace.
 * Palette: #FF5722 primary | #36454F charcoal | #262626 deep bg | #DCDCDC light text accent
 * Mobile-first: max-width 430px container, scales up to desktop.
 * Code comments are in English per project convention.
 */

:root {
  --g529-primary: #FF5722;
  --g529-primary-dark: #c63d12;
  --g529-charcoal: #36454F;
  --g529-deep: #262626;
  --g529-gray: #808080;
  --g529-silver: #DCDCDC;
  --g529-muted: #6C757D;
  --g529-gold: #ffc24b;
  --g529-bg: #1c1f26;
  --g529-card: #2a2f3a;
  --g529-card-2: #323a47;
  --g529-text: #f3f5f8;
  --g529-text-soft: #c9d0da;
  --g529-border: rgba(220, 220, 220, 0.12);
  --g529-radius: 14px;
  --g529-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(circle at 20% 0%, #232834 0%, #15171d 60%, #0f1115 100%);
  color: var(--g529-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--g529-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.g529-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------- Header ---------- */
.g529-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1f242f 0%, #16191f 100%);
  border-bottom: 1px solid var(--g529-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.g529-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  gap: 8px;
  max-width: 430px;
  margin: 0 auto;
}

.g529-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.g529-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.g529-brand-name {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--g529-primary);
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.g529-brand-name b { color: var(--g529-silver); }

.g529-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.g529-menu-btn {
  background: transparent;
  border: 0;
  color: var(--g529-text);
  font-size: 2.2rem;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 8px;
}

.g529-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 36px;
}

.g529-btn:active { transform: scale(0.95); }

.g529-btn-primary {
  background: linear-gradient(180deg, #ff6a3d 0%, var(--g529-primary) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.g529-btn-outline {
  background: transparent;
  color: var(--g529-text);
  border: 1px solid var(--g529-silver);
}

.g529-btn-gold {
  background: linear-gradient(180deg, #ffd56b 0%, var(--g529-gold) 100%);
  color: #2a1d00;
}

.g529-btn-block {
  width: 100%;
  padding: 12px 16px;
  font-size: 1.55rem;
}

/* ---------- Mobile dropdown menu ---------- */
.g529-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #181b22;
  border-bottom: 1px solid var(--g529-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.g529-mobile-menu.g529-open { max-height: 520px; }

.g529-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 6px 14px;
}

.g529-mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  color: var(--g529-text-soft);
  font-size: 1.45rem;
  border-bottom: 1px solid var(--g529-border);
}

.g529-mobile-menu li:last-child a { border-bottom: 0; }
.g529-mobile-menu li a:hover { color: var(--g529-primary); text-decoration: none; }

/* ---------- Main / sections ---------- */
main { padding-top: 64px; padding-bottom: 92px; }

.g529-section {
  padding: 22px 0;
}

.g529-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.g529-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--g529-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g529-section-title i { color: var(--g529-primary); }

.g529-section-link {
  font-size: 1.3rem;
  color: var(--g529-gold);
  font-weight: 600;
}

/* ---------- Carousel ---------- */
.g529-carousel {
  position: relative;
  border-radius: var(--g529-radius);
  overflow: hidden;
  box-shadow: var(--g529-shadow);
  margin-top: 10px;
}

.g529-slide {
  position: relative;
  display: none;
  cursor: pointer;
}

.g529-slide.g529-active { display: block; }

.g529-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.g529-slide-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 18px 6px 4px;
  border-radius: 0 0 10px 10px;
}

.g529-slide-caption h3 {
  margin: 0 0 4px;
  font-size: 1.7rem;
  color: var(--g529-gold);
}

.g529-slide-caption p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--g529-silver);
}

.g529-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.g529-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 0;
  cursor: pointer;
}

.g529-dot.g529-on { background: var(--g529-primary); }

/* ---------- Hero ---------- */
.g529-hero {
  background: linear-gradient(135deg, rgba(255,87,34,0.18), rgba(54,69,79,0.45));
  border: 1px solid var(--g529-border);
  border-radius: var(--g529-radius);
  padding: 18px 14px;
  margin-top: 12px;
}

.g529-hero h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--g529-gold);
  line-height: 1.25;
}

.g529-hero p {
  margin: 0 0 12px;
  color: var(--g529-text-soft);
  font-size: 1.4rem;
}

.g529-hero-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Game grid ---------- */
.g529-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.g529-card {
  background: var(--g529-card);
  border: 1px solid var(--g529-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.g529-card:active {
  transform: scale(0.97);
  box-shadow: 0 6px 18px rgba(255,87,34,0.35);
}

.g529-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  background: #0e1014;
}

.g529-card-name {
  display: block;
  padding: 6px 4px;
  font-size: 1.2rem;
  color: var(--g529-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g529-card-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--g529-primary);
  color: #fff;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.g529-card-wrap { position: relative; }

/* ---------- Category banner ---------- */
.g529-cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(255,87,34,0.18), transparent);
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 4px solid var(--g529-primary);
  margin-bottom: 12px;
}

.g529-cat-bar h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--g529-text);
}

.g529-cat-bar .g529-cat-count {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--g529-gold);
  font-weight: 700;
}

/* ---------- Info / feature blocks ---------- */
.g529-panel {
  background: var(--g529-card);
  border: 1px solid var(--g529-border);
  border-radius: var(--g529-radius);
  padding: 16px 14px;
}

.g529-panel h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: var(--g529-gold);
}

.g529-panel h3 {
  margin: 14px 0 6px;
  font-size: 1.5rem;
  color: var(--g529-primary);
}

.g529-panel p {
  margin: 0 0 10px;
  color: var(--g529-text-soft);
  font-size: 1.38rem;
}

.g529-panel ul {
  margin: 0 0 10px;
  padding-left: 20px;
  color: var(--g529-text-soft);
}

.g529-panel li { margin-bottom: 6px; font-size: 1.35rem; }

/* ---------- FAQ ---------- */
.g529-faq-item {
  border-bottom: 1px solid var(--g529-border);
  padding: 10px 0;
}

.g529-faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: var(--g529-gold);
}

.g529-faq-item p {
  margin: 0;
  font-size: 1.35rem;
  color: var(--g529-text-soft);
}

/* ---------- RTP table ---------- */
.g529-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.g529-rtp-table th, .g529-rtp-table td {
  border: 1px solid var(--g529-border);
  padding: 8px 6px;
  text-align: center;
}

.g529-rtp-table th {
  background: var(--g529-charcoal);
  color: var(--g529-gold);
}

.g529-rtp-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

/* ---------- Testimonials ---------- */
.g529-testi {
  background: var(--g529-card-2);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--g529-primary);
}

.g529-testi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.g529-testi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--g529-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}

.g529-testi-name { font-weight: 700; font-size: 1.35rem; color: var(--g529-gold); }
.g529-testi-stars { color: var(--g529-gold); font-size: 1.2rem; }
.g529-testi p { margin: 0; font-size: 1.32rem; color: var(--g529-text-soft); }

/* ---------- Winners ---------- */
.g529-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--g529-card);
  border: 1px solid var(--g529-border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.g529-winner-name { font-weight: 700; color: var(--g529-text); font-size: 1.35rem; }
.g529-winner-game { color: var(--g529-text-soft); font-size: 1.2rem; }
.g529-winner-amount { margin-left: auto; color: var(--g529-gold); font-weight: 800; font-size: 1.45rem; }

/* ---------- Payment chips ---------- */
.g529-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.g529-pay {
  background: var(--g529-card-2);
  border: 1px solid var(--g529-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.3rem;
  color: var(--g529-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- App CTA ---------- */
.g529-app-cta {
  background: linear-gradient(135deg, var(--g529-charcoal), var(--g529-deep));
  border: 1px solid var(--g529-primary);
  border-radius: var(--g529-radius);
  padding: 16px;
  text-align: center;
}

.g529-app-cta h2 { color: var(--g529-gold); margin: 0 0 6px; font-size: 1.8rem; }
.g529-app-cta p { color: var(--g529-text-soft); margin: 0 0 12px; font-size: 1.35rem; }

/* ---------- Inline SEO links ---------- */
.g529-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 1.3rem;
}

.g529-seo-links a { color: var(--g529-silver); }

/* ---------- Footer ---------- */
.g529-footer {
  background: #101218;
  border-top: 1px solid var(--g529-border);
  padding: 22px 0 16px;
  margin-top: 24px;
}

.g529-footer p {
  color: var(--g529-text-soft);
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.g529-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.g529-footer-grid a {
  color: var(--g529-silver);
  font-size: 1.3rem;
  padding: 4px 0;
}

.g529-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.g529-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: var(--g529-muted);
  padding-top: 10px;
  border-top: 1px solid var(--g529-border);
}

/* ---------- Bottom navigation ---------- */
.g529-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1d212a 0%, #12151b 100%);
  border-top: 1px solid var(--g529-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.35);
}

.g529-bn-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--g529-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.g529-bn-btn i,
.g529-bn-btn .material-icons-outlined,
.g529-bn-btn .ion { font-size: 22px; }

.g529-bn-btn:active { transform: scale(0.92); }

.g529-bn-btn.g529-bn-active {
  color: var(--g529-primary);
}

.g529-bn-btn.g529-bn-promo {
  color: var(--g529-gold);
}

.g529-bn-btn.g529-bn-promo i { font-size: 24px; }

.g529-bn-badge {
  position: absolute;
  top: 6px;
  right: 22%;
  background: var(--g529-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 5px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
}

.g529-bn-btn { position: relative; }

/* ---------- Utility ---------- */
.g529-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.g529-text-center { text-align: center; }
.g529-mt-8 { margin-top: 8px; }
.g529-mt-16 { margin-top: 16px; }
.g529-hidden { display: none !important; }

/* ---------- Desktop / tablet ---------- */
@media (min-width: 769px) {
  body { background: radial-gradient(circle at 30% 0%, #232834 0%, #11131a 70%); }
  .g529-wrapper, .g529-container, .g529-header-inner { max-width: 960px; }
  .g529-grid { grid-template-columns: repeat(6, 1fr); }
  .g529-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .g529-bottomnav { display: none; }
  main { padding-bottom: 32px; }
  .g529-menu-btn { display: none; }
  .g529-slide img { height: 320px; }
}

@media (min-width: 1024px) {
  .g529-grid { grid-template-columns: repeat(8, 1fr); }
}
