/**
 * 4666.click - Main Stylesheet
 * All classes use w780d- prefix for namespace isolation
 * Color Palette: #708090 | #9400D3 | #D3D3D3 | #212F3D | #C0C0C0
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --w780d-primary: #9400D3;
  --w780d-primary-dark: #7a00ad;
  --w780d-primary-light: #b033e8;
  --w780d-bg: #212F3D;
  --w780d-bg-light: #2c3e50;
  --w780d-bg-dark: #1a252f;
  --w780d-text: #D3D3D3;
  --w780d-text-light: #ecf0f1;
  --w780d-text-dark: #708090;
  --w780d-slate: #708090;
  --w780d-silver: #C0C0C0;
  --w780d-border: #3d5166;
  --w780d-success: #27ae60;
  --w780d-warning: #f39c12;
  --w780d-danger: #e74c3c;
  --w780d-font-size: 62.5%;
  --w780d-radius: 0.8rem;
  --w780d-radius-sm: 0.4rem;
  --w780d-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --w780d-transition: all 0.3s ease;
}

/* Reset & Base */
html {
  font-size: var(--w780d-font-size);
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background-color: var(--w780d-bg);
  color: var(--w780d-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(--w780d-primary-light);
  text-decoration: none;
  transition: var(--w780d-transition);
}

a:hover {
  color: var(--w780d-primary);
}

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

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

/* Header */
.w780d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w780d-bg-dark) 0%, var(--w780d-bg) 100%);
  border-bottom: 1px solid var(--w780d-border);
  max-width: 430px;
  margin: 0 auto;
}

.w780d-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 5.4rem;
}

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

.w780d-logo-img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
}

.w780d-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w780d-primary);
  letter-spacing: 0.05rem;
}

.w780d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w780d-btn-register {
  background: linear-gradient(135deg, var(--w780d-primary) 0%, var(--w780d-primary-dark) 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w780d-transition);
  min-height: 3.4rem;
  min-width: 6rem;
}

.w780d-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(148,0,211,0.5);
}

.w780d-btn-login {
  background: transparent;
  color: var(--w780d-silver);
  border: 1px solid var(--w780d-silver);
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w780d-transition);
  min-height: 3.4rem;
  min-width: 6rem;
}

.w780d-btn-login:hover {
  background: var(--w780d-silver);
  color: var(--w780d-bg-dark);
}

.w780d-menu-toggle {
  background: none;
  border: none;
  color: var(--w780d-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.w780d-mobile-menu {
  position: fixed;
  top: 5.4rem;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--w780d-bg-dark);
  border-bottom: 2px solid var(--w780d-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 0;
}

.w780d-menu-hidden {
  display: none;
}

.w780d-menu-active {
  display: block;
}

.w780d-menu-link {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--w780d-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(112,128,144,0.2);
  transition: var(--w780d-transition);
}

.w780d-menu-link:hover {
  background: rgba(148,0,211,0.15);
  color: var(--w780d-primary-light);
  padding-left: 2rem;
}

/* Main Content */
.w780d-main {
  padding-top: 6rem;
  min-height: 100vh;
}

/* Banner Slider */
.w780d-banner {
  position: relative;
  width: 100%;
  height: 18rem;
  overflow: hidden;
  border-radius: 0 0 var(--w780d-radius) var(--w780d-radius);
}

.w780d-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w780d-slide-active {
  opacity: 1;
}

.w780d-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w780d-banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.w780d-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--w780d-transition);
}

.w780d-dot-active {
  background: var(--w780d-primary);
  transform: scale(1.3);
}

/* Section Titles */
.w780d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w780d-text-light);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--w780d-primary);
}

.w780d-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w780d-silver);
  margin: 1.5rem 0 0.8rem;
}

/* Game Grid */
.w780d-game-section {
  margin: 1.5rem 0;
}

.w780d-game-cat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w780d-primary-light);
  margin: 1.2rem 0 0.8rem;
  padding: 0.4rem 0.8rem;
  background: rgba(148,0,211,0.1);
  border-radius: var(--w780d-radius-sm);
  display: inline-block;
}

.w780d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.w780d-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--w780d-transition);
  padding: 0.4rem;
  border-radius: var(--w780d-radius-sm);
}

.w780d-game-card:hover {
  background: rgba(148,0,211,0.1);
  transform: translateY(-2px);
}

.w780d-game-card img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.6rem;
  margin-bottom: 0.3rem;
  object-fit: cover;
  border: 1px solid var(--w780d-border);
}

.w780d-game-name {
  font-size: 1rem;
  color: var(--w780d-text);
  line-height: 1.2rem;
  height: 2.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Sections */
.w780d-content-block {
  padding: 1.2rem 1rem;
  margin: 1rem 0;
  background: var(--w780d-bg-light);
  border-radius: var(--w780d-radius);
  border: 1px solid var(--w780d-border);
}

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

.w780d-content-block h3 {
  font-size: 1.4rem;
  color: var(--w780d-silver);
  margin-bottom: 0.6rem;
}

.w780d-content-block p {
  margin-bottom: 0.8rem;
  line-height: 1.6rem;
}

.w780d-content-block ul {
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.w780d-content-block li {
  margin-bottom: 0.4rem;
  line-height: 1.5rem;
}

/* Promo Links */
.w780d-promo-text {
  color: var(--w780d-primary-light);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--w780d-transition);
}

.w780d-promo-text:hover {
  color: var(--w780d-primary);
}

.w780d-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w780d-primary) 0%, var(--w780d-primary-dark) 100%);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--w780d-transition);
  box-shadow: 0 4px 15px rgba(148,0,211,0.4);
}

.w780d-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(148,0,211,0.6);
}

.w780d-cta-row {
  text-align: center;
  margin: 1.5rem 0;
}

/* Features Grid */
.w780d-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.w780d-feature-item {
  background: rgba(148,0,211,0.08);
  border: 1px solid var(--w780d-border);
  border-radius: var(--w780d-radius);
  padding: 1rem;
  text-align: center;
  transition: var(--w780d-transition);
}

.w780d-feature-item:hover {
  border-color: var(--w780d-primary);
}

.w780d-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--w780d-primary);
}

.w780d-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--w780d-text-light);
  margin-bottom: 0.3rem;
}

.w780d-feature-desc {
  font-size: 1rem;
  color: var(--w780d-slate);
}

/* Winners List */
.w780d-winners-list {
  background: var(--w780d-bg-light);
  border-radius: var(--w780d-radius);
  overflow: hidden;
}

.w780d-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(112,128,144,0.15);
}

.w780d-winner-name {
  font-size: 1.2rem;
  color: var(--w780d-text-light);
}

.w780d-winner-game {
  font-size: 1rem;
  color: var(--w780d-slate);
}

.w780d-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w780d-warning);
}

/* Payment Methods */
.w780d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.w780d-payment-item {
  background: var(--w780d-bg-light);
  border: 1px solid var(--w780d-border);
  border-radius: var(--w780d-radius-sm);
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  color: var(--w780d-text);
  text-align: center;
}

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

.w780d-footer-brand {
  font-size: 1.2rem;
  color: var(--w780d-slate);
  line-height: 1.6rem;
  margin-bottom: 1.2rem;
}

.w780d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  justify-content: center;
}

.w780d-footer-link {
  background: rgba(148,0,211,0.15);
  color: var(--w780d-text);
  padding: 0.5rem 1rem;
  border-radius: var(--w780d-radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--w780d-transition);
  border: 1px solid transparent;
}

.w780d-footer-link:hover {
  border-color: var(--w780d-primary);
  color: var(--w780d-primary-light);
}

.w780d-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.w780d-footer-nav a {
  color: var(--w780d-slate);
  font-size: 1.1rem;
  transition: var(--w780d-transition);
}

.w780d-footer-nav a:hover {
  color: var(--w780d-primary-light);
}

.w780d-copyright {
  text-align: center;
  font-size: 1rem;
  color: var(--w780d-slate);
  padding-top: 1rem;
  border-top: 1px solid var(--w780d-border);
}

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

.w780d-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--w780d-slate);
  cursor: pointer;
  transition: var(--w780d-transition);
  padding: 0.3rem;
  border-radius: 0.5rem;
}

.w780d-bottom-nav-btn:hover {
  color: var(--w780d-primary-light);
  transform: scale(1.1);
}

.w780d-bottom-nav-btn:active {
  transform: scale(0.95);
}

.w780d-bottom-nav-active {
  color: var(--w780d-primary) !important;
}

.w780d-bottom-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.1rem;
}

.w780d-bottom-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* FAQ Accordion */
.w780d-faq-item {
  background: var(--w780d-bg-light);
  border: 1px solid var(--w780d-border);
  border-radius: var(--w780d-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.w780d-faq-q {
  padding: 1rem;
  font-weight: 600;
  color: var(--w780d-text-light);
  font-size: 1.3rem;
}

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

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

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

/* Utility Classes */
.w780d-text-center { text-align: center; }
.w780d-text-primary { color: var(--w780d-primary); }
.w780d-text-warning { color: var(--w780d-warning); }
.w780d-mt-1 { margin-top: 1rem; }
.w780d-mb-1 { margin-bottom: 1rem; }
.w780d-mb-2 { margin-bottom: 2rem; }
.w780d-p-1 { padding: 1rem; }
.w780d-hidden { display: none; }
.w780d-bold { font-weight: 700; }
