/**
 * Ph22 - Design Stylesheet
 * All classes use s7d3- prefix for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --s7d3-primary: #E91E63;
  --s7d3-secondary: #FF1493;
  --s7d3-accent: #880E4F;
  --s7d3-bg: #0A0A0A;
  --s7d3-bg-light: #1A1A1A;
  --s7d3-bg-card: #141414;
  --s7d3-text: #FFCCCB;
  --s7d3-text-light: #FFEEEF;
  --s7d3-text-muted: #A08080;
  --s7d3-border: #2A1A1A;
  --s7d3-radius: 8px;
  --s7d3-radius-lg: 16px;
  --s7d3-shadow: 0 4px 20px rgba(233, 30, 99, 0.15);
  --s7d3-transition: all 0.3s ease;
  --s7d3-max-width: 430px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s7d3-bg);
  color: var(--s7d3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: var(--s7d3-max-width);
  margin: 0 auto;
  min-height: 100vh;
}
a { color: var(--s7d3-primary); text-decoration: none; transition: var(--s7d3-transition); }
a:hover { color: var(--s7d3-text-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.s7d3-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s7d3-bg) 0%, #1A0A10 100%);
  border-bottom: 1px solid var(--s7d3-border);
  max-width: var(--s7d3-max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
  height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
}
.s7d3-logo {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 2rem; font-weight: 800; color: var(--s7d3-primary);
  cursor: pointer;
}
.s7d3-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.s7d3-logo span { background: linear-gradient(90deg, var(--s7d3-primary), var(--s7d3-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.s7d3-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s7d3-btn-register {
  background: linear-gradient(135deg, var(--s7d3-primary), var(--s7d3-secondary));
  color: #fff; border: none; padding: 0.7rem 1.6rem; border-radius: 2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: var(--s7d3-transition);
  box-shadow: 0 2px 12px rgba(233, 30, 99, 0.4);
}
.s7d3-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(233, 30, 99, 0.6); }
.s7d3-btn-login {
  background: transparent; color: var(--s7d3-primary);
  border: 1.5px solid var(--s7d3-primary); padding: 0.6rem 1.4rem; border-radius: 2rem;
  font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: var(--s7d3-transition);
}
.s7d3-btn-login:hover { background: var(--s7d3-primary); color: #fff; }
.s7d3-menu-toggle {
  background: none; border: none; color: var(--s7d3-text);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem; margin-left: 0.4rem;
}

/* Mobile Menu */
.s7d3-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.s7d3-overlay-active { opacity: 1; pointer-events: auto; }
.s7d3-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--s7d3-bg-light); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.6rem; overflow-y: auto;
  border-left: 1px solid var(--s7d3-border);
}
.s7d3-menu-active { right: 0; }
.s7d3-menu-close { background: none; border: none; color: var(--s7d3-text); font-size: 2.8rem; cursor: pointer; position: absolute; top: 1rem; right: 1.2rem; }
.s7d3-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--s7d3-primary); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--s7d3-border); }
.s7d3-menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.s7d3-menu-links a {
  color: var(--s7d3-text); padding: 1rem 1.2rem; border-radius: var(--s7d3-radius);
  font-size: 1.5rem; font-weight: 500; transition: var(--s7d3-transition);
  display: flex; align-items: center; gap: 1rem;
}
.s7d3-menu-links a:hover { background: rgba(233, 30, 99, 0.15); color: var(--s7d3-primary); }
.s7d3-menu-links a span.material-icons { font-size: 2rem; }

/* Main Content */
.s7d3-main {
  padding-top: 5.6rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .s7d3-main { padding-bottom: 7.5rem; }
}

/* Carousel */
.s7d3-carousel { position: relative; overflow: hidden; margin-bottom: 1.6rem; }
.s7d3-carousel-slide {
  display: none; width: 100%; cursor: pointer;
  border-radius: 0 0 var(--s7d3-radius) var(--s7d3-radius);
}
.s7d3-slide-active { display: block; }
.s7d3-carousel-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.s7d3-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.s7d3-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,204,203,0.4); border: none; cursor: pointer; transition: var(--s7d3-transition);
}
.s7d3-dot-active { background: var(--s7d3-primary); transform: scale(1.3); }

/* Sections */
.s7d3-section { padding: 2rem 1.2rem; }
.s7d3-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s7d3-text-light);
  margin-bottom: 1.4rem; padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--s7d3-primary);
  display: flex; align-items: center; gap: 0.8rem;
}
.s7d3-section-title i, .s7d3-section-title span.material-icons {
  color: var(--s7d3-primary); font-size: 2rem;
}

/* Game Grid */
.s7d3-game-cat-title {
  font-size: 1.5rem; font-weight: 600; color: var(--s7d3-primary);
  margin: 1.6rem 0 1rem; padding-left: 0.4rem;
  border-left: 3px solid var(--s7d3-secondary);
}
.s7d3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (min-width: 376px) {
  .s7d3-game-grid { grid-template-columns: repeat(5, 1fr); }
}
.s7d3-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--s7d3-transition);
  border-radius: var(--s7d3-radius); padding: 0.4rem;
}
.s7d3-game-item:hover { transform: translateY(-2px); background: rgba(233,30,99,0.1); }
.s7d3-game-item img {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--s7d3-radius);
  object-fit: cover; border: 1px solid var(--s7d3-border);
  margin-bottom: 0.3rem;
}
.s7d3-game-item span {
  font-size: 1rem; color: var(--s7d3-text-muted); text-align: center;
  line-height: 1.2rem; max-height: 2.4rem; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Cards */
.s7d3-card {
  background: var(--s7d3-bg-card); border: 1px solid var(--s7d3-border);
  border-radius: var(--s7d3-radius-lg); padding: 1.6rem; margin-bottom: 1.2rem;
}
.s7d3-card h3 { font-size: 1.5rem; color: var(--s7d3-text-light); margin-bottom: 0.8rem; }
.s7d3-card p { font-size: 1.3rem; color: var(--s7d3-text-muted); line-height: 1.8rem; }

/* Promo Links */
.s7d3-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s7d3-primary), var(--s7d3-secondary));
  color: #fff; padding: 0.8rem 2rem; border-radius: 2rem;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; transition: var(--s7d3-transition);
  box-shadow: 0 2px 12px rgba(233,30,99,0.3);
  text-align: center;
}
.s7d3-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(233,30,99,0.5); }
.s7d3-promo-link {
  color: var(--s7d3-primary); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--s7d3-primary);
}
.s7d3-promo-link:hover { color: var(--s7d3-secondary); }

/* Bottom Navigation */
.s7d3-bnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: linear-gradient(180deg, #1A0A10, var(--s7d3-bg));
  border-top: 1px solid var(--s7d3-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; max-width: var(--s7d3-max-width); margin: 0 auto;
  padding: 0 0.4rem;
}
@media (min-width: 769px) { .s7d3-bnav { display: none; } }
.s7d3-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 5.6rem; min-height: 5rem; background: none; border: none;
  color: var(--s7d3-text-muted); cursor: pointer; transition: var(--s7d3-transition);
  border-radius: var(--s7d3-radius); padding: 0.4rem 0;
}
.s7d3-bnav-btn:hover { color: var(--s7d3-primary); }
.s7d3-bnav-btn i, .s7d3-bnav-btn span.material-icons { font-size: 2.4rem; margin-bottom: 0.2rem; }
.s7d3-bnav-btn span.s7d3-bnav-label { font-size: 1rem; font-weight: 500; }
.s7d3-bnav-active { color: var(--s7d3-primary); }
.s7d3-bnav-active i, .s7d3-bnav-active span.material-icons { color: var(--s7d3-primary); filter: drop-shadow(0 0 6px rgba(233,30,99,0.5)); }

/* Footer */
.s7d3-footer {
  background: var(--s7d3-bg-light); border-top: 1px solid var(--s7d3-border);
  padding: 2rem 1.2rem; text-align: center;
}
.s7d3-footer-brand { font-size: 1.3rem; color: var(--s7d3-text-muted); line-height: 1.8rem; margin-bottom: 1.2rem; }
.s7d3-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.2rem; }
.s7d3-footer-links a { font-size: 1.2rem; color: var(--s7d3-text-muted); padding: 0.4rem 0.8rem; }
.s7d3-footer-links a:hover { color: var(--s7d3-primary); }
.s7d3-footer-copy { font-size: 1.1rem; color: var(--s7d3-text-muted); opacity: 0.7; margin-top: 1rem; }

/* Helpers */
.s7d3-container { max-width: var(--s7d3-max-width); margin: 0 auto; padding: 0 1.2rem; }
.s7d3-text-center { text-align: center; }
.s7d3-mt-1 { margin-top: 0.8rem; }
.s7d3-mt-2 { margin-top: 1.6rem; }
.s7d3-mb-1 { margin-bottom: 0.8rem; }
.s7d3-mb-2 { margin-bottom: 1.6rem; }
.s7d3-hidden { display: none; }

/* RTP Table */
.s7d3-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.s7d3-rtp-table th { background: var(--s7d3-accent); color: #fff; padding: 0.8rem; text-align: left; font-weight: 600; }
.s7d3-rtp-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--s7d3-border); color: var(--s7d3-text-muted); }
.s7d3-rtp-table tr:hover td { background: rgba(233,30,99,0.05); }

/* Testimonial */
.s7d3-testimonial { background: var(--s7d3-bg-card); border: 1px solid var(--s7d3-border); border-radius: var(--s7d3-radius); padding: 1.2rem; margin-bottom: 1rem; }
.s7d3-testimonial p { font-size: 1.3rem; color: var(--s7d3-text-muted); font-style: italic; line-height: 1.7rem; }
.s7d3-testimonial strong { color: var(--s7d3-primary); font-style: normal; }

/* Payment icons row */
.s7d3-payment-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding: 1rem 0; }
.s7d3-payment-item { background: var(--s7d3-bg-card); border: 1px solid var(--s7d3-border); border-radius: var(--s7d3-radius); padding: 0.6rem 1.2rem; font-size: 1.2rem; color: var(--s7d3-text-muted); }

/* Winners */
.s7d3-winner-item { display: flex; align-items: center; gap: 1rem; padding: 0.8rem; border-bottom: 1px solid var(--s7d3-border); }
.s7d3-winner-item:last-child { border-bottom: none; }
.s7d3-winner-name { font-size: 1.3rem; color: var(--s7d3-text-light); font-weight: 600; }
.s7d3-winner-game { font-size: 1.1rem; color: var(--s7d3-text-muted); }
.s7d3-winner-amount { font-size: 1.4rem; color: var(--s7d3-primary); font-weight: 700; margin-left: auto; }

/* FAQ Accordion */
.s7d3-faq-item { border: 1px solid var(--s7d3-border); border-radius: var(--s7d3-radius); margin-bottom: 0.8rem; overflow: hidden; }
.s7d3-faq-q { padding: 1.2rem; font-weight: 600; color: var(--s7d3-text-light); cursor: pointer; font-size: 1.4rem; background: var(--s7d3-bg-card); display: flex; justify-content: space-between; align-items: center; }
.s7d3-faq-a { padding: 1rem 1.2rem; font-size: 1.3rem; color: var(--s7d3-text-muted); line-height: 1.7rem; background: var(--s7d3-bg); }

/* H1 styling */
.s7d3-h1 { font-size: 2rem; font-weight: 800; color: var(--s7d3-text-light); line-height: 2.6rem; margin-bottom: 1.2rem; }
.s7d3-h2 { font-size: 1.8rem; font-weight: 700; color: var(--s7d3-text-light); margin-bottom: 1rem; }
.s7d3-h3 { font-size: 1.5rem; font-weight: 600; color: var(--s7d3-primary); margin-bottom: 0.8rem; }

/* Winner marquee */
.s7d3-marquee-wrap { overflow: hidden; background: var(--s7d3-bg-card); border-radius: var(--s7d3-radius); padding: 0.6rem 0; }
.s7d3-marquee-content { display: flex; gap: 3rem; animation: s7d3scroll 20s linear infinite; white-space: nowrap; }
@keyframes s7d3scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
