/**
 * ninong-gaming.css - Core Stylesheet
 * Prefix: g0fa-
 * Website: ninong-gaming.cfd
 * Colors: #1C2833 (bg), #DCDCDC (text), #808080 (accent), #5D5D5D (secondary)
 */

:root {
  --g0fa-primary: #808080;
  --g0fa-secondary: #5D5D5D;
  --g0fa-text: #DCDCDC;
  --g0fa-bg: #1C2833;
  --g0fa-bg-light: #253341;
  --g0fa-bg-card: #1a2530;
  --g0fa-accent: #808080;
  --g0fa-accent-hover: #9a9a9a;
  --g0fa-border: #2c3e50;
  --g0fa-success: #27ae60;
  --g0fa-warning: #f39c12;
  --g0fa-radius: 8px;
  --g0fa-radius-lg: 12px;
  --g0fa-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Base Reset */
*, *::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, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--g0fa-bg);
  color: var(--g0fa-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--g0fa-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--g0fa-accent-hover); }

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

/* Header */
.g0fa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1C2833 0%, #17212b 100%);
  border-bottom: 1px solid var(--g0fa-border);
  max-width: 430px;
  margin: 0 auto;
}

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

.g0fa-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.g0fa-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

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

.g0fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: none;
  border-radius: var(--g0fa-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 32px;
}

.g0fa-btn-register {
  background: linear-gradient(135deg, #808080, #5D5D5D);
  color: #fff;
}
.g0fa-btn-register:hover {
  background: linear-gradient(135deg, #9a9a9a, #6e6e6e);
  transform: scale(1.03);
}

.g0fa-btn-login {
  background: transparent;
  color: var(--g0fa-text);
  border: 1px solid var(--g0fa-primary);
}
.g0fa-btn-login:hover {
  background: rgba(128,128,128,0.15);
}

.g0fa-menu-toggle {
  background: none;
  border: none;
  color: var(--g0fa-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.g0fa-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.g0fa-mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 260px;
  background: #17212b;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.g0fa-mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 20px;
  border-bottom: 1px solid var(--g0fa-border);
}

.g0fa-mobile-menu-header img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.g0fa-mobile-menu-header span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.g0fa-mobile-menu nav {
  padding: 8px 0;
}

.g0fa-mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--g0fa-text);
  font-size: 1.4rem;
  transition: background 0.2s;
}
.g0fa-mobile-menu nav a:hover {
  background: rgba(128,128,128,0.15);
  color: #fff;
}

.g0fa-mobile-menu nav a .material-icons,
.g0fa-mobile-menu nav a ion-icon {
  font-size: 20px;
  width: 20px;
}

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

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

.g0fa-container {
  padding: 0 12px;
}

.g0fa-section {
  padding: 20px 12px;
}

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

/* Carousel */
.g0fa-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--g0fa-radius-lg);
  margin: 12px;
  aspect-ratio: 16/8;
}

.g0fa-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.g0fa-carousel-slide.g0fa-active {
  opacity: 1;
}

.g0fa-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g0fa-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.g0fa-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.g0fa-carousel-dot.g0fa-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* Game Grid */
.g0fa-category-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g0fa-primary);
  margin: 16px 0 8px;
  padding-left: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.g0fa-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.g0fa-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--g0fa-radius);
  padding: 4px;
}
.g0fa-game-item:hover {
  transform: scale(1.05);
  background: rgba(128,128,128,0.1);
}

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

.g0fa-game-item span {
  font-size: 1.05rem;
  color: var(--g0fa-text);
  text-align: center;
  margin-top: 3px;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.4rem;
}

/* Content Cards */
.g0fa-card {
  background: var(--g0fa-bg-card);
  border: 1px solid var(--g0fa-border);
  border-radius: var(--g0fa-radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}

.g0fa-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.g0fa-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--g0fa-text);
  margin-bottom: 8px;
}

.g0fa-card p:last-child {
  margin-bottom: 0;
}

.g0fa-card ul {
  padding-left: 18px;
  margin-bottom: 8px;
}
.g0fa-card ul li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--g0fa-text);
  margin-bottom: 4px;
}

/* CTA / Promo Buttons */
.g0fa-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #808080, #5D5D5D);
  color: #fff;
  border: none;
  border-radius: var(--g0fa-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin: 6px 0;
}
.g0fa-cta-btn:hover {
  background: linear-gradient(135deg, #9a9a9a, #6e6e6e);
  transform: scale(1.02);
}

/* Promo Link Text */
.g0fa-promo-link {
  color: var(--g0fa-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
}
.g0fa-promo-link:hover {
  color: var(--g0fa-accent-hover);
}

/* FAQ Accordion */
.g0fa-faq-item {
  border: 1px solid var(--g0fa-border);
  border-radius: var(--g0fa-radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.g0fa-faq-q {
  padding: 12px 14px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  background: var(--g0fa-bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.g0fa-faq-a {
  padding: 10px 14px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--g0fa-text);
  background: var(--g0fa-bg-card);
}

/* Winner List */
.g0fa-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44,62,80,0.5);
}
.g0fa-winner-item:last-child {
  border-bottom: none;
}

.g0fa-winner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--g0fa-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--g0fa-primary);
  flex-shrink: 0;
}

.g0fa-winner-info {
  flex: 1;
  min-width: 0;
}

.g0fa-winner-name {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.g0fa-winner-game {
  font-size: 1.05rem;
  color: var(--g0fa-primary);
}

.g0fa-winner-amount {
  font-size: 1.3rem;
  color: var(--g0fa-success);
  font-weight: 700;
  flex-shrink: 0;
}

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

.g0fa-payment-icon {
  width: 52px;
  height: 32px;
  background: var(--g0fa-bg-light);
  border: 1px solid var(--g0fa-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--g0fa-text);
  font-weight: 600;
}

/* Testimonials */
.g0fa-testimonial {
  background: var(--g0fa-bg-light);
  border-radius: var(--g0fa-radius);
  padding: 12px;
  margin-bottom: 8px;
}

.g0fa-testimonial-user {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.g0fa-testimonial-text {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--g0fa-text);
}

.g0fa-testimonial-stars {
  color: var(--g0fa-warning);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Footer */
.g0fa-footer {
  background: #141d26;
  border-top: 1px solid var(--g0fa-border);
  padding: 24px 12px 20px;
  text-align: center;
}

.g0fa-footer-brand {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.g0fa-footer-desc {
  font-size: 1.15rem;
  color: var(--g0fa-primary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.g0fa-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.g0fa-footer-links a {
  font-size: 1.15rem;
  color: var(--g0fa-text);
  padding: 4px 8px;
  transition: color 0.2s;
}
.g0fa-footer-links a:hover {
  color: #fff;
}

.g0fa-footer-promo-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.g0fa-footer-promo-btns button {
  padding: 8px 16px;
  background: linear-gradient(135deg, #808080, #5D5D5D);
  color: #fff;
  border: none;
  border-radius: var(--g0fa-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.g0fa-footer-promo-btns button:hover {
  background: linear-gradient(135deg, #9a9a9a, #6e6e6e);
}

.g0fa-footer-copy {
  font-size: 1.1rem;
  color: var(--g0fa-secondary);
  border-top: 1px solid var(--g0fa-border);
  padding-top: 12px;
  margin-top: 8px;
}

/* Bottom Navigation */
.g0fa-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a2530 0%, #141d26 100%);
  border-top: 1px solid var(--g0fa-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}

.g0fa-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--g0fa-secondary);
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 0;
  gap: 2px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.g0fa-bottom-nav-item:hover,
.g0fa-bottom-nav-item.g0fa-nav-active {
  color: #fff;
  transform: scale(1.08);
}

.g0fa-bottom-nav-item .material-icons,
.g0fa-bottom-nav-item ion-icon,
.g0fa-bottom-nav-item .fas,
.g0fa-bottom-nav-item .far,
.g0fa-bottom-nav-item .fad,
.g0fa-bottom-nav-item .bi {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.g0fa-bottom-nav-item span {
  font-size: 1rem;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .g0fa-bottom-nav {
    display: none;
  }
}

/* Utilities */
.g0fa-text-center { text-align: center; }
.g0fa-mt-10 { margin-top: 10px; }
.g0fa-mb-10 { margin-bottom: 10px; }
.g0fa-hidden { display: none; }

/* H1 styling */
.g0fa-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 16px 12px 8px;
  line-height: 1.3;
}

/* Responsive tweaks */
@media (max-width: 320px) {
  .g0fa-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .g0fa-h1 {
    font-size: 1.7rem;
  }
}

/* Internal link style */
.g0fa-internal-link {
  color: var(--g0fa-accent);
  text-decoration: underline;
  font-weight: 500;
}
.g0fa-internal-link:hover {
  color: #fff;
}

/* Highlight tag */
.g0fa-highlight {
  color: var(--g0fa-accent);
  font-weight: 600;
}

/* Badge */
.g0fa-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(128,128,128,0.2);
  color: var(--g0fa-accent);
}
