/* playtime gaming - Main Stylesheet */
/* All classes prefixed with w5d38- for namespace isolation */

:root {
  --w5d38-primary: #FA8072;
  --w5d38-secondary: #FFFFBA;
  --w5d38-bg: #2D2D2D;
  --w5d38-text: #BBBBBB;
  --w5d38-accent: #2C3E50;
  --w5d38-border: #3a3a3a;
  --w5d38-card: #333333;
  --w5d38-card-hover: #3a3a3a;
  --w5d38-salmon: #FA8072;
  --w5d38-light-gray: #778899;
  --w5d38-yellow: #FFFFBA;
  --w5d38-white: #FFFFFF;
  --w5d38-dark: #222222;
  --w5d38-radius: 8px;
  --w5d38-radius-lg: 12px;
  --w5d38-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --w5d38-transition: all 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--w5d38-bg);
  color: var(--w5d38-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--w5d38-secondary);
}

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

/* ===== Header ===== */
.w5d38-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
  z-index: 1000;
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

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

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

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

.w5d38-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w5d38-btn-register,
.w5d38-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--w5d38-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w5d38-transition);
  white-space: nowrap;
}

.w5d38-btn-register {
  background: linear-gradient(135deg, #FA8072, #e06b5e);
  color: var(--w5d38-white);
}

.w5d38-btn-register:hover {
  background: linear-gradient(135deg, #ff9a8e, #FA8072);
  transform: scale(1.05);
}

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

.w5d38-btn-login:hover {
  background: rgba(255,255,186,0.1);
}

.w5d38-hamburger {
  background: none;
  border: none;
  color: var(--w5d38-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

/* ===== Mobile Menu ===== */
.w5d38-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;
}

.w5d38-overlay-active {
  opacity: 1;
  pointer-events: all;
}

.w5d38-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #2C3E50, #1a252f);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

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

.w5d38-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w5d38-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w5d38-border);
}

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

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

.w5d38-menu-links li a:hover {
  background: rgba(250,128,114,0.15);
  color: var(--w5d38-primary);
}

.w5d38-menu-links li a i,
.w5d38-menu-links li a span.material-icons-outlined {
  font-size: 1.8rem;
  width: 2.4rem;
  text-align: center;
}

/* ===== Main Content ===== */
.w5d38-main {
  padding-top: 52px;
  padding-bottom: 2rem;
  min-height: 100vh;
}

/* ===== Carousel ===== */
.w5d38-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
}

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

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

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

.w5d38-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

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

.w5d38-dot-active {
  background: var(--w5d38-primary);
  transform: scale(1.3);
}

/* ===== Sections ===== */
.w5d38-section {
  padding: 2rem 1.2rem;
}

.w5d38-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w5d38-white);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.w5d38-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--w5d38-primary), transparent);
  margin-left: 0.5rem;
}

/* ===== Game Grid ===== */
.w5d38-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w5d38-primary);
  margin: 1.5rem 0 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w5d38-primary);
}

.w5d38-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.w5d38-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--w5d38-transition);
  padding: 0.4rem;
  border-radius: var(--w5d38-radius);
}

.w5d38-game-item:hover {
  background: var(--w5d38-card-hover);
  transform: translateY(-2px);
}

.w5d38-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w5d38-radius);
  object-fit: cover;
}

.w5d38-game-item span {
  font-size: 1rem;
  color: var(--w5d38-text);
  text-align: center;
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Content Modules ===== */
.w5d38-card {
  background: var(--w5d38-card);
  border-radius: var(--w5d38-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--w5d38-shadow);
}

.w5d38-card h3 {
  font-size: 1.5rem;
  color: var(--w5d38-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w5d38-card h3 i,
.w5d38-card h3 span.material-icons-outlined {
  color: var(--w5d38-primary);
}

.w5d38-card p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--w5d38-text);
  margin-bottom: 0.8rem;
}

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

.w5d38-card ul li {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--w5d38-text);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.w5d38-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--w5d38-primary);
  font-size: 1rem;
}

.w5d38-promo-link {
  display: inline-block;
  color: var(--w5d38-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--w5d38-transition);
}

.w5d38-promo-link:hover {
  color: var(--w5d38-secondary);
  text-decoration: underline;
}

.w5d38-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FA8072, #e06b5e);
  color: var(--w5d38-white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--w5d38-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--w5d38-transition);
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  display: block;
}

.w5d38-promo-btn:hover {
  background: linear-gradient(135deg, #ff9a8e, #FA8072);
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(250,128,114,0.4);
}

/* ===== H1 Title ===== */
.w5d38-h1-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--w5d38-white);
  text-align: center;
  padding: 1.5rem 1rem;
  line-height: 2.8rem;
}

.w5d38-h1-title span {
  color: var(--w5d38-primary);
}

/* ===== Footer ===== */
.w5d38-footer {
  background: linear-gradient(180deg, #2C3E50, #1a252f);
  padding: 2rem 1.2rem 8rem;
  margin-top: 2rem;
}

.w5d38-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w5d38-footer-brand p {
  font-size: 1.1rem;
  line-height: 1.6rem;
  color: var(--w5d38-light-gray);
}

.w5d38-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w5d38-footer-links a {
  font-size: 1.1rem;
  color: var(--w5d38-text);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: var(--w5d38-transition);
}

.w5d38-footer-links a:hover {
  color: var(--w5d38-primary);
  background: rgba(250,128,114,0.1);
}

.w5d38-footer-copy {
  text-align: center;
  font-size: 1rem;
  color: var(--w5d38-light-gray);
  border-top: 1px solid var(--w5d38-border);
  padding-top: 1rem;
}

/* ===== Bottom Navigation ===== */
.w5d38-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(135deg, #2C3E50, #1a252f);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
  border-top: 1px solid var(--w5d38-border);
}

.w5d38-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--w5d38-light-gray);
  transition: var(--w5d38-transition);
  padding: 0.4rem;
  border-radius: 8px;
}

.w5d38-nav-btn:hover,
.w5d38-nav-btn:focus {
  color: var(--w5d38-primary);
  background: rgba(250,128,114,0.1);
  transform: scale(1.08);
}

.w5d38-nav-btn i,
.w5d38-nav-btn span.material-icons-outlined,
.w5d38-nav-btn span.iconify {
  font-size: 2.2rem;
  line-height: 1;
}

.w5d38-nav-btn span.w5d38-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

.w5d38-nav-btn.w5d38-active {
  color: var(--w5d38-primary);
}

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .w5d38-bottom-nav {
    display: none;
  }
}

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

/* ===== Utility ===== */
.w5d38-text-center { text-align: center; }
.w5d38-text-primary { color: var(--w5d38-primary); }
.w5d38-text-yellow { color: var(--w5d38-secondary); }
.w5d38-mt-1 { margin-top: 1rem; }
.w5d38-mb-1 { margin-bottom: 1rem; }
.w5d38-hidden { display: none; }

/* ===== Winner Ticker ===== */
.w5d38-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.w5d38-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--w5d38-dark);
  padding: 0.8rem 1rem;
  border-radius: var(--w5d38-radius);
  font-size: 1.1rem;
}

.w5d38-winner-name {
  color: var(--w5d38-secondary);
  font-weight: 600;
}

.w5d38-winner-amount {
  color: var(--w5d38-primary);
  font-weight: 700;
}

.w5d38-winner-game {
  color: var(--w5d38-light-gray);
  font-size: 1rem;
}

/* ===== RTP Table ===== */
.w5d38-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.w5d38-rtp-item {
  background: var(--w5d38-dark);
  padding: 1rem;
  border-radius: var(--w5d38-radius);
  text-align: center;
}

.w5d38-rtp-item .w5d38-rtp-name {
  font-size: 1.1rem;
  color: var(--w5d38-text);
  margin-bottom: 0.4rem;
}

.w5d38-rtp-item .w5d38-rtp-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w5d38-primary);
}

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

.w5d38-payment-item {
  background: var(--w5d38-dark);
  padding: 0.8rem 1.2rem;
  border-radius: var(--w5d38-radius);
  font-size: 1.1rem;
  color: var(--w5d38-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.w5d38-payment-item i {
  color: var(--w5d38-primary);
}

/* ===== FAQ Accordion ===== */
.w5d38-faq-item {
  border-bottom: 1px solid var(--w5d38-border);
  padding: 1rem 0;
}

.w5d38-faq-item h4 {
  font-size: 1.3rem;
  color: var(--w5d38-white);
  margin-bottom: 0.5rem;
}

.w5d38-faq-item p {
  font-size: 1.1rem;
  color: var(--w5d38-text);
  line-height: 1.6rem;
}

/* ===== Internal Link ===== */
.w5d38-internal-link {
  color: var(--w5d38-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.w5d38-internal-link:hover {
  color: var(--w5d38-secondary);
}
