/**
 * 777slots.sbs - Main Stylesheet
 * Prefix: v5ce-
 * Color palette: #B8860B | #F8F9FA | #FFCC33 | #FFFACD | #E0FFFF | #2E4057
 * Dark backgrounds, light text for mobile readability
 */

:root {
  --v5ce-primary: #B8860B;
  --v5ce-bg: #2E4057;
  --v5ce-bg-dark: #1B2A3D;
  --v5ce-text: #F8F9FA;
  --v5ce-accent: #FFCC33;
  --v5ce-light: #FFFACD;
  --v5ce-cyan: #E0FFFF;
  --v5ce-card-bg: #374F6B;
  --v5ce-border: #4A6A8A;
  --v5ce-radius: 8px;
  --v5ce-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

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

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

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

a {
  color: var(--v5ce-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--v5ce-light);
}

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

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

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

.v5ce-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.v5ce-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v5ce-accent);
  letter-spacing: 0.5px;
}

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

.v5ce-btn-register,
.v5ce-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: var(--v5ce-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.v5ce-btn-register {
  background: linear-gradient(135deg, var(--v5ce-primary), #D4A017);
  color: #1a1a1a;
}
.v5ce-btn-register:hover {
  background: linear-gradient(135deg, #D4A017, var(--v5ce-accent));
  transform: scale(1.05);
}

.v5ce-btn-login {
  background: transparent;
  color: var(--v5ce-accent);
  border: 1.5px solid var(--v5ce-accent);
}
.v5ce-btn-login:hover {
  background: rgba(255, 204, 51, 0.1);
}

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

/* ========== MOBILE MENU OVERLAY ========== */
.v5ce-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 42, 61, 0.97);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 60px 20px 20px;
}
.v5ce-menu-active {
  display: flex;
}

.v5ce-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--v5ce-text);
  font-size: 2.8rem;
  cursor: pointer;
}

.v5ce-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v5ce-menu-links li a {
  display: block;
  padding: 12px 16px;
  color: var(--v5ce-text);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: var(--v5ce-radius);
  transition: background 0.2s;
}
.v5ce-menu-links li a:hover {
  background: var(--v5ce-card-bg);
  color: var(--v5ce-accent);
}

/* ========== MAIN CONTENT ========== */
.v5ce-main {
  padding-top: 56px;
  padding-bottom: 20px;
}

/* Mobile bottom nav spacing */
@media (max-width: 768px) {
  .v5ce-main {
    padding-bottom: 80px;
  }
}

.v5ce-container {
  width: 100%;
  padding: 0 12px;
}

/* ========== CAROUSEL ========== */
.v5ce-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v5ce-radius) var(--v5ce-radius);
}

.v5ce-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.v5ce-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0 0 var(--v5ce-radius) var(--v5ce-radius);
}

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

.v5ce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.v5ce-dot-active {
  background: var(--v5ce-accent);
}

/* ========== SECTIONS ========== */
.v5ce-section {
  padding: 16px 12px;
}

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

.v5ce-section-title i {
  margin-right: 6px;
}

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

.v5ce-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.v5ce-game-item {
  text-align: center;
  cursor: pointer;
  border-radius: var(--v5ce-radius);
  overflow: hidden;
  background: var(--v5ce-card-bg);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 6px;
}
.v5ce-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.v5ce-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.v5ce-game-item span {
  display: block;
  font-size: 1.05rem;
  color: var(--v5ce-text);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;
}

/* ========== CONTENT CARDS ========== */
.v5ce-card {
  background: var(--v5ce-card-bg);
  border-radius: var(--v5ce-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--v5ce-shadow);
  border-left: 3px solid var(--v5ce-primary);
}

.v5ce-card h2,
.v5ce-card h3 {
  color: var(--v5ce-accent);
  margin-bottom: 8px;
}

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

/* ========== CTA BUTTONS ========== */
.v5ce-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v5ce-primary), var(--v5ce-accent));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  margin: 6px 4px;
}
.v5ce-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 204, 51, 0.4);
}

.v5ce-cta-link {
  color: var(--v5ce-accent);
  font-weight: 700;
  border-bottom: 1px dashed var(--v5ce-accent);
  cursor: pointer;
  transition: color 0.2s;
}
.v5ce-cta-link:hover {
  color: var(--v5ce-light);
}

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

.v5ce-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}

.v5ce-footer-brand p {
  font-size: 1.2rem;
  color: #b0bec5;
  line-height: 1.5;
  margin-bottom: 6px;
}

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

.v5ce-footer-links a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--v5ce-card-bg);
  color: var(--v5ce-accent);
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
}
.v5ce-footer-links a:hover {
  background: var(--v5ce-primary);
  color: #1a1a1a;
}

.v5ce-footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.v5ce-footer-partners img {
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.v5ce-footer-partners img:hover {
  opacity: 1;
}

.v5ce-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #78909C;
  padding-top: 10px;
  border-top: 1px solid var(--v5ce-border);
}

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

.v5ce-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: #90A4AE;
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}
.v5ce-bottom-btn:hover,
.v5ce-bottom-btn:active {
  color: var(--v5ce-accent);
  transform: scale(1.1);
}
.v5ce-bottom-btn-active {
  color: var(--v5ce-accent);
}

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

.v5ce-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .v5ce-bottom-nav {
    display: none;
  }
  .v5ce-footer {
    padding-bottom: 20px;
  }
}

/* ========== UTILITY CLASSES ========== */
.v5ce-text-center { text-align: center; }
.v5ce-mt-8 { margin-top: 8px; }
.v5ce-mt-16 { margin-top: 16px; }
.v5ce-mb-8 { margin-bottom: 8px; }
.v5ce-mb-16 { margin-bottom: 16px; }
.v5ce-p-12 { padding: 12px; }

.v5ce-highlight {
  color: var(--v5ce-accent);
  font-weight: 700;
}

.v5ce-badge {
  display: inline-block;
  background: var(--v5ce-primary);
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
}

.v5ce-list-clean {
  list-style: none;
  padding: 0;
}
.v5ce-list-clean li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.3rem;
  line-height: 1.5;
}

/* ========== TESTIMONIALS ========== */
.v5ce-testimonial {
  background: var(--v5ce-card-bg);
  border-radius: var(--v5ce-radius);
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--v5ce-accent);
}
.v5ce-testimonial-name {
  font-weight: 700;
  color: var(--v5ce-accent);
  font-size: 1.2rem;
}
.v5ce-testimonial-text {
  font-size: 1.2rem;
  color: #b0bec5;
  margin-top: 4px;
}

/* ========== PAYMENT ICONS ========== */
.v5ce-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}
.v5ce-payment-item {
  background: var(--v5ce-card-bg);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1.1rem;
  color: var(--v5ce-text);
  font-weight: 600;
}

/* ========== RTP TABLE ========== */
.v5ce-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}
.v5ce-rtp-table th,
.v5ce-rtp-table td {
  padding: 8px 6px;
  text-align: left;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.v5ce-rtp-table th {
  color: var(--v5ce-accent);
  font-weight: 700;
}
.v5ce-rtp-table td {
  color: var(--v5ce-text);
}

/* ========== WINNER SHOWCASE ========== */
.v5ce-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--v5ce-card-bg);
  border-radius: var(--v5ce-radius);
  margin-bottom: 8px;
}
.v5ce-winner-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.v5ce-winner-info {
  flex: 1;
}
.v5ce-winner-name {
  font-weight: 700;
  color: var(--v5ce-accent);
  font-size: 1.2rem;
}
.v5ce-winner-amount {
  color: #4CAF50;
  font-weight: 700;
  font-size: 1.3rem;
}

/* ========== HELP PAGES ========== */
.v5ce-help-content {
  padding: 16px 12px 80px;
}

.v5ce-help-content h1 {
  font-size: 2rem;
  color: var(--v5ce-accent);
  margin-bottom: 12px;
  line-height: 1.3;
}

.v5ce-help-content h2 {
  font-size: 1.6rem;
  color: var(--v5ce-light);
  margin: 16px 0 8px;
}

.v5ce-help-content h3 {
  font-size: 1.4rem;
  color: var(--v5ce-cyan);
  margin: 12px 0 6px;
}

.v5ce-help-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #cfd8dc;
}

.v5ce-help-content ul,
.v5ce-help-content ol {
  padding-left: 20px;
  margin-bottom: 10px;
}
.v5ce-help-content li {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 4px;
  color: #cfd8dc;
}

/* ========== FAQ ========== */
.v5ce-faq-item {
  background: var(--v5ce-card-bg);
  border-radius: var(--v5ce-radius);
  padding: 12px;
  margin-bottom: 10px;
}
.v5ce-faq-q {
  font-weight: 700;
  color: var(--v5ce-accent);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.v5ce-faq-a {
  font-size: 1.2rem;
  color: #b0bec5;
  line-height: 1.5;
}
