/**
 * 5666.click - Core Stylesheet
 * All classes prefixed with uiee- for namespace isolation
 * Color palette: #273746 #000080 #00CED1 #48D1CC #A9A9A9 #FFCCCB
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --uiee-bg-dark: #0a1628;
  --uiee-bg-mid: #162035;
  --uiee-bg-card: #1a2a48;
  --uiee-primary: #00CED1;
  --uiee-primary-dark: #009ea0;
  --uiee-secondary: #48D1CC;
  --uiee-accent: #FFCCCB;
  --uiee-navy: #000080;
  --uiee-gray: #A9A9A9;
  --uiee-text: #e8edf3;
  --uiee-text-light: #b0bec5;
  --uiee-text-dark: #273746;
  --uiee-border: rgba(0, 206, 209, 0.15);
  --uiee-glow: rgba(0, 206, 209, 0.3);
  --uiee-radius: 10px;
  --uiee-radius-sm: 6px;
  --uiee-font: 'Segoe UI', 'Noto Sans Bengali', sans-serif;
  --uiee-header-h: 56px;
  --uiee-bnav-h: 60px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--uiee-font);
  background: var(--uiee-bg-dark);
  color: var(--uiee-text);
  line-height: 1.5;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--uiee-primary); text-decoration: none; }
a:hover { color: var(--uiee-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* ===================== HEADER ===================== */
.uiee-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--uiee-header-h);
  background: linear-gradient(135deg, var(--uiee-bg-mid) 0%, #0d1f3c 100%);
  border-bottom: 1px solid var(--uiee-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  backdrop-filter: blur(10px);
}
.uiee-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--uiee-primary), transparent);
}
.uiee-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.uiee-logo img {
  width: 30px; height: 30px;
  border-radius: 6px;
}
.uiee-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--uiee-primary), var(--uiee-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.uiee-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.uiee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--uiee-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  touch-action: manipulation;
}
.uiee-btn-register {
  background: linear-gradient(135deg, var(--uiee-primary), var(--uiee-primary-dark));
  color: #fff;
}
.uiee-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.uiee-btn-login {
  background: transparent;
  border: 1px solid var(--uiee-primary);
  color: var(--uiee-primary);
}
.uiee-btn-login:hover { background: rgba(0,206,209,0.1); }
.uiee-btn-promo {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  padding: 8px 20px;
  font-size: 1.3rem;
  border-radius: var(--uiee-radius);
  box-shadow: 0 2px 10px rgba(238,90,36,0.3);
}
.uiee-btn-promo:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(238,90,36,0.4); }
.uiee-menu-toggle {
  background: none;
  border: none;
  color: var(--uiee-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ===================== MOBILE MENU ===================== */
.uiee-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.uiee-overlay-active { opacity: 1; visibility: visible; }
.uiee-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 270px;
  height: 100%;
  background: var(--uiee-bg-mid);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px 16px;
  overflow-y: auto;
}
.uiee-menu-active { right: 0; }
.uiee-menu-close {
  background: none;
  border: none;
  color: var(--uiee-text);
  font-size: 2.2rem;
  cursor: pointer;
  float: right;
  margin-bottom: 16px;
}
.uiee-menu-list { clear: both; padding-top: 10px; }
.uiee-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  color: var(--uiee-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--uiee-border);
  transition: all 0.2s;
}
.uiee-menu-list a:hover {
  color: var(--uiee-primary);
  padding-left: 16px;
}
.uiee-menu-list a i, .uiee-menu-list a .material-icons {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

/* ===================== MAIN CONTENT ===================== */
.uiee-main {
  padding-top: calc(var(--uiee-header-h) + 4px);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .uiee-main { padding-bottom: calc(var(--uiee-bnav-h) + 16px); }
}

/* ===================== BANNER SLIDER ===================== */
.uiee-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  border-radius: var(--uiee-radius);
  margin: 8px 0;
}
.uiee-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.uiee-slide-active { opacity: 1; z-index: 1; }
.uiee-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--uiee-radius);
}
.uiee-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.uiee-slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.uiee-dot-active {
  background: var(--uiee-primary);
  width: 20px;
  border-radius: 4px;
}

/* ===================== SECTION TITLES ===================== */
.uiee-section {
  margin: 20px 0;
}
.uiee-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--uiee-text);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--uiee-primary);
}
.uiee-section-title i {
  margin-right: 6px;
  color: var(--uiee-primary);
}

/* ===================== GAME GRID ===================== */
.uiee-cat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--uiee-secondary);
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.uiee-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.uiee-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}
.uiee-game-card:hover { transform: scale(1.05); }
.uiee-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--uiee-radius-sm);
  border: 1px solid var(--uiee-border);
  object-fit: cover;
  background: var(--uiee-bg-card);
}
.uiee-game-card span {
  font-size: 1.05rem;
  color: var(--uiee-text-light);
  margin-top: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================== CONTENT BLOCKS ===================== */
.uiee-content-block {
  background: var(--uiee-bg-card);
  border-radius: var(--uiee-radius);
  padding: 16px;
  margin: 12px 0;
  border: 1px solid var(--uiee-border);
}
.uiee-content-block h2 {
  font-size: 1.5rem;
  color: var(--uiee-primary);
  margin-bottom: 10px;
}
.uiee-content-block h3 {
  font-size: 1.3rem;
  color: var(--uiee-secondary);
  margin: 10px 0 6px;
}
.uiee-content-block p {
  color: var(--uiee-text-light);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.uiee-content-block ul {
  padding-left: 18px;
  margin: 8px 0;
}
.uiee-content-block ul li {
  color: var(--uiee-text-light);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 4px;
  list-style: disc;
}

/* ===================== WINNER SHOWCASE ===================== */
.uiee-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.uiee-winner-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--uiee-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.uiee-winner-info {
  flex: 1;
  min-width: 0;
}
.uiee-winner-name {
  font-size: 1.2rem;
  color: var(--uiee-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uiee-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
}

/* ===================== TESTIMONIALS ===================== */
.uiee-testimonial {
  background: var(--uiee-bg-dark);
  border-radius: var(--uiee-radius-sm);
  padding: 12px;
  margin: 8px 0;
  border-left: 3px solid var(--uiee-secondary);
}
.uiee-testimonial-text {
  font-size: 1.2rem;
  color: var(--uiee-text-light);
  font-style: italic;
  margin-bottom: 6px;
}
.uiee-testimonial-author {
  font-size: 1.1rem;
  color: var(--uiee-primary);
  font-weight: 600;
}

/* ===================== PAYMENT METHODS ===================== */
.uiee-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.uiee-payment-item {
  background: var(--uiee-bg-dark);
  padding: 8px 14px;
  border-radius: var(--uiee-radius-sm);
  font-size: 1.2rem;
  color: var(--uiee-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===================== CTA BANNER ===================== */
.uiee-cta-banner {
  background: linear-gradient(135deg, var(--uiee-navy), #0a1e5e);
  border-radius: var(--uiee-radius);
  padding: 20px 16px;
  text-align: center;
  margin: 16px 0;
  border: 1px solid rgba(0,206,209,0.2);
  position: relative;
  overflow: hidden;
}
.uiee-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,206,209,0.08) 0%, transparent 70%);
  animation: uiee-pulse 4s ease-in-out infinite;
}
@keyframes uiee-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.uiee-cta-banner h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.uiee-cta-banner p {
  font-size: 1.3rem;
  color: var(--uiee-accent);
  margin-bottom: 14px;
  position: relative;
}

/* ===================== FOOTER ===================== */
.uiee-footer {
  background: var(--uiee-bg-mid);
  padding: 24px 12px 16px;
  margin-top: 24px;
  border-top: 1px solid var(--uiee-border);
}
.uiee-footer-brand {
  font-size: 1.2rem;
  color: var(--uiee-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: center;
}
.uiee-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 12px 0;
}
.uiee-footer-links a {
  font-size: 1.1rem;
  color: var(--uiee-text-light);
  padding: 4px 8px;
  border: 1px solid var(--uiee-border);
  border-radius: var(--uiee-radius-sm);
  transition: all 0.2s;
}
.uiee-footer-links a:hover {
  color: var(--uiee-primary);
  border-color: var(--uiee-primary);
}
.uiee-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--uiee-gray);
  margin-top: 12px;
}

/* ===================== BOTTOM NAVIGATION ===================== */
.uiee-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--uiee-bnav-h);
  background: linear-gradient(180deg, var(--uiee-bg-mid) 0%, #0c1729 100%);
  border-top: 1px solid var(--uiee-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}
.uiee-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--uiee-gray);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.uiee-bnav-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px; height: 2px;
  background: var(--uiee-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.uiee-bnav-btn .uiee-bnav-icon {
  font-size: 2.2rem;
  margin-bottom: 2px;
  transition: all 0.25s ease;
}
.uiee-bnav-btn .uiee-bnav-label {
  font-size: 1rem;
  line-height: 1.2;
  transition: color 0.25s ease;
}
.uiee-bnav-btn:active {
  transform: scale(0.92);
}
.uiee-bnav-active {
  color: var(--uiee-primary) !important;
}
.uiee-bnav-active::after {
  transform: translateX(-50%) scaleX(1);
}
.uiee-bnav-active .uiee-bnav-icon {
  transform: translateY(-2px);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .uiee-bnav { display: none; }
}

/* ===================== UTILITIES ===================== */
.uiee-text-center { text-align: center; }
.uiee-text-primary { color: var(--uiee-primary); }
.uiee-text-gold { color: #ffd700; }
.uiee-text-accent { color: var(--uiee-accent); }
.uiee-mt-8 { margin-top: 8px; }
.uiee-mt-12 { margin-top: 12px; }
.uiee-mt-16 { margin-top: 16px; }
.uiee-mb-8 { margin-bottom: 8px; }
.uiee-mb-12 { margin-bottom: 12px; }
.uiee-p-12 { padding: 12px; }
.uiee-p-16 { padding: 16px; }

/* Desktop adjustments */
@media (min-width: 769px) {
  .uiee-container { max-width: 600px; }
  .uiee-game-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Internal link style (not button) */
a.uiee-internal-link {
  color: var(--uiee-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.uiee-internal-link:hover {
  color: var(--uiee-primary);
}

/* Promo text link */
a.uiee-promo-link {
  color: var(--uiee-primary);
  font-weight: 700;
  cursor: pointer;
}
a.uiee-promo-link:hover {
  color: #fff;
  text-decoration: underline;
}
