/* deskgameph.cfd - Main Stylesheet */
/* All classes prefixed with v932- for namespace isolation */

/* CSS Reset and Variables */
:root {
  font-size: 62.5%;
  --v932-primary: #FFE4B5;
  --v932-bg: #3A3A3A;
  --v932-bg-light: #4A4A4A;
  --v932-bg-card: #454545;
  --v932-text: #CED4DA;
  --v932-text-light: #E8E8E8;
  --v932-accent: #FFE4B5;
  --v932-accent-dark: #D4A56A;
  --v932-border: #555555;
  --v932-shadow: rgba(0, 0, 0, 0.3);
  --v932-success: #4CAF50;
  --v932-danger: #E74C3C;
  --v932-radius: 8px;
  --v932-radius-lg: 12px;
  --v932-header-h: 56px;
  --v932-bottom-h: 60px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--v932-text);
  background-color: var(--v932-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}

a {
  color: var(--v932-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--v932-text-light);
}

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

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

/* ========== HEADER ========== */
.v932-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2E2E2E 0%, #3A3A3A 100%);
  border-bottom: 1px solid var(--v932-border);
  max-width: 430px;
  margin: 0 auto;
}

.v932-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  height: var(--v932-header-h);
}

.v932-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

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

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

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

.v932-btn-register,
.v932-btn-login {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--v932-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  min-width: 70px;
}

.v932-btn-register {
  background: linear-gradient(135deg, var(--v932-accent) 0%, var(--v932-accent-dark) 100%);
  color: #2A2A2A;
}

.v932-btn-register:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(255, 228, 181, 0.3);
}

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

.v932-btn-login:hover {
  background: rgba(255, 228, 181, 0.1);
}

.v932-menu-toggle {
  background: none;
  border: none;
  color: var(--v932-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.v932-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.v932-overlay-active {
  opacity: 1;
  visibility: visible;
}

.v932-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #2E2E2E 0%, #353535 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}
.v932-menu-active {
  right: 0;
}

.v932-mobile-menu .v932-menu-header {
  padding: 0 1.6rem 1.6rem;
  border-bottom: 1px solid var(--v932-border);
  margin-bottom: 1rem;
}

.v932-mobile-menu .v932-menu-header span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v932-primary);
}

.v932-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: var(--v932-text);
  font-size: 1.4rem;
  transition: all 0.2s ease;
  min-height: 44px;
}
.v932-mobile-menu a:hover {
  background: rgba(255, 228, 181, 0.08);
  color: var(--v932-primary);
}

.v932-mobile-menu a .v932-menu-icon {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

.v932-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--v932-text);
  font-size: 2.4rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== CAROUSEL ========== */
.v932-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v932-radius-lg) var(--v932-radius-lg);
}

.v932-carousel-track {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
}

.v932-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.v932-slide-active {
  opacity: 1;
}

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

.v932-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 5;
}

.v932-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(206, 212, 218, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

/* ========== MAIN CONTENT ========== */
.v932-main {
  padding-top: calc(var(--v932-header-h) + 1rem);
  padding-bottom: 2rem;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .v932-main {
    padding-bottom: calc(var(--v932-bottom-h) + 2rem);
  }
}

/* Section Titles */
.v932-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v932-primary);
  margin: 2rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v932-accent-dark);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v932-section-title i,
.v932-section-title .material-icons {
  font-size: 2.2rem;
}

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

.v932-game-section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v932-primary);
  margin-bottom: 1rem;
  padding-left: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.v932-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0.6rem 0.2rem;
  border-radius: var(--v932-radius);
  background: var(--v932-bg-card);
  min-height: 90px;
}

.v932-game-card:hover {
  transform: scale(1.04);
  background: var(--v932-bg-light);
}

.v932-game-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  margin-bottom: 0.4rem;
  object-fit: cover;
}

.v932-game-card span {
  font-size: 1.05rem;
  color: var(--v932-text);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* ========== CONTENT MODULES ========== */
.v932-module {
  background: var(--v932-bg-card);
  border-radius: var(--v932-radius-lg);
  padding: 1.6rem;
  margin: 1.6rem 0;
  border: 1px solid var(--v932-border);
}

.v932-module h2,
.v932-module h3 {
  color: var(--v932-primary);
  margin-bottom: 1rem;
}

.v932-module h2 {
  font-size: 1.8rem;
}

.v932-module h3 {
  font-size: 1.5rem;
}

.v932-module p {
  color: var(--v932-text);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.v932-module ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.v932-module li {
  color: var(--v932-text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.v932-module a {
  color: var(--v932-accent);
  font-weight: 600;
}

/* Promo link styles */
.v932-promo-link {
  display: inline-block;
  color: var(--v932-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.v932-promo-link:hover {
  color: var(--v932-text-light);
}

.v932-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v932-accent) 0%, var(--v932-accent-dark) 100%);
  color: #2A2A2A;
  font-weight: 700;
  padding: 1rem 2.4rem;
  border-radius: var(--v932-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.5rem;
  border: none;
  text-align: center;
}

.v932-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 3px 12px rgba(255, 228, 181, 0.3);
}

.v932-promo-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--v932-primary);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: var(--v932-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.4rem;
  border: 2px solid var(--v932-primary);
  text-align: center;
}

.v932-promo-btn-outline:hover {
  background: rgba(255, 228, 181, 0.1);
}

/* CTA Banner */
.v932-cta-banner {
  background: linear-gradient(135deg, #4A3F2F 0%, #3A3A3A 100%);
  border: 2px solid var(--v932-accent-dark);
  border-radius: var(--v932-radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  margin: 2rem 0;
}

.v932-cta-banner h3 {
  color: var(--v932-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.v932-cta-banner p {
  color: var(--v932-text);
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

/* Steps List */
.v932-steps {
  counter-reset: v932-step;
  list-style: none;
  padding-left: 0;
}

.v932-steps li {
  counter-increment: v932-step;
  position: relative;
  padding-left: 3.6rem;
  margin-bottom: 1.2rem;
  min-height: 44px;
}

.v932-steps li::before {
  content: counter(v932-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--v932-accent-dark);
  color: #2A2A2A;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Accordion */
.v932-faq-item {
  border: 1px solid var(--v932-border);
  border-radius: var(--v932-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--v932-bg-card);
}

.v932-faq-question {
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  color: var(--v932-primary);
  font-size: 1.35rem;
  cursor: default;
}

.v932-faq-answer {
  padding: 0 1.4rem 1.2rem;
  color: var(--v932-text);
  font-size: 1.3rem;
  line-height: 1.6;
}

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

.v932-feature-item {
  background: var(--v932-bg-light);
  border-radius: var(--v932-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--v932-border);
}

.v932-feature-item i,
.v932-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--v932-primary);
  margin-bottom: 0.6rem;
}

.v932-feature-item h4 {
  color: var(--v932-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.v932-feature-item p {
  font-size: 1.15rem;
  color: var(--v932-text);
  line-height: 1.4;
}

/* Testimonial */
.v932-testimonial {
  background: var(--v932-bg-light);
  border-radius: var(--v932-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--v932-accent-dark);
}

.v932-testimonial p {
  font-style: italic;
  color: var(--v932-text);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.v932-testimonial cite {
  color: var(--v932-accent-dark);
  font-size: 1.2rem;
  font-style: normal;
}

/* Payment Icons */
.v932-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

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

/* Winners Table */
.v932-winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.v932-winners-table th {
  background: var(--v932-accent-dark);
  color: #2A2A2A;
  padding: 0.8rem;
  text-align: left;
  font-weight: 600;
}

.v932-winners-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--v932-border);
  color: var(--v932-text);
}

.v932-winners-table tr:nth-child(even) {
  background: rgba(255, 228, 181, 0.04);
}

/* ========== FOOTER ========== */
.v932-footer {
  background: linear-gradient(180deg, #2E2E2E 0%, #252525 100%);
  padding: 2rem 1.2rem 1.6rem;
  border-top: 1px solid var(--v932-border);
}

.v932-footer-brand {
  text-align: center;
  margin-bottom: 1.6rem;
}

.v932-footer-brand p {
  color: var(--v932-text);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.v932-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.v932-footer-promos button {
  background: linear-gradient(135deg, var(--v932-accent) 0%, var(--v932-accent-dark) 100%);
  color: #2A2A2A;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--v932-radius);
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.v932-footer-promos button:hover {
  transform: scale(1.03);
}

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

.v932-footer-links a {
  color: var(--v932-text);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.v932-footer-links a:hover {
  color: var(--v932-primary);
}

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

/* ========== BOTTOM NAV ========== */
.v932-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2E2E2E 0%, #252525 100%);
  border-top: 1px solid var(--v932-border);
  max-width: 430px;
  margin: 0 auto;
}

.v932-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--v932-bottom-h);
  padding: 0.4rem 0;
}

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

.v932-bottom-btn:hover,
.v932-bottom-btn:focus {
  color: var(--v932-primary);
}

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

.v932-bottom-btn i,
.v932-bottom-btn .material-icons,
.v932-bottom-btn ion-icon {
  font-size: 22px;
  margin-bottom: 0.2rem;
}

.v932-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

.v932-bottom-btn.v932-active {
  color: var(--v932-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v932-bottom-nav {
    display: none;
  }
}

/* Desktop header layout adjustments */
@media (min-width: 769px) {
  .v932-header {
    max-width: 430px;
  }
  .v932-main {
    padding-bottom: 2rem;
  }
}

/* ========== UTILITY CLASSES ========== */
.v932-text-center {
  text-align: center;
}

.v932-mt-1 { margin-top: 0.8rem; }
.v932-mt-2 { margin-top: 1.6rem; }
.v932-mb-1 { margin-bottom: 0.8rem; }
.v932-mb-2 { margin-bottom: 1.6rem; }

.v932-text-sm {
  font-size: 1.2rem;
}

.v932-text-lg {
  font-size: 1.7rem;
}

.v932-text-bold {
  font-weight: 700;
}

.v932-text-accent {
  color: var(--v932-primary);
}

.v932-divider {
  height: 1px;
  background: var(--v932-border);
  margin: 1.6rem 0;
}

.v932-hidden {
  display: none;
}

/* Filter tabs for game sections */
.v932-filter-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.v932-filter-tab {
  padding: 0.6rem 1.4rem;
  background: var(--v932-bg-light);
  border: 1px solid var(--v932-border);
  border-radius: 2rem;
  color: var(--v932-text);
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
}

.v932-filter-tab.v932-tab-active,
.v932-filter-tab:hover {
  background: var(--v932-accent-dark);
  color: #2A2A2A;
  border-color: var(--v932-accent-dark);
}

/* App download CTA */
.v932-app-cta {
  background: linear-gradient(135deg, #4A3F2F 0%, #3A352A 100%);
  border-radius: var(--v932-radius-lg);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--v932-accent-dark);
}

.v932-app-cta h3 {
  color: var(--v932-primary);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.v932-app-cta p {
  color: var(--v932-text);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.v932-app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.v932-rtp-table th {
  background: var(--v932-accent-dark);
  color: #2A2A2A;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
  text-align: left;
}

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

.v932-rtp-bar {
  display: inline-block;
  height: 8px;
  border-radius: 4px;
  background: var(--v932-accent-dark);
}

/* Category highlights */
.v932-cat-highlight {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--v932-bg-light);
  border-radius: var(--v932-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.v932-cat-highlight:hover {
  background: var(--v932-bg-card);
}

.v932-cat-highlight i,
.v932-cat-highlight .material-icons {
  font-size: 2.4rem;
  color: var(--v932-primary);
}

.v932-cat-highlight h4 {
  color: var(--v932-primary);
  font-size: 1.3rem;
}

.v932-cat-highlight p {
  color: var(--v932-text);
  font-size: 1.1rem;
}
