/* layout-a2e2.css - Stylesheet for 2222 bet login website */
/* All classes use prefix "pga2-" for namespace isolation */

:root {
  --pga2-primary: #BDC3C7;
  --pga2-bg: #0A0A0A;
  --pga2-text: #BDC3C7;
  --pga2-accent: #E8B84B;
  --pga2-accent2: #4CAF50;
  --pga2-card-bg: #1A1A1A;
  --pga2-border: #2A2A2A;
  --pga2-hover: #D5D8DB;
  --pga2-gradient: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 100%);
  --pga2-font: 'Segoe UI', 'Noto Sans Bengali', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--pga2-font);
  background: var(--pga2-gradient);
  color: var(--pga2-text);
  line-height: 1.5rem;
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.pga2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pga2-border);
  padding: 0 1.2rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pga2-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

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

.pga2-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.pga2-header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.pga2-btn-register, .pga2-btn-login {
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

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

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

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

.pga2-btn-login:hover { background: var(--pga2-primary); color: #000; }

.pga2-menu-btn {
  background: transparent;
  border: none;
  color: var(--pga2-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.pga2-mobile-menu {
  position: fixed;
  top: 5.6rem;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(10,10,10,0.98);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-bottom: 1px solid var(--pga2-border);
}

.pga2-menu-open { max-height: 50rem; }

.pga2-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 2rem;
  color: var(--pga2-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pga2-border);
  transition: background 0.2s;
}

.pga2-mobile-menu a:hover { background: rgba(189,195,199,0.1); }

/* Bottom Navigation */
.pga2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: #111;
  border-top: 1px solid var(--pga2-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.4rem;
}

.pga2-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  color: #777;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  padding: 0.4rem 0;
}

.pga2-nav-item:hover, .pga2-nav-item.pga2-active { color: var(--pga2-accent); }

.pga2-nav-item i, .pga2-nav-item .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

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

/* Main Content */
.pga2-main {
  padding-top: 6.8rem;
  padding-bottom: 2rem;
}

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

/* Carousel */
.pga2-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

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

.pga2-slide-active { display: block; }

.pga2-slide img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.pga2-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

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

.pga2-dot-active { background: var(--pga2-accent); }

/* Sections */
.pga2-section {
  padding: 2rem 1.2rem;
  margin-bottom: 1rem;
}

.pga2-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pga2-section-title i {
  color: var(--pga2-accent);
}

/* Game Grid */
.pga2-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.pga2-game-card {
  background: var(--pga2-card-bg);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--pga2-border);
}

.pga2-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(232,184,75,0.2);
}

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

.pga2-game-name {
  padding: 0.5rem;
  font-size: 1.1rem;
  color: var(--pga2-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Promo Buttons */
.pga2-promo-btn {
  display: inline-block;
  background: var(--pga2-accent);
  color: #000;
  padding: 1rem 2.4rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.pga2-promo-btn:hover { background: #f0c95c; transform: scale(1.05); }

.pga2-promo-text {
  color: var(--pga2-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Content Styles */
.pga2-content {
  padding: 1.5rem 1.2rem;
  font-size: 1.3rem;
  line-height: 1.8;
}

.pga2-content h2 {
  font-size: 1.7rem;
  color: #fff;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pga2-accent);
}

.pga2-content h3 {
  font-size: 1.5rem;
  color: var(--pga2-accent);
  margin: 1.5rem 0 0.8rem;
}

.pga2-content p {
  margin-bottom: 1rem;
  color: var(--pga2-text);
}

.pga2-content ul, .pga2-content ol {
  margin: 0.8rem 0 1rem 1.5rem;
}

.pga2-content li {
  margin-bottom: 0.5rem;
  color: var(--pga2-text);
}

.pga2-content a {
  color: var(--pga2-accent);
  text-decoration: underline;
}

/* Footer */
.pga2-footer {
  background: #111;
  padding: 2rem 1.2rem;
  border-top: 1px solid var(--pga2-border);
}

.pga2-footer-brand {
  font-size: 1.3rem;
  color: var(--pga2-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pga2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.pga2-footer-link {
  padding: 0.6rem 1.2rem;
  background: var(--pga2-card-bg);
  border: 1px solid var(--pga2-border);
  border-radius: 2rem;
  color: var(--pga2-text);
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.pga2-footer-link:hover { border-color: var(--pga2-accent); color: var(--pga2-accent); }

.pga2-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-top: 1rem;
}

/* FAQ */
.pga2-faq-item {
  background: var(--pga2-card-bg);
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pga2-border);
  overflow: hidden;
}

.pga2-faq-q {
  padding: 1.2rem 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pga2-faq-a {
  padding: 0 1.5rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pga2-text);
  line-height: 1.6;
  display: none;
}

.pga2-faq-item.open .pga2-faq-a { display: block; }

/* Scroll to Top */
.pga2-scroll-top {
  position: fixed;
  bottom: 76px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--pga2-accent);
  color: #000;
  border-radius: 50%;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive */
@media (min-width: 769px) {
  .pga2-bottom-nav { display: none; }
  .pga2-menu-btn { display: none; }
}

@media (max-width: 768px) {
  .pga2-desktop-nav { display: none; }
}

/* Utility */
.pga2-text-center { text-align: center; }
.pga2-mt-1 { margin-top: 1rem; }
.pga2-mb-2 { margin-bottom: 2rem; }
.pga2-pb-8 { padding-bottom: 8rem; }