/* TableGamePH Design Stylesheet - ge12- prefix */
/* Color palette: #008B8B | #1B263B | #E0F2F1 | #004D40 | #C71585 */

:root {
  --ge12-primary: #008B8B;
  --ge12-bg: #1B263B;
  --ge12-text: #E0F2F1;
  --ge12-dark: #004D40;
  --ge12-accent: #C71585;
  --ge12-white: #FFFFFF;
  --ge12-gray: #94A3B8;
  --ge12-light-bg: #0F172A;
  --ge12-card-bg: #1E293B;
  --ge12-border: #334155;
  --ge12-gold: #F59E0B;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--ge12-bg);
  color: var(--ge12-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--ge12-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ge12-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.ge12-container { width: 100%; padding: 0 1.2rem; }

/* Header */
.ge12-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--ge12-dark), var(--ge12-bg));
  border-bottom: 1px solid var(--ge12-border);
  padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(10px);
}
.ge12-header-left { display: flex; align-items: center; gap: 0.6rem; }
.ge12-header-logo { width: 28px; height: 28px; border-radius: 6px; }
.ge12-header-name { font-size: 1.4rem; font-weight: 700; color: var(--ge12-primary); letter-spacing: -0.5px; }
.ge12-header-right { display: flex; align-items: center; gap: 0.6rem; }
.ge12-header-btn {
  padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}
.ge12-btn-register { background: var(--ge12-accent); color: var(--ge12-white); }
.ge12-btn-register:hover { background: #E91E8C; transform: scale(1.03); }
.ge12-btn-login { background: transparent; color: var(--ge12-primary); border: 1px solid var(--ge12-primary); }
.ge12-btn-login:hover { background: var(--ge12-primary); color: var(--ge12-white); }
.ge12-menu-toggle {
  background: none; border: none; color: var(--ge12-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile Menu Overlay */
.ge12-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.ge12-mobile-menu {
  position: fixed; top: 0; right: 0; width: 75%; max-width: 300px; height: 100%;
  background: var(--ge12-light-bg); z-index: 9999;
  transform: translateX(100%); transition: transform 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.ge12-mobile-menu-close {
  background: none; border: none; color: var(--ge12-text); font-size: 2.4rem;
  cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.ge12-mobile-menu h3 { color: var(--ge12-primary); font-size: 1.6rem; margin-bottom: 1.5rem; }
.ge12-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--ge12-text);
  border-bottom: 1px solid var(--ge12-border); font-size: 1.4rem;
}
.ge12-mobile-menu a:hover { color: var(--ge12-accent); }

/* Main Content */
main { padding-top: 5.5rem; }
@media (max-width: 768px) { main { padding-bottom: 80px; } }

/* Carousel / Banner */
.ge12-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 12px 12px; }
.ge12-slide { display: none; width: 100%; cursor: pointer; }
.ge12-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.ge12-slide-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.ge12-slide-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; transition: background 0.2s;
}
.ge12-dot-active { background: var(--ge12-accent); }

/* Section Headers */
.ge12-section { padding: 2rem 1.2rem; }
.ge12-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--ge12-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ge12-accent); display: inline-block;
}
.ge12-section-subtitle { font-size: 1.3rem; color: var(--ge12-gray); margin-bottom: 1rem; }

/* Game Grid */
.ge12-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.ge12-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  background: var(--ge12-card-bg); border-radius: 10px; padding: 0.6rem 0.4rem;
  border: 1px solid var(--ge12-border);
}
.ge12-game-item:hover { transform: translateY(-2px); border-color: var(--ge12-primary); }
.ge12-game-item img { width: 56px; height: 56px; border-radius: 10px; margin: 0 auto 0.4rem; object-fit: cover; }
.ge12-game-name { font-size: 1rem; color: var(--ge12-text); line-height: 1.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Category Label */
.ge12-cat-label {
  font-size: 1.4rem; font-weight: 600; color: var(--ge12-accent);
  margin: 1.5rem 0 0.8rem; padding-left: 0.4rem;
  border-left: 3px solid var(--ge12-primary);
}

/* Cards */
.ge12-card {
  background: var(--ge12-card-bg); border: 1px solid var(--ge12-border);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.2rem;
}
.ge12-card h3 { font-size: 1.5rem; color: var(--ge12-primary); margin-bottom: 0.8rem; }
.ge12-card p { font-size: 1.2rem; color: var(--ge12-gray); line-height: 1.6rem; }

/* Promo Buttons */
.ge12-promo-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--ge12-accent), #E91E8C);
  color: var(--ge12-white); border-radius: 8px; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; border: none; transition: all 0.2s;
  text-align: center;
}
.ge12-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 15px rgba(199,21,133,0.4); }
.ge12-promo-link { color: var(--ge12-accent); font-weight: 700; font-size: 1.2rem; }
.ge12-promo-link:hover { text-decoration: underline; }

/* RTP Table */
.ge12-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.ge12-rtp-table th { background: var(--ge12-dark); color: var(--ge12-primary); padding: 0.6rem; text-align: left; }
.ge12-rtp-table td { padding: 0.6rem; border-bottom: 1px solid var(--ge12-border); color: var(--ge12-gray); }
.ge12-rtp-table tr:hover td { background: var(--ge12-card-bg); }

/* Testimonial */
.ge12-testimonial {
  background: var(--ge12-card-bg); border-radius: 12px; padding: 1.2rem;
  margin-bottom: 1rem; border-left: 3px solid var(--ge12-accent);
}
.ge12-testimonial-name { font-size: 1.2rem; font-weight: 600; color: var(--ge12-primary); }
.ge12-testimonial-text { font-size: 1.1rem; color: var(--ge12-gray); margin-top: 0.4rem; }

/* Winner Showcase */
.ge12-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--ge12-card-bg); border-radius: 10px; padding: 0.8rem 1rem;
  margin-bottom: 0.6rem; border: 1px solid var(--ge12-border);
}
.ge12-winner-icon { font-size: 1.8rem; color: var(--ge12-gold); }
.ge12-winner-info { flex: 1; }
.ge12-winner-name { font-size: 1.1rem; color: var(--ge12-primary); font-weight: 600; }
.ge12-winner-amount { font-size: 1rem; color: var(--ge12-accent); font-weight: 700; }

/* Payment Icons */
.ge12-payment-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; padding: 1rem 0; }
.ge12-payment-item {
  background: var(--ge12-card-bg); border: 1px solid var(--ge12-border);
  border-radius: 8px; padding: 0.6rem 1rem; font-size: 1.1rem; color: var(--ge12-gray);
}

/* Footer */
.ge12-footer {
  background: var(--ge12-light-bg); border-top: 1px solid var(--ge12-border);
  padding: 2rem 1.2rem 3rem; text-align: center;
}
.ge12-footer-brand { font-size: 1.2rem; color: var(--ge12-gray); line-height: 1.6rem; margin-bottom: 1.5rem; }
.ge12-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem; }
.ge12-footer-link {
  padding: 0.5rem 1rem; background: var(--ge12-dark); color: var(--ge12-text);
  border-radius: 6px; font-size: 1.1rem; cursor: pointer; transition: all 0.2s;
}
.ge12-footer-link:hover { background: var(--ge12-primary); }
.ge12-footer-copy { font-size: 1rem; color: var(--ge12-gray); opacity: 0.7; }

/* Bottom Navigation */
.ge12-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, var(--ge12-dark), #0a1628);
  border-top: 1px solid var(--ge12-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.ge12-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: var(--ge12-gray); cursor: pointer; transition: all 0.2s;
  border-radius: 8px; position: relative;
}
.ge12-bnav-btn:hover { color: var(--ge12-primary); background: rgba(0,139,139,0.1); }
.ge12-bnav-btn .ge12-bnav-icon { font-size: 22px; margin-bottom: 2px; }
.ge12-bnav-btn .ge12-bnav-label { font-size: 10px; }
.ge12-bnav-active { color: var(--ge12-accent) !important; }
.ge12-bnav-active::after {
  content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--ge12-accent); border-radius: 2px;
}

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

/* FAQ Accordion */
.ge12-faq-item { margin-bottom: 0.8rem; }
.ge12-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--ge12-primary);
  padding: 0.8rem; background: var(--ge12-card-bg); border-radius: 8px;
  border-left: 3px solid var(--ge12-accent);
}
.ge12-faq-a { font-size: 1.2rem; color: var(--ge12-gray); padding: 0.8rem; line-height: 1.6rem; }

/* Content text */
.ge12-content p { font-size: 1.2rem; color: var(--ge12-gray); line-height: 1.7rem; margin-bottom: 0.8rem; }
.ge12-content h2 { font-size: 1.6rem; color: var(--ge12-primary); margin: 1.5rem 0 0.8rem; }
.ge12-content h3 { font-size: 1.4rem; color: var(--ge12-accent); margin: 1.2rem 0 0.6rem; }
.ge12-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.ge12-content li { font-size: 1.2rem; color: var(--ge12-gray); line-height: 1.6rem; margin-bottom: 0.4rem; }

/* Steps */
.ge12-step { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.ge12-step-num {
  min-width: 28px; height: 28px; background: var(--ge12-accent); color: var(--ge12-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
}
.ge12-step-text { font-size: 1.2rem; color: var(--ge12-gray); line-height: 1.6rem; }

/* Highlight Box */
.ge12-highlight {
  background: linear-gradient(135deg, var(--ge12-dark), var(--ge12-bg));
  border: 1px solid var(--ge12-primary); border-radius: 12px;
  padding: 1.5rem; margin: 1rem 0; text-align: center;
}
.ge12-highlight-title { font-size: 1.5rem; font-weight: 700; color: var(--ge12-accent); margin-bottom: 0.6rem; }

/* Achievement Badge */
.ge12-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ge12-dark); border: 1px solid var(--ge12-gold);
  border-radius: 20px; padding: 0.4rem 1rem; font-size: 1rem; color: var(--ge12-gold);
  margin: 0.3rem;
}

/* CTA Section */
.ge12-cta {
  background: linear-gradient(135deg, var(--ge12-accent), #E91E8C);
  border-radius: 12px; padding: 2rem 1.5rem; text-align: center; margin: 1.5rem 0;
}
.ge12-cta h3 { font-size: 1.8rem; color: var(--ge12-white); margin-bottom: 0.8rem; }
.ge12-cta p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.ge12-cta-btn {
  display: inline-block; padding: 1rem 3rem; background: var(--ge12-white);
  color: var(--ge12-accent); border-radius: 8px; font-size: 1.4rem; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.2s;
}
.ge12-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* Features grid */
.ge12-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1rem 0; }
.ge12-feature-item {
  background: var(--ge12-card-bg); border: 1px solid var(--ge12-border);
  border-radius: 10px; padding: 1rem; text-align: center;
}
.ge12-feature-item i, .ge12-feature-item span.material-symbols-outlined { font-size: 2rem; color: var(--ge12-primary); margin-bottom: 0.4rem; display: block; }
.ge12-feature-item p { font-size: 1.1rem; color: var(--ge12-gray); }

/* App download section */
.ge12-app-section {
  background: linear-gradient(135deg, #004D40, #008B8B);
  border-radius: 12px; padding: 1.5rem; margin: 1rem 0; text-align: center;
}
.ge12-app-section h3 { font-size: 1.5rem; color: var(--ge12-white); margin-bottom: 0.6rem; }
.ge12-app-section p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }

/* Utilities */
.ge12-text-center { text-align: center; }
.ge12-mt-1 { margin-top: 1rem; }
.ge12-mb-1 { margin-bottom: 1rem; }
.ge12-mb-2 { margin-bottom: 2rem; }
