/*
 * PTGame Theme Stylesheet
 * Prefix: v5c6-
 * Colors: #BF360C | #FAFAFA | #FF5722 | #FF7F50 | #2D2D2D | #FFEB3B
 */

:root {
  --v5c6-primary: #BF360C;
  --v5c6-secondary: #FF5722;
  --v5c6-accent: #FF7F50;
  --v5c6-highlight: #FFEB3B;
  --v5c6-bg-dark: #2D2D2D;
  --v5c6-bg-light: #FAFAFA;
  --v5c6-text-light: #FAFAFA;
  --v5c6-text-dark: #2D2D2D;
  --v5c6-border-radius: 0.8rem;
  --v5c6-shadow: 0 2px 8px rgba(0,0,0,0.25);
  --v5c6-header-h: 5.6rem;
}

* { 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(--v5c6-bg-dark);
  color: var(--v5c6-text-light);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.v5c6-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--v5c6-header-h);
  background: linear-gradient(135deg, #1a1a1a 0%, #2D2D2D 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 2px solid var(--v5c6-primary);
}

.v5c6-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.v5c6-logo-wrap img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.v5c6-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v5c6-highlight);
  letter-spacing: 0.5px;
}

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

.v5c6-btn-register,
.v5c6-btn-login {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--v5c6-border-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.v5c6-btn-register {
  background: linear-gradient(135deg, var(--v5c6-secondary), var(--v5c6-accent));
  color: #fff;
}

.v5c6-btn-login {
  background: transparent;
  color: var(--v5c6-highlight);
  border: 1.5px solid var(--v5c6-highlight);
}

.v5c6-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.v5c6-btn-login:hover { background: rgba(255,235,59,0.1); }

.v5c6-menu-toggle {
  background: none;
  border: none;
  color: var(--v5c6-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.4rem;
}

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

#xf305-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a1a, #2D2D2D);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}

.v5c6-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.v5c6-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v5c6-highlight);
}

.v5c6-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.v5c6-menu-links {
  list-style: none;
}

.v5c6-menu-links li {
  margin-bottom: 0.2rem;
}

.v5c6-menu-links a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--v5c6-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  border-radius: 0.6rem;
  transition: background 0.2s;
}

.v5c6-menu-links a:hover {
  background: rgba(255,87,34,0.15);
  color: var(--v5c6-accent);
}

/* ===== MAIN CONTENT ===== */
.v5c6-main {
  padding-top: calc(var(--v5c6-header-h) + 0.8rem);
  padding-bottom: 1.6rem;
}

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

.v5c6-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* ===== SLIDER / CAROUSEL ===== */
.v5c6-slider {
  position: relative;
  width: 100%;
  margin: 0 auto 1.6rem;
  border-radius: var(--v5c6-border-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.v5c6-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v5c6-slider-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

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

.v5c6-dot-active {
  background: var(--v5c6-highlight);
  width: 20px;
  border-radius: 4px;
}

/* ===== SECTIONS ===== */
.v5c6-section {
  margin-bottom: 2rem;
  padding: 0 1.2rem;
}

.v5c6-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v5c6-highlight);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v5c6-primary);
}

.v5c6-section-title i {
  margin-right: 0.4rem;
  color: var(--v5c6-accent);
}

.v5c6-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v5c6-highlight);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.v5c6-h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v5c6-accent);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.v5c6-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--v5c6-text-light);
  margin-bottom: 0.6rem;
}

.v5c6-p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.v5c6-p strong {
  color: var(--v5c6-highlight);
}

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

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

.v5c6-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

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

.v5c6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.08);
}

.v5c6-game-name {
  font-size: 1rem;
  color: #bbb;
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== CARDS ===== */
.v5c6-card {
  background: linear-gradient(135deg, rgba(191,54,12,0.12), rgba(45,45,45,0.9));
  border: 1px solid rgba(255,87,34,0.2);
  border-radius: var(--v5c6-border-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

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

/* ===== CTA BUTTONS ===== */
.v5c6-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--v5c6-secondary), var(--v5c6-primary));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--v5c6-border-radius);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.v5c6-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(255,87,34,0.4);
}

.v5c6-cta-sm {
  padding: 0.6rem 1.4rem;
  font-size: 1.2rem;
}

.v5c6-cta-highlight {
  background: linear-gradient(135deg, var(--v5c6-highlight), #f9a825);
  color: var(--v5c6-bg-dark);
}

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

.v5c6-promo-link:hover {
  color: var(--v5c6-highlight);
}

/* ===== WINNER LIST ===== */
.v5c6-winner-list {
  list-style: none;
}

.v5c6-winner-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.2rem;
}

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

.v5c6-winner-amount {
  color: var(--v5c6-highlight);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.v5c6-testimonial {
  background: rgba(255,87,34,0.08);
  border-left: 3px solid var(--v5c6-accent);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 0 0.6rem 0.6rem 0;
}

.v5c6-testimonial-text {
  font-size: 1.2rem;
  color: #ccc;
  font-style: italic;
  margin-bottom: 0.4rem;
}

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

/* ===== PAYMENT ICONS ===== */
.v5c6-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.v5c6-payment-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: #bbb;
}

/* ===== FEATURE GRID ===== */
.v5c6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.v5c6-feature-item {
  background: rgba(191,54,12,0.1);
  border: 1px solid rgba(191,54,12,0.25);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
}

.v5c6-feature-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  color: var(--v5c6-accent);
}

.v5c6-feature-label {
  font-size: 1.2rem;
  color: var(--v5c6-text-light);
  font-weight: 600;
}

/* ===== APP DOWNLOAD ===== */
.v5c6-app-banner {
  background: linear-gradient(135deg, var(--v5c6-primary), #8b1a00);
  border-radius: var(--v5c6-border-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1rem 0;
}

.v5c6-app-banner img {
  width: 100%;
  max-width: 280px;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

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

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

.v5c6-rtp-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #ccc;
}

.v5c6-rtp-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

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

.v5c6-footer-desc {
  font-size: 1.2rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.v5c6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.v5c6-footer-links a {
  background: rgba(255,87,34,0.15);
  color: var(--v5c6-accent);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.v5c6-footer-links a:hover {
  background: rgba(255,87,34,0.3);
}

.v5c6-footer-copy {
  font-size: 1rem;
  color: #666;
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== BOTTOM NAV ===== */
.v5c6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1f1f1f, #141414);
  border-top: 2px solid var(--v5c6-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.v5c6-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.2rem;
  text-decoration: none;
}

.v5c6-bottom-btn i,
.v5c6-bottom-btn .material-icons,
.v5c6-bottom-btn ion-icon {
  font-size: 22px;
}

.v5c6-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.1rem;
}

.v5c6-bottom-btn:hover,
.v5c6-bottom-btn-active {
  color: var(--v5c6-highlight);
}

.v5c6-bottom-btn:active {
  transform: scale(0.92);
}

.v5c6-bottom-btn-active {
  position: relative;
}

.v5c6-bottom-btn-active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: var(--v5c6-highlight);
  border-radius: 2px;
}

@media (min-width: 769px) {
  .v5c6-bottom-nav { display: none; }
  .v5c6-main { padding-bottom: 1.6rem; }
}

/* ===== INTERNAL LINK ===== */
.v5c6-internal-link {
  color: var(--v5c6-accent);
  text-decoration: underline;
  font-weight: 500;
}

.v5c6-internal-link:hover {
  color: var(--v5c6-highlight);
}

/* ===== UTILITY ===== */
.v5c6-mt-1 { margin-top: 0.8rem; }
.v5c6-mt-2 { margin-top: 1.6rem; }
.v5c6-mb-1 { margin-bottom: 0.8rem; }
.v5c6-mb-2 { margin-bottom: 1.6rem; }
.v5c6-text-center { text-align: center; }
.v5c6-text-accent { color: var(--v5c6-accent); }
.v5c6-text-highlight { color: var(--v5c6-highlight); }
.v5c6-text-sm { font-size: 1.1rem; }

/* ===== REVIEW STYLES ===== */
.v5c6-review-pros {
  background: rgba(76,175,80,0.1);
  border-left: 3px solid #4caf50;
  padding: 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
  margin-bottom: 0.8rem;
}

.v5c6-review-cons {
  background: rgba(244,67,54,0.1);
  border-left: 3px solid #f44336;
  padding: 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
  margin-bottom: 0.8rem;
}

.v5c6-rating-stars {
  color: var(--v5c6-highlight);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

/* ===== FAQ ACCORDION ===== */
.v5c6-faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.v5c6-faq-q {
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--v5c6-text-light);
  background: rgba(191,54,12,0.08);
  cursor: pointer;
}

.v5c6-faq-a {
  padding: 1rem;
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== TRICKS LIST ===== */
.v5c6-tricks-list {
  list-style: none;
  counter-reset: v5c6-counter;
}

.v5c6-tricks-list li {
  counter-increment: v5c6-counter;
  padding: 0.8rem 0 0.8rem 2.8rem;
  position: relative;
  font-size: 1.2rem;
  color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.v5c6-tricks-list li::before {
  content: counter(v5c6-counter);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2rem;
  height: 2rem;
  background: var(--v5c6-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
