/* nustar-app.cyou - nustar app basefiles CSS */
/* Prefix: g1c3- | Palette: #FAFAD2 #ADD8E6 #E0FFFF #3A3A3A #000080 */

:root {
  --g1c3-navy: #000080;
  --g1c3-navy-2: #0b0b5e;
  --g1c3-navy-3: #14149b;
  --g1c3-dark: #3A3A3A;
  --g1c3-dark-2: #232347;
  --g1c3-yellow: #FAFAD2;
  --g1c3-blue: #ADD8E6;
  --g1c3-cyan: #E0FFFF;
  --g1c3-gold: #ffd86b;
  --g1c3-text: #f5f7ff;
  --g1c3-muted: #c3c9e8;
  --g1c3-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: linear-gradient(160deg, #06061f 0%, #0b0b3e 45%, #13135a 100%);
  color: var(--g1c3-text);
  line-height: 1.6;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--g1c3-blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--g1c3-gold); }

/* ===== Layout container ===== */
.g1c3-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #08082a 0%, #0c0c44 100%);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 128, 0.45);
}

main { display: block; padding-bottom: 80px; }

.g1c3-section {
  padding: 3.2rem 1.4rem;
}

.g1c3-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.g1c3-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g1c3-yellow);
  display: flex;
  align-items: center;
  gap: .8rem;
  letter-spacing: .3px;
}

.g1c3-section-title i { color: var(--g1c3-gold); }

.g1c3-section-more {
  font-size: 1.25rem;
  color: var(--g1c3-blue);
  font-weight: 600;
}

.g1c3-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 216, 230, .35), transparent);
  margin: 1rem 0 2rem;
}

/* ===== Header ===== */
.g1c3-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  background: linear-gradient(120deg, #000060 0%, #1a1a6e 100%);
  border-bottom: 1px solid rgba(250, 250, 210, .25);
  transition: box-shadow .3s ease, background .3s ease;
}

.g1c3-header-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  background: linear-gradient(120deg, #000050 0%, #14146a 100%);
}

.g1c3-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--g1c3-yellow);
  font-weight: 800;
  font-size: 1.7rem;
}

.g1c3-logo .g1c3-logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: radial-gradient(circle at 30% 30%, var(--g1c3-yellow), var(--g1c3-gold) 60%, #b8860b);
  display: flex; align-items: center; justify-content: center;
  color: #000080; font-weight: 900; font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(255, 216, 107, .45);
}

.g1c3-header-actions {
  display: flex; align-items: center; gap: .6rem;
}

.g1c3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: .75rem 1.3rem;
  font-size: 1.3rem;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
  text-decoration: none;
  line-height: 1;
}

.g1c3-btn-login {
  background: rgba(224, 255, 255, .12);
  color: var(--g1c3-cyan);
  border: 1px solid rgba(173, 216, 230, .55);
}

.g1c3-btn-register {
  background: linear-gradient(135deg, var(--g1c3-gold), #f0a500);
  color: #000080;
  box-shadow: 0 6px 16px rgba(255, 216, 107, .4);
}

.g1c3-btn:hover { transform: translateY(-2px); }
.g1c3-btn-register:hover { box-shadow: 0 10px 24px rgba(255, 216, 107, .6); }

.g1c3-icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(250, 250, 210, .08);
  color: var(--g1c3-yellow);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250, 250, 210, .2);
  cursor: pointer;
  font-size: 1.6rem;
}

/* ===== Mobile slide menu ===== */
.g1c3-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 20, .6);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
  z-index: 9998;
}
.g1c3-overlay-show { opacity: 1; visibility: visible; }

.g1c3-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 80%; max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #06062a, #0d0d4a);
  padding: 2rem 1.4rem;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 9999;
  overflow-y: auto;
}
.g1c3-menu-open { transform: translateX(0); }

.g1c3-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.6rem;
}
.g1c3-menu-title { color: var(--g1c3-yellow); font-weight: 800; font-size: 1.8rem; }

.g1c3-menu-list { list-style: none; }
.g1c3-menu-list li { border-bottom: 1px solid rgba(173, 216, 230, .12); }
.g1c3-menu-list a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem .4rem;
  color: var(--g1c3-cyan);
  font-size: 1.4rem; font-weight: 600;
}
.g1c3-menu-list a i { color: var(--g1c3-gold); width: 22px; text-align: center; }

.g1c3-menu-cta {
  margin-top: 1.8rem;
  display: flex; flex-direction: column; gap: .8rem;
}

/* ===== Hero / Carousel ===== */
.g1c3-hero {
  position: relative;
  padding: 1.4rem;
}
.g1c3-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--g1c3-shadow);
  aspect-ratio: 16 / 9;
}
.g1c3-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.g1c3-slide-active { opacity: 1; }
.g1c3-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,40,.1) 40%, rgba(0,0,30,.85));
}
.g1c3-slide-content { position: relative; z-index: 2; }
.g1c3-slide-tag {
  display: inline-block;
  background: var(--g1c3-gold);
  color: #000080;
  font-size: 1.1rem; font-weight: 800;
  padding: .3rem .8rem;
  border-radius: 6px;
  margin-bottom: .6rem;
}
.g1c3-slide-title {
  color: var(--g1c3-yellow);
  font-size: 2rem; font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.g1c3-slide-desc {
  color: var(--g1c3-cyan);
  font-size: 1.25rem;
  margin: .4rem 0 .9rem;
}
.g1c3-slide-cta {
  background: linear-gradient(135deg, #ffd86b, #f0a500);
  color: #000080;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: .4rem;
}

.g1c3-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,40,.5);
  color: var(--g1c3-yellow);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  border: 1px solid rgba(250,250,210,.3);
}
.g1c3-carousel-nav:hover { background: rgba(0,0,80,.8); }
#g1c3-slide-prev { left: 8px; }
#g1c3-slide-next { right: 8px; }

.g1c3-dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: .8rem;
}
.g1c3-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(173,216,230,.4);
  cursor: pointer;
}
.g1c3-dot-active { background: var(--g1c3-gold); width: 18px; border-radius: 4px; }

/* ===== Marquee notice ===== */
.g1c3-notice {
  background: linear-gradient(90deg, rgba(255,216,107,.18), rgba(173,216,230,.12));
  border: 1px solid rgba(255,216,107,.3);
  border-radius: 10px;
  padding: .7rem 1rem;
  margin: 0 1.4rem;
  display: flex; align-items: center; gap: .8rem;
  color: var(--g1c3-yellow);
  font-size: 1.2rem; font-weight: 600;
  overflow: hidden;
}
.g1c3-notice i { color: var(--g1c3-gold); }

/* ===== Feature strip ===== */
.g1c3-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  padding: 1.4rem;
}
.g1c3-feature {
  background: rgba(173,216,230,.07);
  border: 1px solid rgba(173,216,230,.15);
  border-radius: 12px;
  padding: 1rem .4rem;
  text-align: center;
}
.g1c3-feature i { font-size: 2rem; color: var(--g1c3-gold); margin-bottom: .4rem; display: block; }
.g1c3-feature span { font-size: 1.05rem; color: var(--g1c3-cyan); font-weight: 600; }

/* ===== Filter bar ===== */
.g1c3-filters {
  display: flex;
  gap: .6rem;
  padding: 0 1.4rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.g1c3-filters::-webkit-scrollbar { display: none; }
.g1c3-filter-btn {
  flex: 0 0 auto;
  background: rgba(173,216,230,.08);
  border: 1px solid rgba(173,216,230,.2);
  color: var(--g1c3-cyan);
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-size: 1.2rem; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
  white-space: nowrap;
}
.g1c3-filter-active {
  background: linear-gradient(135deg, var(--g1c3-gold), #f0a500);
  color: #000080;
  border-color: transparent;
}

/* ===== Game grid ===== */
.g1c3-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  padding: 0 1.4rem;
}
.g1c3-game-card {
  background: linear-gradient(180deg, #14145a, #0a0a3a);
  border: 1px solid rgba(173,216,230,.15);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.g1c3-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
  border-color: rgba(255,216,107,.4);
}
.g1c3-game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #06062a;
}
.g1c3-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g1c3-game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,40,.85), transparent 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: .6rem;
  opacity: 0; transition: opacity .25s ease;
}
.g1c3-game-card:hover .g1c3-game-overlay { opacity: 1; }
.g1c3-play-btn {
  background: linear-gradient(135deg, #ffd86b, #f0a500);
  color: #000080;
  font-weight: 800;
  font-size: 1.1rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .3rem;
}
.g1c3-game-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(255, 64, 64, .92);
  color: #fff;
  font-size: 1rem; font-weight: 800;
  padding: .15rem .5rem;
  border-radius: 6px;
}
.g1c3-game-badge.g1c3-badge-hot { background: linear-gradient(135deg, #ff5e62, #ff2d55); }
.g1c3-game-badge.g1c3-badge-new { background: linear-gradient(135deg, #2af598, #08a23f); color: #001a0a; }
.g1c3-game-name {
  padding: .55rem .4rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--g1c3-cyan);
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Promo / CTA banners ===== */
.g1c3-promo-banner {
  margin: 0 1.4rem 1.6rem;
  border-radius: 16px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #001a8a 0%, #4b0082 50%, #b8860b 100%);
  box-shadow: var(--g1c3-shadow);
}
.g1c3-promo-banner::before {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,216,107,.4), transparent 70%);
}
.g1c3-promo-title {
  font-size: 2.1rem; font-weight: 900; color: var(--g1c3-yellow);
  margin-bottom: .4rem; position: relative;
}
.g1c3-promo-sub {
  color: var(--g1c3-cyan); font-size: 1.3rem; margin-bottom: 1rem; position: relative;
}
.g1c3-promo-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #ffd86b, #f0a500);
  color: #000080; font-weight: 800;
  padding: .8rem 1.6rem; border-radius: 999px;
  font-size: 1.3rem;
  position: relative;
}

/* ===== SEO long text ===== */
.g1c3-seo {
  background: rgba(173,216,230,.05);
  border: 1px solid rgba(173,216,230,.12);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  margin: 0 1.4rem 1.6rem;
}
.g1c3-seo h2 {
  color: var(--g1c3-yellow);
  font-size: 1.9rem; font-weight: 800;
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .6rem;
}
.g1c3-seo h3 {
  color: var(--g1c3-blue);
  font-size: 1.5rem; font-weight: 700;
  margin: 1.4rem 0 .5rem;
}
.g1c3-seo p {
  color: var(--g1c3-muted);
  font-size: 1.3rem;
  margin-bottom: .8rem;
}
.g1c3-seo ul { padding-left: 1.6rem; margin-bottom: .8rem; }
.g1c3-seo li { color: var(--g1c3-muted); font-size: 1.3rem; margin-bottom: .4rem; }

/* ===== FAQ ===== */
.g1c3-faq-item {
  background: rgba(173,216,230,.06);
  border: 1px solid rgba(173,216,230,.14);
  border-radius: 12px;
  margin-bottom: .8rem;
  overflow: hidden;
}
.g1c3-faq-question {
  padding: 1.1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  color: var(--g1c3-yellow);
  font-weight: 700;
  font-size: 1.35rem;
}
.g1c3-faq-question .g1c3-faq-icon { color: var(--g1c3-gold); transition: transform .3s ease; }
.g1c3-faq-open .g1c3-faq-icon { transform: rotate(45deg); }
.g1c3-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 1.2rem;
  color: var(--g1c3-muted);
  font-size: 1.25rem;
}
.g1c3-faq-open .g1c3-faq-panel { padding: 0 1.2rem 1.1rem; }

/* ===== Footer ===== */
.g1c3-footer {
  background: linear-gradient(180deg, #06061f, #000010);
  border-top: 1px solid rgba(173,216,230,.18);
  padding: 2.4rem 1.4rem 1.4rem;
}
.g1c3-footer-brand {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
  color: var(--g1c3-yellow);
  font-size: 1.6rem; font-weight: 800;
}
.g1c3-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1rem;
  margin-bottom: 1.4rem;
}
.g1c3-footer-col h4 {
  color: var(--g1c3-blue);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: .6rem;
}
.g1c3-footer-col ul { list-style: none; }
.g1c3-footer-col li { margin-bottom: .4rem; }
.g1c3-footer-col a { color: var(--g1c3-muted); font-size: 1.15rem; }
.g1c3-footer-col a:hover { color: var(--g1c3-gold); }
.g1c3-footer-payments {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1rem;
}
.g1c3-footer-payments span {
  background: rgba(173,216,230,.08);
  border: 1px solid rgba(173,216,230,.2);
  color: var(--g1c3-cyan);
  font-size: 1.05rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: 8px;
}
.g1c3-footer-disclaimer {
  color: var(--g1c3-muted); font-size: 1.1rem;
  border-top: 1px solid rgba(173,216,230,.12);
  padding-top: 1rem; line-height: 1.6;
}
.g1c3-footer-copy {
  text-align: center;
  color: var(--g1c3-muted); font-size: 1.1rem;
  margin-top: 1rem;
}

/* ===== Bottom navigation ===== */
.g1c3-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #0c0c4a, #000020);
  border-top: 1px solid rgba(255,216,107,.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  z-index: 1000;
  box-shadow: 0 -8px 24px rgba(0,0,0,.5);
}
.g1c3-nav-btn {
  flex: 1;
  background: none; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .15rem;
  min-width: 60px; min-height: 60px;
  color: var(--g1c3-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color .25s ease, transform .2s ease;
  text-decoration: none;
  padding: .3rem;
}
.g1c3-nav-btn i { font-size: 22px; }
.g1c3-nav-btn span { font-size: 1rem; font-weight: 600; }
.g1c3-nav-btn:hover { color: var(--g1c3-yellow); transform: translateY(-2px); }
.g1c3-nav-btn.g1c3-nav-active { color: var(--g1c3-gold); }
.g1c3-nav-btn.g1c3-nav-promo {
  position: relative;
}
.g1c3-nav-btn.g1c3-nav-promo::before {
  content: "";
  position: absolute; top: -10px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd86b, #f0a500);
  box-shadow: 0 6px 14px rgba(255,216,107,.5);
  z-index: -1;
}
.g1c3-nav-btn.g1c3-nav-promo i { color: #000080; font-size: 22px; }
.g1c3-nav-btn.g1c3-nav-promo span { color: var(--g1c3-gold); }

/* ===== Back to top ===== */
.g1c3-top-btn {
  position: fixed;
  right: 14px; bottom: 78px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1c3-navy-3), var(--g1c3-navy));
  color: var(--g1c3-yellow);
  border: 1px solid rgba(255,216,107,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--g1c3-shadow);
}

/* ===== Reveal animation ===== */
.g1c3-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.g1c3-revealed { opacity: 1; transform: translateY(0); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .g1c3-bottom-nav { display: none; }
  .g1c3-wrap {
    max-width: 1100px;
    box-shadow: 0 0 80px rgba(0,0,128,.5);
  }
  .g1c3-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g1c3-features { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 40px; }
}
