/**
 * 8777 ielts - Core CSS Design
 * Prefix: v1e3-
 * Colors: #006400 (primary) | #0E1621 (background)
 * Mobile-first, max-width 430px
 * Comments: English
 */

/* Root font size for rem units */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* CSS Variables */
:root {
  --v1e3-primary: #006400;
  --v1e3-primary-light: #00a800;
  --v1e3-primary-dark: #004d00;
  --v1e3-bg: #0E1621;
  --v1e3-bg-light: #151f2e;
  --v1e3-bg-card: #1a2738;
  --v1e3-text: #e8e8e8;
  --v1e3-text-muted: #8a9bb5;
  --v1e3-accent: #ffd700;
  --v1e3-accent2: #ff6b35;
  --v1e3-border: #253345;
  --v1e3-radius: 8px;
  --v1e3-radius-lg: 14px;
  --v1e3-shadow: 0 2px 12px rgba(0,0,0,0.35);
  --v1e3-transition: all 0.25s ease;
}

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Arial, sans-serif;
  background-color: var(--v1e3-bg);
  color: var(--v1e3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--v1e3-accent); text-decoration: none; }
a:hover { color: var(--v1e3-accent2); }
img { max-width: 100%; height: auto; display: block; }

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

.v1e3-wrapper {
  padding: 1.2rem;
}

/* =================== HEADER =================== */
.v1e3-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 54px;
  background: linear-gradient(135deg, var(--v1e3-primary-dark), var(--v1e3-primary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: var(--v1e3-shadow);
}

.v1e3-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v1e3-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.v1e3-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

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

.v1e3-btn-register, .v1e3-btn-login {
  padding: 0.4rem 1rem;
  border-radius: var(--v1e3-radius);
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--v1e3-transition);
}

.v1e3-btn-register {
  background: var(--v1e3-accent);
  color: #000;
}

.v1e3-btn-register:hover {
  background: #ffe44d;
  transform: scale(1.05);
}

.v1e3-btn-login {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.v1e3-btn-login:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.v1e3-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

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

.v1e3-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--v1e3-bg-light);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.v1e3-mobile-menu-close {
  background: none;
  border: none;
  color: var(--v1e3-text);
  font-size: 2.2rem;
  cursor: pointer;
  float: right;
  margin-bottom: 1rem;
}

.v1e3-mobile-menu-links {
  clear: both;
  list-style: none;
}

.v1e3-mobile-menu-links li {
  margin-bottom: 0.6rem;
}

.v1e3-mobile-menu-links a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--v1e3-text);
  font-size: 1.4rem;
  border-radius: var(--v1e3-radius);
  transition: var(--v1e3-transition);
}

.v1e3-mobile-menu-links a:hover {
  background: var(--v1e3-primary);
  color: #fff;
}

/* =================== CAROUSEL =================== */
.v1e3-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 54px auto 0;
  overflow: hidden;
  border-radius: 0 0 var(--v1e3-radius-lg) var(--v1e3-radius-lg);
}

.v1e3-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.v1e3-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.v1e3-slide.v1e3-active {
  opacity: 1;
}

.v1e3-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v1e3-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

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

.v1e3-dot.v1e3-active {
  background: var(--v1e3-accent);
  transform: scale(1.2);
}

/* =================== MAIN CONTENT =================== */
.v1e3-main {
  padding-top: 1rem;
  min-height: 60vh;
}

/* Section title */
.v1e3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v1e3-accent);
  margin: 1.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--v1e3-primary-light);
  line-height: 1.4;
}

.v1e3-section-subtitle {
  font-size: 1.4rem;
  color: var(--v1e3-text-muted);
  margin-bottom: 1rem;
}

/* =================== GAME GRID =================== */
.v1e3-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--v1e3-primary-light);
  margin: 1.2rem 0 0.8rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(90deg, rgba(0,100,0,0.25), transparent);
  border-radius: var(--v1e3-radius);
}

.v1e3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.v1e3-game-card {
  background: var(--v1e3-bg-card);
  border-radius: var(--v1e3-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--v1e3-transition);
  border: 1px solid var(--v1e3-border);
}

.v1e3-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--v1e3-primary-light);
  box-shadow: 0 4px 12px rgba(0,100,0,0.3);
}

.v1e3-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.v1e3-game-card-name {
  padding: 0.3rem;
  font-size: 1rem;
  color: var(--v1e3-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* =================== CONTENT BLOCKS =================== */
.v1e3-content-block {
  background: var(--v1e3-bg-card);
  border-radius: var(--v1e3-radius-lg);
  padding: 1.2rem;
  margin: 1rem 0;
  border: 1px solid var(--v1e3-border);
}

.v1e3-content-block h2 {
  font-size: 1.6rem;
  color: var(--v1e3-accent);
  margin-bottom: 0.8rem;
}

.v1e3-content-block h3 {
  font-size: 1.4rem;
  color: var(--v1e3-primary-light);
  margin: 0.8rem 0 0.4rem;
}

.v1e3-content-block p {
  font-size: 1.3rem;
  color: var(--v1e3-text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.v1e3-content-block ul {
  list-style: none;
  padding: 0;
}

.v1e3-content-block ul li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  font-size: 1.3rem;
  line-height: 1.5;
}

.v1e3-content-block ul li::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  background: var(--v1e3-primary-light);
  border-radius: 50%;
}

/* Promo link text style */
.v1e3-promo-text {
  color: var(--v1e3-accent);
  font-weight: 600;
  cursor: pointer;
  display: inline;
  transition: var(--v1e3-transition);
}

.v1e3-promo-text:hover {
  color: var(--v1e3-accent2);
  text-decoration: underline;
}

/* CTA button */
.v1e3-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v1e3-primary), var(--v1e3-primary-light));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: var(--v1e3-transition);
  box-shadow: 0 4px 15px rgba(0,100,0,0.4);
}

.v1e3-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,100,0,0.5);
}

/* Winner showcase */
.v1e3-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--v1e3-border);
}

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

.v1e3-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v1e3-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.v1e3-winner-info {
  flex: 1;
}

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

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

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

/* =================== FOOTER =================== */
.v1e3-footer {
  background: var(--v1e3-bg-light);
  padding: 1.5rem 1rem 2rem;
  margin-top: 2rem;
  border-top: 2px solid var(--v1e3-primary-dark);
}

.v1e3-footer-brand {
  text-align: center;
  margin-bottom: 1rem;
}

.v1e3-footer-brand p {
  font-size: 1.2rem;
  color: var(--v1e3-text-muted);
  line-height: 1.5;
}

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

.v1e3-footer-links a {
  padding: 0.4rem 0.8rem;
  background: var(--v1e3-bg-card);
  border-radius: var(--v1e3-radius);
  font-size: 1.1rem;
  color: var(--v1e3-text);
  border: 1px solid var(--v1e3-border);
  transition: var(--v1e3-transition);
}

.v1e3-footer-links a:hover {
  background: var(--v1e3-primary);
  color: #fff;
}

.v1e3-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--v1e3-text-muted);
  margin-top: 1rem;
}

/* =================== BOTTOM NAV =================== */
.v1e3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--v1e3-bg-light), var(--v1e3-bg));
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1.5px solid var(--v1e3-primary-dark);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

.v1e3-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--v1e3-text-muted);
  transition: var(--v1e3-transition);
  border-radius: var(--v1e3-radius);
  padding: 0.3rem;
}

.v1e3-bottom-nav-item:hover {
  color: var(--v1e3-primary-light);
  transform: scale(1.08);
}

.v1e3-bottom-nav-item.v1e3-nav-active {
  color: var(--v1e3-accent);
}

.v1e3-bottom-nav-item .v1e3-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.v1e3-bottom-nav-item .v1e3-nav-label {
  font-size: 1rem;
  margin-top: 0.2rem;
  font-weight: 500;
}

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

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

/* =================== RESPONSIVE HELPERS =================== */
.v1e3-text-center { text-align: center; }
.v1e3-mt-1 { margin-top: 1rem; }
.v1e3-mb-1 { margin-bottom: 1rem; }
.v1e3-hidden { display: none; }

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

.v1e3-faq-item summary {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--v1e3-text);
  cursor: pointer;
  padding: 0.3rem 0;
  list-style: none;
}

.v1e3-faq-item summary::-webkit-details-marker {
  display: none;
}

.v1e3-faq-item p {
  font-size: 1.2rem;
  color: var(--v1e3-text-muted);
  padding: 0.5rem 0;
  line-height: 1.5;
}

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

.v1e3-payment-item {
  background: var(--v1e3-bg-card);
  padding: 0.6rem 1.2rem;
  border-radius: var(--v1e3-radius);
  font-size: 1.2rem;
  color: var(--v1e3-text);
  border: 1px solid var(--v1e3-border);
}

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

.v1e3-app-cta h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.v1e3-app-cta p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

/* Testimonial card */
.v1e3-testimonial {
  background: var(--v1e3-bg-card);
  border-radius: var(--v1e3-radius-lg);
  padding: 1rem;
  margin: 0.6rem 0;
  border-left: 3px solid var(--v1e3-primary-light);
}

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

.v1e3-testimonial-author {
  font-size: 1.1rem;
  color: var(--v1e3-text-muted);
  margin-top: 0.4rem;
  text-align: right;
}
