/**
 * is 1xbet legit - Main Stylesheet
 * Class prefix: wf11d-
 * Colors: #A9A9A9 | #0000CD | #2D2D2D | #880E4F
 */

:root {
  --wf11d-primary: #0000CD;
  --wf11d-secondary: #880E4F;
  --wf11d-dark: #2D2D2D;
  --wf11d-gray: #A9A9A9;
  --wf11d-light: #f5f5f5;
  --wf11d-white: #ffffff;
  --wf11d-gold: #FFD700;
  --wf11d-bg: #1a1a2e;
  --wf11d-bg-card: #16213e;
  --wf11d-bg-deep: #0f0f23;
  --wf11d-text: #e0e0e0;
  --wf11d-text-bright: #ffffff;
  --wf11d-accent: #e94560;
  --wf11d-gradient: linear-gradient(135deg, #0000CD, #880E4F);
  --wf11d-radius: 8px;
  --wf11d-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

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

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

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

.wf11d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.wf11d-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

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

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

.wf11d-btn-register,
.wf11d-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--wf11d-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.wf11d-btn-register {
  background: var(--wf11d-accent);
  color: var(--wf11d-white);
}

.wf11d-btn-register:hover {
  background: #d63851;
  transform: scale(1.05);
}

.wf11d-btn-login {
  background: transparent;
  color: var(--wf11d-primary);
  border: 1px solid var(--wf11d-primary);
}

.wf11d-btn-login:hover {
  background: var(--wf11d-primary);
  color: var(--wf11d-white);
}

.wf11d-menu-toggle {
  background: none;
  border: none;
  color: var(--wf11d-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.wf11d-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

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

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

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

.wf11d-mobile-menu a {
  display: block;
  color: var(--wf11d-text);
  text-decoration: none;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.wf11d-mobile-menu a:hover {
  background: rgba(0,0,205,0.15);
  color: var(--wf11d-white);
  padding-left: 2.5rem;
}

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

/* ===== MAIN CONTENT ===== */
.wf11d-main {
  padding-top: 52px;
}

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

.wf11d-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.wf11d-slide img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.wf11d-dot-active {
  background: var(--wf11d-white);
}

/* ===== SECTIONS ===== */
.wf11d-section {
  padding: 2rem 1rem;
}

.wf11d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wf11d-white);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--wf11d-primary);
}

.wf11d-section-subtitle {
  font-size: 1.4rem;
  color: var(--wf11d-gray);
  margin-bottom: 1rem;
}

/* ===== GAME GRID ===== */
.wf11d-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wf11d-gold);
  margin: 1.5rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wf11d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

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

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

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

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

.wf11d-game-name {
  font-size: 1.1rem;
  color: var(--wf11d-text);
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CONTENT BLOCKS ===== */
.wf11d-card {
  background: var(--wf11d-bg-card);
  border-radius: var(--wf11d-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.wf11d-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--wf11d-white);
  margin-bottom: 0.8rem;
}

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

.wf11d-promo-link {
  color: var(--wf11d-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.wf11d-promo-link:hover {
  color: var(--wf11d-gold);
  text-decoration: underline;
}

.wf11d-promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--wf11d-gradient);
  color: var(--wf11d-white);
  border: none;
  border-radius: var(--wf11d-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.wf11d-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,205,0.4);
}

/* ===== FAQ ===== */
.wf11d-faq-item {
  background: var(--wf11d-bg-card);
  border-radius: var(--wf11d-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.wf11d-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wf11d-white);
  padding: 1rem 1.2rem;
}

.wf11d-faq-a {
  font-size: 1.2rem;
  color: var(--wf11d-text);
  padding: 0 1.2rem 1rem;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.wf11d-footer {
  background: var(--wf11d-bg-deep);
  padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--wf11d-primary);
}

.wf11d-footer-desc {
  font-size: 1.2rem;
  color: var(--wf11d-gray);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.wf11d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.wf11d-footer-links a {
  color: var(--wf11d-primary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.wf11d-footer-links a:hover {
  color: var(--wf11d-gold);
}

.wf11d-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--wf11d-gray);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.wf11d-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--wf11d-gray);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  gap: 2px;
}

.wf11d-bottom-btn:hover,
.wf11d-bottom-btn:focus {
  color: var(--wf11d-primary);
  transform: scale(1.1);
}

.wf11d-bottom-btn-active {
  color: var(--wf11d-accent);
}

.wf11d-bottom-btn .material-icons,
.wf11d-bottom-btn .wf11d-icon {
  font-size: 22px;
}

.wf11d-bottom-btn span:last-child {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 769px) {
  .wf11d-bottom-nav {
    display: none;
  }
}

/* ===== UTILITY CLASSES ===== */
.wf11d-text-center { text-align: center; }
.wf11d-text-bold { font-weight: 700; }
.wf11d-mb-1 { margin-bottom: 1rem; }
.wf11d-mb-2 { margin-bottom: 2rem; }
.wf11d-mt-1 { margin-top: 1rem; }
.wf11d-mt-2 { margin-top: 2rem; }
.wf11d-hidden { display: none; }

.wf11d-highlight {
  color: var(--wf11d-gold);
  font-weight: 600;
}

.wf11d-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.wf11d-badge-hot {
  background: var(--wf11d-accent);
  color: var(--wf11d-white);
}

.wf11d-badge-new {
  background: var(--wf11d-primary);
  color: var(--wf11d-white);
}

/* ===== TESTIMONIALS ===== */
.wf11d-testimonial {
  background: var(--wf11d-bg-card);
  border-radius: var(--wf11d-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--wf11d-primary);
}

.wf11d-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wf11d-gold);
  margin-bottom: 0.4rem;
}

.wf11d-testimonial-text {
  font-size: 1.2rem;
  color: var(--wf11d-text);
  line-height: 1.5;
}

/* ===== PAYMENT METHODS ===== */
.wf11d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.wf11d-payment-item {
  background: var(--wf11d-bg-card);
  border-radius: var(--wf11d-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--wf11d-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== WINNERS ===== */
.wf11d-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.wf11d-winner-name {
  font-size: 1.2rem;
  color: var(--wf11d-white);
}

.wf11d-winner-game {
  font-size: 1.1rem;
  color: var(--wf11d-gray);
}

.wf11d-winner-amount {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wf11d-gold);
}

/* ===== INTERNAL LINKS ===== */
.wf11d-internal-link {
  color: var(--wf11d-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.wf11d-internal-link:hover {
  color: var(--wf11d-gold);
  text-decoration: underline;
}

/* ===== DESKTOP OVERRIDES ===== */
@media (min-width: 769px) {
  body {
    max-width: 430px;
  }
}
