/* ============================================================
 * colorplus.css - ColorPlus Homes base styles
 * Every custom selector uses the wed77- prefix.
 * Palette: #FFB347 (amber) | #1E1E1E (charcoal) | #FFA500 (orange) | #8FBC8F (sage)
 * ============================================================ */

:root {
  --wed77-primary: #FFB347;
  --wed77-accent: #FFA500;
  --wed77-sage: #8FBC8F;
  --wed77-bg: #1E1E1E;
  --wed77-bg-alt: #161616;
  --wed77-bg-soft: #232323;
  --wed77-text: #F5EFE6;
  --wed77-text-muted: #B7AFA1;
  --wed77-line: rgba(255, 179, 71, 0.18);
  --wed77-radius: 14px;
  --wed77-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --wed77-header-h: 6rem;
  --wed77-bottom-h: 6.4rem;
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #262626 0%, var(--wed77-bg) 55%, var(--wed77-bg-alt) 100%);
  color: var(--wed77-text);
  line-height: 1.5;
  font-size: 1.6rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--wed77-primary); text-decoration: none; }
a:hover { color: var(--wed77-accent); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* Layout primitives */
.wed77-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.6rem;
}
.wed77-wrapper { padding: 3rem 0; }
.wed77-grid { display: grid; gap: 1.6rem; }

/* Top header */
.wed77-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(20, 20, 20, 0.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wed77-line);
  box-shadow: var(--wed77-shadow);
}
.wed77-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}
.wed77-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--wed77-text);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.4px;
}
.wed77-brand img { width: 3rem; height: 3rem; border-radius: 8px; }
.wed77-brand .wed77-brand-dot { color: var(--wed77-primary); }

.wed77-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.wed77-menu-btn {
  background: transparent;
  border: 1px solid var(--wed77-line);
  color: var(--wed77-text);
  width: 4rem; height: 4rem;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

/* Buttons */
.wed77-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 4.4rem;
  text-decoration: none;
}
.wed77-btn-primary {
  background: linear-gradient(135deg, var(--wed77-primary), var(--wed77-accent));
  color: #1a1207;
  box-shadow: 0 8px 18px rgba(255, 165, 0, 0.35);
}
.wed77-btn-primary:hover { transform: translateY(-1px); color: #1a1207; text-decoration: none; }
.wed77-btn-ghost {
  background: rgba(143, 188, 143, 0.12);
  color: var(--wed77-sage);
  border-color: rgba(143, 188, 143, 0.4);
}
.wed77-btn-ghost:hover { background: rgba(143, 188, 143, 0.22); color: var(--wed77-sage); text-decoration: none; }
.wed77-btn-block { width: 100%; }
.wed77-text-link {
  color: var(--wed77-primary);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 179, 71, 0.5);
}

/* Mobile slide-down menu */
.wed77-mobile-menu {
  position: fixed;
  top: var(--wed77-header-h);
  left: 0; right: 0;
  z-index: 9999;
  background: var(--wed77-bg-soft);
  border-bottom: 1px solid var(--wed77-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.wed77-mobile-menu.wed77-menu-open { max-height: 70vh; overflow-y: auto; }
.wed77-mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.4rem 1.4rem;
}
.wed77-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.6rem;
  color: var(--wed77-text);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 1.5rem;
}
.wed77-mobile-menu a i { color: var(--wed77-primary); width: 2rem; text-align: center; }
.wed77-mobile-menu a:hover { background: rgba(255, 179, 71, 0.08); text-decoration: none; }

/* Desktop nav */
.wed77-desktop-nav { display: none; }
.wed77-desktop-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.wed77-desktop-nav a {
  color: var(--wed77-text-muted);
  font-weight: 600;
  font-size: 1.4rem;
  padding: 0.6rem 0.4rem;
}
.wed77-desktop-nav a:hover { color: var(--wed77-primary); text-decoration: none; }

/* Hero / carousel */
.wed77-hero {
  margin-top: var(--wed77-header-h);
  position: relative;
  padding: 1.4rem 0 0;
}
.wed77-hero-track {
  position: relative;
  border-radius: var(--wed77-radius);
  overflow: hidden;
  box-shadow: var(--wed77-shadow);
}
.wed77-hero-slide {
  display: none;
  position: relative;
}
.wed77-hero-slide.wed77-slide-active { display: block; }
.wed77-hero-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.78);
}
.wed77-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 10%, rgba(0, 0, 0, 0.05) 70%);
}
.wed77-hero-title { font-size: 2.4rem; margin: 0 0 0.4rem; color: #fff; font-weight: 800; }
.wed77-hero-sub { color: var(--wed77-primary); font-weight: 700; margin-bottom: 1rem; font-size: 1.4rem; }
.wed77-hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.wed77-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.wed77-hero-arrow.wed77-prev { left: 0.8rem; }
.wed77-hero-arrow.wed77-next { right: 0.8rem; }
.wed77-hero-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  padding: 1rem 0 0.4rem;
}
.wed77-hero-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
}
.wed77-hero-dot.wed77-dot-active { background: var(--wed77-primary); }

/* Section blocks */
.wed77-section { padding: 2.4rem 0; }
.wed77-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.wed77-section-title {
  font-size: 2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--wed77-text);
}
.wed77-section-title i { color: var(--wed77-primary); }
.wed77-section-tag {
  font-size: 1.2rem;
  color: var(--wed77-sage);
  background: rgba(143, 188, 143, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
}

/* Game grid + cards */
.wed77-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.wed77-game-card {
  background: var(--wed77-bg-soft);
  border: 1px solid var(--wed77-line);
  border-radius: var(--wed77-radius);
  padding: 0.8rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.wed77-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--wed77-primary);
}
.wed77-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.wed77-game-name {
  font-size: 1.25rem;
  color: var(--wed77-text);
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  min-height: 3rem;
  display: flex; align-items: center; justify-content: center;
}
.wed77-game-badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 165, 0, 0.18);
  color: var(--wed77-primary);
  font-weight: 700;
}

/* Filter bar */
.wed77-filter-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.wed77-filter-input {
  flex: 1;
  background: var(--wed77-bg-soft);
  border: 1px solid var(--wed77-line);
  color: var(--wed77-text);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 1.4rem;
  min-height: 4rem;
}

/* Info / feature cards */
.wed77-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.wed77-card {
  background: linear-gradient(160deg, var(--wed77-bg-soft), var(--wed77-bg-alt));
  border: 1px solid var(--wed77-line);
  border-radius: var(--wed77-radius);
  padding: 1.6rem;
  box-shadow: var(--wed77-shadow);
}
.wed77-card-title {
  margin: 0 0 0.8rem;
  font-size: 1.7rem;
  color: var(--wed77-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.wed77-card p { margin: 0 0 0.8rem; color: var(--wed77-text-muted); }
.wed77-card ul { margin: 0; padding-left: 1.2rem; color: var(--wed77-text-muted); }
.wed77-card li { margin-bottom: 0.4rem; }

/* Stats grid */
.wed77-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.wed77-stat {
  background: rgba(255, 179, 71, 0.06);
  border: 1px solid var(--wed77-line);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}
.wed77-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wed77-primary);
  display: block;
}
.wed77-stat-label {
  font-size: 1.2rem;
  color: var(--wed77-text-muted);
}

/* Testimonial */
.wed77-quote {
  background: var(--wed77-bg-soft);
  border-left: 4px solid var(--wed77-primary);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.wed77-quote p { margin: 0 0 0.6rem; }
.wed77-quote .wed77-quote-author { color: var(--wed77-sage); font-weight: 700; font-size: 1.3rem; }

/* Payment methods */
.wed77-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wed77-pay-chip {
  background: rgba(143, 188, 143, 0.1);
  border: 1px solid rgba(143, 188, 143, 0.35);
  color: var(--wed77-text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Winners ticker */
.wed77-winners {
  background: var(--wed77-bg-soft);
  border: 1px solid var(--wed77-line);
  border-radius: var(--wed77-radius);
  padding: 1rem 1.2rem;
}
.wed77-winners-row {
  display: flex; justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
}
.wed77-winners-row:last-child { border-bottom: none; }
.wed77-winners-amount { color: var(--wed77-primary); font-weight: 800; }

/* FAQ */
.wed77-faq-item {
  background: var(--wed77-bg-soft);
  border: 1px solid var(--wed77-line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.8rem;
}
.wed77-faq-item h3 { margin: 0 0 0.5rem; font-size: 1.5rem; color: var(--wed77-primary); }
.wed77-faq-item p { margin: 0; color: var(--wed77-text-muted); }

/* CTA banner */
.wed77-cta {
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.15), rgba(143, 188, 143, 0.12));
  border: 1px solid var(--wed77-line);
  border-radius: var(--wed77-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--wed77-shadow);
}
.wed77-cta h2 { margin: 0 0 0.6rem; font-size: 2rem; color: #fff; }
.wed77-cta p { margin: 0 0 1.2rem; color: var(--wed77-text-muted); }

/* Footer */
.wed77-footer {
  background: var(--wed77-bg-alt);
  border-top: 1px solid var(--wed77-line);
  padding: 2.4rem 0 1.4rem;
  margin-top: 2rem;
}
.wed77-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.wed77-footer-col h4 {
  color: var(--wed77-primary);
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
}
.wed77-footer-col ul { list-style: none; padding: 0; margin: 0; }
.wed77-footer-col li { margin-bottom: 0.5rem; }
.wed77-footer-col a { color: var(--wed77-text-muted); font-size: 1.3rem; }
.wed77-footer-col a:hover { color: var(--wed77-primary); text-decoration: none; }
.wed77-footer-brand { color: var(--wed77-text-muted); font-size: 1.3rem; line-height: 1.6; }
.wed77-footer-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.wed77-footer-pay span {
  background: var(--wed77-bg-soft);
  border: 1px solid var(--wed77-line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
}
.wed77-copyright {
  text-align: center;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--wed77-line);
  color: var(--wed77-text-muted);
  font-size: 1.2rem;
}

/* Bottom nav (mobile only) */
.wed77-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--wed77-bottom-h);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(15, 15, 15, 0.98));
  border-top: 1px solid var(--wed77-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
}
.wed77-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 100%;
  background: transparent;
  border: none;
  color: var(--wed77-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.1rem;
  padding: 0.4rem;
  transition: color 0.18s ease, transform 0.18s ease;
}
.wed77-bottom-nav-btn .wed77-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.wed77-bottom-nav-btn .material-icons,
.wed77-bottom-nav-btn .bi { font-size: 2.2rem; }
.wed77-bottom-nav-btn:active { transform: scale(0.92); color: var(--wed77-primary); }
.wed77-nav-current { color: var(--wed77-primary); }
.wed77-nav-current::after {
  content: "";
  display: block;
  width: 1.6rem; height: 0.25rem;
  background: var(--wed77-primary);
  border-radius: 2px;
  margin-top: 0.2rem;
}

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

/* Main padding so content clears the fixed bars */
.wed77-main {
  padding-bottom: calc(var(--wed77-bottom-h) + 1.4rem);
}

/* Long-form SEO article */
.wed77-article { color: var(--wed77-text-muted); font-size: 1.45rem; line-height: 1.7; }
.wed77-article h2 { color: var(--wed77-text); font-size: 1.9rem; margin: 1.6rem 0 0.6rem; }
.wed77-article h3 { color: var(--wed77-primary); font-size: 1.6rem; margin: 1.2rem 0 0.5rem; }
.wed77-article p { margin: 0 0 1rem; }
.wed77-article ol, .wed77-article ul { padding-left: 1.4rem; }

/* Trust badges */
.wed77-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wed77-trust-badge {
  background: rgba(143, 188, 143, 0.12);
  border: 1px solid rgba(143, 188, 143, 0.35);
  color: var(--wed77-sage);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .wed77-main { padding-bottom: calc(var(--wed77-bottom-h) + 1.6rem); }
  .wed77-hero-slide img { height: 200px; }
}

@media (min-width: 769px) {
  .wed77-bottom-nav { display: none; }
  .wed77-main { padding-bottom: 2rem; }
  .wed77-menu-btn { display: none; }
  .wed77-desktop-nav { display: block; }
  .wed77-game-grid { grid-template-columns: repeat(5, 1fr); }
  .wed77-cards { grid-template-columns: repeat(3, 1fr); }
  .wed77-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .wed77-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .wed77-hero-slide img { height: 360px; }
  .wed77-container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .wed77-game-grid { grid-template-columns: repeat(6, 1fr); }
}
