/* GPerya App - Theme Stylesheet */
/* Class prefix: ve7a- */
/* Color palette: #0D1117 | #40E0D0 | #FFB74D | #F08080 | #B03060 | #DEE2E6 */
/* Mobile-first design, max-width 430px */

/* === CSS Variables === */
:root {
  --ve7a-bg-dark: #0D1117;
  --ve7a-teal: #40E0D0;
  --ve7a-gold: #FFB74D;
  --ve7a-coral: #F08080;
  --ve7a-berry: #B03060;
  --ve7a-light: #DEE2E6;
  --ve7a-bg-card: #161B22;
  --ve7a-bg-card-hover: #1C2333;
  --ve7a-border: #2D333B;
  --ve7a-text-muted: #8B949E;
  --ve7a-gradient-hero: linear-gradient(135deg, #0D1117 0%, #1a1f2e 100%);
  --ve7a-gradient-btn: linear-gradient(135deg, #B03060 0%, #F08080 100%);
  --ve7a-gradient-gold: linear-gradient(135deg, #FFB74D 0%, #FF8C00 100%);
  --ve7a-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --ve7a-shadow-glow: 0 0 20px rgba(64, 224, 208, 0.15);
  --ve7a-radius: 8px;
  --ve7a-radius-lg: 12px;
  font-size: 62.5%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--ve7a-bg-dark);
  color: var(--ve7a-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--ve7a-teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--ve7a-gold); }

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

/* === Header === */
.ve7a-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 1px solid var(--ve7a-border);
}

.ve7a-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.ve7a-site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ve7a-teal);
  white-space: nowrap;
}

.ve7a-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ve7a-btn-register {
  background: var(--ve7a-gradient-btn);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--ve7a-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ve7a-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(176, 48, 96, 0.4);
}

.ve7a-btn-login {
  background: transparent;
  color: var(--ve7a-teal);
  border: 1px solid var(--ve7a-teal);
  padding: 0.45rem 0.9rem;
  border-radius: var(--ve7a-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ve7a-btn-login:hover {
  background: rgba(64, 224, 208, 0.1);
}

.ve7a-menu-toggle {
  background: none;
  border: none;
  color: var(--ve7a-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* === Mobile Menu === */
.ve7a-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.ve7a-overlay-active {
  opacity: 1;
  visibility: visible;
}

.ve7a-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--ve7a-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

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

.ve7a-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--ve7a-border);
}

.ve7a-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ve7a-teal);
}

.ve7a-menu-close {
  background: none;
  border: none;
  color: var(--ve7a-light);
  font-size: 2rem;
  cursor: pointer;
}

.ve7a-menu-links {
  list-style: none;
  padding: 0.5rem 0;
}

.ve7a-menu-links li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--ve7a-light);
  font-size: 1.4rem;
  transition: background 0.2s, color 0.2s;
}
.ve7a-menu-links li a:hover {
  background: var(--ve7a-bg-card-hover);
  color: var(--ve7a-teal);
}
.ve7a-menu-links li a i {
  width: 24px;
  text-align: center;
  font-size: 1.6rem;
}

/* === Main Content === */
.ve7a-main {
  padding-top: 56px;
  min-height: 100vh;
}

/* === Carousel === */
.ve7a-carousel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ve7a-slide {
  display: none;
  width: 100%;
}

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

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

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

.ve7a-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.ve7a-dot-active {
  background: var(--ve7a-teal);
  transform: scale(1.3);
}

/* === Section Containers === */
.ve7a-section {
  padding: 2rem 1.2rem;
}

.ve7a-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ve7a-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ve7a-teal);
}

.ve7a-section-title i {
  margin-right: 0.5rem;
  color: var(--ve7a-gold);
}

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

.ve7a-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.4rem;
  border-radius: var(--ve7a-radius);
}
.ve7a-game-item:hover {
  transform: translateY(-2px);
  background: var(--ve7a-bg-card-hover);
}

.ve7a-game-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--ve7a-radius);
  object-fit: cover;
  border: 2px solid var(--ve7a-border);
  transition: border-color 0.2s;
}
.ve7a-game-item:hover .ve7a-game-icon {
  border-color: var(--ve7a-teal);
}

.ve7a-game-name {
  font-size: 1.1rem;
  color: var(--ve7a-text-muted);
  margin-top: 0.4rem;
  line-height: 1.3rem;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Cards === */
.ve7a-card {
  background: var(--ve7a-bg-card);
  border: 1px solid var(--ve7a-border);
  border-radius: var(--ve7a-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  transition: border-color 0.2s;
}
.ve7a-card:hover {
  border-color: var(--ve7a-teal);
}

.ve7a-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ve7a-gold);
  margin-bottom: 0.8rem;
}

.ve7a-card p {
  color: var(--ve7a-text-muted);
  line-height: 1.6;
  font-size: 1.3rem;
}

/* === Promo Buttons === */
.ve7a-promo-btn {
  display: inline-block;
  background: var(--ve7a-gradient-btn);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--ve7a-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ve7a-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(176, 48, 96, 0.5);
}

.ve7a-promo-btn-gold {
  background: var(--ve7a-gradient-gold);
  color: #0D1117;
}

.ve7a-promo-btn-teal {
  background: linear-gradient(135deg, #40E0D0 0%, #00BFA5 100%);
  color: #0D1117;
}

/* === Promo Text Links === */
.ve7a-promo-link {
  color: var(--ve7a-teal);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.ve7a-promo-link:hover {
  color: var(--ve7a-gold);
}

/* === FAQ Section === */
.ve7a-faq-item {
  background: var(--ve7a-bg-card);
  border: 1px solid var(--ve7a-border);
  border-radius: var(--ve7a-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}

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

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

/* === Testimonial === */
.ve7a-testimonial {
  background: var(--ve7a-bg-card);
  border-left: 3px solid var(--ve7a-teal);
  border-radius: 0 var(--ve7a-radius) var(--ve7a-radius) 0;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}

.ve7a-testimonial-author {
  font-weight: 700;
  color: var(--ve7a-teal);
  font-size: 1.3rem;
}

.ve7a-testimonial-text {
  color: var(--ve7a-text-muted);
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

/* === Payment Icons === */
.ve7a-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

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

/* === Winners === */
.ve7a-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--ve7a-bg-card);
  border-radius: var(--ve7a-radius);
  margin-bottom: 0.5rem;
  border: 1px solid var(--ve7a-border);
}

.ve7a-winner-name {
  color: var(--ve7a-teal);
  font-weight: 600;
  font-size: 1.3rem;
}

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

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

/* === Footer === */
.ve7a-footer {
  background: var(--ve7a-bg-card);
  border-top: 1px solid var(--ve7a-border);
  padding: 2rem 1.2rem 1.5rem;
}

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

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

.ve7a-footer-link {
  background: var(--ve7a-bg-card-hover);
  border: 1px solid var(--ve7a-border);
  color: var(--ve7a-teal);
  padding: 0.4rem 0.8rem;
  border-radius: var(--ve7a-radius);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}
.ve7a-footer-link:hover {
  border-color: var(--ve7a-teal);
  background: rgba(64, 224, 208, 0.1);
}

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

/* === Bottom Navigation === */
.ve7a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: rgba(22, 27, 34, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--ve7a-border);
}

.ve7a-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--ve7a-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}
.ve7a-bottom-nav-btn:active {
  transform: scale(0.9);
}

.ve7a-bottom-nav-btn i,
.ve7a-bottom-nav-btn .material-icons,
.ve7a-bottom-nav-btn ion-icon,
.ve7a-bottom-nav-btn .bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.ve7a-bottom-nav-btn span {
  font-size: 10px;
  line-height: 1;
}

.ve7a-nav-active {
  color: var(--ve7a-teal) !important;
}
.ve7a-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--ve7a-teal);
  border-radius: 2px;
}

/* === CTA Section === */
.ve7a-cta-box {
  background: linear-gradient(135deg, var(--ve7a-berry) 0%, #8B1A4A 100%);
  border-radius: var(--ve7a-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.ve7a-cta-box h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.ve7a-cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* === Feature List === */
.ve7a-feature-list {
  list-style: none;
}

.ve7a-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--ve7a-border);
}

.ve7a-feature-list li:last-child {
  border-bottom: none;
}

.ve7a-feature-list li i {
  color: var(--ve7a-teal);
  font-size: 1.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ve7a-feature-list li span {
  font-size: 1.3rem;
  color: var(--ve7a-text-muted);
  line-height: 1.5;
}

/* === Steps === */
.ve7a-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ve7a-step-num {
  background: var(--ve7a-gradient-btn);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ve7a-step-text {
  font-size: 1.3rem;
  color: var(--ve7a-text-muted);
  line-height: 1.5;
}

/* === Internal Link Style === */
.ve7a-internal-link {
  color: var(--ve7a-gold);
  text-decoration: underline;
  font-weight: 500;
}

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

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