/**
 * kkkkjl.cfd - Core Stylesheet
 * Prefix: sf55-
 * Color Palette: #D3D3D3 | #48D1CC | #0F0F23 | #696969 | #B2DFDB | #00E5FF
 * Dark bg: #0F0F23, Light text: #D3D3D3, Accent: #00E5FF, Secondary: #48D1CC
 */

/* CSS Variables */
:root {
  --sf55-primary: #00E5FF;
  --sf55-secondary: #48D1CC;
  --sf55-bg: #0F0F23;
  --sf55-bg-light: #1a1a3e;
  --sf55-bg-card: #161638;
  --sf55-text: #D3D3D3;
  --sf55-text-muted: #696969;
  --sf55-accent: #B2DFDB;
  --sf55-border: #2a2a5a;
  --sf55-radius: 0.8rem;
  --sf55-radius-sm: 0.5rem;
  --sf55-header-h: 5.2rem;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--sf55-bg);
  color: var(--sf55-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sf55-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Container */
.sf55-container {
  width: 100%;
  padding: 0 1.2rem;
  margin: 0 auto;
}
.sf55-wrapper {
  width: 100%;
  padding: 1.6rem 1.2rem;
}

/* Header */
.sf55-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--sf55-header-h);
  background: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--sf55-border);
}
.sf55-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sf55-header-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}
.sf55-header-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sf55-primary);
  letter-spacing: 0.05rem;
}
.sf55-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sf55-header-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--sf55-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.sf55-btn-register {
  background: linear-gradient(135deg, #00E5FF, #48D1CC);
  color: #0F0F23;
}
.sf55-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.sf55-btn-login {
  background: transparent;
  color: var(--sf55-primary);
  border: 1.5px solid var(--sf55-primary);
}
.sf55-btn-login:hover { background: rgba(0,229,255,0.1); }
.sf55-menu-toggle {
  background: none;
  border: none;
  color: var(--sf55-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Overlay */
.sf55-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,15,35,0.85);
  z-index: 9998;
  display: none;
}
.sf55-overlay-active { display: block; }

/* Mobile Menu */
.sf55-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #0F0F23, #161638);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}
.sf55-menu-active { right: 0 !important; }
.sf55-mobile-menu-close {
  background: none;
  border: none;
  color: var(--sf55-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.sf55-mobile-menu h3 {
  font-size: 1.6rem;
  color: var(--sf55-primary);
  margin: 2rem 0 1rem;
  border-bottom: 1px solid var(--sf55-border);
  padding-bottom: 0.5rem;
}
.sf55-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--sf55-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(42,42,90,0.5);
  transition: color 0.2s;
}
.sf55-mobile-menu a:hover { color: var(--sf55-primary); }

/* Bottom Navigation */
.sf55-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a1a3e, #0F0F23);
  border-top: 1.5px solid var(--sf55-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
.sf55-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--sf55-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0.3rem;
  border-radius: var(--sf55-radius-sm);
}
.sf55-bottom-nav-btn:hover,
.sf55-nav-active {
  color: var(--sf55-primary);
  transform: scale(1.08);
}
.sf55-nav-active {
  background: rgba(0,229,255,0.08);
}
.sf55-bottom-nav-btn i,
.sf55-bottom-nav-btn .material-icons,
.sf55-bottom-nav-btn ion-icon {
  font-size: 2.2rem;
}
.sf55-bottom-nav-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Main Content */
.sf55-main {
  padding-top: var(--sf55-header-h);
  padding-bottom: 1.6rem;
}

/* Carousel */
.sf55-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  margin-top: 0;
}
.sf55-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.sf55-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.sf55-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.sf55-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(211,211,211,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.sf55-dot-active { background: var(--sf55-primary); }

/* Section Titles */
.sf55-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sf55-text);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sf55-primary);
}
.sf55-section-subtitle {
  font-size: 1.4rem;
  color: var(--sf55-secondary);
  margin: 0.5rem 0 1rem;
}

/* Game Grid */
.sf55-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.8rem 0;
}
.sf55-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.sf55-game-item:hover { transform: translateY(-3px); }
.sf55-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--sf55-radius-sm);
  border: 1.5px solid var(--sf55-border);
  object-fit: cover;
}
.sf55-game-item p {
  font-size: 1rem;
  color: var(--sf55-text);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Category Label */
.sf55-cat-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(0,229,255,0.1);
  color: var(--sf55-primary);
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 2rem;
  margin: 1.6rem 0 0.8rem;
  border: 1px solid rgba(0,229,255,0.2);
}

/* Card */
.sf55-card {
  background: var(--sf55-bg-card);
  border: 1px solid var(--sf55-border);
  border-radius: var(--sf55-radius);
  padding: 1.4rem;
  margin: 1rem 0;
}
.sf55-card h3 {
  font-size: 1.5rem;
  color: var(--sf55-primary);
  margin-bottom: 0.8rem;
}
.sf55-card p {
  font-size: 1.3rem;
  color: var(--sf55-text);
  line-height: 1.8rem;
}

/* Buttons */
.sf55-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #00E5FF, #48D1CC);
  color: #0F0F23;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: var(--sf55-radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.sf55-btn:hover { opacity: 0.9; transform: scale(1.02); }
.sf55-btn-outline {
  background: transparent;
  color: var(--sf55-primary);
  border: 2px solid var(--sf55-primary);
}
.sf55-btn-outline:hover { background: rgba(0,229,255,0.1); }

/* Promo Link */
.sf55-promo-link {
  color: var(--sf55-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.sf55-promo-link:hover { color: var(--sf55-secondary); }

/* Footer */
.sf55-footer {
  background: var(--sf55-bg-light);
  padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--sf55-border);
  margin-top: 2rem;
}
.sf55-footer-brand {
  font-size: 1.3rem;
  color: var(--sf55-text-muted);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}
.sf55-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}
.sf55-footer-links a {
  padding: 0.4rem 1rem;
  background: rgba(0,229,255,0.08);
  border: 1px solid var(--sf55-border);
  border-radius: 2rem;
  color: var(--sf55-text);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.sf55-footer-links a:hover { color: var(--sf55-primary); border-color: var(--sf55-primary); }
.sf55-footer-copy {
  font-size: 1.1rem;
  color: var(--sf55-text-muted);
  margin-top: 1.2rem;
  text-align: center;
}
.sf55-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}
.sf55-footer-partners img {
  height: 2.4rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.sf55-footer-partners img:hover { opacity: 1; }

/* FAQ */
.sf55-faq-item {
  border-bottom: 1px solid var(--sf55-border);
  padding: 1.2rem 0;
}
.sf55-faq-item h4 {
  font-size: 1.4rem;
  color: var(--sf55-primary);
  margin-bottom: 0.5rem;
}
.sf55-faq-item p {
  font-size: 1.3rem;
  color: var(--sf55-text);
  line-height: 1.7rem;
}

/* Testimonials */
.sf55-testimonial {
  background: var(--sf55-bg-card);
  border-left: 3px solid var(--sf55-secondary);
  padding: 1rem 1.2rem;
  border-radius: var(--sf55-radius-sm);
  margin: 0.6rem 0;
}
.sf55-testimonial p { font-size: 1.3rem; font-style: italic; }
.sf55-testimonial span { font-size: 1.1rem; color: var(--sf55-secondary); margin-top: 0.4rem; display: block; }

/* Winners */
.sf55-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--sf55-bg-card);
  border-radius: var(--sf55-radius-sm);
  margin: 0.5rem 0;
}
.sf55-winner-item img { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.sf55-winner-info { flex: 1; }
.sf55-winner-info p { font-size: 1.2rem; color: var(--sf55-text); }
.sf55-winner-info span { font-size: 1.1rem; color: var(--sf55-primary); font-weight: 600; }

/* Payment Icons */
.sf55-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 0;
}
.sf55-payment-icon {
  padding: 0.5rem 1rem;
  background: var(--sf55-bg-card);
  border: 1px solid var(--sf55-border);
  border-radius: var(--sf55-radius-sm);
  font-size: 1.2rem;
  color: var(--sf55-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Internal links */
.sf55-internal-link {
  color: var(--sf55-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
.sf55-internal-link:hover { color: var(--sf55-primary); }

/* H1 */
.sf55-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sf55-text);
  padding: 1.2rem;
  line-height: 2.6rem;
}

/* Responsive - hide bottom nav on desktop */
@media (min-width: 769px) {
  .sf55-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .sf55-main { padding-bottom: 80px; }
}
