/*
 * PHKKK Main Stylesheet
 * Website: phkkk.sbs
 * Prefix: se00-
 * All class names use se00- prefix for namespace isolation
 * Color palette: #2D2D2D (bg) | #CD853F (accent) | #6C757D (text)
 */

/* CSS Variables */
:root {
  --se00-primary: #CD853F;
  --se00-bg: #2D2D2D;
  --se00-bg-dark: #1A1A1A;
  --se00-bg-card: #3A3A3A;
  --se00-text: #F0F0F0;
  --se00-text-muted: #6C757D;
  --se00-accent: #CD853F;
  --se00-accent-hover: #E09A54;
  --se00-border: #4A4A4A;
  --se00-success: #4CAF50;
  --se00-radius: 8px;
  --se00-radius-lg: 12px;
  --se00-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --se00-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::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-color: var(--se00-bg);
  color: var(--se00-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.se00-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--se00-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 1px solid var(--se00-border);
}
.se00-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.se00-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.se00-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--se00-accent);
  letter-spacing: 1px;
}
.se00-header-actions { display: flex; align-items: center; gap: 8px; }
.se00-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--se00-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--se00-transition);
  text-decoration: none;
  min-height: 36px;
}
.se00-btn-register {
  background: var(--se00-accent);
  color: #fff;
}
.se00-btn-register:hover { background: var(--se00-accent-hover); transform: scale(1.03); }
.se00-btn-login {
  background: transparent;
  color: var(--se00-accent);
  border: 1px solid var(--se00-accent);
}
.se00-btn-login:hover { background: rgba(205,133,63,0.15); }
.se00-menu-btn {
  background: none;
  border: none;
  color: var(--se00-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.se00-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}
.se00-overlay-active { display: block; }
.se00-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--se00-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.se00-menu-active { right: 0; }
.se00-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--se00-text);
  font-size: 2.4rem;
  cursor: pointer;
}
.se00-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: var(--se00-text);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--se00-border);
  transition: var(--se00-transition);
}
.se00-mobile-menu a:hover { color: var(--se00-accent); padding-left: 8px; }
.se00-mobile-menu .material-icons, .se00-mobile-menu .fas, .se00-mobile-menu .bi {
  font-size: 2rem;
  width: 24px;
  text-align: center;
}

/* Bottom Navigation */
.se00-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--se00-bg-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--se00-accent);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.se00-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--se00-text-muted);
  cursor: pointer;
  transition: var(--se00-transition);
  padding: 4px 0;
  text-decoration: none;
  position: relative;
}
.se00-bottom-nav-btn:hover, .se00-nav-active {
  color: var(--se00-accent);
  transform: scale(1.08);
}
.se00-nav-active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--se00-accent);
  border-radius: 0 0 3px 3px;
}
.se00-bottom-nav-btn i,
.se00-bottom-nav-btn .material-icons,
.se00-bottom-nav-btn ion-icon,
.se00-bottom-nav-btn bi {
  font-size: 22px;
  margin-bottom: 2px;
}
.se00-bottom-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Main Content */
.se00-main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .se00-main { padding-bottom: 80px; }
}

/* Carousel */
.se00-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--se00-bg-card);
}
.se00-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.se00-slide-active { opacity: 1; }
.se00-slide img { width: 100%; height: 100%; object-fit: cover; }
.se00-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.se00-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--se00-transition);
}
.se00-dot-active { background: var(--se00-accent); width: 20px; border-radius: 4px; }

/* Sections */
.se00-section {
  padding: 20px 14px;
}
.se00-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--se00-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.se00-section-title i { font-size: 2rem; }

/* Game Grid */
.se00-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--se00-text);
  margin: 16px 0 10px;
  padding-left: 4px;
  border-left: 3px solid var(--se00-accent);
  padding-left: 10px;
}
.se00-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.se00-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--se00-transition);
  text-decoration: none;
  color: var(--se00-text);
}
.se00-game-item:hover { transform: translateY(-3px); }
.se00-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--se00-radius);
  object-fit: cover;
  border: 2px solid var(--se00-border);
  transition: var(--se00-transition);
}
.se00-game-item:hover img { border-color: var(--se00-accent); }
.se00-game-name {
  font-size: 1.1rem;
  margin-top: 4px;
  line-height: 1.3rem;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.se00-card {
  background: var(--se00-bg-card);
  border-radius: var(--se00-radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--se00-border);
}
.se00-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--se00-accent);
  margin-bottom: 10px;
}
.se00-card p {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: var(--se00-text);
  margin-bottom: 8px;
}

/* Promo Buttons & Links */
.se00-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--se00-accent), #B87333);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 10px 24px;
  border-radius: var(--se00-radius);
  border: none;
  cursor: pointer;
  transition: var(--se00-transition);
  text-decoration: none;
  width: 100%;
  margin: 8px 0;
}
.se00-promo-btn:hover { transform: scale(1.02); box-shadow: 0 4px 16px rgba(205,133,63,0.4); }
.se00-promo-link {
  color: var(--se00-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--se00-accent);
  transition: var(--se00-transition);
}
.se00-promo-link:hover { color: var(--se00-accent-hover); border-bottom-style: solid; }

/* Footer */
.se00-footer {
  background: var(--se00-bg-dark);
  padding: 24px 14px 20px;
  border-top: 1px solid var(--se00-border);
  text-align: center;
}
.se00-footer-brand {
  font-size: 1.4rem;
  color: var(--se00-text);
  line-height: 1.7rem;
  margin-bottom: 16px;
}
.se00-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.se00-footer-links a {
  color: var(--se00-accent);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--se00-border);
  border-radius: var(--se00-radius);
  transition: var(--se00-transition);
}
.se00-footer-links a:hover { background: rgba(205,133,63,0.15); }
.se00-footer-copy {
  font-size: 1.1rem;
  color: var(--se00-text-muted);
  margin-top: 12px;
}

/* Testimonials */
.se00-testimonial {
  background: var(--se00-bg-card);
  border-radius: var(--se00-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--se00-accent);
}
.se00-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--se00-accent);
}
.se00-testimonial-text {
  font-size: 1.2rem;
  color: var(--se00-text);
  margin-top: 6px;
  line-height: 1.5rem;
}

/* Winner Showcase */
.se00-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--se00-border);
}
.se00-winner-item:last-child { border-bottom: none; }
.se00-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--se00-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.se00-winner-info { flex: 1; }
.se00-winner-name { font-size: 1.2rem; font-weight: 600; color: var(--se00-text); }
.se00-winner-game { font-size: 1.1rem; color: var(--se00-text-muted); }
.se00-winner-amount { font-size: 1.4rem; font-weight: 700; color: var(--se00-accent); }

/* Payment Methods */
.se00-payment-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.se00-payment-item {
  background: var(--se00-bg-card);
  border: 1px solid var(--se00-border);
  border-radius: var(--se00-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--se00-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* RTP Bar */
.se00-rtp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.se00-rtp-label {
  font-size: 1.2rem;
  color: var(--se00-text);
  min-width: 90px;
}
.se00-rtp-track {
  flex: 1;
  height: 8px;
  background: var(--se00-bg-dark);
  border-radius: 4px;
  overflow: hidden;
}
.se00-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--se00-accent), var(--se00-success));
  border-radius: 4px;
}
.se00-rtp-value {
  font-size: 1.1rem;
  color: var(--se00-accent);
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

/* Features Grid */
.se00-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.se00-feature-item {
  background: var(--se00-bg-card);
  border-radius: var(--se00-radius);
  padding: 14px;
  text-align: center;
  border: 1px solid var(--se00-border);
}
.se00-feature-icon {
  font-size: 2.4rem;
  color: var(--se00-accent);
  margin-bottom: 6px;
}
.se00-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--se00-text);
  margin-bottom: 4px;
}
.se00-feature-desc {
  font-size: 1.1rem;
  color: var(--se00-text-muted);
  line-height: 1.4rem;
}

/* Help content */
.se00-help-section { margin-bottom: 14px; }
.se00-help-section h2 {
  font-size: 1.6rem;
  color: var(--se00-accent);
  margin-bottom: 8px;
}
.se00-help-section p, .se00-help-section li {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--se00-text);
}
.se00-help-section ul { padding-left: 20px; }
.se00-help-section li { margin-bottom: 4px; }

/* FAQ */
.se00-faq-item {
  background: var(--se00-bg-card);
  border-radius: var(--se00-radius);
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--se00-border);
}
.se00-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--se00-accent);
  margin-bottom: 6px;
}
.se00-faq-a {
  font-size: 1.3rem;
  color: var(--se00-text);
  line-height: 1.6rem;
}

/* Desktop hide bottom nav */
@media (min-width: 769px) {
  .se00-bottom-nav { display: none; }
}
@media (min-width: 769px) {
  .se00-main { padding-bottom: 0; }
}
