/* gamecock.cfd - theme.css
   All custom classes use the "veba-" prefix.
   Mobile-first: optimized up to 430px wide.
   Palette: dark #2C2C2C background + #006400 brand green. */

:root {
  --veba-primary: #006400;
  --veba-primary-dark: #004a00;
  --veba-primary-light: #2e8b2e;
  --veba-bg: #2C2C2C;
  --veba-bg-alt: #1f1f1f;
  --veba-bg-card: #3a3a3a;
  --veba-text: #f5f5f5;
  --veba-text-muted: #c0c0c0;
  --veba-accent: #ffd700;
  --veba-danger: #d9534f;
  --veba-border: rgba(255, 255, 255, 0.08);
  --veba-radius: 12px;
  --veba-radius-sm: 8px;
  --veba-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  --veba-header-h: 56px;
  --veba-bottom-h: 62px;
  --veba-transition: all 0.25s ease;
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--veba-bg);
  color: var(--veba-text);
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--veba-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.veba-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.veba-wrapper { width: 100%; min-height: 100vh; position: relative; }

/* ===== Header ===== */
.veba-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--veba-header-h);
  background: var(--veba-bg-alt);
  border-bottom: 1px solid var(--veba-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.veba-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--veba-text); }
.veba-logo img { width: 28px; height: 28px; border-radius: 6px; }
.veba-logo span { font-size: 1.6rem; font-weight: 700; color: var(--veba-primary-light); letter-spacing: 0.3px; }

.veba-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.veba-menu-toggle {
  background: transparent; border: none; color: var(--veba-text);
  font-size: 2.2rem; cursor: pointer; padding: 0 0.4rem; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

.veba-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; border: none; border-radius: var(--veba-radius-sm);
  font-size: 1.35rem; font-weight: 600; cursor: pointer;
  min-height: 38px; transition: var(--veba-transition); text-decoration: none;
}
.veba-btn:hover { transform: translateY(-1px); text-decoration: none; }
.veba-btn-primary { background: var(--veba-primary); color: #fff; }
.veba-btn-primary:hover { background: var(--veba-primary-light); }
.veba-btn-outline { background: transparent; color: var(--veba-text); border: 1px solid var(--veba-primary-light); }
.veba-btn-outline:hover { background: rgba(0,100,0,0.18); }
.veba-btn-ghost { background: var(--veba-bg-card); color: var(--veba-text); }
.veba-btn-ghost:hover { background: #4a4a4a; }

.veba-header .veba-btn { padding: 0.45rem 0.9rem; font-size: 1.3rem; }

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

.veba-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px; height: 100%;
  background: var(--veba-bg-alt); z-index: 9999; padding: 1.5rem 1.2rem;
  transform: translateX(0); transition: transform 0.3s ease; overflow-y: auto;
  border-left: 1px solid var(--veba-border);
}
.veba-mobile-menu.veba-menu-open { transform: translateX(-100%); }
.veba-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.veba-menu-close { background: transparent; border: none; color: var(--veba-text); font-size: 2.2rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.veba-mobile-menu ul { list-style: none; }
.veba-mobile-menu li { margin-bottom: 0.4rem; }
.veba-mobile-menu a {
  display: block; padding: 1rem 0.8rem; color: var(--veba-text);
  border-radius: var(--veba-radius-sm); font-size: 1.5rem;
}
.veba-mobile-menu a:hover { background: var(--veba-bg-card); text-decoration: none; }

/* ===== Main content ===== */
.veba-main { padding-top: var(--veba-header-h); }

/* ===== Carousel ===== */
.veba-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--veba-radius); margin: 1rem 0; }
.veba-carousel-track { display: flex; transition: transform 0.5s ease; }
.veba-carousel-slide { min-width: 100%; position: relative; flex-shrink: 0; }
.veba-carousel-slide img { width: 100%; height: auto; cursor: pointer; }
.veba-carousel-caption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(0,0,0,0.55); padding: 0.8rem; border-radius: var(--veba-radius-sm); }
.veba-carousel-caption h3 { font-size: 1.6rem; color: #fff; margin-bottom: 0.3rem; }
.veba-carousel-caption p { font-size: 1.2rem; color: var(--veba-text-muted); }
.veba-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; transition: background 0.2s ease; }
.veba-carousel-dots { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 2; }
.veba-carousel-dot.veba-active { background: var(--veba-primary-light); }

/* ===== Sections ===== */
.veba-section { padding: 1.6rem 0; }
.veba-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.veba-section-title { font-size: 1.8rem; font-weight: 700; color: var(--veba-text); border-left: 4px solid var(--veba-primary-light); padding-left: 0.7rem; }
.veba-section-title small { display: block; font-size: 1.2rem; color: var(--veba-text-muted); font-weight: 400; margin-top: 0.2rem; }
.veba-more-link { font-size: 1.25rem; color: var(--veba-primary-light); }

/* ===== Game grid (compact icon layout) ===== */
.veba-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.veba-game-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.veba-game-item a { display: block; width: 100%; }
.veba-game-thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--veba-radius-sm); overflow: hidden; background: var(--veba-bg-card); border: 1px solid var(--veba-border); transition: var(--veba-transition); }
.veba-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.veba-game-item:hover .veba-game-thumb { border-color: var(--veba-primary-light); transform: translateY(-2px); }
.veba-game-name { font-size: 1.15rem; color: var(--veba-text); margin-top: 0.35rem; line-height: 1.25; word-break: break-word; }
.veba-game-cat-tag { display: inline-block; font-size: 1rem; color: var(--veba-primary-light); margin-top: 0.15rem; }

/* ===== Category highlight row ===== */
.veba-cat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.veba-cat-card { background: var(--veba-bg-card); border-radius: var(--veba-radius); padding: 1rem; text-align: center; border: 1px solid var(--veba-border); transition: var(--veba-transition); cursor: pointer; }
.veba-cat-card:hover { border-color: var(--veba-primary-light); transform: translateY(-2px); }
.veba-cat-card i { font-size: 2.2rem; color: var(--veba-primary-light); margin-bottom: 0.4rem; }
.veba-cat-card h3 { font-size: 1.35rem; color: var(--veba-text); margin-bottom: 0.2rem; }
.veba-cat-card p { font-size: 1.1rem; color: var(--veba-text-muted); }

/* ===== Info cards / features ===== */
.veba-card { background: var(--veba-bg-card); border-radius: var(--veba-radius); padding: 1.1rem; border: 1px solid var(--veba-border); }
.veba-card h3 { font-size: 1.5rem; color: var(--veba-primary-light); margin-bottom: 0.5rem; }
.veba-card p { font-size: 1.3rem; color: var(--veba-text-muted); line-height: 1.5; }
.veba-card ul { list-style: none; padding-left: 0; }
.veba-card li { padding: 0.4rem 0; font-size: 1.3rem; color: var(--veba-text); }
.veba-feature-row { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.veba-feature-item { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem; background: var(--veba-bg-card); border-radius: var(--veba-radius-sm); border: 1px solid var(--veba-border); }
.veba-feature-item i { font-size: 2rem; color: var(--veba-primary-light); flex-shrink: 0; }
.veba-feature-item h4 { font-size: 1.4rem; color: var(--veba-text); margin-bottom: 0.2rem; }
.veba-feature-item p { font-size: 1.25rem; color: var(--veba-text-muted); }

/* ===== Promo CTA banner ===== */
.veba-cta { background: linear-gradient(135deg, var(--veba-primary-dark), var(--veba-primary-light)); border-radius: var(--veba-radius); padding: 1.4rem; text-align: center; margin: 1.2rem 0; }
.veba-cta h3 { font-size: 1.7rem; color: #fff; margin-bottom: 0.4rem; }
.veba-cta p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 0.8rem; }
.veba-cta .veba-btn { background: #fff; color: var(--veba-primary-dark); font-size: 1.4rem; }

/* ===== Testimonials ===== */
.veba-testimonial { background: var(--veba-bg-card); border-radius: var(--veba-radius); padding: 1.1rem; border-left: 3px solid var(--veba-primary-light); margin-bottom: 0.7rem; }
.veba-testimonial p { font-size: 1.3rem; color: var(--veba-text); margin-bottom: 0.4rem; }
.veba-testimonial .veba-testi-name { font-size: 1.15rem; color: var(--veba-primary-light); font-weight: 600; }
.veba-stars { color: var(--veba-accent); font-size: 1.2rem; margin-bottom: 0.2rem; }

/* ===== Winners ===== */
.veba-winner-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.veba-winner { background: var(--veba-bg-card); padding: 0.5rem 0.9rem; border-radius: 20px; font-size: 1.15rem; color: var(--veba-text); border: 1px solid var(--veba-border); }
.veba-winner b { color: var(--veba-accent); }

/* ===== Payment methods ===== */
.veba-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.veba-payment { background: #fff; color: #2C2C2C; padding: 0.4rem 0.9rem; border-radius: var(--veba-radius-sm); font-size: 1.2rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }

/* ===== Achievements ===== */
.veba-achv-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.veba-achv { background: var(--veba-bg-card); padding: 0.9rem; border-radius: var(--veba-radius-sm); text-align: center; border: 1px solid var(--veba-border); }
.veba-achv .veba-achv-num { font-size: 2rem; font-weight: 700; color: var(--veba-accent); }
.veba-achv .veba-achv-label { font-size: 1.1rem; color: var(--veba-text-muted); }

/* ===== RTP table ===== */
.veba-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.veba-rtp-table th, .veba-rtp-table td { padding: 0.6rem 0.5rem; text-align: left; border-bottom: 1px solid var(--veba-border); }
.veba-rtp-table th { color: var(--veba-primary-light); font-size: 1.2rem; }
.veba-rtp-table td .veba-rtp-val { color: var(--veba-accent); font-weight: 600; }

/* ===== FAQ ===== */
.veba-faq-item { background: var(--veba-bg-card); border-radius: var(--veba-radius-sm); margin-bottom: 0.6rem; border: 1px solid var(--veba-border); overflow: hidden; }
.veba-faq-item details { padding: 0.9rem 1rem; }
.veba-faq-item summary { font-size: 1.35rem; color: var(--veba-text); cursor: pointer; font-weight: 600; list-style: none; }
.veba-faq-item summary::-webkit-details-marker { display: none; }
.veba-faq-item p { font-size: 1.25rem; color: var(--veba-text-muted); margin-top: 0.5rem; line-height: 1.5; }

/* ===== Footer ===== */
.veba-footer { background: var(--veba-bg-alt); border-top: 1px solid var(--veba-border); padding: 1.6rem 0 2rem; margin-top: 1.5rem; }
.veba-footer .veba-footer-brand { font-size: 1.3rem; color: var(--veba-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.veba-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0.8rem 0; }
.veba-footer-links a { color: var(--veba-text); font-size: 1.2rem; text-decoration: underline; }
.veba-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.veba-footer-copy { font-size: 1.1rem; color: var(--veba-text-muted); margin-top: 0.8rem; }

/* ===== Bottom nav ===== */
.veba-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--veba-bottom-h); background: var(--veba-bg-alt);
  border-top: 1px solid var(--veba-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.35);
}
.veba-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--veba-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  cursor: pointer; transition: var(--veba-transition); padding: 0.3rem;
}
.veba-bottom-nav-btn i, .veba-bottom-nav-btn ion-icon, .veba-bottom-nav-btn .material-icons-outlined { font-size: 22px; }
.veba-bottom-nav-btn span { font-size: 1.05rem; line-height: 1; }
.veba-bottom-nav-btn:hover { color: var(--veba-primary-light); transform: translateY(-2px); }
.veba-bottom-nav-btn.veba-active { color: var(--veba-primary-light); }
.veba-bottom-nav-btn.veba-active::before {
  content: ''; position: absolute; top: 0; width: 30px; height: 3px;
  background: var(--veba-primary-light); border-radius: 0 0 4px 4px;
}
.veba-bottom-nav-btn { position: relative; }

/* ===== Mobile bottom padding ===== */
@media (max-width: 768px) {
  .veba-main { padding-bottom: 80px; }
  .veba-footer { padding-bottom: 5rem; }
}

/* ===== Desktop: hide bottom nav, widen container ===== */
@media (min-width: 769px) {
  .veba-bottom-nav { display: none; }
  .veba-container { max-width: 960px; }
  .veba-game-grid { grid-template-columns: repeat(6, 1fr); }
  .veba-cat-row { grid-template-columns: repeat(5, 1fr); }
  .veba-feature-row { grid-template-columns: repeat(2, 1fr); }
  .veba-achv-row { grid-template-columns: repeat(4, 1fr); }
  .veba-header .veba-menu-toggle { display: none; }
}

/* ===== Utilities ===== */
.veba-text-promo { color: var(--veba-primary-light); font-weight: 600; }
.veba-text-muted { color: var(--veba-text-muted); }
.veba-mt-1 { margin-top: 0.6rem; }
.veba-mt-2 { margin-top: 1.2rem; }
.veba-mb-2 { margin-bottom: 1.2rem; }
.veba-text-center { text-align: center; }
