/* phjoin.cfd - Layout Stylesheet */
/* All classes use prefix: v3dc- */
/* Color palette: #F5F5F5 | #00FF00 | #BDC3C7 | #98FB98 | #2C3E50 | #20B2AA */

:root {
  --v3dc-primary: #00FF00;
  --v3dc-secondary: #20B2AA;
  --v3dc-bg-dark: #2C3E50;
  --v3dc-bg-darker: #1a252f;
  --v3dc-bg-card: #34495e;
  --v3dc-text-light: #F5F5F5;
  --v3dc-text-muted: #BDC3C7;
  --v3dc-accent: #98FB98;
  --v3dc-border: rgba(0, 255, 0, 0.15);
  --v3dc-glow: rgba(0, 255, 0, 0.3);
  --v3dc-radius: 10px;
  --v3dc-radius-sm: 6px;
  --v3dc-transition: all 0.3s ease;
}

/* Base Reset */
* {
  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-color: var(--v3dc-bg-dark);
  color: var(--v3dc-text-light);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--v3dc-accent);
}

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

/* Container */
.v3dc-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.v3dc-wrapper {
  width: 100%;
  padding: 1.5rem 0;
}

/* Header */
.v3dc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v3dc-bg-darker), var(--v3dc-bg-dark));
  border-bottom: 2px solid var(--v3dc-border);
  padding: 0;
  height: 56px;
}

.v3dc-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1rem;
}

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

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

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

.v3dc-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v3dc-btn-register {
  background: var(--v3dc-primary);
  color: var(--v3dc-bg-dark);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v3dc-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.v3dc-btn-login {
  background: transparent;
  color: var(--v3dc-primary);
  border: 1.5px solid var(--v3dc-primary);
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--v3dc-transition);
}

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

.v3dc-menu-toggle {
  background: none;
  border: none;
  color: var(--v3dc-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.v3dc-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v3dc-transition);
}

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

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

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

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

.v3dc-mobile-menu h3 {
  color: var(--v3dc-primary);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--v3dc-border);
}

.v3dc-mobile-menu a {
  display: block;
  padding: 0.9rem 0;
  color: var(--v3dc-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--v3dc-transition);
}

.v3dc-mobile-menu a:hover {
  color: var(--v3dc-primary);
  padding-left: 0.5rem;
}

/* Main Content */
.v3dc-main {
  padding-top: 56px;
  min-height: 100vh;
}

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

/* Carousel / Slider */
.v3dc-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v3dc-radius) var(--v3dc-radius);
}

.v3dc-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}

.v3dc-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

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

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

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

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

/* Section Titles */
.v3dc-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v3dc-text-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v3dc-primary);
  display: inline-block;
}

.v3dc-section-subtitle {
  font-size: 1.4rem;
  color: var(--v3dc-text-muted);
  margin-bottom: 1rem;
}

/* Game Grid */
.v3dc-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.v3dc-game-card {
  background: var(--v3dc-bg-card);
  border-radius: var(--v3dc-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--v3dc-transition);
  border: 1px solid transparent;
}

.v3dc-game-card:hover {
  border-color: var(--v3dc-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--v3dc-glow);
}

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

.v3dc-game-card-name {
  padding: 0.4rem 0.5rem;
  font-size: 1.1rem;
  color: var(--v3dc-text-light);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Category Header */
.v3dc-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 1rem;
}

.v3dc-cat-icon {
  font-size: 2rem;
  color: var(--v3dc-primary);
}

.v3dc-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v3dc-text-light);
  text-transform: capitalize;
}

/* Promo Button */
.v3dc-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v3dc-primary), #00cc00);
  color: var(--v3dc-bg-dark);
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--v3dc-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v3dc-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--v3dc-glow);
}

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

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

/* Content Sections */
.v3dc-content-block {
  padding: 1.5rem 0;
}

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

.v3dc-content-block h2 {
  font-size: 1.8rem;
  color: var(--v3dc-text-light);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

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

/* Info Cards */
.v3dc-info-card {
  background: linear-gradient(135deg, var(--v3dc-bg-card), rgba(0, 255, 0, 0.05));
  border: 1px solid var(--v3dc-border);
  border-radius: var(--v3dc-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.v3dc-info-card h3 {
  color: var(--v3dc-primary);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.v3dc-info-card p {
  color: var(--v3dc-text-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
}

/* Stats Grid */
.v3dc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.v3dc-stat-item {
  background: var(--v3dc-bg-card);
  border-radius: var(--v3dc-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--v3dc-border);
}

.v3dc-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v3dc-primary);
}

.v3dc-stat-label {
  font-size: 1.1rem;
  color: var(--v3dc-text-muted);
  margin-top: 0.3rem;
}

/* Testimonial Cards */
.v3dc-testimonial {
  background: var(--v3dc-bg-card);
  border-left: 3px solid var(--v3dc-primary);
  border-radius: 0 var(--v3dc-radius-sm) var(--v3dc-radius-sm) 0;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.v3dc-testimonial-author {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--v3dc-primary);
  margin-bottom: 0.4rem;
}

.v3dc-testimonial-text {
  font-size: 1.2rem;
  color: var(--v3dc-text-muted);
  font-style: italic;
  line-height: 1.5rem;
}

/* Bottom Navigation */
.v3dc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(26, 37, 47, 0.95), var(--v3dc-bg-darker));
  border-top: 1.5px solid var(--v3dc-border);
  display: none;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.5rem;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .v3dc-bottom-nav {
    display: flex;
  }
}

.v3dc-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--v3dc-text-muted);
  cursor: pointer;
  transition: var(--v3dc-transition);
  padding: 0.4rem;
  border-radius: 8px;
  position: relative;
}

.v3dc-bottom-nav-btn:hover,
.v3dc-bottom-nav-btn.v3dc-nav-active {
  color: var(--v3dc-primary);
  background: rgba(0, 255, 0, 0.08);
}

.v3dc-bottom-nav-btn.v3dc-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--v3dc-primary);
  border-radius: 0 0 2px 2px;
}

.v3dc-bottom-nav-btn i,
.v3dc-bottom-nav-btn .material-icons,
.v3dc-bottom-nav-btn ion-icon,
.v3dc-bottom-nav-btn bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.v3dc-bottom-nav-btn span {
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Footer */
.v3dc-footer {
  background: var(--v3dc-bg-darker);
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--v3dc-border);
}

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

.v3dc-footer-brand h3 {
  font-size: 1.8rem;
  color: var(--v3dc-primary);
  margin-bottom: 0.5rem;
}

.v3dc-footer-brand p {
  font-size: 1.2rem;
  color: var(--v3dc-text-muted);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5rem;
}

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

.v3dc-footer-links a {
  background: var(--v3dc-bg-card);
  color: var(--v3dc-text-light);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 1.1rem;
  transition: var(--v3dc-transition);
}

.v3dc-footer-links a:hover {
  background: var(--v3dc-primary);
  color: var(--v3dc-bg-dark);
}

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

.v3dc-footer-promo button {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(32, 178, 170, 0.2));
  border: 1px solid var(--v3dc-border);
  color: var(--v3dc-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--v3dc-transition);
  font-weight: 600;
}

.v3dc-footer-promo button:hover {
  background: var(--v3dc-primary);
  color: var(--v3dc-bg-dark);
}

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

/* Help Page Styles */
.v3dc-help-section {
  padding: 1.2rem 0;
}

.v3dc-help-section h2 {
  font-size: 1.6rem;
  color: var(--v3dc-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v3dc-help-section p,
.v3dc-help-section li {
  font-size: 1.3rem;
  color: var(--v3dc-text-muted);
  line-height: 1.8rem;
}

.v3dc-help-section ul,
.v3dc-help-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.v3dc-help-section li {
  margin-bottom: 0.5rem;
}

.v3dc-faq-item {
  background: var(--v3dc-bg-card);
  border-radius: var(--v3dc-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v3dc-secondary);
}

.v3dc-faq-item strong {
  color: var(--v3dc-primary);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.4rem;
}

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

/* Payment Methods */
.v3dc-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.v3dc-payment-item {
  background: var(--v3dc-bg-card);
  border: 1px solid var(--v3dc-border);
  border-radius: var(--v3dc-radius-sm);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--v3dc-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Winners List */
.v3dc-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
  background: var(--v3dc-bg-card);
  border-radius: var(--v3dc-radius-sm);
  margin-bottom: 0.5rem;
}

.v3dc-winner-name {
  font-size: 1.2rem;
  color: var(--v3dc-text-light);
  font-weight: 500;
}

.v3dc-winner-amount {
  font-size: 1.3rem;
  color: var(--v3dc-primary);
  font-weight: 700;
}

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

/* CTA Banner */
.v3dc-cta-banner {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.15), rgba(32, 178, 170, 0.15));
  border: 1px solid var(--v3dc-border);
  border-radius: var(--v3dc-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.v3dc-cta-banner h3 {
  font-size: 1.5rem;
  color: var(--v3dc-primary);
  margin-bottom: 0.6rem;
}

.v3dc-cta-banner p {
  font-size: 1.2rem;
  color: var(--v3dc-text-muted);
  margin-bottom: 1rem;
}

/* Desktop Responsive */
@media (min-width: 769px) {
  .v3dc-container {
    max-width: 768px;
  }

  .v3dc-header-inner {
    max-width: 768px;
  }

  .v3dc-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .v3dc-bottom-nav {
    display: none;
  }

  .v3dc-main {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .v3dc-container {
    max-width: 1024px;
  }

  .v3dc-header-inner {
    max-width: 1024px;
  }

  .v3dc-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Utility */
.v3dc-text-center {
  text-align: center;
}

.v3dc-mt-1 {
  margin-top: 0.8rem;
}

.v3dc-mt-2 {
  margin-top: 1.5rem;
}

.v3dc-mb-1 {
  margin-bottom: 0.8rem;
}

.v3dc-mb-2 {
  margin-bottom: 1.5rem;
}

.v3dc-hidden {
  display: none;
}

/* Breadcrumb */
.v3dc-breadcrumb {
  padding: 1rem 0;
  font-size: 1.2rem;
  color: var(--v3dc-text-muted);
}

.v3dc-breadcrumb a {
  color: var(--v3dc-secondary);
}

.v3dc-breadcrumb span {
  color: var(--v3dc-text-light);
}
