/**
 * 6777 bet apk - Main Stylesheet
 * All classes use ge1d- prefix for namespace isolation
 * Colors: #2E8B57 (sea green), #006400 (dark green), #1A1A2E (dark navy)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --ge1d-primary: #2E8B57;
  --ge1d-dark: #006400;
  --ge1d-bg: #1A1A2E;
  --ge1d-bg-light: #16213E;
  --ge1d-bg-card: #0F3460;
  --ge1d-text: #E8E8E8;
  --ge1d-text-muted: #A0AEC0;
  --ge1d-accent: #2E8B57;
  --ge1d-accent2: #FFD700;
  --ge1d-border: #2A3A5C;
  --ge1d-radius: 8px;
  --ge1d-radius-lg: 12px;
  --ge1d-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

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

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

a { color: var(--ge1d-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.ge1d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, #006400, #1A1A2E);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 2px solid var(--ge1d-primary);
}

.ge1d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.ge1d-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ge1d-accent2);
  white-space: nowrap;
}

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

.ge1d-btn-register {
  background: var(--ge1d-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--ge1d-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ge1d-btn-login {
  background: transparent;
  color: var(--ge1d-accent);
  border: 1.5px solid var(--ge1d-primary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--ge1d-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ge1d-btn-register:hover, .ge1d-btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(46,139,87,0.4);
}

.ge1d-menu-toggle {
  background: none;
  border: none;
  color: var(--ge1d-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

/* Mobile Menu Overlay */
.ge1d-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.ge1d-overlay-active {
  opacity: 1;
  pointer-events: all;
}

/* Mobile Slide Menu */
.ge1d-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1A1A2E, #0F3460);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.ge1d-menu-active {
  right: 0;
}

.ge1d-mobile-menu .ge1d-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--ge1d-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.ge1d-mobile-menu .ge1d-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ge1d-accent2);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ge1d-border);
}

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

.ge1d-mobile-menu a:hover {
  color: var(--ge1d-accent);
  text-decoration: none;
}

/* Main content padding for fixed header */
main {
  padding-top: 56px;
}

/* Carousel */
.ge1d-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--ge1d-radius-lg);
  margin: 1rem 0;
}

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

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

.ge1d-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}

.ge1d-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.ge1d-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.ge1d-dot-active {
  background: var(--ge1d-accent);
}

/* Section titles */
.ge1d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ge1d-accent2);
  margin: 1.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--ge1d-primary);
}

/* Game Grid */
.ge1d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.ge1d-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

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

.ge1d-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--ge1d-radius);
  object-fit: cover;
  border: 2px solid var(--ge1d-border);
  margin-bottom: 0.3rem;
}

.ge1d-game-item span {
  font-size: 1.1rem;
  color: var(--ge1d-text);
  line-height: 1.3rem;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.ge1d-card {
  background: var(--ge1d-bg-card);
  border-radius: var(--ge1d-radius-lg);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--ge1d-border);
}

.ge1d-card h2, .ge1d-card h3 {
  color: var(--ge1d-accent2);
  margin-bottom: 0.8rem;
}

.ge1d-card p {
  color: var(--ge1d-text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* Promo CTA */
.ge1d-cta {
  display: block;
  background: linear-gradient(135deg, var(--ge1d-primary), #1B8A5A);
  color: #fff;
  text-align: center;
  padding: 1.2rem 2rem;
  border-radius: var(--ge1d-radius-lg);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.5rem 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(46,139,87,0.5);
  transition: all 0.3s;
}

.ge1d-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,139,87,0.6);
  text-decoration: none;
}

/* Promo text link */
.ge1d-promo-link {
  color: var(--ge1d-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Testimonials */
.ge1d-testimonial {
  background: var(--ge1d-bg-card);
  border-radius: var(--ge1d-radius-lg);
  padding: 1.2rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--ge1d-primary);
}

.ge1d-testimonial p {
  font-style: italic;
  color: var(--ge1d-text-muted);
  margin-bottom: 0.5rem;
}

.ge1d-testimonial .ge1d-author {
  color: var(--ge1d-accent);
  font-weight: 600;
  font-size: 1.3rem;
}

/* Winners list */
.ge1d-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid var(--ge1d-border);
}

.ge1d-winner-row:last-child { border-bottom: none; }

.ge1d-winner-name {
  color: var(--ge1d-accent);
  font-weight: 600;
  font-size: 1.3rem;
}

.ge1d-winner-amount {
  color: var(--ge1d-accent2);
  font-weight: 700;
}

.ge1d-winner-game {
  color: var(--ge1d-text-muted);
  font-size: 1.2rem;
}

/* Payment logos */
.ge1d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}

.ge1d-payment-item {
  background: var(--ge1d-bg-card);
  border: 1px solid var(--ge1d-border);
  border-radius: var(--ge1d-radius);
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  color: var(--ge1d-text);
}

/* Bottom Navigation */
.ge1d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1A1A2E, #0D1B2A);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--ge1d-primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}

.ge1d-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--ge1d-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.4rem;
}

.ge1d-bnav-btn i,
.ge1d-bnav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.ge1d-bnav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.ge1d-bnav-btn:hover,
.ge1d-bnav-active {
  color: var(--ge1d-primary);
}

.ge1d-bnav-active i,
.ge1d-bnav-active .material-icons {
  color: var(--ge1d-accent2);
}

.ge1d-bnav-btn:active {
  transform: scale(0.92);
}

/* Footer */
.ge1d-footer {
  background: linear-gradient(180deg, var(--ge1d-bg-card), #0A0E1A);
  padding: 2rem 1.2rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--ge1d-primary);
}

.ge1d-footer-desc {
  color: var(--ge1d-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ge1d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ge1d-footer-link {
  background: var(--ge1d-bg);
  border: 1px solid var(--ge1d-border);
  border-radius: var(--ge1d-radius);
  padding: 0.4rem 0.8rem;
  color: var(--ge1d-text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.ge1d-footer-link:hover {
  border-color: var(--ge1d-primary);
  color: var(--ge1d-accent);
  text-decoration: none;
}

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

/* Mobile bottom padding for nav */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  .ge1d-footer {
    padding-bottom: 5rem;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .ge1d-bottom-nav {
    display: none;
  }
}

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

/* FAQ section */
.ge1d-faq-item {
  background: var(--ge1d-bg-card);
  border-radius: var(--ge1d-radius);
  margin: 0.6rem 0;
  padding: 1rem;
  border: 1px solid var(--ge1d-border);
}

.ge1d-faq-item h3 {
  color: var(--ge1d-accent);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.ge1d-faq-item p {
  color: var(--ge1d-text-muted);
  font-size: 1.3rem;
}

/* Feature list */
.ge1d-feature-list {
  list-style: none;
  padding: 0;
}

.ge1d-feature-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--ge1d-text);
  font-size: 1.4rem;
}

.ge1d-feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ge1d-primary);
  font-size: 1.2rem;
}

/* RTP table */
.ge1d-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.ge1d-rtp-table th, .ge1d-rtp-table td {
  padding: 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--ge1d-border);
  font-size: 1.2rem;
}

.ge1d-rtp-table th {
  color: var(--ge1d-accent);
  font-weight: 600;
}

.ge1d-rtp-table td {
  color: var(--ge1d-text-muted);
}

.ge1d-rtp-high {
  color: #2E8B57;
  font-weight: 700;
}

/* Steps component */
.ge1d-steps {
  counter-reset: step;
}

.ge1d-step {
  position: relative;
  padding: 1rem 0 1rem 3.5rem;
  margin-bottom: 0.5rem;
}

.ge1d-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--ge1d-primary);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.ge1d-step h3 {
  font-size: 1.4rem;
  color: var(--ge1d-accent2);
  margin-bottom: 0.3rem;
}

.ge1d-step p {
  font-size: 1.3rem;
  color: var(--ge1d-text-muted);
}

/* Category badges */
.ge1d-cat-badge {
  display: inline-block;
  background: var(--ge1d-primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

/* Achievement badges */
.ge1d-achievement {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--ge1d-bg-card);
  border-radius: var(--ge1d-radius);
  margin: 0.5rem 0;
  border: 1px solid var(--ge1d-border);
}

.ge1d-achievement-icon {
  font-size: 2.4rem;
  color: var(--ge1d-accent2);
}

.ge1d-achievement-info h4 {
  color: var(--ge1d-accent);
  font-size: 1.3rem;
}

.ge1d-achievement-info p {
  color: var(--ge1d-text-muted);
  font-size: 1.2rem;
}

/* Security badges row */
.ge1d-security-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.ge1d-security-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(46,139,87,0.15);
  border: 1px solid var(--ge1d-primary);
  border-radius: var(--ge1d-radius);
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  color: var(--ge1d-accent);
}
