/**
 * phvip777.css - Core Stylesheet
 * Prefix: g063-
 * Color palette: #2C3E50 | #F5DEB3 | #A0522D | #DDA0DD | #FFDEAD
 * Dark backgrounds, light text for readability
 */

/* === CSS Variables === */
:root {
  --g063-primary: #2C3E50;
  --g063-accent: #A0522D;
  --g063-gold: #F5DEB3;
  --g063-lavender: #DDA0DD;
  --g063-cream: #FFDEAD;
  --g063-bg: #1a2332;
  --g063-bg2: #243447;
  --g063-bg3: #2C3E50;
  --g063-text: #F5DEB3;
  --g063-text2: #FFDEAD;
  --g063-white: #ffffff;
  --g063-border: #3d5166;
  --g063-radius: 8px;
  --g063-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--g063-bg);
  color: var(--g063-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--g063-cream); text-decoration: none; }
a:hover { color: var(--g063-lavender); }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.g063-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--g063-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  transition: box-shadow 0.3s;
  border-bottom: 2px solid var(--g063-accent);
}
.g063-header-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.g063-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g063-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.g063-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g063-gold);
  letter-spacing: 0.5px;
}
.g063-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g063-btn-register {
  background: linear-gradient(135deg, var(--g063-accent), #c4723d);
  color: var(--g063-white);
  padding: 0.5rem 1rem;
  border-radius: var(--g063-radius);
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.g063-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(160,82,45,0.5);
}
.g063-btn-login {
  background: transparent;
  color: var(--g063-gold);
  padding: 0.5rem 1rem;
  border-radius: var(--g063-radius);
  font-size: 1.2rem;
  font-weight: 600;
  border: 1.5px solid var(--g063-gold);
  cursor: pointer;
  transition: all 0.2s;
}
.g063-btn-login:hover {
  background: rgba(245,222,179,0.1);
}
.g063-menu-btn {
  background: none;
  border: none;
  color: var(--g063-gold);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* === Mobile Menu === */
.g063-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}
.g063-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: var(--g063-bg2);
  z-index: 9999;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s, visibility 0.3s;
  padding-top: 1.5rem;
  overflow-y: auto;
  border-right: 2px solid var(--g063-accent);
}
.g063-mobile-menu-title {
  padding: 1rem 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g063-gold);
  border-bottom: 1px solid var(--g063-border);
}
.g063-mobile-menu a {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--g063-cream);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g063-border);
  transition: background 0.2s, padding-left 0.2s;
}
.g063-mobile-menu a:hover {
  background: rgba(160,82,45,0.2);
  padding-left: 2rem;
  color: var(--g063-lavender);
}

/* === Main Content === */
main {
  padding-top: 56px;
  padding-bottom: 1rem;
}

/* === Carousel === */
.g063-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g063-radius) var(--g063-radius);
}
.g063-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}
.g063-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}
.g063-slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.g063-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.g063-dot-active {
  background: var(--g063-accent);
  width: 20px;
  border-radius: 4px;
}

/* === Sections === */
.g063-section {
  padding: 1.5rem 1rem;
}
.g063-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g063-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g063-accent);
}
.g063-section-title i {
  margin-right: 0.5rem;
  color: var(--g063-accent);
}
.g063-section p {
  line-height: 1.8rem;
  margin-bottom: 1rem;
  color: var(--g063-text2);
}

/* === Game Grid === */
.g063-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g063-lavender);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--g063-accent);
}
.g063-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.g063-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--g063-bg2);
  border-radius: var(--g063-radius);
  padding: 0.5rem;
  border: 1px solid var(--g063-border);
}
.g063-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--g063-accent);
}
.g063-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  margin-bottom: 0.3rem;
  object-fit: cover;
}
.g063-game-item span {
  font-size: 1.1rem;
  color: var(--g063-cream);
  display: block;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Cards & Components === */
.g063-card {
  background: var(--g063-bg2);
  border-radius: var(--g063-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--g063-border);
}
.g063-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g063-gold);
  margin-bottom: 0.8rem;
}
.g063-card p {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: var(--g063-text2);
}

/* === Promo Button === */
.g063-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g063-accent), #c4723d);
  color: var(--g063-white);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem 0;
}
.g063-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(160,82,45,0.5);
}
.g063-promo-text {
  color: var(--g063-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.g063-promo-text:hover {
  color: var(--g063-lavender);
}

/* === Footer === */
.g063-footer {
  background: var(--g063-primary);
  padding: 2rem 1rem 6rem;
  border-top: 2px solid var(--g063-accent);
  text-align: center;
}
.g063-footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g063-gold);
  margin-bottom: 1rem;
}
.g063-footer-desc {
  font-size: 1.2rem;
  color: var(--g063-text);
  line-height: 1.6rem;
  margin-bottom: 1.5rem;
}
.g063-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.g063-footer-links a {
  background: var(--g063-bg2);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  color: var(--g063-cream);
  border: 1px solid var(--g063-border);
  transition: all 0.2s;
}
.g063-footer-links a:hover {
  background: var(--g063-accent);
  color: var(--g063-white);
}
.g063-footer-copy {
  font-size: 1.1rem;
  color: rgba(245,222,179,0.5);
  margin-top: 1rem;
}

/* === Bottom Navigation === */
.g063-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--g063-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--g063-accent);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}
.g063-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--g063-cream);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
}
.g063-bottom-btn i,
.g063-bottom-btn .material-icons,
.g063-bottom-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.g063-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}
.g063-bottom-btn:hover {
  color: var(--g063-gold);
  transform: scale(1.1);
}
.g063-bottom-btn-active {
  color: var(--g063-accent);
}
.g063-bottom-btn-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--g063-accent);
  margin-top: 1px;
  border-radius: 1px;
}

/* === Utility Classes === */
.g063-text-gold { color: var(--g063-gold); }
.g063-text-accent { color: var(--g063-accent); }
.g063-text-center { text-align: center; }
.g063-mt1 { margin-top: 1rem; }
.g063-mb1 { margin-bottom: 1rem; }
.g063-hidden { display: none; }

/* === Winner Showcase === */
.g063-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--g063-bg2);
  border-radius: var(--g063-radius);
  margin-bottom: 0.6rem;
  border: 1px solid var(--g063-border);
}
.g063-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g063-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--g063-white);
  font-weight: 700;
}
.g063-winner-info {
  flex: 1;
}
.g063-winner-name {
  font-size: 1.2rem;
  color: var(--g063-gold);
  font-weight: 600;
}
.g063-winner-detail {
  font-size: 1.1rem;
  color: var(--g063-cream);
}
.g063-winner-amount {
  font-size: 1.3rem;
  color: var(--g063-accent);
  font-weight: 700;
}

/* === RTP Table === */
.g063-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.g063-rtp-table th {
  background: var(--g063-accent);
  color: var(--g063-white);
  padding: 0.6rem;
  text-align: left;
  font-weight: 600;
}
.g063-rtp-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--g063-border);
  color: var(--g063-cream);
}
.g063-rtp-table tr:nth-child(even) {
  background: rgba(44,62,80,0.5);
}

/* === Testimonials === */
.g063-testimonial {
  background: var(--g063-bg2);
  border-radius: var(--g063-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g063-accent);
}
.g063-testimonial-user {
  font-size: 1.2rem;
  color: var(--g063-gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.g063-testimonial-text {
  font-size: 1.2rem;
  color: var(--g063-cream);
  line-height: 1.6rem;
}
.g063-testimonial-stars {
  color: var(--g063-accent);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

/* === FAQ === */
.g063-faq-item {
  background: var(--g063-bg2);
  border-radius: var(--g063-radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--g063-border);
}
.g063-faq-q {
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--g063-gold);
  font-size: 1.3rem;
  cursor: default;
}
.g063-faq-a {
  padding: 0 1rem 0.8rem;
  font-size: 1.2rem;
  color: var(--g063-cream);
  line-height: 1.6rem;
}

/* === Payment Icons === */
.g063-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}
.g063-payment-item {
  background: var(--g063-bg2);
  padding: 0.5rem 1rem;
  border-radius: var(--g063-radius);
  font-size: 1.1rem;
  color: var(--g063-cream);
  border: 1px solid var(--g063-border);
}

/* === Responsive === */
@media (min-width: 769px) {
  .g063-bottom-nav {
    display: none;
  }
  main {
    padding-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  main {
    padding-bottom: 70px;
  }
}
