/* PHDream - Theme Stylesheet */
/* CSS prefix: v98c- */
/* Color palette: #1A1A2E | #FF8A80 | #EEEEEE | #F5DEB3 | #FFC0CB | #D2691E */

/* ===== CSS VARIABLES ===== */
:root {
  --v98c-primary: #FF8A80;
  --v98c-primary-dark: #D2691E;
  --v98c-bg: #1A1A2E;
  --v98c-bg-light: #252545;
  --v98c-bg-card: #1E1E3A;
  --v98c-text: #EEEEEE;
  --v98c-text-muted: #B0B0CC;
  --v98c-text-dim: #8888AA;
  --v98c-accent: #F5DEB3;
  --v98c-pink: #FFC0CB;
  --v98c-border: #333355;
  --v98c-success: #4CAF50;
  --v98c-font-size: 62.5%;
  --v98c-radius: 1rem;
  --v98c-radius-sm: 0.6rem;
  --v98c-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.3);
  --v98c-transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
html {
  font-size: var(--v98c-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--v98c-bg);
  color: var(--v98c-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

/* ===== HEADER ===== */
.v98c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(135deg, var(--v98c-bg) 0%, var(--v98c-bg-light) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 0.1rem solid var(--v98c-border);
  box-shadow: var(--v98c-shadow);
}

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

.v98c-logo {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  object-fit: contain;
}

.v98c-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v98c-primary);
  letter-spacing: 0.05rem;
}

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

.v98c-btn-register,
.v98c-btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--v98c-transition);
}

.v98c-btn-register {
  background: linear-gradient(135deg, var(--v98c-primary) 0%, var(--v98c-primary-dark) 100%);
  color: #fff;
}

.v98c-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0.3rem 1rem rgba(255,138,128,0.4);
}

.v98c-btn-login {
  background: transparent;
  color: var(--v98c-primary);
  border: 0.15rem solid var(--v98c-primary);
}

.v98c-btn-login:hover {
  background: rgba(255,138,128,0.1);
}

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

.v98c-menu-toggle:hover {
  color: var(--v98c-primary);
}

/* ===== MOBILE MENU ===== */
.v98c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v98c-transition);
}

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

.v98c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--v98c-bg) 0%, var(--v98c-bg-light) 100%);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}

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

.v98c-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border-bottom: 0.1rem solid var(--v98c-border);
}

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

.v98c-menu-close {
  background: none;
  border: none;
  color: var(--v98c-text);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--v98c-transition);
}

.v98c-menu-close:hover {
  color: var(--v98c-primary);
}

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

.v98c-menu-links li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: var(--v98c-text);
  font-size: 1.4rem;
  transition: var(--v98c-transition);
}

.v98c-menu-links li a:hover {
  background: rgba(255,138,128,0.1);
  color: var(--v98c-primary);
}

.v98c-menu-links li a i,
.v98c-menu-links li a span.material-icons {
  width: 2rem;
  text-align: center;
  font-size: 1.6rem;
}

/* ===== MAIN CONTENT ===== */
.v98c-main {
  margin-top: 5.6rem;
  padding: 0 1rem 2rem;
}

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

/* ===== CAROUSEL ===== */
.v98c-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--v98c-radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1.5rem;
  box-shadow: var(--v98c-shadow);
}

.v98c-slide {
  display: none;
  width: 100%;
}

.v98c-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

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

.v98c-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

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

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

/* ===== HERO TEXT ===== */
.v98c-hero-text {
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.v98c-hero-text h1 {
  font-size: 2.2rem;
  color: var(--v98c-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.v98c-hero-text p {
  font-size: 1.4rem;
  color: var(--v98c-text-muted);
  line-height: 1.7;
}

/* ===== SECTION TITLES ===== */
.v98c-section-title {
  font-size: 1.8rem;
  color: var(--v98c-accent);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.2rem solid var(--v98c-primary);
  display: inline-block;
}

/* ===== GAME GRID ===== */
.v98c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.v98c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0.4rem;
  border-radius: var(--v98c-radius-sm);
  background: var(--v98c-bg-card);
  cursor: pointer;
  transition: var(--v98c-transition);
  border: 0.1rem solid transparent;
}

.v98c-game-item:hover {
  transform: translateY(-0.3rem);
  border-color: var(--v98c-primary);
  box-shadow: 0 0.4rem 1rem rgba(255,138,128,0.2);
}

.v98c-game-item:active {
  transform: scale(0.96);
}

.v98c-game-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 0.8rem;
  object-fit: cover;
  margin-bottom: 0.4rem;
}

.v98c-game-name {
  font-size: 1.05rem;
  color: var(--v98c-text-muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ===== CARDS ===== */
.v98c-card {
  background: var(--v98c-bg-card);
  border-radius: var(--v98c-radius);
  padding: 2rem 1.6rem;
  margin-bottom: 1.5rem;
  border: 0.1rem solid var(--v98c-border);
  box-shadow: var(--v98c-shadow);
}

.v98c-card h2 {
  font-size: 1.8rem;
  color: var(--v98c-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.v98c-text-content p {
  font-size: 1.4rem;
  color: var(--v98c-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== PROMO BUTTONS ===== */
.v98c-promo-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--v98c-primary) 0%, var(--v98c-primary-dark) 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  transition: var(--v98c-transition);
  text-align: center;
}

.v98c-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0.4rem 1.5rem rgba(255,138,128,0.4);
}

.v98c-promo-btn:active {
  transform: scale(0.96);
}

.v98c-promo-btn-outline {
  background: transparent;
  border: 0.2rem solid var(--v98c-primary);
  color: var(--v98c-primary);
}

.v98c-promo-btn-outline:hover {
  background: rgba(255,138,128,0.1);
}

/* ===== PROMO LINKS ===== */
.v98c-promo-link {
  color: var(--v98c-primary);
  cursor: pointer;
  text-decoration: underline;
  transition: var(--v98c-transition);
}

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

/* ===== WINNER ITEMS ===== */
.v98c-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 0.1rem solid var(--v98c-border);
}

.v98c-winner-item:last-child {
  border-bottom: none;
}

.v98c-winner-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v98c-primary), var(--v98c-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.v98c-winner-info {
  flex: 1;
}

.v98c-winner-name {
  font-size: 1.3rem;
  color: var(--v98c-text);
  font-weight: 500;
}

.v98c-winner-game {
  font-size: 1.1rem;
  color: var(--v98c-text-dim);
  margin-top: 0.2rem;
}

.v98c-winner-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v98c-accent);
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.v98c-testimonial {
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--v98c-primary);
  background: rgba(255,138,128,0.05);
  border-radius: 0 var(--v98c-radius-sm) var(--v98c-radius-sm) 0;
}

.v98c-testimonial-text {
  font-size: 1.3rem;
  color: var(--v98c-text-muted);
  line-height: 1.6;
  font-style: italic;
}

.v98c-testimonial-author {
  font-size: 1.2rem;
  color: var(--v98c-primary);
  margin-top: 0.6rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.v98c-footer {
  background: linear-gradient(180deg, var(--v98c-bg-card) 0%, var(--v98c-bg) 100%);
  padding: 2rem 1.2rem;
  border-top: 0.1rem solid var(--v98c-border);
}

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

.v98c-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.v98c-footer-promos .v98c-promo-btn {
  padding: 0.7rem 1.6rem;
  font-size: 1.2rem;
}

.v98c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.v98c-footer-links a {
  font-size: 1.2rem;
  color: var(--v98c-text-dim);
  transition: var(--v98c-transition);
}

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

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

/* ===== BOTTOM NAVIGATION ===== */
.v98c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--v98c-bg-light) 0%, var(--v98c-bg) 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 0.1rem solid var(--v98c-border);
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.3);
}

.v98c-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--v98c-text-dim);
  cursor: pointer;
  transition: var(--v98c-transition);
  text-decoration: none;
  padding: 0.4rem;
}

.v98c-bottom-nav-btn:hover {
  color: var(--v98c-primary);
}

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

.v98c-nav-active {
  color: var(--v98c-primary) !important;
}

.v98c-nav-active .v98c-nav-icon {
  transform: scale(1.15);
}

.v98c-nav-icon {
  font-size: 2.4rem;
  line-height: 1;
  transition: var(--v98c-transition);
}

.v98c-nav-label {
  font-size: 1rem;
  margin-top: 0.2rem;
  font-weight: 500;
}

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

/* ===== FAQ SECTION ===== */
.v98c-faq-item {
  margin-bottom: 1.2rem;
  border: 0.1rem solid var(--v98c-border);
  border-radius: var(--v98c-radius-sm);
  overflow: hidden;
}

.v98c-faq-question {
  padding: 1.2rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v98c-accent);
  background: var(--v98c-bg-card);
  cursor: default;
}

.v98c-faq-answer {
  padding: 1rem 1.4rem;
  font-size: 1.3rem;
  color: var(--v98c-text-muted);
  line-height: 1.6;
  background: rgba(255,138,128,0.03);
}

/* ===== FEATURES GRID ===== */
.v98c-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.v98c-feature-item {
  padding: 1.4rem;
  background: var(--v98c-bg-card);
  border-radius: var(--v98c-radius-sm);
  border: 0.1rem solid var(--v98c-border);
  text-align: center;
  transition: var(--v98c-transition);
}

.v98c-feature-item:hover {
  border-color: var(--v98c-primary);
  box-shadow: 0 0.4rem 1rem rgba(255,138,128,0.15);
}

.v98c-feature-icon {
  font-size: 2.8rem;
  color: var(--v98c-primary);
  margin-bottom: 0.6rem;
}

.v98c-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--v98c-accent);
  margin-bottom: 0.4rem;
}

.v98c-feature-desc {
  font-size: 1.1rem;
  color: var(--v98c-text-dim);
  line-height: 1.5;
}

/* ===== TABLE ===== */
.v98c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.v98c-table thead tr {
  background: rgba(255,138,128,0.12);
  color: var(--v98c-primary);
}

.v98c-table th,
.v98c-table td {
  padding: 0.8rem;
  text-align: left;
}

.v98c-table th {
  font-weight: 600;
}

.v98c-table tbody tr {
  border-bottom: 0.1rem solid var(--v98c-border);
  color: var(--v98c-text-muted);
}

/* ===== PARTNER LOGOS ===== */
.v98c-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.v98c-partner-logo {
  width: 6rem;
  height: 6rem;
  border-radius: 0.8rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--v98c-transition);
}

.v98c-partner-logo:hover {
  opacity: 1;
}
