/**
 * Arena Plus APK - Core Stylesheet
 * File: css/theme-543e.css
 * Prefix: ve45-
 * Color Palette: #FFE135 | #F0E68C | #00695C | #FF8C00 | #2C2C2C
 */

/* === CSS Variables === */
:root {
  --ve45-primary: #FFE135;
  --ve45-secondary: #F0E68C;
  --ve45-accent: #00695C;
  --ve45-orange: #FF8C00;
  --ve45-dark: #2C2C2C;
  --ve45-bg: #1a1a2e;
  --ve45-card-bg: #16213e;
  --ve45-text: #F0E68C;
  --ve45-text-light: #ffffff;
  --ve45-border: rgba(255, 225, 53, 0.15);
  --ve45-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --ve45-radius: 10px;
  --ve45-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  background: var(--ve45-bg);
  color: var(--ve45-text-light);
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.ve45-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(135deg, var(--ve45-dark) 0%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 2px solid var(--ve45-primary);
}
.ve45-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ve45-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.ve45-site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ve45-primary);
  letter-spacing: 0.5px;
}
.ve45-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ve45-btn-register, .ve45-btn-login {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--ve45-transition);
}
.ve45-btn-register {
  background: linear-gradient(135deg, var(--ve45-orange), #e65100);
  color: #fff;
}
.ve45-btn-login {
  background: transparent;
  color: var(--ve45-primary);
  border: 1.5px solid var(--ve45-primary);
}
.ve45-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 10px rgba(255, 140, 0, 0.4); }
.ve45-btn-login:hover { background: rgba(255, 225, 53, 0.1); }
.ve45-menu-toggle {
  background: none;
  border: none;
  color: var(--ve45-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.ve45-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, var(--ve45-dark) 0%, #0f3460 100%);
  z-index: 9999;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--ve45-transition);
  padding: 20px 0;
  overflow-y: auto;
}
.ve45-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ve45-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--ve45-border);
  margin-bottom: 10px;
}
.ve45-menu-close {
  background: none;
  border: none;
  color: var(--ve45-primary);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: auto;
}
.ve45-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--ve45-text-light);
  font-size: 1.4rem;
  transition: var(--ve45-transition);
  border-left: 3px solid transparent;
}
.ve45-menu-nav a:hover {
  background: rgba(255, 225, 53, 0.08);
  border-left-color: var(--ve45-primary);
  color: var(--ve45-primary);
}

/* === Bottom Navigation === */
.ve45-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(180deg, #0f3460, var(--ve45-dark));
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--ve45-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.ve45-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--ve45-text);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ve45-transition);
  padding: 4px 0;
  gap: 2px;
}
.ve45-bottom-nav-btn i,
.ve45-bottom-nav-btn .material-icons-outlined,
.ve45-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.ve45-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}
.ve45-bottom-nav-btn:hover,
.ve45-bottom-nav-active {
  color: var(--ve45-primary);
  transform: scale(1.05);
}
.ve45-bottom-nav-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ve45-primary);
  border-radius: 2px;
  margin-top: 2px;
}

/* === Main Content === */
.ve45-main {
  padding-top: 60px;
  padding-bottom: 20px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .ve45-main { padding-bottom: 80px; }
}

/* === Carousel === */
.ve45-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}
.ve45-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.ve45-carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}
.ve45-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.ve45-carousel-active { opacity: 1; position: relative; }
.ve45-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.ve45-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--ve45-transition);
}
.ve45-carousel-dot-active {
  background: var(--ve45-primary);
  width: 20px;
  border-radius: 4px;
}

/* === Section Styles === */
.ve45-section {
  padding: 16px 12px;
}
.ve45-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ve45-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ve45-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ve45-section-title i { font-size: 2rem; }

/* === Game Grid === */
.ve45-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ve45-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--ve45-transition);
  border-radius: var(--ve45-radius);
  padding: 6px;
  background: var(--ve45-card-bg);
  border: 1px solid var(--ve45-border);
}
.ve45-game-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 225, 53, 0.15);
  border-color: var(--ve45-primary);
}
.ve45-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 4px;
}
.ve45-game-item span {
  font-size: 1.1rem;
  color: var(--ve45-text-light);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Cards === */
.ve45-card {
  background: var(--ve45-card-bg);
  border-radius: var(--ve45-radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--ve45-border);
  transition: var(--ve45-transition);
}
.ve45-card:hover {
  border-color: rgba(255, 225, 53, 0.3);
}
.ve45-card h3 {
  font-size: 1.5rem;
  color: var(--ve45-primary);
  margin-bottom: 8px;
}
.ve45-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: #ccc;
}

/* === Promo Button === */
.ve45-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--ve45-orange), #e65100);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--ve45-transition);
  text-align: center;
}
.ve45-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}
.ve45-promo-link {
  color: var(--ve45-primary);
  font-weight: 600;
  border-bottom: 1px dashed var(--ve45-primary);
  cursor: pointer;
  transition: var(--ve45-transition);
}
.ve45-promo-link:hover {
  color: var(--ve45-orange);
  border-bottom-color: var(--ve45-orange);
}

/* === Footer === */
.ve45-footer {
  background: var(--ve45-dark);
  padding: 20px 12px;
  border-top: 2px solid var(--ve45-primary);
}
.ve45-footer-brand {
  font-size: 1.3rem;
  color: #aaa;
  line-height: 1.8rem;
  margin-bottom: 12px;
}
.ve45-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ve45-footer-links a {
  padding: 5px 12px;
  background: var(--ve45-card-bg);
  border: 1px solid var(--ve45-border);
  border-radius: 15px;
  font-size: 1.1rem;
  color: var(--ve45-text);
  transition: var(--ve45-transition);
}
.ve45-footer-links a:hover {
  color: var(--ve45-primary);
  border-color: var(--ve45-primary);
}
.ve45-footer-copy {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

/* === RTP Table === */
.ve45-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.ve45-rtp-table th {
  background: var(--ve45-accent);
  color: var(--ve45-primary);
  padding: 8px 6px;
  text-align: left;
  font-size: 1.1rem;
}
.ve45-rtp-table td {
  padding: 6px;
  border-bottom: 1px solid var(--ve45-border);
  color: #ccc;
}

/* === Testimonial === */
.ve45-testimonial {
  background: var(--ve45-card-bg);
  border-radius: var(--ve45-radius);
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--ve45-primary);
}
.ve45-testimonial p { font-size: 1.2rem; font-style: italic; color: #ccc; }
.ve45-testimonial cite { font-size: 1.1rem; color: var(--ve45-orange); display: block; margin-top: 4px; }

/* === Winner Showcase === */
.ve45-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--ve45-card-bg);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--ve45-border);
}
.ve45-winner-item img { width: 36px; height: 36px; border-radius: 50%; }
.ve45-winner-info { flex: 1; }
.ve45-winner-info span { display: block; font-size: 1.1rem; }
.ve45-winner-amount { color: var(--ve45-primary); font-weight: 700; font-size: 1.3rem; }

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

/* === Payment Icons === */
.ve45-payment-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.ve45-payment-item {
  background: var(--ve45-card-bg);
  border: 1px solid var(--ve45-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--ve45-text);
}

/* === FAQ Section === */
.ve45-faq-item {
  background: var(--ve45-card-bg);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--ve45-border);
}
.ve45-faq-item h4 {
  color: var(--ve45-primary);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.ve45-faq-item p {
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.7rem;
}

/* === Badge === */
.ve45-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--ve45-accent);
  color: var(--ve45-primary);
  font-size: 1rem;
  border-radius: 4px;
  font-weight: 600;
}

/* === Highlight Box === */
.ve45-highlight-box {
  background: linear-gradient(135deg, rgba(0, 105, 92, 0.3), rgba(255, 140, 0, 0.2));
  border: 1px solid var(--ve45-accent);
  border-radius: var(--ve45-radius);
  padding: 14px;
  text-align: center;
  margin: 12px 0;
}
.ve45-highlight-box h3 { color: var(--ve45-primary); font-size: 1.6rem; margin-bottom: 6px; }
.ve45-highlight-box p { color: #ccc; font-size: 1.3rem; }

/* === Achievements === */
.ve45-achievement {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--ve45-card-bg);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--ve45-border);
}
.ve45-achievement i { font-size: 2rem; color: var(--ve45-orange); }
.ve45-achievement span { font-size: 1.2rem; color: var(--ve45-text-light); }

/* === Internal Link Style === */
.ve45-internal-link {
  color: var(--ve45-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--ve45-transition);
}
.ve45-internal-link:hover {
  color: var(--ve45-orange);
}
