/**
 * tk33.css - Core Stylesheet for tk33.click
 * All classes use vd1e- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --vd1e-primary: #E65100;
  --vd1e-bg: #2D2D2D;
  --vd1e-text: #FF7F50;
  --vd1e-accent: #FF7F50;
  --vd1e-green: #BAFFC9;
  --vd1e-dark: #1A1A1A;
  --vd1e-card: #333333;
  --vd1e-border: #444444;
  --vd1e-white: #FFFFFF;
  --vd1e-light: #F5F5F5;
  --vd1e-font: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--vd1e-font); scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--vd1e-bg);
  color: var(--vd1e-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vd1e-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* Header */
.vd1e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.2rem;
  background: var(--vd1e-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 2px solid var(--vd1e-primary);
}

.vd1e-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vd1e-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}
.vd1e-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vd1e-primary);
  letter-spacing: 0.05rem;
}

.vd1e-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vd1e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.vd1e-btn-register {
  background: var(--vd1e-primary);
  color: var(--vd1e-white);
}
.vd1e-btn-register:hover { background: #FF6D00; }
.vd1e-btn-login {
  background: transparent;
  color: var(--vd1e-accent);
  border: 1.5px solid var(--vd1e-accent);
}
.vd1e-btn-login:hover { background: rgba(255,127,80,0.1); }
.vd1e-btn-promo {
  background: linear-gradient(135deg, var(--vd1e-primary), var(--vd1e-accent));
  color: var(--vd1e-white);
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-radius: 0.6rem;
  width: 100%;
  text-align: center;
  font-weight: 700;
  margin: 1rem 0;
  display: block;
}

.vd1e-menu-toggle {
  background: none;
  border: none;
  color: var(--vd1e-white);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Menu */
.vd1e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.vd1e-overlay-active { opacity: 1; pointer-events: all; }

.vd1e-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vd1e-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.vd1e-menu-active { right: 0; }

.vd1e-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--vd1e-white);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--vd1e-border);
  transition: color 0.2s;
}
.vd1e-mobile-menu a:hover { color: var(--vd1e-primary); }
.vd1e-mobile-menu .material-icons,
.vd1e-mobile-menu .fas,
.vd1e-mobile-menu .bi { font-size: 2rem; color: var(--vd1e-accent); }

.vd1e-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--vd1e-white);
  font-size: 2.4rem;
  cursor: pointer;
}

/* Main content padding for fixed header */
.vd1e-main {
  padding-top: 5.2rem;
}

/* Banner Slider */
.vd1e-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin: 1rem 0;
}
.vd1e-slide {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  cursor: pointer;
  border-radius: 0.8rem;
}

/* Section Headers */
.vd1e-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vd1e-white);
  margin: 1.5rem 0 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--vd1e-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vd1e-section-title .material-icons,
.vd1e-section-title .fas,
.vd1e-section-title .bi {
  color: var(--vd1e-primary);
  font-size: 2rem;
}

/* Category Label */
.vd1e-cat-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vd1e-accent);
  margin: 1.2rem 0 0.6rem;
  padding: 0.4rem 0.8rem;
  background: rgba(230,81,0,0.15);
  border-radius: 0.4rem;
  display: inline-block;
}

/* Game Grid */
.vd1e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.vd1e-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 0.6rem;
  padding: 0.4rem;
  background: var(--vd1e-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vd1e-game-card:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 10px rgba(230,81,0,0.3);
}
.vd1e-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  object-fit: cover;
}
.vd1e-game-name {
  font-size: 1rem;
  color: var(--vd1e-light);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2rem;
  max-height: 2.4rem;
  overflow: hidden;
  word-break: break-word;
}

/* Card Component */
.vd1e-card {
  background: var(--vd1e-card);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin: 0.8rem 0;
  border: 1px solid var(--vd1e-border);
}
.vd1e-card h3 {
  font-size: 1.5rem;
  color: var(--vd1e-primary);
  margin-bottom: 0.5rem;
}
.vd1e-card p {
  font-size: 1.3rem;
  color: #CCCCCC;
  line-height: 1.8rem;
}

/* Testimonial */
.vd1e-testimonial {
  background: var(--vd1e-card);
  border-radius: 0.8rem;
  padding: 1rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--vd1e-primary);
}
.vd1e-testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--vd1e-accent);
}
.vd1e-testimonial-text {
  font-size: 1.2rem;
  color: #BBBBBB;
  margin-top: 0.3rem;
}

/* Winner Strip */
.vd1e-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--vd1e-border);
  font-size: 1.2rem;
}
.vd1e-winner-name { color: var(--vd1e-accent); font-weight: 600; }
.vd1e-winner-game { color: #AAAAAA; flex: 1; }
.vd1e-winner-amount { color: var(--vd1e-green); font-weight: 700; }

/* Payment Methods */
.vd1e-payment-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.vd1e-payment-item {
  background: var(--vd1e-card);
  padding: 0.8rem 1.5rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vd1e-white);
  border: 1px solid var(--vd1e-border);
}

/* Footer */
.vd1e-footer {
  background: var(--vd1e-dark);
  padding: 2rem 1rem 8rem;
  margin-top: 2rem;
  border-top: 2px solid var(--vd1e-primary);
}
.vd1e-footer-brand {
  font-size: 1.3rem;
  color: #999999;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}
.vd1e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.vd1e-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  background: var(--vd1e-card);
  border-radius: 0.4rem;
  font-size: 1.1rem;
  color: var(--vd1e-accent);
  border: 1px solid var(--vd1e-border);
}
.vd1e-footer-links a:hover { background: var(--vd1e-primary); color: var(--vd1e-white); }
.vd1e-footer-copy {
  font-size: 1.1rem;
  color: #666666;
  margin-top: 1rem;
  text-align: center;
}

/* Bottom Navigation */
.vd1e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--vd1e-dark);
  border-top: 2px solid var(--vd1e-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.vd1e-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888888;
  transition: all 0.2s;
  padding: 0.3rem;
  border-radius: 0.5rem;
}
.vd1e-nav-btn:hover,
.vd1e-nav-btn:focus { color: var(--vd1e-primary); transform: scale(1.08); }
.vd1e-nav-btn .material-icons,
.vd1e-nav-btn .fas,
.vd1e-nav-btn .far,
.vd1e-nav-btn ion-icon,
.vd1e-nav-btn .bi { font-size: 2.2rem; }
.vd1e-nav-label {
  font-size: 0.95rem;
  margin-top: 0.15rem;
  white-space: nowrap;
}
.vd1e-nav-active { color: var(--vd1e-primary) !important; }
.vd1e-nav-active .vd1e-nav-label { color: var(--vd1e-primary); }

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

/* Mobile: add bottom padding */
@media (max-width: 768px) {
  .vd1e-main { padding-bottom: 76px; }
}

/* Utility classes */
.vd1e-text-center { text-align: center; }
.vd1e-mt-1 { margin-top: 1rem; }
.vd1e-mb-1 { margin-bottom: 1rem; }
.vd1e-hidden { display: none; }

/* App Download CTA */
.vd1e-app-cta {
  background: linear-gradient(135deg, var(--vd1e-primary), #FF6D00);
  border-radius: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}
.vd1e-app-cta h3 {
  font-size: 1.6rem;
  color: var(--vd1e-white);
  margin-bottom: 0.5rem;
}
.vd1e-app-cta p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
}
.vd1e-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vd1e-white);
  color: var(--vd1e-primary);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 0.8rem;
  border: none;
  cursor: pointer;
}

/* RTP Bar */
.vd1e-rtp-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.3rem 0;
  font-size: 1.2rem;
}
.vd1e-rtp-label { color: #AAAAAA; min-width: 7rem; }
.vd1e-rtp-track {
  flex: 1;
  height: 0.6rem;
  background: var(--vd1e-border);
  border-radius: 0.3rem;
  overflow: hidden;
}
.vd1e-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vd1e-primary), var(--vd1e-green));
  border-radius: 0.3rem;
}
.vd1e-rtp-value { color: var(--vd1e-green); font-weight: 600; min-width: 4rem; text-align: right; }

/* Internal link styling */
.vd1e-internal-link {
  color: var(--vd1e-accent);
  text-decoration: underline;
  font-weight: 500;
}
.vd1e-internal-link:hover { color: var(--vd1e-primary); }

/* Responsive fine-tuning */
@media (max-width: 320px) {
  .vd1e-grid { grid-template-columns: repeat(3, 1fr); }
}
