/* ============================================
   bd456.click - Main Stylesheet
   CSS Class Prefix: g234-
   Color Palette: #CD5C5C | #0A0A0A | #CCCCCC
   ============================================ */

/* CSS Variables */
:root {
  --g234-primary: #CD5C5C;
  --g234-bg: #0A0A0A;
  --g234-text: #CCCCCC;
  --g234-primary-dark: #A04848;
  --g234-primary-light: #E88080;
  --g234-bg-light: #1A1A1A;
  --g234-bg-card: #141414;
  --g234-text-light: #FFFFFF;
  --g234-border: #2A2A2A;
  --g234-shadow: rgba(205, 92, 92, 0.15);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--g234-bg);
  color: var(--g234-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--g234-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--g234-primary-light);
}

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

/* Header */
.g234-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1010 100%);
  border-bottom: 1px solid var(--g234-border);
  padding: 0 1rem;
}

.g234-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.g234-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.g234-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.g234-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g234-primary);
  letter-spacing: 0.5px;
}

.g234-header-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g234-btn-register {
  background: var(--g234-primary);
  color: var(--g234-text-light);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g234-btn-register:hover {
  background: var(--g234-primary-dark);
  transform: scale(1.05);
}

.g234-btn-login {
  background: transparent;
  color: var(--g234-primary);
  border: 1px solid var(--g234-primary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g234-btn-login:hover {
  background: rgba(205, 92, 92, 0.1);
}

.g234-menu-toggle {
  background: none;
  border: none;
  color: var(--g234-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu */
.g234-mobile-menu {
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: #111;
  border-top: 1px solid var(--g234-border);
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.g234-mobile-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--g234-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g234-border);
  transition: background 0.2s ease;
}

.g234-mobile-menu a:hover {
  background: var(--g234-bg-light);
  color: var(--g234-primary);
}

/* Main Content */
.g234-main {
  padding-top: 52px;
}

@media (max-width: 768px) {
  .g234-main {
    padding-bottom: 80px;
  }
}

/* Carousel */
.g234-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.g234-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.g234-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.g234-dots {
  text-align: center;
  padding: 8px 0;
  position: absolute;
  bottom: 8px;
  width: 100%;
}

.g234-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.g234-dot-active {
  background: var(--g234-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section Styles */
.g234-section {
  padding: 16px;
}

.g234-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g234-text-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--g234-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Game Grid */
.g234-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.g234-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}

.g234-game-item:hover {
  transform: scale(1.05);
}

.g234-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--g234-border);
}

.g234-game-name {
  font-size: 1.1rem;
  color: var(--g234-text);
  margin-top: 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Tab */
.g234-cat-label {
  display: inline-block;
  background: var(--g234-primary);
  color: var(--g234-text-light);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  margin: 8px 0 12px;
}

/* Promo Button */
.g234-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g234-primary), var(--g234-primary-dark));
  color: var(--g234-text-light);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--g234-shadow);
}

.g234-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 92, 92, 0.3);
}

.g234-promo-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--g234-primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--g234-primary);
  text-align: center;
  transition: all 0.3s ease;
}

.g234-promo-btn-outline:hover {
  background: rgba(205, 92, 92, 0.1);
}

/* Card Component */
.g234-card {
  background: var(--g234-bg-card);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--g234-border);
  margin-bottom: 12px;
}

.g234-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g234-text-light);
  margin-bottom: 8px;
}

.g234-card-text {
  font-size: 1.3rem;
  color: var(--g234-text);
  line-height: 1.6;
}

/* Feature Grid */
.g234-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.g234-feature-item {
  background: var(--g234-bg-card);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--g234-border);
  transition: border-color 0.3s ease;
}

.g234-feature-item:hover {
  border-color: var(--g234-primary);
}

.g234-feature-item i {
  font-size: 2.4rem;
  color: var(--g234-primary);
  margin-bottom: 8px;
}

.g234-feature-item h3 {
  font-size: 1.3rem;
  color: var(--g234-text-light);
  margin-bottom: 4px;
}

.g234-feature-item p {
  font-size: 1.1rem;
  color: var(--g234-text);
}

/* Testimonial */
.g234-testimonial {
  background: var(--g234-bg-card);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--g234-primary);
}

.g234-testimonial-text {
  font-size: 1.3rem;
  color: var(--g234-text);
  font-style: italic;
  margin-bottom: 8px;
}

.g234-testimonial-author {
  font-size: 1.2rem;
  color: var(--g234-primary);
  font-weight: 600;
}

/* Winner Showcase */
.g234-winner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g234-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--g234-bg-card);
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid var(--g234-border);
}

.g234-winner-name {
  font-size: 1.3rem;
  color: var(--g234-text-light);
  font-weight: 500;
}

.g234-winner-amount {
  font-size: 1.4rem;
  color: var(--g234-primary);
  font-weight: 700;
}

.g234-winner-game {
  font-size: 1.1rem;
  color: var(--g234-text);
}

/* Payment Icons */
.g234-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.g234-payment-item {
  background: var(--g234-bg-card);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--g234-text);
  border: 1px solid var(--g234-border);
}

/* Footer */
.g234-footer {
  background: var(--g234-bg-light);
  padding: 20px 16px;
  border-top: 1px solid var(--g234-border);
}

.g234-footer-brand {
  font-size: 1.3rem;
  color: var(--g234-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.g234-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.g234-footer-links a {
  background: var(--g234-bg-card);
  color: var(--g234-text);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  border: 1px solid var(--g234-border);
  transition: all 0.2s ease;
}

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

.g234-footer-copy {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-top: 12px;
}

/* Bottom Navigation */
.g234-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1A1A1A 0%, #0F0F0F 100%);
  border-top: 1px solid var(--g234-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}

.g234-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--g234-text);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px;
  border-radius: 8px;
}

.g234-bottom-btn i,
.g234-bottom-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.g234-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.g234-bottom-btn:hover,
.g234-bottom-btn-active {
  color: var(--g234-primary);
}

.g234-bottom-btn:hover i,
.g234-bottom-btn-active i,
.g234-bottom-btn:hover .material-icons,
.g234-bottom-btn-active .material-icons {
  transform: scale(1.15);
  color: var(--g234-primary);
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .g234-bottom-nav {
    display: none;
  }
}

/* Text link style for internal links */
.g234-internal-link {
  color: var(--g234-primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.g234-internal-link:hover {
  color: var(--g234-primary-light);
}

/* RTP Bar */
.g234-rtp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.g234-rtp-label {
  font-size: 1.2rem;
  color: var(--g234-text);
  min-width: 80px;
}

.g234-rtp-track {
  flex: 1;
  height: 8px;
  background: var(--g234-bg-light);
  border-radius: 4px;
  overflow: hidden;
}

.g234-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g234-primary-dark), var(--g234-primary));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.g234-rtp-value {
  font-size: 1.2rem;
  color: var(--g234-primary);
  font-weight: 600;
  min-width: 40px;
}

/* App Download CTA */
.g234-app-cta {
  background: linear-gradient(135deg, #1A1010 0%, #0F0F0F 100%);
  border: 1px solid var(--g234-primary);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.g234-app-cta h3 {
  color: var(--g234-primary);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.g234-app-cta p {
  color: var(--g234-text);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

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

.g234-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g234-text-light);
  margin-bottom: 4px;
}

.g234-faq-a {
  font-size: 1.3rem;
  color: var(--g234-text);
  line-height: 1.5;
}

/* Utility */
.g234-text-center {
  text-align: center;
}

.g234-mt-8 {
  margin-top: 8px;
}

.g234-mt-16 {
  margin-top: 16px;
}

.g234-mb-8 {
  margin-bottom: 8px;
}

.g234-mb-16 {
  margin-bottom: 16px;
}

.g234-promo-text {
  color: var(--g234-primary);
  font-weight: 600;
  cursor: pointer;
}

.g234-divider {
  height: 1px;
  background: var(--g234-border);
  margin: 16px 0;
}

/* Help page styles */
.g234-help-section {
  padding: 16px;
}

.g234-help-section h2 {
  font-size: 1.8rem;
  color: var(--g234-text-light);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--g234-primary);
}

.g234-help-section h3 {
  font-size: 1.5rem;
  color: var(--g234-primary);
  margin: 12px 0 8px;
}

.g234-help-section p {
  font-size: 1.3rem;
  color: var(--g234-text);
  line-height: 1.6;
  margin-bottom: 10px;
}

.g234-step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.g234-step-list li {
  counter-increment: step-counter;
  padding: 10px 10px 10px 40px;
  position: relative;
  margin-bottom: 8px;
  background: var(--g234-bg-card);
  border-radius: 8px;
  border: 1px solid var(--g234-border);
  font-size: 1.3rem;
  color: var(--g234-text);
}

.g234-step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--g234-primary);
  color: var(--g234-text-light);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .g234-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .g234-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  body {
    max-width: 430px;
  }
}
