/**
 * 777bet APK - Core CSS Stylesheet
 * Prefix: w265f-
 * Color Palette: #1B263B (dark navy) | #9400D3 (violet) | #800080 (purple) | #BA55D3 (orchid)
 */

/* CSS Variables */
:root {
  --w265f-primary: #9400D3;
  --w265f-secondary: #800080;
  --w265f-accent: #BA55D3;
  --w265f-bg: #1B263B;
  --w265f-bg-dark: #111a2e;
  --w265f-bg-card: #1f2f4a;
  --w265f-text: #f0e6ff;
  --w265f-text-muted: #b8a9d4;
  --w265f-border: #2d3f5e;
  --w265f-gold: #ffd700;
  --w265f-font-size: 62.5%;
}

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

/* Container */
.w265f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w265f-wrapper { padding: 1rem 0; }

/* ===== HEADER ===== */
.w265f-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--w265f-bg-dark), #1a1a3e);
  border-bottom: 2px solid var(--w265f-primary);
  padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.w265f-header-left { display: flex; align-items: center; gap: 0.6rem; }
.w265f-header-logo { width: 28px; height: 28px; border-radius: 6px; }
.w265f-header-name {
  font-size: 1.5rem; font-weight: 700; color: var(--w265f-gold);
  white-space: nowrap;
}
.w265f-header-right { display: flex; align-items: center; gap: 0.5rem; }
.w265f-header-btn {
  padding: 0.4rem 1rem; border-radius: 2rem; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.w265f-btn-register {
  background: linear-gradient(135deg, var(--w265f-primary), var(--w265f-accent));
  color: #fff;
}
.w265f-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(148,0,211,0.5); }
.w265f-btn-login {
  background: transparent; color: var(--w265f-accent);
  border: 1.5px solid var(--w265f-accent);
}
.w265f-btn-login:hover { background: rgba(186,85,211,0.15); }
.w265f-menu-toggle {
  background: none; border: none; color: var(--w265f-accent);
  font-size: 2.2rem; cursor: pointer; padding: 0 0.3rem;
}

/* ===== MOBILE MENU ===== */
.w265f-menu-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; transition: opacity 0.3s;
}
.w265f-mobile-menu {
  position: fixed; top: 0; left: 0; width: 75%; max-width: 280px;
  height: 100%; background: linear-gradient(180deg, #111a2e, #1B263B);
  z-index: 9999; transform: translateX(-100%); visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.w265f-menu-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--w265f-border);
}
.w265f-menu-logo { width: 32px; height: 32px; border-radius: 6px; }
.w265f-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--w265f-gold); }
.w265f-menu-close {
  background: none; border: none; color: var(--w265f-text-muted);
  font-size: 2rem; cursor: pointer; margin-left: auto;
}
.w265f-menu-links { display: flex; flex-direction: column; gap: 0.3rem; }
.w265f-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0.8rem; border-radius: 0.8rem;
  color: var(--w265f-text); font-size: 1.3rem;
  transition: background 0.2s;
}
.w265f-menu-link:hover { background: rgba(148,0,211,0.15); color: var(--w265f-gold); }
.w265f-menu-link i, .w265f-menu-link span.material-symbols-outlined { font-size: 2rem; color: var(--w265f-accent); }

/* ===== BANNER SLIDER ===== */
.w265f-banner { position: relative; overflow: hidden; border-radius: 1rem; margin: 0.5rem 0; }
.w265f-slide { display: none; cursor: pointer; border-radius: 1rem; }
.w265f-slide img { width: 100%; border-radius: 1rem; }
.w265f-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 0;
}
.w265f-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w265f-border); cursor: pointer;
  transition: background 0.3s;
}
.w265f-dot-active { background: var(--w265f-primary); width: 18px; border-radius: 4px; }

/* ===== GAME SECTIONS ===== */
.w265f-section { padding: 1.2rem 0; }
.w265f-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w265f-gold);
  margin-bottom: 0.8rem; padding-left: 0.4rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.w265f-section-title i { color: var(--w265f-primary); }

.w265f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w265f-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s; border-radius: 0.8rem;
  padding: 0.4rem;
}
.w265f-game-item:hover { transform: scale(1.05); background: rgba(148,0,211,0.1); }
.w265f-game-img {
  width: 100%; aspect-ratio: 1; border-radius: 0.8rem;
  border: 1.5px solid var(--w265f-border);
  object-fit: cover;
}
.w265f-game-name {
  font-size: 1rem; color: var(--w265f-text-muted);
  margin-top: 0.3rem; line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT CARDS ===== */
.w265f-card {
  background: var(--w265f-bg-card); border-radius: 1rem;
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid var(--w265f-border);
}
.w265f-card-title {
  font-size: 1.4rem; font-weight: 700; color: var(--w265f-gold);
  margin-bottom: 0.6rem;
}
.w265f-card-text { font-size: 1.2rem; color: var(--w265f-text-muted); line-height: 1.6rem; }

/* ===== PROMO BUTTONS ===== */
.w265f-promo-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--w265f-primary), var(--w265f-accent));
  color: #fff; border-radius: 2.5rem; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
  box-shadow: 0 4px 15px rgba(148,0,211,0.4);
}
.w265f-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(148,0,211,0.6); }
.w265f-promo-text {
  color: var(--w265f-accent); font-weight: 700;
  cursor: pointer; transition: color 0.2s;
  border-bottom: 1px dashed var(--w265f-accent);
}
.w265f-promo-text:hover { color: var(--w265f-gold); border-color: var(--w265f-gold); }

/* ===== FOOTER ===== */
.w265f-footer {
  background: var(--w265f-bg-dark); padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--w265f-primary);
}
.w265f-footer-brand { font-size: 1.2rem; color: var(--w265f-text-muted); line-height: 1.6rem; margin-bottom: 1.2rem; }
.w265f-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.w265f-footer-link {
  padding: 0.3rem 0.8rem; border-radius: 1.5rem;
  background: rgba(148,0,211,0.15); color: var(--w265f-accent);
  font-size: 1.1rem; cursor: pointer; transition: all 0.2s;
}
.w265f-footer-link:hover { background: rgba(148,0,211,0.3); }
.w265f-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.w265f-footer-promo-btn {
  flex: 1; min-width: calc(50% - 0.3rem); padding: 0.7rem;
  background: linear-gradient(135deg, var(--w265f-primary), var(--w265f-secondary));
  color: #fff; border-radius: 0.8rem; text-align: center;
  font-size: 1.1rem; font-weight: 600; cursor: pointer;
}
.w265f-footer-copy { font-size: 1rem; color: var(--w265f-text-muted); text-align: center; padding-top: 0.8rem; border-top: 1px solid var(--w265f-border); }

/* ===== BOTTOM NAV ===== */
.w265f-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, #1a1a3e, #0f0f2a);
  border-top: 1.5px solid var(--w265f-primary);
  display: flex; justify-content: space-around;
  padding: 0.3rem 0; height: 60px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}
.w265f-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: var(--w265f-text-muted); cursor: pointer; transition: all 0.2s;
  border-radius: 0.5rem; position: relative;
}
.w265f-bnav-btn i, .w265f-bnav-btn span.material-symbols-outlined,
.w265f-bnav-btn ion-icon, .w265f-bnav-btn bi {
  font-size: 22px; margin-bottom: 0.1rem; transition: color 0.2s;
}
.w265f-bnav-btn span {
  font-size: 1rem; white-space: nowrap;
}
.w265f-bnav-btn:hover, .w265f-bnav-btn.w265f-active {
  color: var(--w265f-gold);
}
.w265f-bnav-btn.w265f-active::after {
  content: ''; position: absolute; top: -2px;
  left: 25%; right: 25%; height: 2px;
  background: var(--w265f-gold); border-radius: 1px;
}

/* ===== MAIN CONTENT AREA ===== */
.w265f-main { padding-top: 5.2rem; }

/* ===== UTILITY CLASSES ===== */
.w265f-text-center { text-align: center; }
.w265f-text-gold { color: var(--w265f-gold); }
.w265f-text-accent { color: var(--w265f-accent); }
.w265f-mt-1 { margin-top: 1rem; }
.w265f-mb-1 { margin-bottom: 1rem; }
.w265f-p-1 { padding: 1rem; }

/* ===== WINNER SHOWCASE ===== */
.w265f-winner-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem; border-radius: 0.6rem;
  background: rgba(148,0,211,0.08); margin-bottom: 0.4rem;
}
.w265f-winner-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--w265f-secondary); }
.w265f-winner-name { font-size: 1.1rem; color: var(--w265f-text); flex: 1; }
.w265f-winner-amount { font-size: 1.2rem; color: var(--w265f-gold); font-weight: 700; }

/* ===== PAYMENT ICONS ===== */
.w265f-payment-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.w265f-payment-icon {
  padding: 0.5rem 1rem; border-radius: 0.6rem;
  background: var(--w265f-bg-card); border: 1px solid var(--w265f-border);
  font-size: 1.1rem; color: var(--w265f-text-muted);
}

/* ===== FEATURES GRID ===== */
.w265f-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w265f-feature-item {
  background: var(--w265f-bg-card); border-radius: 0.8rem;
  padding: 1rem; text-align: center;
  border: 1px solid var(--w265f-border);
}
.w265f-feature-icon { font-size: 2.4rem; color: var(--w265f-primary); margin-bottom: 0.4rem; }
.w265f-feature-title { font-size: 1.2rem; color: var(--w265f-gold); font-weight: 600; }
.w265f-feature-desc { font-size: 1rem; color: var(--w265f-text-muted); margin-top: 0.3rem; }

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .w265f-bottom-nav { display: none !important; }
}
@media (max-width: 768px) {
  .w265f-main { padding-bottom: 80px; }
}
