/**
 * 7ezb.click - Core Stylesheet
 * Prefix: vedd-
 * All classes use vedd- prefix for namespace isolation
 * Colors: #FF5722 (primary) | #FFEB3B (accent) | #3A3A3A (dark) | #F8F9FA (light)
 */

/* CSS Variables */
:root {
  --vedd-primary: #FF5722;
  --vedd-primary-dark: #E64A19;
  --vedd-accent: #FFEB3B;
  --vedd-accent-dark: #FBC02D;
  --vedd-bg: #3A3A3A;
  --vedd-bg-dark: #2A2A2A;
  --vedd-bg-card: #424242;
  --vedd-text: #F8F9FA;
  --vedd-text-muted: #BDBDBD;
  --vedd-border: #555555;
  --vedd-success: #4CAF50;
  --vedd-warning: #FF9800;
  --vedd-radius: 12px;
  --vedd-radius-sm: 8px;
  --vedd-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --vedd-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--vedd-bg);
  color: var(--vedd-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.vedd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--vedd-bg-dark);
  border-bottom: 2px solid var(--vedd-primary);
  height: 56px;
}

.vedd-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
}

.vedd-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vedd-logo-area img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.vedd-logo-area span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vedd-accent);
  letter-spacing: 1px;
}

.vedd-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vedd-btn-register {
  background: var(--vedd-primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vedd-transition);
}

.vedd-btn-register:hover { background: var(--vedd-primary-dark); transform: scale(1.05); }

.vedd-btn-login {
  background: transparent;
  color: var(--vedd-accent);
  border: 1px solid var(--vedd-accent);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vedd-transition);
}

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

.vedd-menu-toggle {
  background: none;
  border: none;
  color: var(--vedd-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu */
.vedd-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vedd-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--vedd-bg-dark);
  z-index: 9999;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  padding: 2rem 0;
  overflow-y: auto;
  border-right: 2px solid var(--vedd-primary);
}

.vedd-mobile-menu-header {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--vedd-border);
  margin-bottom: 1rem;
}

.vedd-mobile-menu-header span {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--vedd-accent);
}

.vedd-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.2rem 1.5rem;
  color: var(--vedd-text);
  font-size: 1.5rem;
  transition: var(--vedd-transition);
  border-left: 3px solid transparent;
}

.vedd-mobile-menu a:hover,
.vedd-mobile-menu a:active {
  background: rgba(255, 87, 34, 0.15);
  border-left-color: var(--vedd-primary);
  color: var(--vedd-accent);
}

.vedd-mobile-menu a i,
.vedd-mobile-menu a .material-icons {
  font-size: 2rem;
  width: 24px;
  text-align: center;
}

/* Carousel */
.vedd-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--vedd-radius);
  margin-top: 1rem;
}

.vedd-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.vedd-slide {
  min-width: 100%;
  cursor: pointer;
}

.vedd-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

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

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

.vedd-dot-active {
  background: var(--vedd-accent);
  width: 20px;
  border-radius: 4px;
}

/* Section Styles */
.vedd-section {
  padding: 2rem 0;
}

.vedd-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vedd-accent);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--vedd-primary);
}

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

/* Game Grid */
.vedd-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vedd-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--vedd-transition);
  padding: 6px;
  border-radius: var(--vedd-radius-sm);
}

.vedd-game-item:hover {
  background: var(--vedd-bg-card);
  transform: translateY(-2px);
}

.vedd-game-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  margin: 0 auto 4px;
  object-fit: cover;
  border: 2px solid var(--vedd-border);
}

.vedd-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--vedd-text-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Label */
.vedd-cat-label {
  display: inline-block;
  background: var(--vedd-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Content Card */
.vedd-card {
  background: var(--vedd-bg-card);
  border-radius: var(--vedd-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vedd-border);
}

.vedd-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vedd-accent);
  margin-bottom: 1rem;
}

.vedd-card p {
  color: var(--vedd-text-muted);
  line-height: 2.4rem;
  font-size: 1.4rem;
}

/* Promo Button */
.vedd-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vedd-primary), #FF7043);
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vedd-transition);
  border: none;
  text-align: center;
}

.vedd-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.vedd-promo-text {
  color: var(--vedd-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--vedd-transition);
  border-bottom: 1px dashed var(--vedd-primary);
}

.vedd-promo-text:hover { color: var(--vedd-accent); }

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

.vedd-footer p {
  color: var(--vedd-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.vedd-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 1rem 0;
}

.vedd-footer-links a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--vedd-border);
  border-radius: 15px;
  font-size: 1.2rem;
  color: var(--vedd-text-muted);
  transition: var(--vedd-transition);
}

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

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

/* Bottom Navigation */
.vedd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--vedd-bg-dark);
  border-top: 2px solid var(--vedd-primary);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.vedd-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(--vedd-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--vedd-transition);
  padding: 4px 2px;
  gap: 2px;
}

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

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

.vedd-bottom-nav-btn:hover,
.vedd-nav-active {
  color: var(--vedd-accent);
  transform: scale(1.08);
}

.vedd-nav-active {
  position: relative;
}

.vedd-nav-active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--vedd-accent);
  border-radius: 0 0 3px 3px;
}

/* FAQ Styles */
.vedd-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--vedd-bg-card);
  border-radius: var(--vedd-radius-sm);
  border-left: 3px solid var(--vedd-primary);
}

.vedd-faq-q {
  font-weight: 700;
  color: var(--vedd-accent);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.vedd-faq-a {
  color: var(--vedd-text-muted);
  font-size: 1.3rem;
  line-height: 2.2rem;
}

/* Features Grid */
.vedd-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vedd-feature-item {
  background: var(--vedd-bg-card);
  border-radius: var(--vedd-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--vedd-border);
}

.vedd-feature-item i,
.vedd-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--vedd-primary);
  margin-bottom: 0.5rem;
}

.vedd-feature-item h3 {
  font-size: 1.3rem;
  color: var(--vedd-accent);
  margin-bottom: 0.3rem;
}

.vedd-feature-item p {
  font-size: 1.1rem;
  color: var(--vedd-text-muted);
  line-height: 1.4;
}

/* Winner List */
.vedd-winner-list {
  background: var(--vedd-bg-card);
  border-radius: var(--vedd-radius);
  padding: 1rem;
}

.vedd-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--vedd-border);
}

.vedd-winner-item:last-child { border-bottom: none; }

.vedd-winner-name {
  font-size: 1.3rem;
  color: var(--vedd-text);
}

.vedd-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vedd-accent);
}

/* Responsive */
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
  .vedd-container { max-width: 100%; }
}

@media (min-width: 769px) {
  .vedd-bottom-nav { display: none; }
  .vedd-menu-toggle { display: none; }
  .vedd-container { max-width: 430px; }
}
