/**
 * Jilibet - Main Stylesheet
 * Website: jilibet.cfd
 * Class prefix: pg35-
 */

/* === CSS Variables === */
:root {
  --pg35-primary: #00FA9A;
  --pg35-primary-dark: #00CC7A;
  --pg35-primary-glow: rgba(0, 250, 154, 0.3);
  --pg35-bg: #3A3A3A;
  --pg35-bg-dark: #2A2A2A;
  --pg35-bg-card: #4A4A4A;
  --pg35-text: #F0F0F0;
  --pg35-text-muted: #B0B0B0;
  --pg35-text-dark: #888;
  --pg35-border: #555;
  --pg35-white: #FFFFFF;
  --pg35-gold: #FFD700;
  --pg35-red: #FF4444;
  --pg35-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --pg35-radius: 10px;
  --pg35-radius-sm: 6px;
  --pg35-radius-lg: 16px;
  --pg35-shadow: 0 4px 12px rgba(0,0,0,0.3);
  --pg35-shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--pg35-font);
  background: var(--pg35-bg);
  color: var(--pg35-text);
  font-size: 1.5rem;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

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

/* === Header === */
.pg35-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--pg35-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 2px solid var(--pg35-primary);
  box-shadow: var(--pg35-shadow);
}

.pg35-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg35-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.pg35-header-logo span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pg35-primary);
  letter-spacing: 0.5px;
}

.pg35-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg35-btn-register,
.pg35-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: var(--pg35-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  min-width: 44px;
}

.pg35-btn-register {
  background: var(--pg35-primary);
  color: var(--pg35-bg-dark);
}

.pg35-btn-register:hover {
  background: var(--pg35-primary-dark);
  transform: scale(1.05);
}

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

.pg35-btn-login:hover {
  background: rgba(0, 250, 154, 0.1);
}

.pg35-hamburger {
  background: none;
  border: none;
  color: var(--pg35-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
.pg35-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--pg35-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.pg35-menu-active {
  right: 0 !important;
}

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

.pg35-menu-links {
  list-style: none;
  padding: 60px 0 20px;
}

.pg35-menu-links li {
  border-bottom: 1px solid var(--pg35-border);
}

.pg35-menu-links a {
  display: block;
  padding: 14px 24px;
  color: var(--pg35-text);
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pg35-menu-links a:hover {
  background: rgba(0, 250, 154, 0.08);
  color: var(--pg35-primary);
  text-decoration: none;
}

/* === Menu Overlay === */
.pg35-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg35-overlay-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* === Main Content === */
.pg35-main {
  padding-top: 56px;
  padding-bottom: 20px;
}

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

/* === Carousel === */
.pg35-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 430/240;
  background: var(--pg35-bg-dark);
}

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

.pg35-slide-active {
  opacity: 1 !important;
}

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

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

.pg35-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pg35-carousel-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  position: absolute;
}

.pg35-dot-active::after {
  background: var(--pg35-primary) !important;
  box-shadow: 0 0 6px var(--pg35-primary-glow);
}

/* === Section Styles === */
.pg35-section {
  padding: 16px 12px;
}

.pg35-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pg35-white);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pg35-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg35-section-title .pg35-title-icon {
  color: var(--pg35-primary);
  font-size: 2rem;
}

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

.pg35-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--pg35-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--pg35-bg-card);
  text-align: center;
}

.pg35-game-item:hover {
  background: rgba(0, 250, 154, 0.1);
  transform: translateY(-2px);
}

.pg35-game-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.pg35-game-item span {
  font-size: 1.1rem;
  color: var(--pg35-text-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 80px;
}

/* === Promo Buttons === */
.pg35-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--pg35-primary), var(--pg35-primary-dark));
  color: var(--pg35-bg-dark);
  border: none;
  border-radius: var(--pg35-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}

.pg35-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px var(--pg35-primary-glow);
}

.pg35-promo-btn-outline {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--pg35-primary);
  border: 2px solid var(--pg35-primary);
  border-radius: var(--pg35-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}

.pg35-promo-btn-outline:hover {
  background: rgba(0, 250, 154, 0.1);
}

/* === Cards === */
.pg35-card {
  background: var(--pg35-bg-card);
  border-radius: var(--pg35-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--pg35-shadow);
}

.pg35-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg35-primary);
  margin-bottom: 10px;
}

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

/* === RTP Table === */
.pg35-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 1.3rem;
}

.pg35-rtp-table th {
  background: var(--pg35-primary);
  color: var(--pg35-bg-dark);
  padding: 10px 8px;
  text-align: left;
  font-weight: 700;
}

.pg35-rtp-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--pg35-border);
  color: var(--pg35-text-muted);
}

.pg35-rtp-table tr:hover td {
  background: rgba(0, 250, 154, 0.05);
}

/* === Winners Showcase === */
.pg35-winner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--pg35-radius-sm);
  background: var(--pg35-bg-card);
  margin-bottom: 8px;
}

.pg35-winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pg35-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg35-bg-dark);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

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

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

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

.pg35-winner-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pg35-gold);
}

/* === Testimonials === */
.pg35-testimonial {
  background: var(--pg35-bg-card);
  border-radius: var(--pg35-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--pg35-primary);
}

.pg35-testimonial-text {
  font-size: 1.35rem;
  color: var(--pg35-text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}

.pg35-testimonial-author {
  font-size: 1.2rem;
  color: var(--pg35-primary);
  font-weight: 600;
}

.pg35-testimonial-stars {
  color: var(--pg35-gold);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/* === Download CTA === */
.pg35-download-box {
  background: linear-gradient(135deg, var(--pg35-bg-dark), var(--pg35-bg-card));
  border-radius: var(--pg35-radius-lg);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--pg35-primary);
}

.pg35-download-box h3 {
  font-size: 1.8rem;
  color: var(--pg35-primary);
  margin-bottom: 8px;
}

.pg35-download-box p {
  font-size: 1.3rem;
  color: var(--pg35-text-muted);
  margin-bottom: 16px;
}

.pg35-download-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* === Security Section === */
.pg35-security-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pg35-security-icon {
  font-size: 2rem;
  color: var(--pg35-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pg35-security-text h4 {
  font-size: 1.4rem;
  color: var(--pg35-white);
  margin-bottom: 4px;
}

.pg35-security-text p {
  font-size: 1.2rem;
  color: var(--pg35-text-muted);
  line-height: 1.5;
}

/* === Footer === */
.pg35-footer {
  background: var(--pg35-bg-dark);
  padding: 20px 12px;
  border-top: 2px solid var(--pg35-primary);
  text-align: center;
}

.pg35-footer-brand {
  font-size: 1.3rem;
  color: var(--pg35-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pg35-footer-promos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pg35-footer-promos button {
  padding: 6px 14px;
  background: var(--pg35-primary);
  color: var(--pg35-bg-dark);
  border: none;
  border-radius: var(--pg35-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
  transition: all 0.2s ease;
}

.pg35-footer-promos button:hover {
  background: var(--pg35-primary-dark);
  transform: scale(1.05);
}

.pg35-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 12px;
}

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

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

.pg35-footer-copy {
  font-size: 1.1rem;
  color: var(--pg35-text-dark);
  margin-top: 8px;
}

/* === Bottom Navigation === */
.pg35-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--pg35-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  border-top: 2px solid var(--pg35-primary);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.pg35-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(--pg35-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 2px;
  text-decoration: none;
  padding: 4px;
}

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

.pg35-bottom-nav-btn .pg35-nav-icon {
  font-size: 22px;
  line-height: 1;
}

.pg35-bottom-nav-btn .pg35-nav-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

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

.pg35-nav-active .pg35-nav-icon {
  text-shadow: 0 0 8px var(--pg35-primary-glow);
}

@media (min-width: 769px) {
  .pg35-bottom-nav {
    display: none;
  }
}

/* === FAQ Styles === */
.pg35-faq-item {
  background: var(--pg35-bg-card);
  border-radius: var(--pg35-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.pg35-faq-q {
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pg35-white);
  cursor: default;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pg35-faq-q .pg35-q-icon {
  color: var(--pg35-primary);
  flex-shrink: 0;
  font-weight: 800;
}

.pg35-faq-a {
  padding: 0 16px 14px;
  font-size: 1.35rem;
  color: var(--pg35-text-muted);
  line-height: 1.7;
}

/* === Payment Methods === */
.pg35-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pg35-payment-item {
  background: var(--pg35-bg-card);
  padding: 10px 16px;
  border-radius: var(--pg35-radius-sm);
  font-size: 1.3rem;
  color: var(--pg35-text);
  font-weight: 600;
  border: 1px solid var(--pg35-border);
}

/* === Promo Bonus Cards === */
.pg35-bonus-card {
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.1), rgba(0, 250, 154, 0.02));
  border: 1px solid rgba(0, 250, 154, 0.3);
  border-radius: var(--pg35-radius);
  padding: 14px;
  margin-bottom: 10px;
}

.pg35-bonus-card h4 {
  font-size: 1.5rem;
  color: var(--pg35-primary);
  margin-bottom: 6px;
}

.pg35-bonus-card p {
  font-size: 1.3rem;
  color: var(--pg35-text-muted);
  line-height: 1.5;
}

/* === Heading Styles === */
.pg35-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pg35-white);
  padding: 16px 12px 8px;
  line-height: 1.3;
}

.pg35-h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg35-white);
  margin-bottom: 12px;
}

.pg35-content-text {
  font-size: 1.4rem;
  color: var(--pg35-text-muted);
  line-height: 1.7;
  padding: 0 12px;
}

/* === Internal Link === */
.pg35-internal-link {
  color: var(--pg35-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.pg35-internal-link:hover {
  color: var(--pg35-white);
}

/* === CTA Section === */
.pg35-cta-section {
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.15), transparent);
  border-radius: var(--pg35-radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin: 16px 12px;
  border: 1px solid rgba(0, 250, 154, 0.2);
}

.pg35-cta-section h2 {
  color: var(--pg35-primary);
  margin-bottom: 10px;
}

.pg35-cta-section p {
  color: var(--pg35-text-muted);
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* === Responsive tweaks === */
@media (max-width: 360px) {
  .pg35-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pg35-game-item img {
    width: 42px;
    height: 42px;
  }

  .pg35-header-logo span {
    font-size: 1.5rem;
  }
}
