/**
 * phpearl.css - Main Stylesheet for phpearl.cfd
 * Prefix: w6fc6-
 * Colors: #273746 | #FFCC33 | #D4AF37 | #FFB3BA | #B8860B
 */

:root {
  --w6fc6-primary: #273746;
  --w6fc6-accent: #FFCC33;
  --w6fc6-gold: #D4AF37;
  --w6fc6-pink: #FFB3BA;
  --w6fc6-bronze: #B8860B;
  --w6fc6-bg: #1a252f;
  --w6fc6-bg-light: #1e2d3d;
  --w6fc6-bg-card: #223344;
  --w6fc6-text: #f0f0f0;
  --w6fc6-text-muted: #a0b0c0;
  --w6fc6-border: #2c4050;
  --w6fc6-radius: 8px;
  --w6fc6-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--w6fc6-bg);
  color: var(--w6fc6-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.w6fc6-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: var(--w6fc6-primary);
  border-bottom: 2px solid var(--w6fc6-gold);
  padding: 0 1.2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w6fc6-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

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

.w6fc6-logo span {
  color: var(--w6fc6-accent);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.w6fc6-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w6fc6-btn-register {
  background: linear-gradient(135deg, var(--w6fc6-accent), var(--w6fc6-bronze));
  color: var(--w6fc6-primary);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.w6fc6-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255,204,51,0.5);
}

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

.w6fc6-btn-login:hover {
  background: rgba(255,204,51,0.1);
}

.w6fc6-menu-toggle {
  background: none;
  border: none;
  color: var(--w6fc6-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ========== MOBILE MENU ========== */
.w6fc6-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.w6fc6-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--w6fc6-primary);
  z-index: 9999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.w6fc6-mobile-menu-close {
  background: none;
  border: none;
  color: var(--w6fc6-accent);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}

.w6fc6-mobile-menu a {
  display: block;
  color: var(--w6fc6-text);
  text-decoration: none;
  padding: 1rem 0;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w6fc6-border);
  transition: color 0.2s;
}

.w6fc6-mobile-menu a:hover {
  color: var(--w6fc6-accent);
}

/* ========== CAROUSEL ========== */
.w6fc6-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 52px;
  border-radius: 0 0 var(--w6fc6-radius) var(--w6fc6-radius);
}

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

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

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

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

.w6fc6-dot-active {
  background: var(--w6fc6-accent);
}

/* ========== MAIN CONTENT ========== */
.w6fc6-main {
  padding: 1.2rem;
}

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

.w6fc6-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w6fc6-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w6fc6-gold);
}

.w6fc6-section-title i {
  margin-right: 0.5rem;
}

.w6fc6-h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w6fc6-accent);
  text-align: center;
  margin: 1.5rem 0;
  line-height: 2.2rem;
}

.w6fc6-text {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--w6fc6-text-muted);
  margin-bottom: 1rem;
}

.w6fc6-text a {
  color: var(--w6fc6-accent);
  text-decoration: underline;
  font-weight: 600;
}

/* ========== GAME GRID ========== */
.w6fc6-cat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w6fc6-gold);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w6fc6-accent);
}

.w6fc6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.w6fc6-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.w6fc6-game-item:hover {
  transform: scale(1.05);
}

.w6fc6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w6fc6-radius);
  border: 2px solid var(--w6fc6-border);
  object-fit: cover;
}

.w6fc6-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--w6fc6-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.w6fc6-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w6fc6-accent);
  margin-bottom: 0.6rem;
}

.w6fc6-card p {
  font-size: 1.3rem;
  color: var(--w6fc6-text-muted);
  line-height: 1.7rem;
}

/* ========== PROMO BUTTON ========== */
.w6fc6-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w6fc6-accent), var(--w6fc6-bronze));
  color: var(--w6fc6-primary);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,204,51,0.3);
}

.w6fc6-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,204,51,0.5);
}

.w6fc6-promo-btn-lg {
  display: block;
  width: 100%;
  padding: 1.4rem;
  font-size: 1.6rem;
  text-align: center;
  margin: 1.5rem 0;
}

.w6fc6-promo-link {
  color: var(--w6fc6-accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed var(--w6fc6-accent);
}

.w6fc6-promo-link:hover {
  color: var(--w6fc6-gold);
}

/* ========== FEATURES LIST ========== */
.w6fc6-features {
  list-style: none;
}

.w6fc6-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--w6fc6-border);
  font-size: 1.3rem;
  color: var(--w6fc6-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.w6fc6-features li i {
  color: var(--w6fc6-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ========== RTP TABLE ========== */
.w6fc6-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.w6fc6-rtp-table th {
  background: var(--w6fc6-primary);
  color: var(--w6fc6-accent);
  padding: 0.6rem;
  text-align: left;
  font-weight: 600;
}

.w6fc6-rtp-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--w6fc6-border);
  color: var(--w6fc6-text-muted);
}

.w6fc6-rtp-table tr:hover td {
  background: rgba(255,204,51,0.05);
}

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

.w6fc6-testimonial-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--w6fc6-accent);
}

.w6fc6-testimonial-text {
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
  margin-top: 0.3rem;
  font-style: italic;
}

/* ========== FOOTER ========== */
.w6fc6-footer {
  background: var(--w6fc6-primary);
  padding: 2rem 1.2rem;
  border-top: 2px solid var(--w6fc6-gold);
  margin-top: 2rem;
}

.w6fc6-footer-text {
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
  line-height: 1.7rem;
  margin-bottom: 1rem;
}

.w6fc6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.w6fc6-footer-links a {
  color: var(--w6fc6-accent);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  background: var(--w6fc6-bg-card);
  border-radius: 15px;
  transition: background 0.2s;
}

.w6fc6-footer-links a:hover {
  background: var(--w6fc6-bg-light);
}

.w6fc6-footer-copy {
  font-size: 1.1rem;
  color: var(--w6fc6-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--w6fc6-border);
}

/* ========== BOTTOM NAV ========== */
.w6fc6-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w6fc6-primary);
  border-top: 2px solid var(--w6fc6-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}

.w6fc6-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--w6fc6-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.4rem;
}

.w6fc6-bnav-btn i,
.w6fc6-bnav-btn span.material-symbols-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}

.w6fc6-bnav-btn span {
  font-size: 1rem;
}

.w6fc6-bnav-btn:hover,
.w6fc6-bnav-active {
  color: var(--w6fc6-accent);
}

.w6fc6-bnav-btn:active {
  transform: scale(0.9);
}

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

.w6fc6-winner-name {
  color: var(--w6fc6-accent);
  font-weight: 600;
}

.w6fc6-winner-amount {
  color: var(--w6fc6-gold);
  font-weight: 700;
}

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

/* ========== PAYMENT ICONS ========== */
.w6fc6-payment-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.8rem 0;
}

.w6fc6-payment-icon {
  background: var(--w6fc6-bg-card);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
  border: 1px solid var(--w6fc6-border);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  .w6fc6-bnav {
    display: none;
  }
}

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

/* ========== UTILITY ========== */
.w6fc6-text-center { text-align: center; }
.w6fc6-mt-1 { margin-top: 1rem; }
.w6fc6-mb-1 { margin-bottom: 1rem; }
.w6fc6-hidden { display: none; }

/* ========== FAQ ========== */
.w6fc6-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--w6fc6-border);
  border-radius: var(--w6fc6-radius);
  overflow: hidden;
}

.w6fc6-faq-q {
  background: var(--w6fc6-bg-card);
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--w6fc6-accent);
  font-size: 1.3rem;
}

.w6fc6-faq-a {
  padding: 0.8rem 1rem;
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
  line-height: 1.7rem;
}

/* ========== ACHIEVEMENT ========== */
.w6fc6-achievement {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--w6fc6-border);
}

.w6fc6-achievement-icon {
  font-size: 2rem;
  color: var(--w6fc6-gold);
}

.w6fc6-achievement-text {
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
}

.w6fc6-achievement-text strong {
  color: var(--w6fc6-accent);
}

/* ========== TRICKS ========== */
.w6fc6-trick {
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  background: var(--w6fc6-bg-card);
  border-radius: var(--w6fc6-radius);
  border-left: 3px solid var(--w6fc6-accent);
}

.w6fc6-trick-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w6fc6-gold);
  margin-bottom: 0.3rem;
}

.w6fc6-trick-desc {
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
}

/* ========== APP DOWNLOAD ========== */
.w6fc6-app-box {
  background: linear-gradient(135deg, var(--w6fc6-bg-card), var(--w6fc6-primary));
  border-radius: var(--w6fc6-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--w6fc6-gold);
}

.w6fc6-app-box h3 {
  color: var(--w6fc6-accent);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.w6fc6-app-box p {
  font-size: 1.2rem;
  color: var(--w6fc6-text-muted);
  margin-bottom: 1rem;
}
