/* ============================================================
   nustar gaming - Core Base Styles
   CSS class prefix: v607-
   Palette: #191970 #34495E #A0522D #6C757D #D2B48C #0000FF
   Mobile-first, root font 62.5%
   ============================================================ */

:root {
  --v607-primary: #191970;       /* midnight blue - main bg */
  --v607-secondary: #34495E;     /* dark slate - sections */
  --v607-sienna: #A0522D;        /* sienna - accent */
  --v607-gray: #6C757D;          /* muted gray */
  --v607-tan: #D2B48C;           /* tan - gold highlight */
  --v607-blue: #0000FF;          /* pure blue - CTA */
  --v607-bg: #0f1450;
  --v607-bg-soft: #1c2350;
  --v607-text: #f4f6fb;
  --v607-text-muted: #c9d0e4;
  --v607-card: #232c54;
  --v607-border: rgba(210, 180, 140, 0.25);
  --v607-radius: 12px;
}

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

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(160deg, #0a0f3d 0%, var(--v607-primary) 55%, #141a4d 100%);
  color: var(--v607-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--v607-tan); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

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

.v607-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v607-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.v607-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--v607-primary), var(--v607-secondary));
  border-bottom: 1px solid var(--v607-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.v607-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
}
.v607-logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; }
.v607-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v607-logo-text { font-weight: 700; font-size: 1.5rem; letter-spacing: 0.3px; }
.v607-logo-text span { color: var(--v607-tan); }

.v607-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v607-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.1rem; border-radius: 20px;
  font-size: 1.25rem; font-weight: 600; cursor: pointer;
  border: none; transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 32px;
}
.v607-btn:active { transform: scale(0.95); }
.v607-btn-login {
  background: transparent; color: #fff;
  border: 1px solid var(--v607-tan);
}
.v607-btn-register {
  background: linear-gradient(90deg, var(--v607-sienna), var(--v607-tan));
  color: #fff; box-shadow: 0 2px 8px rgba(160,82,45,0.45);
}
.v607-menu-btn {
  background: transparent; border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem 0.6rem;
}

/* ---------- Mobile dropdown menu ---------- */
.v607-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0;
  background: var(--v607-bg-soft);
  border-bottom: 1px solid var(--v607-border);
  z-index: 9999;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.v607-mobile-menu.v607-menu-open { max-height: 460px; }
.v607-mobile-menu ul { list-style: none; padding: 0.6rem 1rem; }
.v607-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.v607-mobile-menu a {
  display: block; padding: 1rem 0.6rem;
  color: var(--v607-text); font-size: 1.4rem;
}
.v607-mobile-menu a:hover { color: var(--v607-tan); }

/* ---------- Hero carousel ---------- */
.v607-main { padding-top: 64px; }
.v607-carousel {
  position: relative; overflow: hidden;
  border-radius: 0 0 18px 18px;
}
.v607-carousel-track {
  display: flex; transition: transform 0.5s ease;
}
.v607-carousel-slide {
  min-width: 100%; position: relative;
}
.v607-carousel-slide img {
  width: 100%; height: 190px; object-fit: cover;
}
.v607-carousel-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(10,15,61,0.65); border-radius: 10px;
  padding: 0.7rem 1rem; color: #fff;
}
.v607-carousel-cap h2 { font-size: 1.5rem; margin-bottom: 0.3rem; color: var(--v607-tan); }
.v607-carousel-cap p { font-size: 1.15rem; color: var(--v607-text-muted); }
.v607-carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 0; background: var(--v607-bg);
}
.v607-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
}
.v607-carousel-dot.v607-dot-active { background: var(--v607-tan); }

/* ---------- Section ---------- */
.v607-section { padding: 1.8rem 0; }
.v607-section-title {
  font-size: 1.7rem; color: var(--v607-tan);
  margin-bottom: 1rem; font-weight: 700;
  border-left: 4px solid var(--v607-sienna);
  padding-left: 0.8rem;
}
.v607-section-sub {
  font-size: 1.3rem; color: var(--v607-text-muted);
  margin-bottom: 1.2rem;
}

.v607-intro p { margin-bottom: 1rem; color: var(--v607-text-muted); }
.v607-intro strong { color: var(--v607-tan); }

/* ---------- Game grid ---------- */
.v607-game-block { margin-bottom: 1.6rem; }
.v607-game-block h3 {
  font-size: 1.5rem; color: #fff;
  margin: 0 0 0.9rem 0; padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--v607-border);
}
.v607-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v607-card {
  background: var(--v607-card);
  border-radius: var(--v607-radius);
  overflow: hidden; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.v607-card:hover, .v607-card:active {
  transform: translateY(-3px);
  border-color: var(--v607-tan);
}
.v607-card img {
  width: 100%; height: 90px; object-fit: cover;
  background: #0a0f3d;
}
.v607-card-name {
  display: block; padding: 0.5rem 0.4rem;
  font-size: 1.1rem; text-align: center;
  color: var(--v607-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Info modules ---------- */
.v607-info-card {
  background: var(--v607-card);
  border-radius: var(--v607-radius);
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid var(--v607-border);
}
.v607-info-card h3 { color: var(--v607-tan); font-size: 1.45rem; margin-bottom: 0.6rem; }
.v607-info-card p { color: var(--v607-text-muted); font-size: 1.3rem; margin-bottom: 0.6rem; }
.v607-info-card ul { padding-left: 1.4rem; color: var(--v607-text-muted); }
.v607-info-card li { margin-bottom: 0.3rem; font-size: 1.25rem; }

.v607-cta {
  display: inline-block; margin-top: 0.6rem;
  background: linear-gradient(90deg, var(--v607-sienna), var(--v607-tan));
  color: #fff; padding: 0.7rem 1.4rem;
  border-radius: 22px; font-weight: 700; font-size: 1.25rem;
}

.v607-feature-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.v607-feature {
  background: var(--v607-bg-soft);
  border-radius: 10px; padding: 0.9rem; text-align: center;
  border: 1px solid var(--v607-border);
}
.v607-feature .v607-feature-icon { font-size: 2rem; color: var(--v607-tan); }
.v607-feature h4 { font-size: 1.3rem; color: #fff; margin: 0.4rem 0 0.2rem; }
.v607-feature p { font-size: 1.15rem; color: var(--v607-text-muted); }

/* ---------- Testimonial ---------- */
.v607-testimonial {
  background: var(--v607-card); border-radius: var(--v607-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v607-sienna);
}
.v607-testimonial p { font-size: 1.25rem; color: var(--v607-text-muted); margin-bottom: 0.5rem; }
.v607-testimonial span { color: var(--v607-tan); font-size: 1.15rem; font-weight: 600; }

/* ---------- Payment / winners ---------- */
.v607-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v607-chip {
  background: var(--v607-bg-soft); border: 1px solid var(--v607-border);
  padding: 0.5rem 0.9rem; border-radius: 18px;
  font-size: 1.15rem; color: var(--v607-text-muted);
}

/* ---------- Footer ---------- */
.v607-footer {
  background: var(--v607-bg);
  border-top: 1px solid var(--v607-border);
  padding: 2rem 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.v607-footer-inner { max-width: 430px; margin: 0 auto; }
.v607-footer p { color: var(--v607-text-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.v607-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.v607-footer-links a {
  color: var(--v607-text-muted); font-size: 1.15rem;
}
.v607-footer-btns {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0;
}
.v607-footer-btns .v607-btn { flex: 1 1 40%; min-width: 120px; }
.v607-footer-copy {
  text-align: center; color: var(--v607-gray);
  font-size: 1.1rem; padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---------- Bottom nav ---------- */
.v607-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; z-index: 1000;
  background: linear-gradient(90deg, var(--v607-primary), var(--v607-secondary));
  border-top: 1px solid var(--v607-border);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.35);
}
.v607-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none; cursor: pointer;
  color: var(--v607-text-muted); text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.v607-bottom-nav-btn .material-icons,
.v607-bottom-nav-btn ion-icon { font-size: 24px; }
.v607-bottom-nav-btn i { font-size: 22px; }
.v607-bottom-nav-btn span {
  font-size: 1.05rem; margin-top: 2px;
}
.v607-bottom-nav-btn:active { transform: scale(0.92); }
.v607-bottom-nav-btn:hover { color: #fff; }
.v607-bottom-nav-btn.v607-nav-current { color: var(--v607-tan); }
.v607-bottom-nav-btn.v607-nav-current span { color: var(--v607-tan); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v607-bottom-nav { display: none; }
  .v607-container, .v607-wrapper, .v607-header-inner,
  .v607-footer-inner { max-width: 760px; }
  .v607-grid { grid-template-columns: repeat(6, 1fr); }
  .v607-carousel-slide img { height: 320px; }
}

/* Mobile padding to avoid bottom nav covering content */
@media (max-width: 768px) {
  .v607-main { padding-bottom: 80px; }
  body { padding-bottom: 62px; }
}
