/* iwin clud - theme-ae30.css | Palette: #8B4513 | #DEB887 | #CD853F | #212F3D | #EEE8AA | All classes use v070- prefix */

/* Design tokens */
:root {
  --v070-primary: #8B4513;
  --v070-secondary: #DEB887;
  --v070-accent: #CD853F;
  --v070-bg: #212F3D;
  --v070-light: #EEE8AA;
  --v070-text: #EEE8AA;
  --v070-text-muted: #DEB887;
  --v070-card-bg: #2c3a4a;
  --v070-card-border: #3a4a5c;
  --v070-gold: #EEE8AA;
  --v070-cream: #DEB887;
  --v070-wood: #CD853F;
  --v070-dark: #212F3D;
  --v070-radius: 12px;
  --v070-radius-sm: 8px;
  --v070-header-h: 56px;
  --v070-bottom-h: 62px;
  --v070-shadow: 0 4px 14px rgba(0,0,0,0.35);
  --v070-transition: all 0.25s ease;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: var(--v070-light); text-decoration: none; }
a:hover { color: #fff; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Layout helpers */
.v070-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; position: relative; }
.v070-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.v070-section { padding: 22px 0; }
.v070-section-alt { background: #1c2833; }

/* Header */
.v070-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v070-header-h);
  background: linear-gradient(90deg, #1c2833 0%, #212F3D 50%, #1c2833 100%);
  border-bottom: 2px solid var(--v070-primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.v070-header-inner {
  max-width: 430px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.v070-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--v070-light);
  font-weight: 700; font-size: 1.7rem;
  letter-spacing: 0.3px;
}
.v070-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v070-logo-text { color: var(--v070-gold); }
.v070-header-actions { display: flex; align-items: center; gap: 8px; }
.v070-hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  color: var(--v070-gold); font-size: 2rem;
}
.v070-hamburger i { line-height: 1; }

/* Buttons */
.v070-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--v070-radius-sm);
  font-size: 1.3rem; font-weight: 600;
  transition: var(--v070-transition);
  min-height: 36px; white-space: nowrap;
}
.v070-btn-primary {
  background: linear-gradient(135deg, var(--v070-primary), var(--v070-accent));
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,69,19,0.4);
}
.v070-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(205,133,63,0.6); color: #fff; }
.v070-btn-login {
  background: transparent; color: var(--v070-gold);
  border: 1px solid var(--v070-accent);
}
.v070-btn-login:hover { background: var(--v070-accent); color: #fff; }
.v070-btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--v070-radius);
  background: linear-gradient(135deg, var(--v070-primary), var(--v070-accent));
  color: #fff; font-weight: 700; font-size: 1.5rem;
  box-shadow: var(--v070-shadow);
  transition: var(--v070-transition);
  min-height: 44px;
}
.v070-btn-cta:hover { transform: translateY(-2px) scale(1.02); color: #fff; }
.v070-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--v070-radius-sm);
  border: 1.5px solid var(--v070-accent);
  color: var(--v070-gold); font-weight: 600;
  transition: var(--v070-transition); min-height: 42px;
}
.v070-btn-outline:hover { background: var(--v070-accent); color: #fff; }

/* Mobile menu */
.v070-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: var(--v070-transition);
  z-index: 998;
}
.v070-backdrop-show { opacity: 1; visibility: visible; }
.v070-mobile-menu {
  position: fixed; top: 0; right: -78%;
  width: 78%; max-width: 320px; height: 100%;
  background: linear-gradient(180deg, #1c2833, #212F3D);
  border-left: 2px solid var(--v070-primary);
  padding: 70px 16px 24px;
  transition: right 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}
.v070-menu-open { right: 0; }
.v070-menu-close {
  position: absolute; top: 12px; right: 14px;
  width: 40px; height: 40px; color: var(--v070-gold); font-size: 1.8rem;
}
.v070-menu-title { color: var(--v070-gold); font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.v070-menu-list li { margin-bottom: 4px; }
.v070-menu-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--v070-radius-sm);
  color: var(--v070-cream); font-size: 1.4rem; font-weight: 500;
  transition: var(--v070-transition);
}
.v070-menu-list a:hover, .v070-menu-list a:focus {
  background: rgba(205,133,63,0.18); color: var(--v070-gold);
}
.v070-menu-list i { width: 22px; text-align: center; color: var(--v070-accent); }
.v070-menu-promo {
  margin-top: 16px; padding: 14px; border-radius: var(--v070-radius);
  background: linear-gradient(135deg, rgba(139,69,19,0.35), rgba(205,133,63,0.25));
  border: 1px dashed var(--v070-accent);
}

/* Carousel */
.v070-carousel {
  position: relative; margin-top: 60px;
  border-radius: var(--v070-radius); overflow: hidden;
  box-shadow: var(--v070-shadow);
}
.v070-carousel-track { position: relative; height: 200px; }
.v070-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.v070-slide-active { opacity: 1; }
.v070-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.v070-carousel-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,47,61,0) 40%, rgba(33,47,61,0.75) 100%);
}
.v070-carousel-caption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: 1.5rem; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.v070-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(33,47,61,0.7); color: var(--v070-gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  z-index: 3; transition: var(--v070-transition);
}
.v070-carousel-arrow:hover { background: var(--v070-primary); color: #fff; }
.v070-arrow-prev { left: 8px; }
.v070-arrow-next { right: 8px; }
.v070-carousel-dots {
  position: absolute; bottom: 8px; right: 12px;
  display: flex; gap: 6px; z-index: 3;
}
.v070-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(238,232,170,0.5); transition: var(--v070-transition);
}
.v070-dot-active { background: var(--v070-gold); width: 22px; border-radius: 4px; }

/* Hero / H1 */
.v070-hero { padding: 18px 0 6px; }
.v070-hero h1 {
  font-size: 2rem; line-height: 1.3; color: var(--v070-gold);
  margin-bottom: 8px; font-weight: 800;
}
.v070-hero p { color: var(--v070-cream); font-size: 1.35rem; }
.v070-hero-cta { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* Section headings */
.v070-section-head { margin-bottom: 14px; }
.v070-section-head h2 {
  font-size: 1.7rem; color: var(--v070-gold); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.v070-section-head h2 i { color: var(--v070-accent); font-size: 2rem; }
.v070-section-head p { color: var(--v070-cream); font-size: 1.25rem; margin-top: 4px; }

/* Game grid (compact) */
.v070-game-block { margin-bottom: 22px; }
.v070-game-block-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.5rem; color: var(--v070-gold); font-weight: 700;
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--v070-primary);
}
.v070-game-block-title i { color: var(--v070-accent); }
.v070-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v070-game-card {
  background: var(--v070-card-bg);
  border: 1px solid var(--v070-card-border);
  border-radius: var(--v070-radius-sm);
  overflow: hidden; cursor: pointer;
  transition: var(--v070-transition);
  text-align: center;
}
.v070-game-card:hover {
  transform: translateY(-3px); border-color: var(--v070-accent);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.v070-game-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #0f1721;
}
.v070-game-card-name {
  padding: 6px 4px; font-size: 1.1rem; color: var(--v070-cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500;
}
.v070-game-card:hover .v070-game-card-name { color: var(--v070-gold); }

/* Info / feature cards */
.v070-card {
  background: var(--v070-card-bg);
  border: 1px solid var(--v070-card-border);
  border-radius: var(--v070-radius);
  padding: 16px; margin-bottom: 12px;
  transition: var(--v070-transition);
}
.v070-card:hover { border-color: var(--v070-accent); box-shadow: var(--v070-shadow); }
.v070-card h3 {
  font-size: 1.5rem; color: var(--v070-gold); font-weight: 700;
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.v070-card h3 i { color: var(--v070-accent); }
.v070-card p { color: var(--v070-cream); font-size: 1.3rem; line-height: 1.6; }
.v070-card ul { margin: 8px 0 0; }
.v070-card ul li { padding: 4px 0 4px 18px; position: relative; color: var(--v070-cream); font-size: 1.3rem; }
.v070-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--v070-accent); }
.v070-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Steps */
.v070-steps { counter-reset: step; }
.v070-step {
  position: relative; padding: 12px 12px 12px 44px;
  background: var(--v070-card-bg); border-radius: var(--v070-radius-sm);
  margin-bottom: 8px; border-left: 3px solid var(--v070-accent);
}
.v070-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v070-primary), var(--v070-accent));
  color: #fff; font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.v070-step strong { color: var(--v070-gold); }
.v070-step p { color: var(--v070-cream); font-size: 1.25rem; margin-top: 2px; }

/* FAQ */
.v070-faq-item { background: var(--v070-card-bg); border: 1px solid var(--v070-card-border); border-radius: var(--v070-radius-sm); margin-bottom: 8px; overflow: hidden; }
.v070-faq-q { padding: 12px 14px; font-weight: 600; color: var(--v070-gold); font-size: 1.35rem; display: flex; align-items: flex-start; gap: 8px; }
.v070-faq-q i { color: var(--v070-accent); margin-top: 2px; }
.v070-faq-a { padding: 0 14px 12px 34px; color: var(--v070-cream); font-size: 1.25rem; line-height: 1.6; }

/* Testimonial */
.v070-testimonial { background: var(--v070-card-bg); border-radius: var(--v070-radius); padding: 14px; margin-bottom: 10px; border-left: 3px solid var(--v070-light); }
.v070-testimonial-stars { color: var(--v070-gold); font-size: 1.2rem; margin-bottom: 6px; }
.v070-testimonial-text { color: var(--v070-cream); font-size: 1.25rem; line-height: 1.6; font-style: italic; }
.v070-testimonial-author { margin-top: 8px; color: var(--v070-gold); font-weight: 600; font-size: 1.2rem; }

/* Winners showcase */
.v070-winner { display: flex; align-items: center; gap: 10px; background: var(--v070-card-bg); border-radius: var(--v070-radius-sm); padding: 10px; margin-bottom: 6px; }
.v070-winner-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--v070-primary), var(--v070-accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.3rem; }
.v070-winner-info { flex: 1; }
.v070-winner-name { color: var(--v070-gold); font-weight: 600; font-size: 1.25rem; }
.v070-winner-game { color: var(--v070-cream); font-size: 1.1rem; }
.v070-winner-amount { color: #fff; font-weight: 700; font-size: 1.3rem; }

/* Payment methods */
.v070-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.v070-pay-item {
  background: var(--v070-card-bg); border: 1px solid var(--v070-card-border);
  border-radius: var(--v070-radius-sm); padding: 10px 4px;
  text-align: center; color: var(--v070-cream); font-size: 1rem;
}
.v070-pay-item i { font-size: 2rem; color: var(--v070-gold); margin-bottom: 4px; }

/* App download CTA */
.v070-app-cta {
  background: linear-gradient(135deg, rgba(139,69,19,0.4), rgba(205,133,63,0.3));
  border: 1px solid var(--v070-accent); border-radius: var(--v070-radius);
  padding: 18px; text-align: center;
}
.v070-app-cta h3 { color: var(--v070-gold); font-size: 1.6rem; margin-bottom: 8px; }
.v070-app-cta p { color: var(--v070-cream); font-size: 1.3rem; margin-bottom: 12px; }
.v070-app-cta .v070-btn-cta { width: 100%; }

/* Promo inline text links */
.v070-inline-link {
  color: var(--v070-gold); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--v070-accent);
}
.v070-inline-link:hover { color: #fff; border-bottom-color: var(--v070-light); }

/* Footer */
.v070-footer {
  background: #1c2833; border-top: 3px solid var(--v070-primary);
  padding: 22px 0 90px; margin-top: 10px;
}
.v070-footer-brand { color: var(--v070-gold); font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.v070-footer-intro { color: var(--v070-cream); font-size: 1.25rem; line-height: 1.6; margin-bottom: 14px; }
.v070-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.v070-footer-promos .v070-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
.v070-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.v070-footer-links a {
  color: var(--v070-cream); font-size: 1.2rem; padding: 6px 8px;
  border-radius: var(--v070-radius-sm); transition: var(--v070-transition);
}
.v070-footer-links a:hover { background: rgba(205,133,63,0.18); color: var(--v070-gold); }
.v070-footer-copy {
  text-align: center; color: var(--v070-cream); font-size: 1.1rem;
  padding-top: 14px; border-top: 1px solid var(--v070-card-border);
}

/* Bottom navigation */
.v070-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--v070-bottom-h);
  background: linear-gradient(180deg, #1c2833, #161f29);
  border-top: 2px solid var(--v070-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}
.v070-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--v070-cream);
  transition: var(--v070-transition); position: relative;
  background: transparent;
}
.v070-bottom-nav-btn i { font-size: 22px; line-height: 1; }
.v070-bottom-nav-btn span { font-size: 11px; font-weight: 500; }
.v070-bottom-nav-btn:hover { color: var(--v070-gold); transform: translateY(-2px); }
.v070-bottom-nav-btn:active { transform: scale(0.92); }
.v070-bottom-nav-btn.v070-nav-active { color: var(--v070-gold); }
.v070-bottom-nav-btn.v070-nav-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--v070-primary), var(--v070-accent));
}
.v070-nav-promo {
  background: linear-gradient(135deg, rgba(139,69,19,0.25), rgba(205,133,63,0.15));
}

/* Utility */
.v070-spacer-top { margin-top: 60px; }
.v070-text-center { text-align: center; }
.v070-mt-12 { margin-top: 12px; }
.v070-mb-12 { margin-bottom: 12px; }
.v070-hide-desktop { display: block; }

/* Responsive: desktop hides bottom nav */
@media (min-width: 769px) {
  .v070-bottom-nav { display: none; }
  .v070-container { max-width: 760px; }
  .v070-header-inner { max-width: 760px; }
  .v070-footer { padding-bottom: 28px; }
  .v070-game-grid { grid-template-columns: repeat(6, 1fr); }
  .v070-carousel-track { height: 320px; }
  .v070-grid-2 { grid-template-columns: repeat(4, 1fr); }
}

/* Responsive: mobile bottom clearance */
@media (max-width: 768px) {
  main.v070-main { padding-bottom: calc(var(--v070-bottom-h) + 24px); }
  .v070-footer { padding-bottom: calc(var(--v070-bottom-h) + 24px); }
}
