/**
 * 5557.click - Main Stylesheet
 * All classes prefixed with w3344-
 * Mobile-first design, max-width 430px
 */

:root {
  --w3344-primary: #40E0D0;
  --w3344-bg: #34495E;
  --w3344-bg-dark: #2C3E50;
  --w3344-bg-light: #3D566E;
  --w3344-sky: #00BFFF;
  --w3344-cyan: #00E5FF;
  --w3344-teal: #80CBC4;
  --w3344-text: #FFFFFF;
  --w3344-text-muted: #B0BEC5;
  --w3344-border: #4A6572;
  --w3344-radius: 8px;
  --w3344-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --w3344-gradient: linear-gradient(135deg, #40E0D0, #00BFFF);
}

/* Reset and base */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--w3344-bg);
  color: var(--w3344-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--w3344-primary);
  text-decoration: none;
}

a:hover {
  color: var(--w3344-cyan);
}

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

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

.w3344-wrapper {
  max-width: 430px;
  margin: 0 auto;
}

/* Header */
.w3344-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--w3344-bg-dark);
  border-bottom: 1px solid var(--w3344-border);
  box-shadow: var(--w3344-shadow);
}

.w3344-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  height: 48px;
}

.w3344-logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.w3344-header-btns {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.w3344-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: var(--w3344-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.2s ease;
}

.w3344-btn-register {
  background: var(--w3344-gradient);
  color: #fff;
  box-shadow: 0 2px 6px rgba(64,224,208,0.4);
}

.w3344-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(64,224,208,0.6);
}

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

.w3344-btn-login:hover {
  background: rgba(64,224,208,0.1);
}

.w3344-menu-toggle {
  background: none;
  border: none;
  color: var(--w3344-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.3rem;
  display: flex;
  align-items: center;
}

/* Mobile menu */
.w3344-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background: var(--w3344-bg-dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

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

.w3344-menu-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w3344-border);
}

.w3344-menu-header img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.w3344-menu-header span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w3344-primary);
}

.w3344-menu-close {
  background: none;
  border: none;
  color: var(--w3344-text-muted);
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
}

.w3344-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w3344-menu-nav li {
  margin-bottom: 0.3rem;
}

.w3344-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--w3344-radius);
  color: var(--w3344-text);
  font-size: 1.4rem;
  transition: background 0.2s;
}

.w3344-menu-nav a:hover {
  background: var(--w3344-bg-light);
  color: var(--w3344-primary);
}

.w3344-menu-nav .material-icons,
.w3344-menu-nav .fas,
.w3344-menu-nav .far {
  font-size: 2rem;
  color: var(--w3344-teal);
}

/* Carousel */
.w3344-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  border-radius: 0 0 var(--w3344-radius) var(--w3344-radius);
}

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

.w3344-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

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

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

.w3344-carousel-dot-active {
  background: var(--w3344-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section titles */
.w3344-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w3344-primary);
  margin: 1.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--w3344-sky);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w3344-section-title .fas,
.w3344-section-title .material-icons {
  font-size: 2rem;
  color: var(--w3344-cyan);
}

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

.w3344-game-card {
  background: var(--w3344-bg-light);
  border-radius: var(--w3344-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.w3344-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64,224,208,0.3);
}

.w3344-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--w3344-radius) var(--w3344-radius) 0 0;
}

.w3344-game-card-name {
  font-size: 1.1rem;
  padding: 0.3rem 0.2rem;
  color: var(--w3344-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Content cards */
.w3344-card {
  background: var(--w3344-bg-light);
  border-radius: var(--w3344-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
  box-shadow: var(--w3344-shadow);
}

.w3344-card h2,
.w3344-card h3 {
  color: var(--w3344-primary);
  margin-top: 0;
}

.w3344-card p {
  color: var(--w3344-text-muted);
  line-height: 2rem;
  margin: 0.5rem 0;
}

.w3344-card a {
  color: var(--w3344-cyan);
  text-decoration: underline;
}

/* Promo link styles */
.w3344-promo-link {
  display: inline-block;
  color: var(--w3344-cyan);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

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

.w3344-promo-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  padding: 1rem;
  background: var(--w3344-gradient);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border: none;
  border-radius: var(--w3344-radius);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(64,224,208,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.w3344-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(64,224,208,0.6);
}

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

.w3344-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w3344-footer-brand p {
  color: var(--w3344-text-muted);
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin: 0.3rem 0;
}

.w3344-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.w3344-footer-link {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--w3344-bg-light);
  color: var(--w3344-teal);
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.w3344-footer-link:hover {
  background: var(--w3344-primary);
  color: #fff;
}

.w3344-footer-copy {
  text-align: center;
  color: var(--w3344-text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--w3344-border);
}

/* Bottom navigation */
.w3344-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--w3344-bg-dark);
  border-top: 1px solid var(--w3344-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.w3344-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--w3344-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}

.w3344-bottom-nav-item:hover,
.w3344-bottom-nav-item:focus {
  color: var(--w3344-primary);
  transform: scale(1.1);
}

.w3344-bottom-nav-item .material-icons,
.w3344-bottom-nav-item .fas,
.w3344-bottom-nav-item .far,
.w3344-bottom-nav-item .fad,
.w3344-bottom-nav-item ion-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.w3344-bottom-nav-item span {
  font-size: 1rem;
  white-space: nowrap;
}

.w3344-bottom-nav-item.w3344-active {
  color: var(--w3344-primary);
}

.w3344-bottom-nav-item.w3344-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--w3344-primary);
  border-radius: 1px;
  margin-top: 2px;
}

/* Main content bottom padding for mobile nav */
main {
  padding-bottom: 80px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w3344-bottom-nav {
    display: none;
  }
  main {
    padding-bottom: 0;
  }
}

/* FAQ styles */
.w3344-faq-item {
  border-bottom: 1px solid var(--w3344-border);
  padding: 0.8rem 0;
}

.w3344-faq-q {
  font-weight: 600;
  color: var(--w3344-primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.w3344-faq-a {
  color: var(--w3344-text-muted);
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding-left: 1rem;
}

/* Winner showcase */
.w3344-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.w3344-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--w3344-bg);
  border-radius: 6px;
  font-size: 1.2rem;
}

.w3344-winner-name {
  color: var(--w3344-teal);
  font-weight: 600;
}

.w3344-winner-amount {
  color: var(--w3344-cyan);
  font-weight: 700;
}

.w3344-winner-game {
  color: var(--w3344-text-muted);
  font-size: 1.1rem;
}

/* Payment icons row */
.w3344-payment-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.w3344-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.1rem;
  color: var(--w3344-text-muted);
}

.w3344-payment-item .fas,
.w3344-payment-item .fab {
  font-size: 2.4rem;
  color: var(--w3344-primary);
}

/* Testimonial */
.w3344-testimonial {
  background: var(--w3344-bg);
  border-radius: var(--w3344-radius);
  padding: 1rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--w3344-teal);
}

.w3344-testimonial-text {
  color: var(--w3344-text-muted);
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-style: italic;
}

.w3344-testimonial-author {
  color: var(--w3344-teal);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Stats bar */
.w3344-stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  gap: 0.5rem;
}

.w3344-stat-item {
  text-align: center;
}

.w3344-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w3344-cyan);
}

.w3344-stat-label {
  font-size: 1rem;
  color: var(--w3344-text-muted);
}

/* Feature list */
.w3344-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w3344-feature-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--w3344-text-muted);
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.w3344-feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--w3344-primary);
  font-size: 1.2rem;
}

/* Help page styles */
.w3344-help-section {
  margin: 1rem 0;
}

.w3344-help-section h2 {
  font-size: 1.6rem;
  color: var(--w3344-primary);
  border-bottom: 2px solid var(--w3344-bg-light);
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}

.w3344-help-section h3 {
  font-size: 1.4rem;
  color: var(--w3344-teal);
  margin: 0.8rem 0 0.4rem;
}

.w3344-help-section p,
.w3344-help-section li {
  color: var(--w3344-text-muted);
  line-height: 2rem;
  font-size: 1.3rem;
}

.w3344-help-section ol,
.w3344-help-section ul {
  padding-left: 2rem;
}

/* App download CTA */
.w3344-app-cta {
  background: linear-gradient(135deg, var(--w3344-bg-dark), var(--w3344-bg-light));
  border-radius: var(--w3344-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid var(--w3344-border);
}

.w3344-app-cta h3 {
  color: var(--w3344-primary);
  font-size: 1.6rem;
  margin-top: 0;
}

.w3344-app-cta p {
  color: var(--w3344-text-muted);
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.w3344-app-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.w3344-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--w3344-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--w3344-primary);
  color: var(--w3344-primary);
  background: transparent;
  transition: all 0.2s;
}

.w3344-app-btn:hover {
  background: var(--w3344-primary);
  color: var(--w3344-bg-dark);
}

/* Utility */
.w3344-text-center { text-align: center; }
.w3344-text-bold { font-weight: 700; }
.w3344-mt-1 { margin-top: 0.5rem; }
.w3344-mt-2 { margin-top: 1rem; }
.w3344-mb-1 { margin-bottom: 0.5rem; }
.w3344-mb-2 { margin-bottom: 1rem; }
