/**
 * Nostar - Core Stylesheet
 * Website: nostar.cfd
 * All classes use prefix "g0bf-" for namespace isolation
 * Colors: #1B263B | #8FBC8F | #FF69B4 | #20B2AA | #00FF00
 */

/* CSS Variables */
:root {
  --g0bf-primary: #1B263B;
  --g0bf-secondary: #8FBC8F;
  --g0bf-accent: #FF69B4;
  --g0bf-teal: #20B2AA;
  --g0bf-green: #00FF00;
  --g0bf-bg: #0D1321;
  --g0bf-bg-card: #162032;
  --g0bf-bg-dark: #0A0F1A;
  --g0bf-text: #E8EDF3;
  --g0bf-text-muted: #8899AA;
  --g0bf-border: #2A3A4E;
  --g0bf-radius: 10px;
  --g0bf-shadow: 0 4px 16px rgba(0,0,0,0.35);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--g0bf-text);
  background: var(--g0bf-bg);
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Links */
a { color: var(--g0bf-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--g0bf-green); }

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

/* ====== HEADER ====== */
.g0bf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g0bf-primary) 0%, #0D1321 100%);
  border-bottom: 2px solid var(--g0bf-teal);
  max-width: 430px; margin: 0 auto;
  padding: 0 1rem; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
}
.g0bf-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.g0bf-header-logo {
  width: 28px; height: 28px; border-radius: 6px;
}
.g0bf-header-brand {
  font-size: 1.7rem; font-weight: 800; color: var(--g0bf-teal);
  letter-spacing: 0.5px;
}
.g0bf-header-right {
  display: flex; align-items: center; gap: 0.5rem;
}
.g0bf-btn-register, .g0bf-btn-login {
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; border: none; transition: transform 0.15s;
}
.g0bf-btn-register {
  background: linear-gradient(135deg, var(--g0bf-accent), #E0457B);
  color: #fff;
}
.g0bf-btn-login {
  background: linear-gradient(135deg, var(--g0bf-teal), #1790A0);
  color: #fff;
}
.g0bf-btn-register:hover, .g0bf-btn-login:hover { transform: scale(1.05); }
.g0bf-menu-toggle {
  background: none; border: none; color: var(--g0bf-text);
  font-size: 2rem; cursor: pointer; padding: 0.3rem;
  display: flex; align-items: center;
}

/* ====== MOBILE MENU ====== */
.g0bf-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.g0bf-overlay-active { opacity: 1; visibility: visible; }
.g0bf-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100%; background: var(--g0bf-bg-card);
  z-index: 9999; transition: right 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.g0bf-menu-active { right: 0; }
.g0bf-mobile-menu .g0bf-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--g0bf-text);
  font-size: 2.2rem; cursor: pointer;
}
.g0bf-mobile-menu h3 {
  color: var(--g0bf-teal); font-size: 1.6rem;
  margin-bottom: 1.2rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--g0bf-border);
}
.g0bf-mobile-menu a {
  display: block; padding: 0.9rem 0; color: var(--g0bf-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--g0bf-border);
}
.g0bf-mobile-menu a:hover { color: var(--g0bf-teal); }

/* ====== CAROUSEL ====== */
.g0bf-carousel {
  position: relative; overflow: hidden;
  margin-top: 54px; border-radius: 0;
}
.g0bf-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.g0bf-slide-active { display: block; }
.g0bf-carousel-slide img {
  width: 100%; height: auto; min-height: 180px; object-fit: cover;
}
.g0bf-carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.g0bf-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  border: none; transition: background 0.3s;
}
.g0bf-dot-active { background: var(--g0bf-teal); }

/* ====== MAIN CONTENT ====== */
.g0bf-main {
  padding: 1rem; padding-bottom: 2rem;
}
.g0bf-section {
  margin-bottom: 2rem;
}
.g0bf-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--g0bf-teal);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g0bf-border);
}

/* ====== GAME GRID ====== */
.g0bf-category-title {
  font-size: 1.5rem; font-weight: 700; color: var(--g0bf-secondary);
  margin: 1.2rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--g0bf-accent);
}
.g0bf-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; margin-bottom: 1rem;
}
.g0bf-game-item {
  text-align: center; cursor: pointer;
  background: var(--g0bf-bg-card); border-radius: 8px;
  padding: 0.5rem 0.3rem; transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--g0bf-border);
}
.g0bf-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32,178,170,0.2);
}
.g0bf-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.3rem;
}
.g0bf-game-name {
  font-size: 1rem; color: var(--g0bf-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ====== PROMO CTA ====== */
.g0bf-cta-box {
  background: linear-gradient(135deg, var(--g0bf-primary), #1A2D42);
  border: 2px solid var(--g0bf-teal); border-radius: var(--g0bf-radius);
  padding: 1.5rem; text-align: center; margin: 1.5rem 0;
}
.g0bf-cta-box h2 {
  font-size: 1.8rem; color: var(--g0bf-accent); margin-bottom: 0.8rem;
}
.g0bf-cta-box p {
  color: var(--g0bf-text-muted); margin-bottom: 1rem; font-size: 1.3rem;
}
.g0bf-cta-btn {
  display: inline-block; padding: 0.8rem 2.5rem;
  background: linear-gradient(135deg, var(--g0bf-accent), #E0457B);
  color: #fff; font-size: 1.4rem; font-weight: 800;
  border-radius: 8px; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.g0bf-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255,105,180,0.4);
}

/* ====== TEXT LINK ====== */
.g0bf-text-link {
  color: var(--g0bf-teal); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.g0bf-text-link:hover { color: var(--g0bf-green); }

/* ====== FEATURES GRID ====== */
.g0bf-features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.g0bf-feature-card {
  background: var(--g0bf-bg-card); border-radius: 8px;
  padding: 1rem; text-align: center;
  border: 1px solid var(--g0bf-border);
}
.g0bf-feature-card i, .g0bf-feature-card .material-icons {
  font-size: 2.2rem; color: var(--g0bf-teal); margin-bottom: 0.5rem;
}
.g0bf-feature-card h3 {
  font-size: 1.3rem; color: var(--g0bf-accent); margin-bottom: 0.3rem;
}
.g0bf-feature-card p {
  font-size: 1.1rem; color: var(--g0bf-text-muted);
}

/* ====== FAQ ====== */
.g0bf-faq-item {
  background: var(--g0bf-bg-card); border-radius: 8px;
  margin-bottom: 0.6rem; padding: 1rem;
  border-left: 3px solid var(--g0bf-teal);
}
.g0bf-faq-item h3 {
  font-size: 1.3rem; color: var(--g0bf-teal); margin-bottom: 0.4rem;
}
.g0bf-faq-item p {
  font-size: 1.2rem; color: var(--g0bf-text-muted); line-height: 1.5;
}

/* ====== TESTIMONIALS ====== */
.g0bf-testimonial {
  background: var(--g0bf-bg-card); border-radius: 8px;
  padding: 1rem; margin-bottom: 0.8rem;
  border: 1px solid var(--g0bf-border);
}
.g0bf-testimonial-name {
  font-weight: 700; color: var(--g0bf-secondary); font-size: 1.2rem;
}
.g0bf-testimonial-stars { color: #FFD700; font-size: 1.1rem; }
.g0bf-testimonial-text {
  color: var(--g0bf-text-muted); font-size: 1.2rem; margin-top: 0.4rem;
}

/* ====== FOOTER ====== */
.g0bf-footer {
  background: var(--g0bf-bg-dark);
  border-top: 2px solid var(--g0bf-border);
  padding: 2rem 1rem 1rem; text-align: center;
}
.g0bf-footer-brand {
  font-size: 2rem; font-weight: 800; color: var(--g0bf-teal);
  margin-bottom: 0.5rem;
}
.g0bf-footer-desc {
  color: var(--g0bf-text-muted); font-size: 1.2rem;
  margin-bottom: 1rem; line-height: 1.5;
}
.g0bf-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 1rem;
}
.g0bf-footer-links a {
  padding: 0.4rem 0.8rem; background: var(--g0bf-bg-card);
  border-radius: 6px; color: var(--g0bf-text-muted);
  font-size: 1.1rem; border: 1px solid var(--g0bf-border);
}
.g0bf-footer-links a:hover { color: var(--g0bf-teal); border-color: var(--g0bf-teal); }
.g0bf-footer-promo {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 1rem;
}
.g0bf-footer-promo button {
  padding: 0.6rem 1.2rem; border-radius: 6px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.15s;
}
.g0bf-footer-promo button:hover { transform: scale(1.05); }
.g0bf-footer-copy {
  color: var(--g0bf-text-muted); font-size: 1rem; margin-top: 0.8rem;
}
.g0bf-footer-partners {
  margin-bottom: 1rem;
}
.g0bf-footer-partners img {
  height: 24px; display: inline-block; margin: 0.3rem;
  opacity: 0.6; filter: grayscale(0.5);
}

/* ====== BOTTOM NAV ====== */
.g0bf-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--g0bf-primary) 0%, #0A0F1A 100%);
  border-top: 2px solid var(--g0bf-teal);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.g0bf-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; color: var(--g0bf-text-muted);
  cursor: pointer; transition: all 0.2s; border-radius: 8px;
  padding: 0.3rem;
}
.g0bf-bottom-nav-btn i,
.g0bf-bottom-nav-btn .material-icons,
.g0bf-bottom-nav-btn ion-icon {
  font-size: 22px; margin-bottom: 2px;
}
.g0bf-bottom-nav-btn span {
  font-size: 1rem; white-space: nowrap;
}
.g0bf-bottom-nav-btn:hover, .g0bf-nav-active {
  color: var(--g0bf-teal);
  background: rgba(32,178,170,0.1);
}
.g0bf-nav-active i,
.g0bf-nav-active .material-icons,
.g0bf-nav-active ion-icon {
  color: var(--g0bf-accent);
}

/* ====== WINNER SHOWCASE ====== */
.g0bf-winner-row {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--g0bf-bg-card); border-radius: 8px;
  padding: 0.6rem 0.8rem; margin-bottom: 0.4rem;
  border: 1px solid var(--g0bf-border);
}
.g0bf-winner-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--g0bf-teal); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.4rem; font-weight: 700;
}
.g0bf-winner-info { flex: 1; }
.g0bf-winner-name { font-size: 1.1rem; color: var(--g0bf-text); font-weight: 600; }
.g0bf-winner-game { font-size: 1rem; color: var(--g0bf-text-muted); }
.g0bf-winner-amount { font-size: 1.3rem; color: var(--g0bf-green); font-weight: 800; }

/* ====== PAYMENT METHODS ====== */
.g0bf-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}
.g0bf-payment-item {
  background: var(--g0bf-bg-card); border-radius: 8px;
  padding: 0.6rem 1rem; border: 1px solid var(--g0bf-border);
  font-size: 1.1rem; color: var(--g0bf-text-muted);
  display: flex; align-items: center; gap: 0.3rem;
}

/* ====== APP DOWNLOAD CTA ====== */
.g0bf-app-cta {
  background: linear-gradient(135deg, #1A2D42, var(--g0bf-primary));
  border: 2px solid var(--g0bf-accent); border-radius: var(--g0bf-radius);
  padding: 1.2rem; text-align: center;
}
.g0bf-app-cta h3 {
  color: var(--g0bf-accent); font-size: 1.6rem; margin-bottom: 0.6rem;
}
.g0bf-app-cta p {
  color: var(--g0bf-text-muted); font-size: 1.2rem; margin-bottom: 1rem;
}
.g0bf-app-btn {
  display: inline-block; padding: 0.7rem 2rem;
  background: linear-gradient(135deg, var(--g0bf-teal), #1790A0);
  color: #fff; font-weight: 700; border-radius: 8px;
  border: none; cursor: pointer; font-size: 1.3rem;
}

/* ====== TRICKS / TIPS ====== */
.g0bf-tip-item {
  display: flex; gap: 0.6rem; margin-bottom: 0.6rem;
  padding: 0.8rem; background: var(--g0bf-bg-card);
  border-radius: 8px; border-left: 3px solid var(--g0bf-accent);
}
.g0bf-tip-num {
  min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--g0bf-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
.g0bf-tip-text { font-size: 1.2rem; color: var(--g0bf-text-muted); }

/* ====== RESPONSIVE ====== */
@media (min-width: 769px) {
  .g0bf-bottom-nav { display: none; }
  .g0bf-header { max-width: 430px; }
  .g0bf-main { max-width: 430px; margin: 0 auto; }
  .g0bf-footer { max-width: 430px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .g0bf-main { padding-bottom: 80px; }
  .g0bf-footer { padding-bottom: 80px; }
}
