/*
 * layout-4958.css - Main Stylesheet for 111111.click
 * All classes use pg49- prefix for namespace isolation
 * Color palette: #1A1A1A | #98FB98 | #32CD32 | #FFC0CB | #00FF7F
 */

/* ===== CSS Variables ===== */
:root {
  --pg49-bg-dark: #1A1A1A;
  --pg49-bg-card: #222222;
  --pg49-bg-section: #1e1e1e;
  --pg49-green-light: #98FB98;
  --pg49-green-mid: #32CD32;
  --pg49-green-bright: #00FF7F;
  --pg49-pink: #FFC0CB;
  --pg49-text-primary: #E8E8E8;
  --pg49-text-secondary: #B0B0B0;
  --pg49-text-muted: #777777;
  --pg49-border: #333333;
  --pg49-radius: 8px;
  --pg49-radius-lg: 12px;
  --pg49-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --pg49-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(--pg49-bg-dark);
  color: var(--pg49-text-primary);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--pg49-green-light);
  text-decoration: none;
  transition: var(--pg49-transition);
}

a:hover {
  color: var(--pg49-green-bright);
}

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

/* ===== Header ===== */
.pg49-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(180deg, #1f1f1f, #181818);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--pg49-border);
}

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

.pg49-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pg49-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg49-green-mid);
  letter-spacing: 0.5px;
}

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

.pg49-btn-register,
.pg49-btn-login {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--pg49-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pg49-transition);
  min-height: 34px;
}

.pg49-btn-register {
  background: linear-gradient(135deg, var(--pg49-green-mid), var(--pg49-green-bright));
  color: #111;
}

.pg49-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(50,205,50,0.4);
}

.pg49-btn-login {
  background: transparent;
  color: var(--pg49-green-light);
  border: 1px solid var(--pg49-green-mid);
}

.pg49-btn-login:hover {
  background: rgba(50,205,50,0.1);
}

.pg49-menu-toggle {
  background: none;
  border: none;
  color: var(--pg49-green-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ===== Mobile Menu ===== */
.pg49-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.pg49-overlay-active {
  display: block;
}

.pg49-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #191919;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-left: 1px solid var(--pg49-border);
}

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

.pg49-mobile-menu .pg49-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--pg49-text-primary);
  font-size: 2.4rem;
  cursor: pointer;
}

.pg49-mobile-menu nav {
  margin-top: 3rem;
}

.pg49-mobile-menu nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--pg49-text-primary);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--pg49-border);
  transition: var(--pg49-transition);
}

.pg49-mobile-menu nav a:hover {
  color: var(--pg49-green-mid);
  padding-left: 0.8rem;
}

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

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

.pg49-container {
  width: 100%;
  padding: 0 1rem;
}

/* ===== Carousel ===== */
.pg49-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-top: 0;
}

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

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

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

.pg49-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.pg49-slide-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.pg49-slide-desc {
  color: var(--pg49-green-light);
  font-size: 1.2rem;
  margin-top: 0.4rem;
}

.pg49-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

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

.pg49-dot-active {
  background: var(--pg49-green-mid);
}

/* ===== Sections ===== */
.pg49-section {
  padding: 2rem 1rem;
}

.pg49-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg49-green-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pg49-green-mid);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg49-section-title i,
.pg49-section-title .material-icons {
  font-size: 2rem;
}

/* ===== Category Header ===== */
.pg49-cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.pg49-cat-header h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--pg49-green-mid);
}

.pg49-cat-header .material-icons {
  font-size: 2rem;
  color: var(--pg49-green-light);
}

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

@media (min-width: 381px) {
  .pg49-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pg49-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--pg49-transition);
  text-align: center;
}

.pg49-game-item:hover {
  transform: translateY(-2px);
}

.pg49-game-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--pg49-radius);
  overflow: hidden;
  margin-bottom: 0.4rem;
  border: 2px solid transparent;
  transition: var(--pg49-transition);
}

.pg49-game-item:hover .pg49-game-icon {
  border-color: var(--pg49-green-mid);
  box-shadow: 0 0 8px rgba(50,205,50,0.3);
}

.pg49-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg49-game-name {
  font-size: 1.1rem;
  color: var(--pg49-text-secondary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 68px;
}

/* ===== Content Cards ===== */
.pg49-card {
  background: var(--pg49-bg-card);
  border-radius: var(--pg49-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--pg49-border);
}

.pg49-card h3 {
  font-size: 1.5rem;
  color: var(--pg49-green-light);
  margin-bottom: 0.8rem;
}

.pg49-card p {
  font-size: 1.3rem;
  color: var(--pg49-text-secondary);
  line-height: 1.8rem;
  margin-bottom: 0.6rem;
}

/* ===== Promo Button ===== */
.pg49-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg49-green-mid), var(--pg49-green-bright));
  color: #111;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  border-radius: var(--pg49-radius);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: var(--pg49-transition);
}

.pg49-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0,255,127,0.4);
}

/* ===== Promo Link Text ===== */
.pg49-promo-link {
  color: var(--pg49-green-bright);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.pg49-promo-link:hover {
  color: var(--pg49-green-light);
}

/* ===== Footer ===== */
.pg49-footer {
  background: #141414;
  padding: 2rem 1rem 6rem;
  border-top: 1px solid var(--pg49-border);
}

@media (min-width: 769px) {
  .pg49-footer {
    padding-bottom: 2rem;
  }
}

.pg49-footer-brand {
  font-size: 1.3rem;
  color: var(--pg49-text-muted);
  line-height: 1.7rem;
  margin-bottom: 1.5rem;
}

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

.pg49-footer-links a {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  background: var(--pg49-bg-card);
  border-radius: var(--pg49-radius);
  color: var(--pg49-text-secondary);
  border: 1px solid var(--pg49-border);
}

.pg49-footer-links a:hover {
  color: var(--pg49-green-mid);
  border-color: var(--pg49-green-mid);
}

.pg49-footer-copy {
  font-size: 1.1rem;
  color: var(--pg49-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ===== Bottom Navigation (Mobile) ===== */
.pg49-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a1a1a, #111111);
  border-top: 1px solid var(--pg49-border);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
}

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

.pg49-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--pg49-text-muted);
  cursor: pointer;
  transition: var(--pg49-transition);
  gap: 0.2rem;
}

.pg49-bottom-btn i,
.pg49-bottom-btn .material-icons {
  font-size: 22px;
}

.pg49-bottom-btn span {
  font-size: 1rem;
}

.pg49-bottom-btn:hover {
  color: var(--pg49-green-mid);
}

.pg49-bottom-btn.pg49-active {
  color: var(--pg49-green-bright);
}

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

/* ===== Utility Classes ===== */
.pg49-text-green {
  color: var(--pg49-green-light);
}

.pg49-text-pink {
  color: var(--pg49-pink);
}

.pg49-text-center {
  text-align: center;
}

.pg49-mt-1 { margin-top: 1rem; }
.pg49-mt-2 { margin-top: 2rem; }
.pg49-mb-1 { margin-bottom: 1rem; }
.pg49-mb-2 { margin-bottom: 2rem; }

.pg49-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== FAQ Section ===== */
.pg49-faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--pg49-border);
  padding-bottom: 1rem;
}

.pg49-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pg49-green-light);
  margin-bottom: 0.5rem;
}

.pg49-faq-a {
  font-size: 1.3rem;
  color: var(--pg49-text-secondary);
  line-height: 1.8rem;
}

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

.pg49-rtp-table th {
  background: var(--pg49-green-mid);
  color: #111;
  padding: 0.8rem 0.5rem;
  text-align: left;
  font-weight: 600;
}

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

.pg49-rtp-table tr:hover td {
  background: rgba(50,205,50,0.05);
}

/* ===== Winner List ===== */
.pg49-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--pg49-border);
}

.pg49-winner-name {
  font-size: 1.2rem;
  color: var(--pg49-text-primary);
}

.pg49-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pg49-green-bright);
}

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

/* ===== Payment Methods ===== */
.pg49-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.pg49-payment-item {
  background: var(--pg49-bg-card);
  border: 1px solid var(--pg49-border);
  border-radius: var(--pg49-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pg49-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Testimonials ===== */
.pg49-testimonial {
  background: var(--pg49-bg-card);
  border-radius: var(--pg49-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--pg49-green-mid);
}

.pg49-testimonial-text {
  font-size: 1.3rem;
  color: var(--pg49-text-secondary);
  line-height: 1.7rem;
  font-style: italic;
}

.pg49-testimonial-author {
  font-size: 1.1rem;
  color: var(--pg49-green-light);
  margin-top: 0.6rem;
  font-weight: 600;
}

/* ===== Desktop adjustments ===== */
@media (min-width: 769px) {
  .pg49-bottom-nav {
    display: none !important;
  }
}

/* ===== Schema hidden ===== */
.pg49-schema {
  display: none;
}
