/**
 * Kg99 - Main Stylesheet
 * Class prefix: s33e-
 * Color palette: #1A1A2E | #48D1CC | #FAFAD2 | #40E0D0 | #FFC0CB
 */

/* === CSS Variables === */
:root {
  --s33e-primary: #48D1CC;
  --s33e-secondary: #40E0D0;
  --s33e-bg: #1A1A2E;
  --s33e-bg-dark: #12121f;
  --s33e-bg-card: #222240;
  --s33e-text: #FAFAD2;
  --s33e-text-muted: #a0a0b8;
  --s33e-accent: #FFC0CB;
  --s33e-accent-warm: #ff7eb3;
  --s33e-border: #2a2a4a;
  --s33e-gold: #ffd700;
  --s33e-font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--s33e-font-size);
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--s33e-accent);
}

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

/* === Header === */
.s33e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s33e-bg-dark), var(--s33e-bg));
  border-bottom: 1px solid var(--s33e-border);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

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

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

.s33e-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s33e-primary);
  letter-spacing: 0.5px;
}

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

.s33e-btn-register {
  background: linear-gradient(135deg, var(--s33e-primary), var(--s33e-secondary));
  color: var(--s33e-bg);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.s33e-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(72, 209, 204, 0.4);
}

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

.s33e-btn-login:hover {
  background: rgba(72, 209, 204, 0.15);
}

.s33e-menu-btn {
  background: none;
  border: none;
  color: var(--s33e-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
}

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

.s33e-overlay-active {
  display: block;
}

.s33e-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--s33e-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

.s33e-menu-close {
  background: none;
  border: none;
  color: var(--s33e-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}

.s33e-menu-links {
  list-style: none;
  margin-top: 3rem;
}

.s33e-menu-links li {
  margin-bottom: 1.2rem;
}

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

.s33e-menu-links a:hover {
  color: var(--s33e-primary);
}

/* === Main Content === */
main {
  padding-top: 5.6rem;
  padding-bottom: 1rem;
}

/* === Slider / Carousel === */
.s33e-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem;
}

.s33e-slide {
  display: none;
  cursor: pointer;
}

.s33e-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.s33e-slider-dots {
  text-align: center;
  padding: 0.5rem 0;
}

.s33e-slide-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s33e-border);
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.s33e-dot-active {
  background: var(--s33e-primary);
  width: 20px;
  border-radius: 4px;
}

/* === Section Titles === */
.s33e-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s33e-primary);
  padding: 1.5rem 1rem 0.8rem;
  border-left: 4px solid var(--s33e-accent);
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.s33e-section-title span {
  color: var(--s33e-accent);
}

/* === Game Grid === */
.s33e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 1rem;
}

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

.s33e-game-item:hover {
  transform: scale(1.05);
}

.s33e-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--s33e-border);
  transition: border-color 0.2s;
}

.s33e-game-item:hover img {
  border-color: var(--s33e-primary);
}

.s33e-game-item p {
  font-size: 1.05rem;
  color: var(--s33e-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Sections === */
.s33e-content-section {
  padding: 1rem;
  margin: 0.5rem 1rem;
  background: var(--s33e-bg-card);
  border-radius: 12px;
  border: 1px solid var(--s33e-border);
}

.s33e-content-section h2 {
  font-size: 1.6rem;
  color: var(--s33e-primary);
  margin-bottom: 0.8rem;
}

.s33e-content-section h3 {
  font-size: 1.4rem;
  color: var(--s33e-secondary);
  margin: 0.8rem 0 0.4rem;
}

.s33e-content-section p {
  color: var(--s33e-text);
  line-height: 1.6;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.s33e-content-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.s33e-content-section li {
  color: var(--s33e-text);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* === Promo Link Styles === */
.s33e-promo-link {
  color: var(--s33e-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.s33e-promo-link:hover {
  color: var(--s33e-accent-warm);
}

.s33e-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s33e-primary), var(--s33e-secondary));
  color: var(--s33e-bg);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin: 0.5rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.s33e-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(72, 209, 204, 0.4);
}

/* === Footer === */
.s33e-footer {
  background: var(--s33e-bg-dark);
  padding: 2rem 1rem 6rem;
  border-top: 1px solid var(--s33e-border);
  margin-top: 1.5rem;
}

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

.s33e-footer-brand p {
  color: var(--s33e-text-muted);
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

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

.s33e-footer-links a {
  color: var(--s33e-primary);
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--s33e-border);
  border-radius: 6px;
  transition: all 0.2s;
}

.s33e-footer-links a:hover {
  border-color: var(--s33e-primary);
  background: rgba(72, 209, 204, 0.1);
}

.s33e-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.s33e-footer-promo button {
  background: linear-gradient(135deg, var(--s33e-primary), var(--s33e-secondary));
  color: var(--s33e-bg);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.s33e-footer-promo button:hover {
  transform: scale(1.05);
}

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

/* === Bottom Navigation === */
.s33e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, var(--s33e-bg-card), var(--s33e-bg-dark));
  border-top: 1px solid var(--s33e-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
}

.s33e-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--s33e-text-muted);
  min-width: 60px;
  min-height: 56px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
}

.s33e-bottom-nav button:hover,
.s33e-bottom-nav button:focus {
  color: var(--s33e-primary);
  background: rgba(72, 209, 204, 0.08);
}

.s33e-bottom-nav button.s33e-nav-active {
  color: var(--s33e-primary);
}

.s33e-bottom-nav button.s33e-nav-active::after {
  content: '';
  display: block;
  width: 18px;
  height: 3px;
  background: var(--s33e-primary);
  border-radius: 2px;
  margin-top: 2px;
}

.s33e-bottom-nav .s33e-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 2px;
}

.s33e-bottom-nav .s33e-nav-label {
  font-size: 1rem;
  font-weight: 500;
}

/* === Help Page Styles === */
.s33e-help-content {
  padding: 1rem;
}

.s33e-help-content h1 {
  font-size: 2rem;
  color: var(--s33e-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.s33e-help-content h2 {
  font-size: 1.6rem;
  color: var(--s33e-secondary);
  margin: 1.2rem 0 0.6rem;
}

.s33e-help-content h3 {
  font-size: 1.4rem;
  color: var(--s33e-accent);
  margin: 1rem 0 0.4rem;
}

.s33e-help-content p {
  color: var(--s33e-text);
  line-height: 1.6;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.s33e-help-content ol,
.s33e-help-content ul {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.s33e-help-content li {
  color: var(--s33e-text);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.s33e-faq-item {
  background: var(--s33e-bg-card);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--s33e-border);
}

.s33e-faq-item strong {
  color: var(--s33e-primary);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.4rem;
}

.s33e-faq-item p {
  color: var(--s33e-text-muted);
  font-size: 1.2rem;
}

/* === Winner Showcase === */
.s33e-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.s33e-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--s33e-bg-dark);
  border-radius: 8px;
  font-size: 1.2rem;
}

.s33e-winner-row .s33e-winner-name {
  color: var(--s33e-text);
}

.s33e-winner-row .s33e-winner-game {
  color: var(--s33e-text-muted);
  flex: 1;
  text-align: center;
}

.s33e-winner-row .s33e-winner-amount {
  color: var(--s33e-gold);
  font-weight: 700;
}

/* === Payment Methods === */
.s33e-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.s33e-payment-item {
  background: var(--s33e-bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--s33e-border);
  font-size: 1.2rem;
  color: var(--s33e-text);
}

/* === Testimonials === */
.s33e-testimonial {
  background: var(--s33e-bg-dark);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s33e-primary);
}

.s33e-testimonial p {
  font-style: italic;
  color: var(--s33e-text);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.s33e-testimonial span {
  color: var(--s33e-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

/* === Internal Link Style === */
.s33e-internal-link {
  color: var(--s33e-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}

.s33e-internal-link:hover {
  color: var(--s33e-accent);
}

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

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