/* windy.homes - core stylesheet
 * Palette: #999999 | #262626 | #CD5C5C | #DAA520 | #DEB887 | #FFB347
 * Dark tones for backgrounds, light tones for text.
 * All custom classes use the w1f92- prefix.
 * Comments in English only.
 */

:root {
  --w1f92-bg: #262626;
  --w1f92-bg-2: #1c1c1c;
  --w1f92-bg-3: #333333;
  --w1f92-primary: #CD5C5C;
  --w1f92-gold: #DAA520;
  --w1f92-sand: #DEB887;
  --w1f92-orange: #FFB347;
  --w1f92-text: #FFFFFF;
  --w1f92-muted: #999999;
  --w1f92-border: rgba(218, 165, 32, 0.22);
  --w1f92-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --w1f92-radius: 14px;
  --w1f92-radius-sm: 10px;
  --w1f92-maxw: 430px;
  --w1f92-header-h: 56px;
  --w1f92-bottomnav-h: 62px;
}

/* Base reset scoped to the site */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #2f2f2f 0%, var(--w1f92-bg) 45%, var(--w1f92-bg-2) 100%);
  color: var(--w1f92-text);
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--w1f92-gold); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* Layout primitives */
.w1f92-container {
  width: 100%;
  max-width: var(--w1f92-maxw);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.w1f92-wrapper { width: 100%; max-width: var(--w1f92-maxw); margin: 0 auto; }
.w1f92-section { padding: 2.4rem 0; }
.w1f92-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w1f92-orange);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w1f92-section-title::before {
  content: "";
  width: 4px;
  height: 1.8rem;
  background: linear-gradient(var(--w1f92-gold), var(--w1f92-primary));
  border-radius: 3px;
}
.w1f92-subtitle {
  font-size: 1.5rem;
  color: var(--w1f92-sand);
  margin: 0.4rem 0 1rem;
}

/* Header */
.w1f92-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w1f92-header-h);
  background: rgba(28, 28, 28, 0.96);
  border-bottom: 1px solid var(--w1f92-border);
  backdrop-filter: blur(8px);
  z-index: 1000;
}
.w1f92-header-inner {
  height: 100%;
  max-width: var(--w1f92-maxw);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.w1f92-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--w1f92-text);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.4px;
}
.w1f92-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w1f92-logo span { color: var(--w1f92-gold); }

.w1f92-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w1f92-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--w1f92-radius-sm);
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 38px;
}
.w1f92-btn-login {
  background: transparent;
  color: var(--w1f92-sand);
  border: 1px solid var(--w1f92-sand);
}
.w1f92-btn-register {
  background: linear-gradient(135deg, var(--w1f92-gold), var(--w1f92-orange));
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.35);
}
.w1f92-btn:hover { transform: translateY(-1px); }
.w1f92-btn:active { transform: scale(0.96); }
.w1f92-menu-btn {
  background: transparent;
  border: 1px solid var(--w1f92-border);
  color: var(--w1f92-sand);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* Mobile menu */
.w1f92-mobile-menu {
  position: fixed;
  top: var(--w1f92-header-h);
  left: 0; right: 0;
  background: var(--w1f92-bg-2);
  border-bottom: 1px solid var(--w1f92-border);
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 1rem 1.2rem 1.4rem;
}
.w1f92-mobile-menu.w1f92-menu-open { transform: translateY(0); }
.w1f92-mobile-menu a {
  display: block;
  padding: 0.9rem 0.8rem;
  color: var(--w1f92-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.w1f92-mobile-menu a:hover { color: var(--w1f92-orange); padding-left: 1.2rem; }

/* Hero carousel */
.w1f92-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--w1f92-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--w1f92-shadow);
}
.w1f92-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--w1f92-carousel-transition, 480ms) ease;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.w1f92-slide.w1f92-active { opacity: 1; z-index: 2; }
.w1f92-slide img { width: 100%; height: 100%; object-fit: cover; }
.w1f92-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
.w1f92-prev, .w1f92-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.w1f92-prev { left: 6px; }
.w1f92-next { right: 6px; }
.w1f92-dots {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 4;
}
.w1f92-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer; border: none; padding: 0;
}
.w1f92-dot.w1f92-dot-active { background: var(--w1f92-orange); width: 22px; border-radius: 4px; }

/* Hero intro */
.w1f92-hero-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(90deg, var(--w1f92-gold), var(--w1f92-orange), var(--w1f92-sand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.6rem 0;
}
.w1f92-hero-lead {
  font-size: 1.4rem;
  color: var(--w1f92-muted);
  margin-bottom: 1rem;
}
.w1f92-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--w1f92-primary), var(--w1f92-orange));
  color: #fff;
  font-weight: 800;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(205, 92, 92, 0.4);
  cursor: pointer;
  margin: 0.6rem 0 1.4rem;
}

/* Category tabs (static, not switchable) */
.w1f92-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 1rem;
}
.w1f92-cat-head h2 {
  font-size: 1.8rem;
  color: var(--w1f92-gold);
  font-weight: 700;
}
.w1f92-cat-badge {
  font-size: 1.1rem;
  color: var(--w1f92-sand);
  background: rgba(218,165,32,0.14);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--w1f92-border);
}

/* Game grid - compact icon layout */
.w1f92-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.w1f92-game {
  background: var(--w1f92-bg-3);
  border: 1px solid var(--w1f92-border);
  border-radius: var(--w1f92-radius-sm);
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  overflow: hidden;
}
.w1f92-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.w1f92-game-name {
  font-size: 1.05rem;
  color: var(--w1f92-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.w1f92-game:hover { transform: translateY(-2px); border-color: var(--w1f92-gold); }

/* Cards */
.w1f92-card {
  background: linear-gradient(160deg, var(--w1f92-bg-3), var(--w1f92-bg-2));
  border: 1px solid var(--w1f92-border);
  border-radius: var(--w1f92-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--w1f92-shadow);
}
.w1f92-card h3 {
  font-size: 1.7rem;
  color: var(--w1f92-orange);
  margin-bottom: 0.6rem;
}
.w1f92-card p {
  font-size: 1.35rem;
  color: #e6e6e6;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.w1f92-card ul { padding-left: 1.2rem; }
.w1f92-card li {
  font-size: 1.3rem;
  color: #dcdcdc;
  margin-bottom: 0.4rem;
  list-style: disc;
}
.w1f92-text-link {
  color: var(--w1f92-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Feature list */
.w1f92-feature-list { display: grid; gap: 0.8rem; }
.w1f92-feature {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  padding: 1rem; border-radius: var(--w1f92-radius-sm);
  border-left: 3px solid var(--w1f92-gold);
}
.w1f92-feature .w1f92-feature-icon { font-size: 2.2rem; color: var(--w1f92-orange); }
.w1f92-feature h4 { font-size: 1.45rem; color: var(--w1f92-sand); margin-bottom: 0.2rem; }
.w1f92-feature p { font-size: 1.25rem; color: #ccc; line-height: 1.4; margin: 0; }

/* RTP compact table */
.w1f92-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
}
.w1f92-rtp-table th, .w1f92-rtp-table td {
  padding: 0.6rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.w1f92-rtp-table th { color: var(--w1f92-gold); }
.w1f92-rtp-table td { color: #ddd; }
.w1f92-rtp-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.1);
  overflow: hidden; margin-top: 0.3rem;
}
.w1f92-rtp-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--w1f92-gold), var(--w1f92-orange));
}

/* Testimonials */
.w1f92-testi {
  background: rgba(255,255,255,0.04);
  border-radius: var(--w1f92-radius-sm);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--w1f92-primary);
}
.w1f92-testi p { font-size: 1.3rem; color: #ddd; font-style: italic; margin-bottom: 0.4rem; }
.w1f92-testi .w1f92-testi-author { font-size: 1.15rem; color: var(--w1f92-sand); }

/* Winners ticker */
.w1f92-winner {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.25rem;
}
.w1f92-winner .w1f92-winner-name { color: #fff; font-weight: 700; }
.w1f92-winner .w1f92-winner-amount { color: var(--w1f92-orange); font-weight: 800; margin-left: auto; }

/* Payment row */
.w1f92-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w1f92-pay span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--w1f92-border);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  color: var(--w1f92-sand);
}

/* FAQ */
.w1f92-faq { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0.8rem 0; }
.w1f92-faq h4 { font-size: 1.45rem; color: var(--w1f92-orange); margin-bottom: 0.4rem; }
.w1f92-faq p { font-size: 1.3rem; color: #ddd; }

/* Play now banner */
.w1f92-playnow {
  background: linear-gradient(135deg, var(--w1f92-primary), var(--w1f92-gold));
  border-radius: var(--w1f92-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: #1a1a1a;
  margin: 1.4rem 0;
}
.w1f92-playnow h3 { font-size: 2rem; color: #fff; margin-bottom: 0.4rem; }
.w1f92-playnow p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 0.8rem; }
.w1f92-playnow .w1f92-btn-register { background: #1a1a1a; color: var(--w1f92-orange); }

/* Footer */
.w1f92-footer {
  background: var(--w1f92-bg-2);
  border-top: 1px solid var(--w1f92-border);
  padding: 2rem 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.w1f92-footer-brand {
  font-size: 1.3rem;
  color: var(--w1f92-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.w1f92-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1rem;
}
.w1f92-footer-links a {
  font-size: 1.2rem;
  color: var(--w1f92-sand);
  background: rgba(255,255,255,0.04);
  padding: 0.3rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--w1f92-border);
}
.w1f92-footer-links a:hover { color: var(--w1f92-orange); }
.w1f92-footer-copy {
  font-size: 1.15rem;
  color: #777;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
}

/* Mobile bottom navigation */
.w1f92-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w1f92-bottomnav-h);
  background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid var(--w1f92-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.w1f92-bottomnav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--w1f92-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.w1f92-bottomnav-item .w1f92-nav-icon { font-size: 22px; }
.w1f92-bottomnav-item .w1f92-nav-label { font-size: 1.05rem; }
.w1f92-bottomnav-item:hover { color: var(--w1f92-sand); }
.w1f92-bottomnav-item:active { transform: scale(0.92); }
.w1f92-bottomnav-item.w1f92-nav-active { color: var(--w1f92-orange); }
.w1f92-bottomnav-item.w1f92-nav-active .w1f92-nav-icon { filter: drop-shadow(0 0 6px rgba(255,179,71,0.6)); }
.w1f92-nav-badge {
  position: absolute;
  top: 6px; right: 50%;
  transform: translateX(18px);
  background: var(--w1f92-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 9px;
  padding: 0 4px;
  min-width: 16px; height: 16px;
  line-height: 16px;
  text-align: center;
}
.w1f92-bottomnav-item { position: relative; }

/* Mobile: pad main content so the fixed bottom nav does not cover it */
main { padding-bottom: calc(var(--w1f92-bottomnav-h) + 12px); }
.w1f92-header-spacer { height: var(--w1f92-header-h); }

/* Desktop behaviour */
@media (min-width: 769px) {
  .w1f92-bottomnav { display: none; }
  .w1f92-menu-btn { display: none; }
  main { padding-bottom: 24px; }
  .w1f92-mobile-menu { display: none; }
  body { background: #262626; }
}

/* Small screens below the design width */
@media (max-width: 360px) {
  .w1f92-grid { grid-template-columns: repeat(3, 1fr); }
  .w1f92-hero-h1 { font-size: 2rem; }
}
