/* =============================================
   Layout Styles - Lucky Play Casino
   All classes use sfe3- prefix
   Color palette: #FFCCCB #273746 #F0F0F0 #FFBF00 #FF9500
   ============================================= */

:root {
  --sfe3-primary: #FFBF00;
  --sfe3-secondary: #FF9500;
  --sfe3-bg-dark: #273746;
  --sfe3-bg-darker: #1e2d3a;
  --sfe3-bg-card: #2c3e50;
  --sfe3-text-light: #F0F0F0;
  --sfe3-text-muted: #b0bec5;
  --sfe3-accent-pink: #FFCCCB;
  --sfe3-accent-gold: #FFBF00;
  --sfe3-accent-orange: #FF9500;
  --sfe3-border: #3a5068;
  --sfe3-shadow: rgba(0, 0, 0, 0.3);
  --sfe3-radius: 8px;
  --sfe3-radius-lg: 12px;
  --sfe3-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

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

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

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

.sfe3-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sfe3-logo-wrap img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.sfe3-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sfe3-primary);
  white-space: nowrap;
}

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

.sfe3-btn-register {
  background: var(--sfe3-primary);
  color: var(--sfe3-bg-dark);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--sfe3-transition);
}

.sfe3-btn-register:hover {
  background: var(--sfe3-accent-orange);
  transform: scale(1.05);
}

.sfe3-btn-login {
  background: transparent;
  color: var(--sfe3-primary);
  border: 1.5px solid var(--sfe3-primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sfe3-transition);
}

.sfe3-btn-login:hover {
  background: rgba(255, 191, 0, 0.15);
}

.sfe3-menu-toggle {
  background: none;
  border: none;
  color: var(--sfe3-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ============ MOBILE MENU ============ */
.sfe3-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--sfe3-transition);
}

.sfe3-overlay-active {
  opacity: 1;
  visibility: visible;
}

.sfe3-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: var(--sfe3-bg-darker);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 70px 16px 20px;
  overflow-y: auto;
}

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

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

.sfe3-mobile-menu a:hover {
  color: var(--sfe3-primary);
}

/* ============ CAROUSEL ============ */
.sfe3-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-top: 56px;
}

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

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

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

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

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

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

/* ============ MAIN CONTENT ============ */
.sfe3-main {
  padding: 16px 12px;
}

.sfe3-main-bottom {
  padding-bottom: 80px;
}

.sfe3-section {
  margin-bottom: 24px;
}

.sfe3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sfe3-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sfe3-border);
}

.sfe3-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sfe3-text-light);
  margin-bottom: 12px;
  line-height: 2.4rem;
}

/* ============ GAME GRID ============ */
.sfe3-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sfe3-accent-orange);
  margin: 16px 0 10px;
  padding-left: 8px;
  border-left: 3px solid var(--sfe3-primary);
}

.sfe3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.sfe3-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--sfe3-transition);
  border-radius: var(--sfe3-radius);
  padding: 6px;
  background: var(--sfe3-bg-card);
}

.sfe3-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--sfe3-shadow);
}

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

.sfe3-game-name {
  font-size: 1.1rem;
  color: var(--sfe3-text-light);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;
}

/* ============ CONTENT BLOCKS ============ */
.sfe3-content-block {
  background: var(--sfe3-bg-card);
  border-radius: var(--sfe3-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--sfe3-border);
}

.sfe3-content-block h2 {
  font-size: 1.6rem;
  color: var(--sfe3-primary);
  margin-bottom: 10px;
}

.sfe3-content-block h3 {
  font-size: 1.4rem;
  color: var(--sfe3-accent-orange);
  margin-bottom: 8px;
}

.sfe3-content-block p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sfe3-text-muted);
  margin-bottom: 8px;
}

.sfe3-content-block ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.sfe3-content-block li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sfe3-text-muted);
  margin-bottom: 4px;
}

.sfe3-promo-link {
  color: var(--sfe3-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed var(--sfe3-primary);
}

.sfe3-promo-link:hover {
  color: var(--sfe3-accent-orange);
}

/* ============ CTA BUTTON ============ */
.sfe3-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sfe3-primary), var(--sfe3-accent-orange));
  color: var(--sfe3-bg-dark);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 12px 28px;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--sfe3-transition);
  text-decoration: none;
}

.sfe3-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255,191,0,0.4);
}

.sfe3-cta-center {
  text-align: center;
  margin: 20px 0;
}

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

.sfe3-testimonial-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sfe3-primary);
}

.sfe3-testimonial-text {
  font-size: 1.2rem;
  color: var(--sfe3-text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* ============ PAYMENT / FEATURE GRID ============ */
.sfe3-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sfe3-feature-item {
  text-align: center;
  padding: 12px 6px;
  background: var(--sfe3-bg-card);
  border-radius: var(--sfe3-radius);
  border: 1px solid var(--sfe3-border);
}

.sfe3-feature-item i,
.sfe3-feature-item .material-icons {
  font-size: 24px;
  color: var(--sfe3-primary);
}

.sfe3-feature-item p {
  font-size: 1.1rem;
  margin-top: 6px;
  color: var(--sfe3-text-muted);
}

/* ============ WINNER LIST ============ */
.sfe3-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--sfe3-border);
}

.sfe3-winner-row:last-child {
  border-bottom: none;
}

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

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

.sfe3-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sfe3-primary);
}

/* ============ FOOTER ============ */
.sfe3-footer {
  background: var(--sfe3-bg-darker);
  padding: 20px 12px 80px;
  border-top: 2px solid var(--sfe3-primary);
}

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

.sfe3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sfe3-footer-links a {
  color: var(--sfe3-primary);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 4px 8px;
  background: var(--sfe3-bg-card);
  border-radius: 4px;
  transition: var(--sfe3-transition);
}

.sfe3-footer-links a:hover {
  background: var(--sfe3-primary);
  color: var(--sfe3-bg-dark);
}

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

/* ============ BOTTOM NAVIGATION ============ */
.sfe3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--sfe3-bg-darker);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--sfe3-primary);
  box-shadow: 0 -2px 10px var(--sfe3-shadow);
}

.sfe3-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--sfe3-text-muted);
  cursor: pointer;
  transition: var(--sfe3-transition);
  border-radius: 8px;
  padding: 4px;
}

.sfe3-bottom-btn:hover,
.sfe3-bottom-btn:focus {
  color: var(--sfe3-primary);
  background: rgba(255,191,0,0.1);
}

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

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

.sfe3-bottom-btn span {
  font-size: 1rem;
  margin-top: 2px;
  font-weight: 500;
}

.sfe3-bottom-btn.sfe3-active {
  color: var(--sfe3-primary);
}

/* ============ INTERNAL LINK ============ */
.sfe3-internal-link {
  color: var(--sfe3-accent-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sfe3-internal-link:hover {
  color: var(--sfe3-primary);
}

/* ============ RESPONSIVE ============ */
@media (min-width: 769px) {
  .sfe3-bottom-nav {
    display: none;
  }
  .sfe3-footer {
    padding-bottom: 20px;
  }
  .sfe3-main-bottom {
    padding-bottom: 16px;
  }
}

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

/* ============ HELP PAGE STYLES ============ */
.sfe3-help-section {
  margin-bottom: 18px;
}

.sfe3-help-section h2 {
  font-size: 1.6rem;
  color: var(--sfe3-primary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sfe3-border);
}

.sfe3-help-section p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sfe3-text-muted);
  margin-bottom: 8px;
}

.sfe3-help-section ol,
.sfe3-help-section ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.sfe3-help-section li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sfe3-text-muted);
  margin-bottom: 4px;
}

/* ============ FAQ ACCORDION ============ */
.sfe3-faq-item {
  background: var(--sfe3-bg-card);
  border-radius: var(--sfe3-radius);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--sfe3-border);
}

.sfe3-faq-q {
  padding: 10px 12px;
  font-weight: 600;
  color: var(--sfe3-text-light);
  font-size: 1.3rem;
  cursor: pointer;
}

.sfe3-faq-a {
  padding: 8px 12px;
  color: var(--sfe3-text-muted);
  font-size: 1.2rem;
  border-top: 1px solid var(--sfe3-border);
}

/* ============ TABLE ============ */
.sfe3-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.sfe3-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

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

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

/* ============ STAR RATING ============ */
.sfe3-stars {
  color: var(--sfe3-primary);
  font-size: 1.4rem;
  letter-spacing: 2px;
}
