/* 33win33 base stylesheet - theme.css
   All custom classes use prefix "v4c7-" */

:root {
  --v4c7-bg: #1C2833;
  --v4c7-bg2: #232f3e;
  --v4c7-primary: #DEB887;
  --v4c7-accent: #FFDEAD;
  --v4c7-soft: #FFCCCB;
  --v4c7-text: #FAF0E6;
  --v4c7-muted: #c9b8a0;
  --v4c7-gold: #f5c45b;
  --v4c7-danger: #e05a5a;
  --v4c7-radius: 12px;
  --v4c7-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

html { font-size: 62.5%; }
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--v4c7-bg);
  color: var(--v4c7-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--v4c7-primary); text-decoration: none; }
a:hover { color: var(--v4c7-accent); }
img { max-width: 100%; display: block; }

/* Layout containers */
.v4c7-container { max-width: 430px; margin: 0 auto; padding: 0 12px; }
.v4c7-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.v4c7-grid { display: grid; gap: 10px; }

/* Header */
.v4c7-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1b2531 0%, #202b3b 100%);
  border-bottom: 1px solid rgba(222,184,135,0.25);
  box-shadow: var(--v4c7-shadow);
}
.v4c7-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; min-height: 52px;
}
.v4c7-logo { display: flex; align-items: center; gap: 8px; }
.v4c7-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v4c7-logo .v4c7-brand { font-size: 1.9rem; font-weight: 800; color: var(--v4c7-primary); letter-spacing: 0.5px; }
.v4c7-header-actions { display: flex; align-items: center; gap: 8px; }

.v4c7-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 8px; padding: 8px 14px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  min-height: 40px; transition: transform 0.15s ease, background 0.2s ease;
}
.v4c7-btn:active { transform: scale(0.95); }
.v4c7-btn-register { background: linear-gradient(135deg, var(--v4c7-gold), var(--v4c7-primary)); color: #1C2833; }
.v4c7-btn-login { background: transparent; color: var(--v4c7-text); border: 1px solid var(--v4c7-primary); }
.v4c7-btn-promo { background: linear-gradient(135deg, #e05a5a, #FFCCCB); color: #1C2833; }

.v4c7-menu-btn {
  background: transparent; border: 1px solid rgba(222,184,135,0.4);
  color: var(--v4c7-primary); border-radius: 8px; padding: 8px 10px;
  font-size: 1.8rem; cursor: pointer; min-width: 44px; min-height: 44px;
}

/* Mobile menu */
.v4c7-mobile-menu {
  position: fixed; top: 52px; left: 0; right: 0;
  background: #202b3b; border-bottom: 1px solid rgba(222,184,135,0.2);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  z-index: 9999;
}
.v4c7-mobile-menu.v4c7-menu-open { max-height: 480px; }
.v4c7-mobile-menu ul { list-style: none; margin: 0; padding: 6px 12px; }
.v4c7-mobile-menu li { border-bottom: 1px solid rgba(222,184,135,0.12); }
.v4c7-mobile-menu li:last-child { border-bottom: none; }
.v4c7-mobile-menu a {
  display: block; padding: 12px 6px; color: var(--v4c7-text); font-size: 1.4rem; font-weight: 600;
}
.v4c7-mobile-menu a:hover { color: var(--v4c7-primary); padding-left: 12px; }

/* Main */
main { padding-top: 60px; padding-bottom: 80px; }

/* Carousel */
.v4c7-carousel { position: relative; margin: 12px 0; border-radius: var(--v4c7-radius); overflow: hidden; }
.v4c7-slide {
  display: none; position: relative; cursor: pointer;
}
.v4c7-slide.v4c7-slide-active { display: block; }
.v4c7-slide img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--v4c7-radius); }
.v4c7-slide-cap {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  color: #fff; font-size: 1.4rem; font-weight: 700; text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.v4c7-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.v4c7-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(250,240,230,0.4); cursor: pointer; }
.v4c7-dot.v4c7-dot-active { background: var(--v4c7-primary); }

/* Section */
.v4c7-section { margin: 18px 0; padding: 0 12px; }
.v4c7-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--v4c7-primary);
  margin: 0 0 10px 0; padding-bottom: 6px; border-bottom: 2px solid rgba(222,184,135,0.3);
}
.v4c7-subtitle { font-size: 1.5rem; font-weight: 700; color: var(--v4c7-accent); margin: 12px 0 6px; }
.v4c7-text { font-size: 1.4rem; line-height: 2.4rem; color: var(--v4c7-text); }
.v4c7-text p { margin: 0 0 8px 0; }

/* Hero */
.v4c7-hero {
  padding: 14px 12px; border-radius: var(--v4c7-radius);
  background: linear-gradient(135deg, #2a3650 0%, #1C2833 100%);
  border: 1px solid rgba(222,184,135,0.25);
}
.v4c7-hero h1 { font-size: 2.2rem; color: var(--v4c7-primary); margin: 0 0 8px; line-height: 2.6rem; }
.v4c7-hero p { font-size: 1.4rem; color: var(--v4c7-text); margin: 0 0 10px; }
.v4c7-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Game grid */
.v4c7-cat-title { font-size: 1.6rem; font-weight: 800; color: var(--v4c7-accent); margin: 14px 0 8px; }
.v4c7-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.v4c7-game-item { text-align: center; cursor: pointer; }
.v4c7-game-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid rgba(222,184,135,0.2); }
.v4c7-game-item span { display: block; font-size: 1.1rem; color: var(--v4c7-text); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4c7-game-item:active img { transform: scale(0.95); }

/* Cards */
.v4c7-card {
  background: var(--v4c7-bg2); border: 1px solid rgba(222,184,135,0.18);
  border-radius: var(--v4c7-radius); padding: 12px; margin: 8px 0;
  box-shadow: var(--v4c7-shadow);
}
.v4c7-card h3 { margin: 0 0 6px; font-size: 1.5rem; color: var(--v4c7-primary); }
.v4c7-card p { margin: 0; font-size: 1.3rem; color: var(--v4c7-text); line-height: 2.2rem; }

/* Promo inline link */
.v4c7-promo-link {
  color: var(--v4c7-gold); font-weight: 800; cursor: pointer; text-decoration: underline;
}
.v4c7-promo-link:hover { color: var(--v4c7-accent); }

/* Features list */
.v4c7-features { display: grid; gap: 8px; }
.v4c7-feature {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--v4c7-bg2); padding: 10px; border-radius: 8px;
  border-left: 3px solid var(--v4c7-primary);
}
.v4c7-feature .v4c7-ico { color: var(--v4c7-gold); font-size: 2rem; }
.v4c7-feature div { font-size: 1.3rem; color: var(--v4c7-text); }
.v4c7-feature strong { color: var(--v4c7-accent); }

/* RTP bars */
.v4c7-rtp-row { margin: 8px 0; }
.v4c7-rtp-name { display: flex; justify-content: space-between; font-size: 1.3rem; margin-bottom: 4px; }
.v4c7-rtp-bar { height: 8px; background: rgba(250,240,230,0.15); border-radius: 4px; overflow: hidden; }
.v4c7-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--v4c7-primary), var(--v4c7-gold)); }

/* Testimonial */
.v4c7-testi { background: var(--v4c7-bg2); border-radius: 8px; padding: 10px; margin: 6px 0; border-left: 3px solid var(--v4c7-soft); }
.v4c7-testi .v4c7-testi-name { font-size: 1.3rem; font-weight: 700; color: var(--v4c7-primary); }
.v4c7-testi .v4c7-testi-text { font-size: 1.25rem; color: var(--v4c7-text); margin-top: 4px; }

/* Payment / winners grid */
.v4c7-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.v4c7-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--v4c7-bg2); border: 1px solid rgba(222,184,135,0.2);
  border-radius: 20px; padding: 6px 12px; font-size: 1.2rem; color: var(--v4c7-text);
}
.v4c7-winner { display: flex; justify-content: space-between; font-size: 1.25rem; padding: 6px 0; border-bottom: 1px dashed rgba(222,184,135,0.15); }
.v4c7-winner span:last-child { color: var(--v4c7-gold); font-weight: 700; }

/* CTA block */
.v4c7-cta {
  text-align: center; padding: 16px; margin: 14px 12px;
  background: linear-gradient(135deg, #3a2a1a, #1C2833);
  border: 1px solid var(--v4c7-primary); border-radius: var(--v4c7-radius);
}
.v4c7-cta h3 { color: var(--v4c7-gold); margin: 0 0 6px; font-size: 1.7rem; }
.v4c7-cta p { color: var(--v4c7-text); margin: 0 0 10px; font-size: 1.3rem; }

/* Footer */
.v4c7-footer {
  background: #161e2a; border-top: 1px solid rgba(222,184,135,0.2);
  padding: 16px 12px 24px; margin-top: 18px;
}
.v4c7-footer-brand { font-size: 1.3rem; color: var(--v4c7-muted); margin-bottom: 10px; line-height: 2rem; }
.v4c7-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.v4c7-footer-links a {
  font-size: 1.2rem; padding: 5px 10px; border: 1px solid rgba(222,184,135,0.25);
  border-radius: 16px; color: var(--v4c7-text);
}
.v4c7-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.v4c7-footer-promos .v4c7-btn { font-size: 1.2rem; padding: 6px 10px; min-height: 36px; }
.v4c7-footer-copy { font-size: 1.1rem; color: var(--v4c7-muted); text-align: center; }

/* Bottom nav */
.v4c7-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 60px; z-index: 1000;
  background: linear-gradient(180deg, #202b3b, #161e2a);
  border-top: 1px solid rgba(222,184,135,0.3);
  display: flex; justify-content: space-around; align-items: center;
}
.v4c7-bottomnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v4c7-muted);
  font-size: 1.1rem; cursor: pointer; gap: 2px;
  transition: color 0.2s ease, transform 0.15s ease;
}
.v4c7-bottomnav-btn .v4c7-ico { font-size: 2.4rem; line-height: 1; }
.v4c7-bottomnav-btn:active { transform: scale(0.9); }
.v4c7-bottomnav-btn:hover { color: var(--v4c7-primary); }
.v4c7-bottomnav-active { color: var(--v4c7-gold); }
.v4c7-bottomnav-active .v4c7-ico { color: var(--v4c7-gold); }

/* Desktop */
@media (min-width: 769px) {
  .v4c7-bottomnav { display: none; }
  .v4c7-container, .v4c7-wrapper, .v4c7-header-inner { max-width: 430px; }
  main { padding-bottom: 20px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
