/* PK LUK Theme CSS - pkluk.sbs */
/* Class prefix: pg7d- */
/* Colors: #FA8072 | #1A1A2E | #495057 | #BAE1FF */

:root {
  --pg7d-primary: #FA8072;
  --pg7d-bg: #1A1A2E;
  --pg7d-bg2: #16213E;
  --pg7d-text: #BAE1FF;
  --pg7d-muted: #495057;
  --pg7d-accent: #FA8072;
  --pg7d-card: #0f3460;
  --pg7d-border: #2a3a5c;
  --pg7d-gold: #FFD700;
  --pg7d-success: #4ade80;
  --pg7d-radius: 1.2rem;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pg7d-bg);
  color: var(--pg7d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

a { color: var(--pg7d-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.pg7d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1A1A2E 0%, #0f3460 100%);
  border-bottom: 2px solid var(--pg7d-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.4rem;
}

.pg7d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pg7d-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.pg7d-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg7d-primary);
  white-space: nowrap;
}

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

.pg7d-btn-register {
  background: var(--pg7d-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pg7d-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(250,128,114,0.4); }

.pg7d-btn-login {
  background: transparent;
  color: var(--pg7d-primary);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--pg7d-primary);
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.pg7d-btn-login:hover { background: rgba(250,128,114,0.15); }

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

/* Mobile Menu */
.pg7d-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.pg7d-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 280px;
  height: 100vh;
  background: var(--pg7d-bg2);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.pg7d-mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pg7d-border);
}

.pg7d-mobile-menu-header img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
}

.pg7d-mobile-menu-header span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg7d-primary);
}

.pg7d-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--pg7d-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pg7d-border);
  transition: color 0.2s;
}

.pg7d-mobile-menu a:hover { color: var(--pg7d-primary); text-decoration: none; }

/* Main Content */
.pg7d-main {
  margin-top: 5.4rem;
  padding: 1rem;
  padding-bottom: 2rem;
}

/* Carousel */
.pg7d-carousel {
  position: relative;
  border-radius: var(--pg7d-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 16rem;
}

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

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

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

/* Section Titles */
.pg7d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pg7d-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

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

.pg7d-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.pg7d-game-item:hover { transform: translateY(-3px); }

.pg7d-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  margin-bottom: 0.3rem;
  border: 1.5px solid var(--pg7d-border);
  object-fit: cover;
}

.pg7d-game-item span {
  font-size: 1.1rem;
  color: var(--pg7d-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.pg7d-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.pg7d-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--pg7d-text);
}

/* Promo Buttons */
.pg7d-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg7d-primary), #e06050);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pg7d-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(250,128,114,0.5);
  text-decoration: none;
  color: #fff;
}

.pg7d-promo-text {
  color: var(--pg7d-primary);
  font-weight: 700;
  cursor: pointer;
}

/* Footer */
.pg7d-footer {
  background: var(--pg7d-bg2);
  padding: 2rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--pg7d-primary);
}

.pg7d-footer-brand {
  font-size: 1.3rem;
  color: var(--pg7d-text);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

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

.pg7d-footer-links a {
  background: var(--pg7d-card);
  color: var(--pg7d-text);
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  border: 1px solid var(--pg7d-border);
  transition: background 0.2s;
}

.pg7d-footer-links a:hover { background: var(--pg7d-primary); color: #fff; text-decoration: none; }

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

/* Bottom Nav */
.pg7d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0f3460 0%, #1A1A2E 100%);
  border-top: 1.5px solid var(--pg7d-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  max-width: 430px;
  margin: 0 auto;
}

.pg7d-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.2rem;
  background: none;
  border: none;
  color: var(--pg7d-text);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  gap: 0.2rem;
}

.pg7d-bottom-btn i,
.pg7d-bottom-btn .material-icons {
  font-size: 2.2rem;
}

.pg7d-bottom-btn span {
  font-size: 1rem;
  white-space: nowrap;
}

.pg7d-bottom-btn:hover,
.pg7d-bottom-btn.pg7d-bottom-active {
  color: var(--pg7d-primary);
  transform: scale(1.1);
}

.pg7d-bottom-btn.pg7d-bottom-active {
  position: relative;
}

.pg7d-bottom-btn.pg7d-bottom-active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 2px;
  background: var(--pg7d-primary);
  border-radius: 2px;
}

/* Responsive */
@media (min-width: 769px) {
  .pg7d-bottom-nav { display: none; }
  body { max-width: 100%; }
  .pg7d-header { max-width: 100%; }
}

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

/* FAQ Accordion */
.pg7d-faq-item {
  background: var(--pg7d-card);
  border: 1px solid var(--pg7d-border);
  border-radius: var(--pg7d-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.pg7d-faq-q {
  padding: 1.2rem;
  font-weight: 600;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pg7d-faq-a {
  padding: 0 1.2rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pg7d-text);
  line-height: 1.6;
  display: none;
}

.pg7d-faq-item.open .pg7d-faq-a { display: block; }
.pg7d-faq-item.open .pg7d-faq-q::after { content: '-'; }
.pg7d-faq-q::after { content: '+'; font-size: 1.6rem; color: var(--pg7d-primary); }

/* Helpers */
.pg7d-text-center { text-align: center; }
.pg7d-mb-1 { margin-bottom: 1rem; }
.pg7d-mb-2 { margin-bottom: 2rem; }
.pg7d-mt-1 { margin-top: 1rem; }
.pg7d-mt-2 { margin-top: 2rem; }
.pg7d-flex-center { display: flex; align-items: center; justify-content: center; }

/* Payment Icons */
.pg7d-payment-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.pg7d-payment-item {
  background: var(--pg7d-card);
  border: 1px solid var(--pg7d-border);
  border-radius: 0.8rem;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--pg7d-text);
}

/* Winner ticker */
.pg7d-winner-list {
  list-style: none;
}

.pg7d-winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--pg7d-border);
  font-size: 1.2rem;
}

.pg7d-winner-list .pg7d-win-amount {
  color: var(--pg7d-gold);
  font-weight: 700;
}

/* Testimonials */
.pg7d-testimonial {
  background: var(--pg7d-card);
  border-radius: var(--pg7d-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pg7d-primary);
}

.pg7d-testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.pg7d-testimonial strong {
  color: var(--pg7d-primary);
  font-size: 1.1rem;
}

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

.pg7d-rtp-table th {
  background: var(--pg7d-primary);
  color: #fff;
  padding: 0.6rem;
  text-align: left;
  font-size: 1.1rem;
}

.pg7d-rtp-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--pg7d-border);
}

.pg7d-rtp-table tr:nth-child(even) {
  background: rgba(15,52,96,0.5);
}

/* Badge */
.pg7d-badge {
  display: inline-block;
  background: var(--pg7d-primary);
  color: #fff;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-weight: 600;
}

/* Category Label */
.pg7d-cat-label {
  display: inline-block;
  background: var(--pg7d-card);
  border: 1px solid var(--pg7d-primary);
  color: var(--pg7d-primary);
  font-size: 1rem;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  margin-right: 0.4rem;
}
