/**
 * slot8.click - Core Theme Stylesheet
 * Prefix: pg13-
 * All classes use pg13- prefix for namespace isolation
 */

/* CSS Variables */
:root {
  --pg13-primary: #DC143C;
  --pg13-bg: #141414;
  --pg13-text: #FFFFFF;
  --pg13-accent: #FF69B4;
  --pg13-muted: #999999;
  --pg13-warm: #CD5C5C;
  --pg13-teal: #20B2AA;
  --pg13-surface: #1E1E1E;
  --pg13-surface-light: #2A2A2A;
  --pg13-radius: 8px;
  --pg13-radius-lg: 16px;
  --pg13-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --pg13-transition: 0.3s ease;
  --pg13-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--pg13-font);
  background: var(--pg13-bg);
  color: var(--pg13-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* ============ HEADER ============ */
.pg13-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(220,20,60,0.3);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 100%;
}

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

.pg13-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.pg13-brand {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pg13-primary), var(--pg13-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.pg13-btn-register {
  background: linear-gradient(135deg, var(--pg13-primary), #FF1744);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--pg13-transition), box-shadow var(--pg13-transition);
  white-space: nowrap;
}

.pg13-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(220,20,60,0.5);
}

.pg13-btn-login {
  background: transparent;
  color: var(--pg13-accent);
  border: 1px solid var(--pg13-accent);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--pg13-transition);
  white-space: nowrap;
}

.pg13-btn-login:hover {
  background: rgba(255,105,180,0.15);
}

.pg13-menu-toggle {
  background: none;
  border: none;
  color: var(--pg13-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.pg13-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--pg13-surface);
  z-index: 9999;
  transition: right var(--pg13-transition);
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

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

.pg13-menu-close {
  background: none;
  border: none;
  color: var(--pg13-muted);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.pg13-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg13-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(220,20,60,0.2);
}

.pg13-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pg13-menu-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--pg13-radius);
  color: var(--pg13-text);
  font-size: 1.4rem;
  transition: background var(--pg13-transition);
}

.pg13-menu-links a:hover {
  background: var(--pg13-surface-light);
}

.pg13-menu-links a .material-icons,
.pg13-menu-links a .fas,
.pg13-menu-links a .far {
  font-size: 2rem;
  color: var(--pg13-accent);
}

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

.pg13-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 430/200;
}

.pg13-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
}

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

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

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

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

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

/* ============ CONTENT SECTIONS ============ */
.pg13-main {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.pg13-section {
  margin: 1.6rem 0;
}

.pg13-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg13-text);
  margin-bottom: 1rem;
  padding-left: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg13-section-title .fas,
.pg13-section-title .material-icons {
  color: var(--pg13-primary);
  font-size: 2rem;
}

.pg13-section-title span {
  color: var(--pg13-accent);
}

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

.pg13-game-card {
  background: var(--pg13-surface);
  border-radius: var(--pg13-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--pg13-transition), box-shadow var(--pg13-transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.pg13-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(220,20,60,0.3);
}

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

.pg13-game-card .pg13-game-name {
  padding: 0.4rem 0.3rem;
  font-size: 1rem;
  text-align: center;
  color: var(--pg13-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* ============ CONTENT CARDS ============ */
.pg13-card {
  background: var(--pg13-surface);
  border-radius: var(--pg13-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.pg13-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--pg13-text);
}

.pg13-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--pg13-accent);
}

.pg13-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--pg13-muted);
  margin-bottom: 0.8rem;
}

.pg13-card ul {
  list-style: none;
  padding: 0;
}

.pg13-card ul li {
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--pg13-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
}

.pg13-card ul li .fas,
.pg13-card ul li .material-icons {
  color: var(--pg13-teal);
  font-size: 1.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ============ CTA / PROMO LINKS ============ */
.pg13-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg13-primary), #FF1744);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2.4rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform var(--pg13-transition), box-shadow var(--pg13-transition);
}

.pg13-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(220,20,60,0.5);
}

.pg13-link-text {
  color: var(--pg13-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--pg13-transition);
}

.pg13-link-text:hover {
  color: var(--pg13-primary);
}

/* ============ HIGHLIGHT BAR ============ */
.pg13-highlight-bar {
  background: linear-gradient(135deg, rgba(220,20,60,0.15), rgba(255,105,180,0.1));
  border-left: 3px solid var(--pg13-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--pg13-radius) var(--pg13-radius) 0;
  margin: 1rem 0;
}

.pg13-highlight-bar p {
  font-size: 1.3rem;
  color: var(--pg13-text);
  margin: 0;
}

/* ============ STATS GRID ============ */
.pg13-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.pg13-stat-item {
  background: var(--pg13-surface-light);
  border-radius: var(--pg13-radius);
  padding: 1.2rem;
  text-align: center;
}

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

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

/* ============ FOOTER ============ */
.pg13-footer {
  background: var(--pg13-surface);
  border-top: 1px solid rgba(220,20,60,0.2);
  padding: 2rem 1.2rem 8rem;
  margin-top: 2rem;
}

.pg13-footer-intro {
  font-size: 1.3rem;
  color: var(--pg13-muted);
  line-height: 1.8rem;
  margin-bottom: 1.6rem;
}

.pg13-footer-intro strong {
  color: var(--pg13-primary);
}

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

.pg13-footer-links a {
  background: var(--pg13-surface-light);
  color: var(--pg13-text);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  transition: background var(--pg13-transition);
  white-space: nowrap;
}

.pg13-footer-links a:hover {
  background: var(--pg13-primary);
}

.pg13-footer-promo {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.pg13-footer-promo .pg13-cta-btn {
  flex: 1;
  min-width: 120px;
  font-size: 1.2rem;
  padding: 0.8rem 1.2rem;
}

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

/* ============ BOTTOM NAV ============ */
.pg13-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  border-top: 1px solid rgba(220,20,60,0.3);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.pg13-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(--pg13-muted);
  cursor: pointer;
  transition: color var(--pg13-transition), transform var(--pg13-transition);
  gap: 2px;
}

.pg13-bottom-nav-btn:hover,
.pg13-bottom-nav-btn:focus {
  color: var(--pg13-primary);
  transform: scale(1.1);
}

.pg13-bottom-nav-btn .pg13-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.pg13-bottom-nav-btn .pg13-nav-label {
  font-size: 1rem;
  line-height: 1;
}

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

.pg13-nav-active .pg13-nav-icon {
  filter: drop-shadow(0 0 4px rgba(220,20,60,0.5));
}

/* ============ INTERNAL LINKS ============ */
.pg13-internal-link {
  color: var(--pg13-teal);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--pg13-transition);
}

.pg13-internal-link:hover {
  color: var(--pg13-accent);
}

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

@media (max-width: 768px) {
  .pg13-main {
    padding-bottom: 80px;
  }
  .pg13-footer {
    padding-bottom: 8rem;
  }
}

/* ============ HELP PAGE STYLES ============ */
.pg13-help-section {
  margin-bottom: 1.6rem;
}

.pg13-help-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg13-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg13-help-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pg13-accent);
  margin-bottom: 0.6rem;
}

.pg13-help-section p {
  font-size: 1.3rem;
  color: var(--pg13-muted);
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
}

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

.pg13-help-section li {
  font-size: 1.3rem;
  color: var(--pg13-muted);
  line-height: 1.8rem;
  margin-bottom: 0.4rem;
}

.pg13-faq-item {
  background: var(--pg13-surface);
  border-radius: var(--pg13-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pg13-primary);
}

.pg13-faq-item strong {
  display: block;
  color: var(--pg13-text);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pg13-faq-item p {
  font-size: 1.2rem;
  color: var(--pg13-muted);
  line-height: 1.6;
  margin: 0;
}
