/* PK111 Core Stylesheet - v8cf prefix */
/* Mobile-first design, max-width 430px */

:root {
  --v8cf-primary: #FFE135;
  --v8cf-accent: #FF8C00;
  --v8cf-highlight: #B8860B;
  --v8cf-bg: #262626;
  --v8cf-bg-light: #3C3C3C;
  --v8cf-text: #CCCCCC;
  --v8cf-text-light: #FFFFFF;
  --v8cf-text-muted: #999999;
  --v8cf-border: #444444;
  --v8cf-success: #4CAF50;
  --v8cf-danger: #FF4444;
  --v8cf-radius: 8px;
  --v8cf-radius-lg: 12px;
  --v8cf-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --v8cf-transition: all 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v8cf-bg);
  color: var(--v8cf-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.v8cf-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Wrapper */
.v8cf-wrapper {
  width: 100%;
  padding-top: 5.6rem;
}

/* === HEADER === */
.v8cf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v8cf-bg-light);
  border-bottom: 1px solid var(--v8cf-border);
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.v8cf-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v8cf-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.v8cf-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v8cf-primary);
  text-decoration: none;
}

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

.v8cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--v8cf-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--v8cf-transition);
  text-decoration: none;
  min-height: 3.6rem;
  min-width: 4.4rem;
}

.v8cf-btn-register {
  background: var(--v8cf-primary);
  color: var(--v8cf-bg);
}

.v8cf-btn-register:hover {
  background: var(--v8cf-accent);
  transform: scale(1.05);
}

.v8cf-btn-login {
  background: transparent;
  color: var(--v8cf-primary);
  border: 1px solid var(--v8cf-primary);
}

.v8cf-btn-login:hover {
  background: var(--v8cf-primary);
  color: var(--v8cf-bg);
}

.v8cf-hamburger {
  background: none;
  border: none;
  color: var(--v8cf-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE MENU === */
.v8cf-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v8cf-transition);
}

.v8cf-overlay-active {
  opacity: 1;
  visibility: visible;
}

.v8cf-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--v8cf-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.v8cf-menu-active {
  right: 0;
}

.v8cf-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--v8cf-border);
}

.v8cf-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v8cf-primary);
}

.v8cf-menu-close {
  background: none;
  border: none;
  color: var(--v8cf-text-muted);
  font-size: 2rem;
  cursor: pointer;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v8cf-menu-links {
  list-style: none;
  padding: 1rem 0;
}

.v8cf-menu-links li a {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--v8cf-text);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--v8cf-transition);
}

.v8cf-menu-links li a:hover {
  color: var(--v8cf-primary);
  background: rgba(255,225,53,0.08);
}

/* === CAROUSEL === */
.v8cf-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--v8cf-radius-lg);
  margin-bottom: 1.5rem;
}

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

.v8cf-slide-active {
  display: block;
}

.v8cf-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--v8cf-radius-lg);
}

.v8cf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
}

.v8cf-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--v8cf-border);
  border: none;
  cursor: pointer;
  transition: var(--v8cf-transition);
}

.v8cf-dot-active {
  background: var(--v8cf-primary);
  transform: scale(1.2);
}

/* === GAME GRID === */
.v8cf-section {
  margin-bottom: 2rem;
}

.v8cf-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v8cf-primary);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--v8cf-accent);
}

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

.v8cf-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--v8cf-transition);
  padding: 0.5rem;
  border-radius: var(--v8cf-radius);
}

.v8cf-game-item:hover {
  background: rgba(255,225,53,0.08);
  transform: translateY(-2px);
}

.v8cf-game-item img {
  width: 6rem;
  height: 6rem;
  border-radius: var(--v8cf-radius);
  margin-bottom: 0.4rem;
  object-fit: cover;
}

.v8cf-game-name {
  font-size: 1.1rem;
  color: var(--v8cf-text);
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === CONTENT MODULES === */
.v8cf-module {
  background: var(--v8cf-bg-light);
  border-radius: var(--v8cf-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--v8cf-border);
}

.v8cf-module-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v8cf-primary);
  margin-bottom: 1rem;
}

.v8cf-module p {
  margin-bottom: 0.8rem;
  line-height: 1.8rem;
}

.v8cf-module ul, .v8cf-module ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.v8cf-module li {
  margin-bottom: 0.5rem;
  line-height: 1.6rem;
}

.v8cf-promo-link {
  color: var(--v8cf-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--v8cf-transition);
}

.v8cf-promo-link:hover {
  color: var(--v8cf-accent);
}

.v8cf-cta-btn {
  display: block;
  width: 100%;
  padding: 1.4rem;
  background: linear-gradient(135deg, var(--v8cf-primary), var(--v8cf-accent));
  color: var(--v8cf-bg);
  border: none;
  border-radius: var(--v8cf-radius-lg);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: var(--v8cf-transition);
  margin: 1.5rem 0;
}

.v8cf-cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(255,225,53,0.3);
}

.v8cf-internal-link {
  color: var(--v8cf-accent);
  text-decoration: underline;
}

.v8cf-internal-link:hover {
  color: var(--v8cf-primary);
}

/* === WINNERS TABLE === */
.v8cf-winners-table {
  width: 100%;
  border-collapse: collapse;
}

.v8cf-winners-table th {
  background: var(--v8cf-bg);
  color: var(--v8cf-primary);
  padding: 0.6rem 0.4rem;
  font-size: 1.2rem;
  text-align: left;
}

.v8cf-winners-table td {
  padding: 0.6rem 0.4rem;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* === TESTIMONIAL === */
.v8cf-testimonial {
  background: rgba(255,225,53,0.05);
  border-radius: var(--v8cf-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--v8cf-primary);
}

.v8cf-testimonial-author {
  font-weight: 600;
  color: var(--v8cf-primary);
  font-size: 1.3rem;
}

.v8cf-testimonial-text {
  font-style: italic;
  margin-top: 0.4rem;
  line-height: 1.6rem;
}

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

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

/* === FOOTER === */
.v8cf-footer {
  background: var(--v8cf-bg-light);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--v8cf-border);
}

.v8cf-footer-brand {
  font-size: 1.3rem;
  color: var(--v8cf-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

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

.v8cf-footer-links a {
  color: var(--v8cf-primary);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
}

.v8cf-footer-links a:hover {
  text-decoration: underline;
}

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

/* === BOTTOM NAV === */
.v8cf-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v8cf-bg-light);
  border-top: 1px solid var(--v8cf-border);
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.v8cf-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--v8cf-text-muted);
  cursor: pointer;
  min-width: 6rem;
  min-height: 6rem;
  transition: var(--v8cf-transition);
  padding: 0.4rem;
  border-radius: var(--v8cf-radius);
}

.v8cf-nav-btn:hover, .v8cf-nav-btn:focus {
  color: var(--v8cf-primary);
  background: rgba(255,225,53,0.08);
}

.v8cf-nav-btn:active {
  transform: scale(0.92);
}

.v8cf-nav-btn .v8cf-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.v8cf-nav-btn .v8cf-nav-label {
  font-size: 1rem;
  font-weight: 500;
}

.v8cf-nav-active {
  color: var(--v8cf-primary);
}

/* === DESKTOP === */
@media (min-width: 769px) {
  .v8cf-bottom-nav {
    display: none;
  }
  .v8cf-container {
    max-width: 430px;
  }
}

/* === MOBILE PADDING === */
@media (max-width: 768px) {
  .v8cf-wrapper {
    padding-bottom: 8rem;
  }
}

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

.v8cf-faq-question {
  font-weight: 600;
  color: var(--v8cf-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.v8cf-faq-answer {
  color: var(--v8cf-text);
  line-height: 1.6rem;
}

/* Badge */
.v8cf-badge {
  display: inline-block;
  background: var(--v8cf-accent);
  color: var(--v8cf-bg);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  margin-left: 0.4rem;
}

/* Tag */
.v8cf-tag {
  display: inline-block;
  background: rgba(255,225,53,0.15);
  color: var(--v8cf-primary);
  font-size: 1.1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--v8cf-radius);
  margin: 0.2rem;
}

/* Feature list */
.v8cf-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.v8cf-feature-card {
  background: var(--v8cf-bg);
  border-radius: var(--v8cf-radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--v8cf-border);
}

.v8cf-feature-card .v8cf-feature-icon {
  font-size: 2.4rem;
  color: var(--v8cf-primary);
  margin-bottom: 0.5rem;
}

.v8cf-feature-card .v8cf-feature-title {
  font-weight: 600;
  color: var(--v8cf-primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.v8cf-feature-card .v8cf-feature-desc {
  font-size: 1.1rem;
  color: var(--v8cf-text-muted);
}
