/* ============================================================
 * swerte77.click - Core stylesheet
 * Class prefix: v65c-  | Variables: --v65c-*
 * Palette: #A0522D / #141414 / #CD853F / #F4A460 / #F8F9FA
 * Mobile-first. Root font 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --v65c-primary: #A0522D;
  --v65c-bg: #141414;
  --v65c-text: #F8F9FA;
  --v65c-accent: #CD853F;
  --v65c-accent-2: #F4A460;
  --v65c-surface: #1f1a17;
  --v65c-surface-2: #2a221d;
  --v65c-border: #3a2e26;
  --v65c-muted: #b8a99a;
  --v65c-success: #4caf7d;
  --v65c-danger: #d9534f;
  --v65c-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --v65c-radius: 14px;
  --v65c-radius-sm: 10px;
  --v65c-header-h: 62px;
  --v65c-bottomnav-h: 64px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

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

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

.v65c-wrapper {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(205,133,63,0.18), transparent 60%),
    var(--v65c-bg);
}

main.v65c-main { padding-top: var(--v65c-header-h); padding-bottom: calc(var(--v65c-bottomnav-h) + 20px); }

/* ---------- Header ---------- */
.v65c-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--v65c-header-h);
  background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(20,20,20,0.92));
  border-bottom: 1px solid var(--v65c-border);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.v65c-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.v65c-brand { display: flex; align-items: center; gap: 8px; color: var(--v65c-text); }
.v65c-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v65c-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--v65c-accent-2), var(--v65c-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v65c-header-actions { display: flex; align-items: center; gap: 6px; }
.v65c-btn {
  border: none; cursor: pointer; border-radius: var(--v65c-radius-sm);
  font-weight: 700; font-size: 1.3rem; padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 36px;
}
.v65c-btn:active { transform: scale(0.95); }
.v65c-btn-login {
  background: transparent; color: var(--v65c-text);
  border: 1px solid var(--v65c-accent);
}
.v65c-btn-register {
  background: linear-gradient(90deg, var(--v65c-accent), var(--v65c-accent-2));
  color: #1a1207;
  box-shadow: 0 3px 10px rgba(244,164,96,0.35);
}
.v65c-menu-btn {
  background: transparent; color: var(--v65c-text);
  border: 1px solid var(--v65c-border);
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---------- Mobile slide menu ---------- */
.v65c-mobile-menu {
  position: fixed; top: var(--v65c-header-h); left: 0; right: 0;
  background: var(--v65c-surface);
  border-bottom: 1px solid var(--v65c-border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.v65c-mobile-menu.v65c-menu-open { max-height: 80vh; overflow-y: auto; }
.v65c-mobile-menu ul { list-style: none; margin: 0; padding: 6px 12px; }
.v65c-mobile-menu li a {
  display: block; padding: 12px 8px;
  color: var(--v65c-text); border-bottom: 1px solid var(--v65c-border);
  font-weight: 600;
}
.v65c-mobile-menu li a:active { background: var(--v65c-surface-2); }

body.v65c-no-scroll { overflow: hidden; }

/* ---------- Carousel ---------- */
.v65c-carousel {
  position: relative; margin: 10px 12px 0; border-radius: var(--v65c-radius);
  overflow: hidden; box-shadow: var(--v65c-shadow);
}
.v65c-slide {
  position: relative; display: none; cursor: pointer;
}
.v65c-slide.v65c-slide-active { display: block; }
.v65c-slide img { width: 100%; height: 180px; object-fit: cover; }
.v65c-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px; color: var(--v65c-text);
  background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent);
  font-weight: 700; font-size: 1.5rem;
}
.v65c-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v65c-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; padding: 0; cursor: pointer;
}
.v65c-dot.v65c-dot-active { background: var(--v65c-accent-2); width: 22px; border-radius: 6px; }

/* ---------- Sections / common ---------- */
.v65c-section { padding: 18px 12px; }
.v65c-section-title {
  font-size: 1.9rem; font-weight: 800; margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px; color: var(--v65c-text);
}
.v65c-section-title i { color: var(--v65c-accent-2); }
.v65c-section-sub { color: var(--v65c-muted); font-size: 1.3rem; margin: 0 0 12px; }

.v65c-card {
  background: var(--v65c-surface);
  border: 1px solid var(--v65c-border);
  border-radius: var(--v65c-radius);
  padding: 14px;
  box-shadow: var(--v65c-shadow);
}

/* ---------- Category chips ---------- */
.v65c-cats {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px;
  scrollbar-width: none;
}
.v65c-cats::-webkit-scrollbar { display: none; }
.v65c-cat-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
  background: var(--v65c-surface); border: 1px solid var(--v65c-border);
  color: var(--v65c-text); font-size: 1.3rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Game grid ---------- */
.v65c-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.v65c-game {
  text-align: center; cursor: pointer; background: var(--v65c-surface);
  border: 1px solid var(--v65c-border); border-radius: var(--v65c-radius-sm);
  padding: 6px; transition: transform 0.15s ease, border-color 0.15s ease;
}
.v65c-game:active { transform: scale(0.96); border-color: var(--v65c-accent); }
.v65c-game img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 8px;
}
.v65c-game-name {
  font-size: 1.15rem; color: var(--v65c-text); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Hero / H1 ---------- */
.v65c-hero { padding: 6px 14px 4px; }
.v65c-h1 {
  font-size: 2.4rem; line-height: 1.35; font-weight: 900; margin: 6px 0 6px;
  background: linear-gradient(90deg, var(--v65c-accent-2), var(--v65c-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v65c-lead { color: var(--v65c-muted); font-size: 1.4rem; margin: 0 0 6px; }
.v65c-cta-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- Promo banner ---------- */
.v65c-banner {
  background: linear-gradient(120deg, var(--v65c-primary), var(--v65c-accent));
  border-radius: var(--v65c-radius); padding: 14px; color: #1a1207;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: var(--v65c-shadow);
}
.v65c-banner h3 { margin: 0; font-size: 1.7rem; color: #1a1207; }
.v65c-banner p { margin: 4px 0 0; font-size: 1.25rem; color: #2a1f0e; }
.v65c-banner-btn {
  background: #141414; color: var(--v65c-accent-2);
  padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 1.3rem;
  border: none; cursor: pointer;
}

/* ---------- Feature list ---------- */
.v65c-features { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.v65c-feature {
  background: var(--v65c-surface); border: 1px solid var(--v65c-border);
  border-radius: var(--v65c-radius-sm); padding: 12px;
}
.v65c-feature i { font-size: 2rem; color: var(--v65c-accent-2); }
.v65c-feature h4 { margin: 6px 0 2px; font-size: 1.4rem; color: var(--v65c-text); }
.v65c-feature p { margin: 0; color: var(--v65c-muted); font-size: 1.2rem; }

/* ---------- RTP table ---------- */
.v65c-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.v65c-table th, .v65c-table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--v65c-border); }
.v65c-table th { color: var(--v65c-accent-2); }
.v65c-rtp-bar { height: 6px; border-radius: 6px; background: var(--v65c-surface-2); overflow: hidden; }
.v65c-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--v65c-accent), var(--v65c-accent-2)); }

/* ---------- Testimonials ---------- */
.v65c-reviews { display: grid; gap: 8px; }
.v65c-review {
  background: var(--v65c-surface); border-left: 3px solid var(--v65c-accent);
  border-radius: var(--v65c-radius-sm); padding: 10px 12px;
}
.v65c-review-stars { color: #f7c948; font-size: 1.2rem; }
.v65c-review p { margin: 4px 0; font-size: 1.3rem; color: var(--v65c-text); }
.v65c-review span { color: var(--v65c-muted); font-size: 1.2rem; }

/* ---------- Winners ---------- */
.v65c-winners {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none;
}
.v65c-winners::-webkit-scrollbar { display: none; }
.v65c-winner {
  flex: 0 0 auto; min-width: 150px; background: var(--v65c-surface);
  border: 1px solid var(--v65c-border); border-radius: var(--v65c-radius-sm); padding: 8px;
}
.v65c-winner .name { font-weight: 800; color: var(--v65c-accent-2); }
.v65c-winner .amount { color: var(--v65c-success); font-weight: 800; }

/* ---------- Payments ---------- */
.v65c-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.v65c-pay {
  background: var(--v65c-surface); border: 1px solid var(--v65c-border);
  border-radius: var(--v65c-radius-sm); padding: 8px 12px;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.25rem;
}

/* ---------- App CTA ---------- */
.v65c-app-cta {
  display: flex; gap: 12px; align-items: center;
  background: var(--v65c-surface-2); border: 1px solid var(--v65c-border);
  border-radius: var(--v65c-radius); padding: 14px;
}
.v65c-app-cta .v65c-app-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--v65c-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.v65c-app-cta .v65c-app-icon i { font-size: 2.6rem; color: #fff; }
.v65c-app-links { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Footer ---------- */
.v65c-footer {
  background: #0f0f0f; border-top: 1px solid var(--v65c-border);
  padding: 18px 14px calc(var(--v65c-bottomnav-h) + 20px);
}
.v65c-footer h4 { color: var(--v65c-accent-2); font-size: 1.4rem; margin: 12px 0 6px; }
.v65c-footer p { color: var(--v65c-muted); font-size: 1.25rem; margin: 0 0 8px; }
.v65c-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none;
  padding: 0; margin: 8px 0;
}
.v65c-footer-links li a {
  color: var(--v65c-text); font-size: 1.2rem; text-decoration: underline;
  text-decoration-color: var(--v65c-border);
}
.v65c-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v65c-footer-promos button {
  background: var(--v65c-accent); color: #1a1207; font-weight: 700;
  border: none; padding: 6px 12px; border-radius: 999px; font-size: 1.2rem; cursor: pointer;
}
.v65c-copy { color: var(--v65c-muted); font-size: 1.15rem; margin-top: 10px; }

/* ---------- Mobile bottom nav ---------- */
.v65c-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--v65c-bottomnav-h);
  background: linear-gradient(180deg, #1a1a1a, #0e0e0e);
  border-top: 1px solid var(--v65c-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.v65c-bottomnav-btn {
  background: none; border: none; color: var(--v65c-muted);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 60px; min-height: 60px; padding: 6px;
  cursor: pointer; font-size: 1rem; font-weight: 600;
  transition: transform 0.15s ease, color 0.15s ease;
}
.v65c-bottomnav-btn .material-symbols-outlined,
.v65c-bottomnav-btn i,
.v65c-bottomnav-btn ion-icon { font-size: 24px; }
.v65c-bottomnav-btn:active { transform: scale(0.92); }
.v65c-bottomnav-btn.v65c-bottomnav-active { color: var(--v65c-accent-2); }
.v65c-bottomnav-btn.v65c-bottomnav-active::after {
  content: ''; width: 22px; height: 3px; border-radius: 3px;
  background: var(--v65c-accent-2); margin-top: 2px;
}

/* ---------- Back-to-top ---------- */
.v65c-totop {
  position: fixed; right: 14px; bottom: calc(var(--v65c-bottomnav-h) + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--v65c-accent); color: #1a1207; border: none;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
  z-index: 999; cursor: pointer; box-shadow: var(--v65c-shadow);
}
.v65c-totop.v65c-totop-show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal animation ---------- */
.v65c-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.v65c-reveal.v65c-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Inline text promo links ---------- */
.v65c-link {
  color: var(--v65c-accent-2); font-weight: 700; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--v65c-primary);
}
.v65c-content p { margin: 0 0 10px; color: var(--v65c-text); font-size: 1.4rem; }
.v65c-content h2 { font-size: 1.9rem; margin: 16px 0 6px; color: var(--v65c-text); }
.v65c-content h3 { font-size: 1.6rem; margin: 12px 0 4px; color: var(--v65c-accent-2); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v65c-bottomnav { display: none; }
  body main.v65c-main { padding-bottom: 30px; }
  .v65c-footer { padding-bottom: 24px; }
  .v65c-wrapper { max-width: 760px; }
}

@media (max-width: 768px) {
  main.v65c-main { padding-bottom: calc(var(--v65c-bottomnav-h) + 24px); }
}
