/**
 * PHSky Link Login - Core Stylesheet
 * Prefix: ge92-
 * Color Palette: #696969 | #36454F | #2C3E50 | #708090 | #FFEBCD
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --ge92-primary: #708090;
  --ge92-dark: #2C3E50;
  --ge92-darker: #36454F;
  --ge92-gray: #696969;
  --ge92-warm: #FFEBCD;
  --ge92-bg: #1a2332;
  --ge92-card: #243447;
  --ge92-text: #FFEBCD;
  --ge92-text-light: #b0c4de;
  --ge92-accent: #FFD700;
  --ge92-accent2: #FF6B35;
  --ge92-border: #3a5068;
  --ge92-success: #2ecc71;
  --ge92-radius: 8px;
  --ge92-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

/* Header */
.ge92-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--ge92-darker), var(--ge92-dark));
  border-bottom: 1px solid var(--ge92-border);
  padding: 0 1rem; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.ge92-logo-wrap {
  display: flex; align-items: center; gap: 0.6rem; cursor: pointer;
}
.ge92-logo-wrap img { width: 28px; height: 28px; border-radius: 4px; }
.ge92-logo-text {
  font-size: 1.4rem; font-weight: 700; color: var(--ge92-warm);
  white-space: nowrap;
}
.ge92-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.ge92-btn-reg {
  background: linear-gradient(135deg, var(--ge92-accent2), #e85d26);
  color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 20px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ge92-btn-login {
  background: transparent; color: var(--ge92-warm);
  border: 1.5px solid var(--ge92-warm); padding: 0.5rem 1.1rem;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.ge92-btn-reg:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,107,53,0.4); }
.ge92-btn-login:hover { background: rgba(255,235,205,0.1); }
.ge92-menu-toggle {
  background: none; border: none; color: var(--ge92-warm);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.ge92-mobile-menu {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 100vh;
  background: rgba(44,62,80,0.97); z-index: 9999;
  display: none; flex-direction: column; padding: 6rem 2rem 2rem;
}
.ge92-menu-active { display: flex; }
.ge92-menu-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--ge92-warm);
  font-size: 2.4rem; cursor: pointer;
}
.ge92-mobile-menu a {
  display: block; padding: 1.2rem 0; font-size: 1.5rem;
  color: var(--ge92-warm); border-bottom: 1px solid var(--ge92-border);
  transition: color 0.2s;
}
.ge92-mobile-menu a:hover { color: var(--ge92-accent); }

/* Bottom Navigation */
.ge92-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, var(--ge92-darker), #1e2d3d);
  border-top: 1px solid var(--ge92-border);
  height: 60px; display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.3rem;
}
.ge92-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; color: var(--ge92-text-light);
  cursor: pointer; transition: all 0.25s; border-radius: 8px;
  padding: 0.3rem;
}
.ge92-bottom-btn .ge92-bnav-icon { font-size: 2.2rem; line-height: 1; }
.ge92-bottom-btn .ge92-bnav-label {
  font-size: 1rem; margin-top: 0.2rem; white-space: nowrap;
}
.ge92-bottom-btn:hover, .ge92-bottom-btn.ge92-active {
  color: var(--ge92-accent);
}
.ge92-bottom-btn:active { transform: scale(0.92); }
.ge92-bottom-btn.ge92-active .ge92-bnav-icon {
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.5));
}

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

/* Carousel */
.ge92-carousel {
  position: relative; width: 100%; overflow: hidden;
  aspect-ratio: 16/8; background: var(--ge92-card);
}
.ge92-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.ge92-slide-active { opacity: 1; }
.ge92-slide img { width: 100%; height: 100%; object-fit: cover; }
.ge92-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.5rem;
}
.ge92-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,235,205,0.4); border: none; cursor: pointer;
  transition: all 0.3s;
}
.ge92-dot.ge92-dot-active { background: var(--ge92-accent); transform: scale(1.3); }

/* Sections */
.ge92-section {
  padding: 2rem 1.2rem;
}
.ge92-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--ge92-warm);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ge92-accent);
  display: flex; align-items: center; gap: 0.6rem;
}
.ge92-section-title i, .ge92-section-title .material-icons {
  color: var(--ge92-accent); font-size: 2rem;
}
.ge92-cat-label {
  font-size: 1.4rem; font-weight: 600; color: var(--ge92-accent);
  margin: 1.5rem 0 0.8rem; padding-left: 0.4rem;
  border-left: 3px solid var(--ge92-accent2);
}

/* Game Grid */
.ge92-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.ge92-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  padding: 0.4rem; border-radius: var(--ge92-radius);
}
.ge92-game-item:hover { transform: scale(1.05); }
.ge92-game-item:active { transform: scale(0.96); }
.ge92-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--ge92-radius);
  border: 1.5px solid var(--ge92-border); object-fit: cover;
  background: var(--ge92-card);
}
.ge92-game-name {
  font-size: 1rem; color: var(--ge92-text-light); margin-top: 0.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 1.3rem;
}
.ge92-touching { transform: scale(0.95); opacity: 0.8; }

/* Cards & Content Blocks */
.ge92-card {
  background: var(--ge92-card); border-radius: var(--ge92-radius);
  padding: 1.5rem; margin-bottom: 1.2rem; border: 1px solid var(--ge92-border);
  box-shadow: var(--ge92-shadow);
}
.ge92-card h3 {
  font-size: 1.5rem; color: var(--ge92-warm); margin-bottom: 0.8rem;
}
.ge92-card p, .ge92-card li {
  font-size: 1.3rem; line-height: 1.6rem; color: var(--ge92-text-light);
}
.ge92-card ul { padding-left: 1.5rem; }
.ge92-card li { margin-bottom: 0.4rem; }

/* CTA Button */
.ge92-cta {
  display: inline-block; width: 100%; padding: 1.2rem;
  background: linear-gradient(135deg, var(--ge92-accent2), #e85d26);
  color: #fff; font-size: 1.6rem; font-weight: 700;
  text-align: center; border-radius: 30px; border: none;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.ge92-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,107,53,0.5); }
.ge92-cta:active { transform: translateY(0); }
.ge92-cta-secondary {
  background: linear-gradient(135deg, var(--ge92-accent), #e6c200);
  color: var(--ge92-dark);
}

/* Promo Link Styles */
.ge92-promo-link {
  color: var(--ge92-accent); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--ge92-accent);
  transition: all 0.2s;
}
.ge92-promo-link:hover { color: #fff; border-color: #fff; }

/* Footer */
.ge92-footer {
  background: linear-gradient(180deg, var(--ge92-dark), #111c28);
  padding: 2rem 1.2rem 8rem; border-top: 1px solid var(--ge92-border);
}
.ge92-footer-brand {
  font-size: 1.3rem; color: var(--ge92-text-light); line-height: 1.6rem;
  margin-bottom: 1.5rem;
}
.ge92-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.ge92-footer-links a {
  padding: 0.5rem 1rem; background: var(--ge92-card);
  border-radius: 20px; font-size: 1.1rem; color: var(--ge92-warm);
  border: 1px solid var(--ge92-border); transition: all 0.2s;
}
.ge92-footer-links a:hover { border-color: var(--ge92-accent); color: var(--ge92-accent); }
.ge92-partners {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 1.5rem 0;
}
.ge92-partners img { height: 28px; opacity: 0.6; transition: opacity 0.3s; }
.ge92-partners img:hover { opacity: 1; }
.ge92-copyright {
  text-align: center; font-size: 1.1rem; color: var(--ge92-gray);
  padding-top: 1rem; border-top: 1px solid var(--ge92-border);
}

/* Testimonials */
.ge92-testimonial {
  background: var(--ge92-card); border-radius: var(--ge92-radius);
  padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--ge92-accent);
}
.ge92-testimonial-name {
  font-size: 1.2rem; font-weight: 700; color: var(--ge92-accent);
}
.ge92-testimonial-text {
  font-size: 1.2rem; color: var(--ge92-text-light); margin-top: 0.4rem;
  line-height: 1.5rem; font-style: italic;
}

/* Winners Showcase */
.ge92-winner {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem; background: var(--ge92-card);
  border-radius: var(--ge92-radius); margin-bottom: 0.6rem;
}
.ge92-winner-amount {
  margin-left: auto; font-weight: 700; color: var(--ge92-success);
  font-size: 1.3rem;
}
.ge92-winner-game { font-size: 1.2rem; color: var(--ge92-warm); }
.ge92-winner-name { font-size: 1.1rem; color: var(--ge92-text-light); }

/* Payment Methods */
.ge92-pay-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.ge92-pay-item {
  background: var(--ge92-card); border-radius: var(--ge92-radius);
  padding: 0.8rem 1.2rem; font-size: 1.2rem; color: var(--ge92-warm);
  border: 1px solid var(--ge92-border);
}

/* Tips list */
.ge92-tips-list {
  counter-reset: ge92-counter;
  list-style: none; padding: 0;
}
.ge92-tips-list li {
  counter-increment: ge92-counter;
  padding: 0.8rem 0 0.8rem 2.8rem;
  font-size: 1.3rem; color: var(--ge92-text-light);
  line-height: 1.5rem; position: relative;
  border-bottom: 1px solid rgba(58,80,104,0.4);
}
.ge92-tips-list li::before {
  content: counter(ge92-counter);
  position: absolute; left: 0; top: 0.7rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ge92-accent2); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ accordion */
.ge92-faq-item {
  border-bottom: 1px solid var(--ge92-border);
  padding: 1rem 0;
}
.ge92-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--ge92-warm);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center;
}
.ge92-faq-a {
  font-size: 1.2rem; color: var(--ge92-text-light);
  line-height: 1.5rem; margin-top: 0.6rem; padding-left: 0.5rem;
}

/* Internal link style */
.ge92-internal-link {
  color: var(--ge92-accent); text-decoration: underline;
  text-decoration-style: dotted; transition: color 0.2s;
}
.ge92-internal-link:hover { color: #fff; }

/* App Download CTA */
.ge92-app-cta {
  background: linear-gradient(135deg, var(--ge92-card), var(--ge92-darker));
  border-radius: var(--ge92-radius); padding: 2rem 1.5rem;
  text-align: center; border: 1px solid var(--ge92-border);
}
.ge92-app-cta h3 { font-size: 1.6rem; color: var(--ge92-warm); margin-bottom: 0.8rem; }
.ge92-app-cta p { font-size: 1.2rem; color: var(--ge92-text-light); margin-bottom: 1.2rem; }

/* Responsive - Desktop */
@media (min-width: 769px) {
  .ge92-bottom-nav { display: none; }
  main { padding-bottom: 0; }
  body { max-width: 480px; }
}
