/**
 * layout-516a.css - Nustar Pagcor Stylesheet
 * All classes prefixed with g6a6- to avoid conflicts
 * Mobile-first design, max-width 430px
 */

:root {
  --g6a6-primary: #00FF7F;
  --g6a6-secondary: #20B2AA;
  --g6a6-green: #2E8B57;
  --g6a6-bg: #1E1E1E;
  --g6a6-accent: #FF8000;
  --g6a6-text: #FFFFFF;
  --g6a6-text-muted: #B0B0B0;
  --g6a6-card-bg: #2A2A2A;
  --g6a6-border: #3A3A3A;
  --g6a6-radius: 8px;
  font-size: 62.5%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--g6a6-bg);
  color: var(--g6a6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--g6a6-primary);
  text-decoration: none;
}

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

/* ===== HEADER ===== */
.g6a6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #111111, #1E1E1E);
  border-bottom: 2px solid var(--g6a6-green);
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g6a6-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.g6a6-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g6a6-primary);
  letter-spacing: 0.5px;
}

.g6a6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g6a6-btn-register {
  background: var(--g6a6-primary);
  color: #111;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--g6a6-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.g6a6-btn-register:hover {
  background: #33ff99;
  transform: scale(1.05);
}

.g6a6-btn-login {
  background: transparent;
  color: var(--g6a6-primary);
  border: 1.5px solid var(--g6a6-primary);
  padding: 0.45rem 1rem;
  border-radius: var(--g6a6-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.g6a6-btn-login:hover {
  background: rgba(0, 255, 127, 0.1);
}

.g6a6-hamburger {
  background: none;
  border: none;
  color: var(--g6a6-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.3rem;
  display: flex;
  align-items: center;
}

/* ===== MOBILE MENU ===== */
.g6a6-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.g6a6-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 280px;
  height: 100%;
  background: #111;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem 0;
  border-right: 2px solid var(--g6a6-green);
}

.g6a6-menu-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--g6a6-border);
  margin-bottom: 1rem;
}

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

.g6a6-menu-header span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g6a6-primary);
}

.g6a6-menu-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #ddd;
  font-size: 1.3rem;
  border-bottom: 1px solid #222;
  transition: all 0.2s;
}

.g6a6-menu-link:hover, .g6a6-menu-link:active {
  background: rgba(0, 255, 127, 0.08);
  color: var(--g6a6-primary);
  padding-left: 2rem;
}

.g6a6-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #999;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== CAROUSEL ===== */
.g6a6-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 52px;
}

.g6a6-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.g6a6-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.g6a6-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.g6a6-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.g6a6-dot-active {
  background: var(--g6a6-primary);
  width: 24px;
  border-radius: 5px;
}

/* ===== MAIN CONTENT ===== */
.g6a6-main {
  padding: 1rem;
  padding-bottom: 2rem;
}

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

.g6a6-section {
  margin-bottom: 2rem;
}

.g6a6-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g6a6-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g6a6-green);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g6a6-section-title i, .g6a6-section-title .material-icons {
  font-size: 2rem;
}

/* ===== GAME GRID ===== */
.g6a6-category-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g6a6-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--g6a6-accent);
}

.g6a6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.g6a6-game-card {
  background: var(--g6a6-card-bg);
  border-radius: var(--g6a6-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--g6a6-border);
}

.g6a6-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 127, 0.15);
  border-color: var(--g6a6-green);
}

.g6a6-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.g6a6-game-card .g6a6-game-name {
  font-size: 1rem;
  color: #ddd;
  text-align: center;
  padding: 0.3rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CONTENT CARDS ===== */
.g6a6-card {
  background: var(--g6a6-card-bg);
  border-radius: var(--g6a6-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--g6a6-border);
}

.g6a6-card h2 {
  font-size: 1.6rem;
  color: var(--g6a6-primary);
  margin-bottom: 0.8rem;
}

.g6a6-card h3 {
  font-size: 1.4rem;
  color: var(--g6a6-accent);
  margin: 1rem 0 0.5rem;
}

.g6a6-card p {
  color: var(--g6a6-text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.g6a6-card ul {
  padding-left: 1.5rem;
  color: var(--g6a6-text-muted);
}

.g6a6-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ===== PROMO BUTTONS ===== */
.g6a6-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--g6a6-green), var(--g6a6-primary));
  color: #111;
  padding: 0.7rem 1.5rem;
  border-radius: var(--g6a6-radius);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.g6a6-btn-promo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 255, 127, 0.4);
}

.g6a6-btn-accent {
  display: inline-block;
  background: linear-gradient(135deg, #e67300, var(--g6a6-accent));
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--g6a6-radius);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.g6a6-btn-accent:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 128, 0, 0.4);
}

/* ===== PROMO TEXT LINK ===== */
.g6a6-promo-link {
  color: var(--g6a6-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.g6a6-promo-link:hover {
  color: #33ff99;
}

/* ===== WINNER LIST ===== */
.g6a6-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--g6a6-border);
  font-size: 1.2rem;
}

.g6a6-winner-name {
  color: var(--g6a6-primary);
  font-weight: 600;
}

.g6a6-winner-amount {
  color: var(--g6a6-accent);
  font-weight: 700;
}

.g6a6-winner-game {
  color: var(--g6a6-text-muted);
  font-size: 1.1rem;
}

/* ===== TESTIMONIALS ===== */
.g6a6-testimonial {
  background: var(--g6a6-card-bg);
  border-radius: var(--g6a6-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g6a6-primary);
}

.g6a6-testimonial p {
  font-style: italic;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.g6a6-testimonial-author {
  color: var(--g6a6-accent);
  font-weight: 600;
  font-size: 1.2rem;
}

/* ===== PAYMENT METHODS ===== */
.g6a6-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.g6a6-payment-item {
  background: var(--g6a6-card-bg);
  border: 1px solid var(--g6a6-border);
  border-radius: var(--g6a6-radius);
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--g6a6-text-muted);
}

/* ===== H1 STYLING ===== */
.g6a6-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g6a6-primary);
  text-align: center;
  margin: 1.5rem 0;
  line-height: 1.4;
}

/* ===== FOOTER ===== */
.g6a6-footer {
  background: #111;
  border-top: 2px solid var(--g6a6-green);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.g6a6-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.g6a6-footer-brand p {
  color: var(--g6a6-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.g6a6-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.g6a6-footer-link {
  background: var(--g6a6-card-bg);
  border: 1px solid var(--g6a6-border);
  color: var(--g6a6-text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.g6a6-footer-link:hover {
  border-color: var(--g6a6-primary);
  color: var(--g6a6-primary);
}

.g6a6-footer-promo {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.g6a6-footer-copy {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #222;
}

/* ===== BOTTOM NAV ===== */
.g6a6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a, #111);
  border-top: 2px solid var(--g6a6-green);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.3rem;
}

.g6a6-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  border: none;
  background: none;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
}

.g6a6-bottom-nav-item i,
.g6a6-bottom-nav-item .material-icons,
.g6a6-bottom-nav-item ion-icon,
.g6a6-bottom-nav-item bi {
  font-size: 22px;
}

.g6a6-bottom-nav-item span {
  font-size: 1rem;
  white-space: nowrap;
}

.g6a6-bottom-nav-item:hover,
.g6a6-nav-active {
  color: var(--g6a6-primary);
}

.g6a6-nav-active {
  position: relative;
}

.g6a6-nav-active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--g6a6-primary);
  border-radius: 2px;
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .g6a6-bottom-nav {
    display: none;
  }
  .g6a6-hamburger {
    display: none;
  }
  .g6a6-header {
    position: relative;
  }
  .g6a6-carousel {
    margin-top: 0;
  }
  .g6a6-main {
    max-width: 430px;
    margin: 0 auto;
  }
  .g6a6-mobile-menu {
    transform: none !important;
    position: relative;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    border: none;
    padding: 0;
    overflow: visible;
    display: none;
  }
}

/* ===== FAQ ===== */
.g6a6-faq-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g6a6-border);
}

.g6a6-faq-item h3 {
  color: var(--g6a6-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.g6a6-faq-item p {
  color: var(--g6a6-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.g6a6-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.g6a6-step-num {
  background: var(--g6a6-green);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.g6a6-step-text {
  color: var(--g6a6-text-muted);
  line-height: 1.6;
}

.g6a6-step-text strong {
  color: var(--g6a6-primary);
}

/* ===== TIPS ===== */
.g6a6-tip-card {
  background: var(--g6a6-card-bg);
  border-radius: var(--g6a6-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g6a6-accent);
}

.g6a6-tip-card h3 {
  color: var(--g6a6-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.g6a6-tip-card p {
  color: var(--g6a6-text-muted);
  font-size: 1.2rem;
  line-height: 1.5;
}
