/* cv222.click - Theme Stylesheet - theme-d50d.css */
/* All classes prefixed with wd50d- */

:root {
  --wd50d-primary: #C0C0C0;
  --wd50d-bg: #262626;
  --wd50d-text: #C0C0C0;
  --wd50d-accent: #6C757D;
  --wd50d-dark: #5D5D5D;
  --wd50d-white: #F0F0F0;
  --wd50d-highlight: #E8E8E8;
  --wd50d-font: 'Hind Siliguri', sans-serif;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--wd50d-bg);
  color: var(--wd50d-text);
  font-family: var(--wd50d-font);
  font-size: 1.6rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== HEADER ===== */
.wd50d-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: 1px solid var(--wd50d-dark);
}

.wd50d-logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--wd50d-primary);
  letter-spacing: 1px;
}

.wd50d-logo span {
  color: var(--wd50d-accent);
}

.wd50d-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wd50d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--wd50d-font);
  min-height: 36px;
  transition: all 0.2s;
}

.wd50d-btn-register {
  background: var(--wd50d-primary);
  color: var(--wd50d-bg);
}

.wd50d-btn-register:hover {
  background: var(--wd50d-highlight);
}

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

.wd50d-btn-login:hover {
  background: rgba(192, 192, 192, 0.1);
}

.wd50d-menu-toggle {
  background: none;
  border: none;
  color: var(--wd50d-primary);
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ===== DESKTOP NAV ===== */
.wd50d-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .wd50d-desktop-nav {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .wd50d-desktop-nav a {
    color: var(--wd50d-text);
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .wd50d-desktop-nav a:hover {
    color: var(--wd50d-primary);
  }
  .wd50d-menu-toggle {
    display: none !important;
  }
  .wd50d-bottom-nav {
    display: none !important;
  }
}

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

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

.wd50d-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #1a1a1a;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

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

.wd50d-menu-close {
  background: none;
  border: none;
  color: var(--wd50d-primary);
  font-size: 2.4rem;
  cursor: pointer;
  float: right;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd50d-mobile-menu nav {
  clear: both;
  padding-top: 20px;
}

.wd50d-mobile-menu nav a {
  display: block;
  padding: 12px 0;
  color: var(--wd50d-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--wd50d-dark);
  transition: color 0.2s;
}

.wd50d-mobile-menu nav a:hover {
  color: var(--wd50d-primary);
}

/* ===== MAIN CONTENT ===== */
main {
  padding-top: 56px;
  max-width: 430px;
  margin: 0 auto;
}

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

/* ===== CAROUSEL ===== */
.wd50d-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

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

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

.wd50d-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.4);
  cursor: pointer;
  border: none;
  min-width: 10px;
  min-height: 10px;
}

.wd50d-dot-active {
  background: var(--wd50d-primary);
}

/* ===== SECTION STYLES ===== */
.wd50d-section {
  padding: 20px 12px;
}

.wd50d-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wd50d-primary);
  margin: 0 0 14px 0;
  text-align: center;
}

.wd50d-section-desc {
  font-size: 1.4rem;
  color: var(--wd50d-accent);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5rem;
}

/* ===== GAME TABS ===== */
.wd50d-game-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 12px 0;
  -webkit-overflow-scrolling: touch;
}

.wd50d-game-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--wd50d-dark);
  color: var(--wd50d-text);
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  cursor: pointer;
  font-family: var(--wd50d-font);
  white-space: nowrap;
  transition: all 0.2s;
  min-height: 36px;
}

.wd50d-tab-active {
  background: var(--wd50d-primary);
  color: var(--wd50d-bg);
  font-weight: 600;
}

/* ===== GAME GRID ===== */
.wd50d-game-panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wd50d-game-panel:first-of-type {
  display: grid;
}

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

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

.wd50d-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--wd50d-dark);
}

.wd50d-game-item p {
  margin: 4px 0 0;
  font-size: 1.1rem;
  color: var(--wd50d-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== PROMO BANNER ===== */
.wd50d-promo-banner {
  background: linear-gradient(135deg, var(--wd50d-dark), #333);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  margin: 16px 0;
  border: 1px solid var(--wd50d-accent);
}

.wd50d-promo-banner h3 {
  color: var(--wd50d-primary);
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.wd50d-promo-banner p {
  color: var(--wd50d-accent);
  font-size: 1.3rem;
  margin: 0 0 12px;
}

/* ===== FEATURES GRID ===== */
.wd50d-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wd50d-feature-card {
  background: var(--wd50d-dark);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: transform 0.2s;
}

.wd50d-feature-card:hover {
  transform: translateY(-2px);
}

.wd50d-feature-card i,
.wd50d-feature-card .material-icons {
  font-size: 28px;
  color: var(--wd50d-primary);
  margin-bottom: 8px;
}

.wd50d-feature-card h4 {
  color: var(--wd50d-primary);
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.wd50d-feature-card p {
  color: var(--wd50d-accent);
  font-size: 1.2rem;
  margin: 0;
}

/* ===== CONTENT TEXT ===== */
.wd50d-content-text {
  font-size: 1.4rem;
  line-height: 2.2rem;
  color: var(--wd50d-text);
}

.wd50d-content-text h2 {
  color: var(--wd50d-primary);
  font-size: 1.8rem;
  margin: 20px 0 10px;
}

.wd50d-content-text h3 {
  color: var(--wd50d-highlight);
  font-size: 1.6rem;
  margin: 16px 0 8px;
}

.wd50d-content-text p {
  margin: 8px 0;
}

/* ===== FAQ SECTION ===== */
.wd50d-faq-item {
  background: var(--wd50d-dark);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wd50d-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wd50d-primary);
  min-height: 44px;
}

.wd50d-faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
  color: var(--wd50d-accent);
}

.wd50d-faq-icon-open {
  transform: rotate(180deg);
}

.wd50d-faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: 1.3rem;
  color: var(--wd50d-accent);
  line-height: 2rem;
}

.wd50d-faq-open {
  display: block;
}

/* ===== FOOTER ===== */
.wd50d-footer {
  background: #1a1a1a;
  padding: 24px 12px;
  border-top: 1px solid var(--wd50d-dark);
}

.wd50d-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}

.wd50d-footer-brand h4 {
  color: var(--wd50d-primary);
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.wd50d-footer-brand p {
  color: var(--wd50d-accent);
  font-size: 1.2rem;
  margin: 0;
}

.wd50d-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.wd50d-footer-links a {
  color: var(--wd50d-text);
  font-size: 1.2rem;
  padding: 4px 8px;
  transition: color 0.2s;
}

.wd50d-footer-links a:hover {
  color: var(--wd50d-primary);
}

.wd50d-footer-partners {
  text-align: center;
  margin: 16px 0;
}

.wd50d-footer-partners p {
  color: var(--wd50d-accent);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.wd50d-footer-partners span {
  color: var(--wd50d-text);
  font-size: 1.1rem;
  display: inline-block;
  margin: 2px 6px;
}

.wd50d-footer-copy {
  text-align: center;
  color: var(--wd50d-dark);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ===== BOTTOM NAVIGATION ===== */
.wd50d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  border-top: 1px solid var(--wd50d-dark);
  box-sizing: border-box;
}

.wd50d-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--wd50d-accent);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  font-family: var(--wd50d-font);
  transition: all 0.2s;
  text-decoration: none;
  gap: 2px;
}

.wd50d-bottom-btn i,
.wd50d-bottom-btn .material-icons {
  font-size: 22px;
}

.wd50d-bottom-btn ion-icon {
  font-size: 24px;
}

.wd50d-bottom-btn:hover,
.wd50d-bottom-btn.active {
  color: var(--wd50d-primary);
}

.wd50d-bottom-btn span {
  font-size: 1rem;
}

/* ===== BACK TO TOP ===== */
.wd50d-back-top {
  position: fixed;
  bottom: 72px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--wd50d-dark);
  color: var(--wd50d-primary);
  border: 1px solid var(--wd50d-accent);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.8rem;
  min-width: 44px;
  min-height: 44px;
}

/* ===== GUIDE PAGE ===== */
.wd50d-guide-section {
  padding: 16px 12px;
}

.wd50d-guide-section h2 {
  color: var(--wd50d-primary);
  font-size: 1.8rem;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--wd50d-dark);
  padding-bottom: 8px;
}

.wd50d-guide-section h3 {
  color: var(--wd50d-highlight);
  font-size: 1.5rem;
  margin: 14px 0 8px;
}

.wd50d-guide-section p {
  color: var(--wd50d-text);
  font-size: 1.4rem;
  margin: 6px 0;
  line-height: 2.2rem;
}

.wd50d-guide-section ol,
.wd50d-guide-section ul {
  color: var(--wd50d-text);
  font-size: 1.4rem;
  padding-left: 20px;
  margin: 8px 0;
  line-height: 2.2rem;
}

.wd50d-guide-section li {
  margin: 4px 0;
}

.wd50d-cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--wd50d-primary);
  color: var(--wd50d-bg);
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin: 12px 0;
  min-height: 44px;
  min-width: 44px;
  border: none;
  font-family: var(--wd50d-font);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .wd50d-menu-toggle {
    display: flex;
  }
  .wd50d-header .wd50d-desktop-nav {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .wd50d-header .wd50d-btn {
    font-size: 1.4rem;
    padding: 8px 20px;
  }
}
