/* luckycalico.cyou layout stylesheet
   CSS class prefix: wdfcc-
   CSS variables: --wdfcc-primary, --wdfcc-bg, --wdfcc-text
   Mobile-first, max-width 430px, rem root font 62.5%.
   Color palette: #34495E | #00FF7F | #D8BFD8 | #9AFF9A
*/

:root {
  --wdfcc-primary: #00FF7F;
  --wdfcc-secondary: #9AFF9A;
  --wdfcc-accent: #D8BFD8;
  --wdfcc-bg: #34495E;
  --wdfcc-bg-dark: #243441;
  --wdfcc-bg-deep: #1a2632;
  --wdfcc-text: #9AFF9A;
  --wdfcc-text-light: #D8BFD8;
  --wdfcc-text-white: #f4f8f6;
  --wdfcc-muted: #aebcc6;
  --wdfcc-radius: 1.2rem;
  --wdfcc-radius-sm: 0.8rem;
  --wdfcc-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.28);
  --wdfcc-shadow-glow: 0 0 1.2rem rgba(0, 255, 127, 0.45);
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--wdfcc-bg-deep);
  color: var(--wdfcc-text-white);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--wdfcc-primary);
  text-decoration: none;
}

/* Layout containers */
.wdfcc-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.wdfcc-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wdfcc-main {
  flex: 1;
  padding-bottom: 8rem;
}

/* Header */
.wdfcc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--wdfcc-bg-dark) 0%, var(--wdfcc-bg) 100%);
  border-bottom: 0.2rem solid var(--wdfcc-primary);
  box-shadow: var(--wdfcc-shadow);
}

.wdfcc-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.2rem;
}

.wdfcc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--wdfcc-text-white);
  font-weight: 700;
  font-size: 1.8rem;
}

.wdfcc-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.wdfcc-logo span {
  background: linear-gradient(90deg, var(--wdfcc-primary), var(--wdfcc-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wdfcc-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wdfcc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--wdfcc-radius-sm);
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 3.6rem;
  line-height: 1;
}

.wdfcc-btn-primary {
  background: var(--wdfcc-primary);
  color: var(--wdfcc-bg-deep);
  box-shadow: var(--wdfcc-shadow-glow);
}

.wdfcc-btn-primary:hover,
.wdfcc-btn-primary:active {
  transform: translateY(-0.1rem);
  background: var(--wdfcc-secondary);
}

.wdfcc-btn-secondary {
  background: transparent;
  color: var(--wdfcc-primary);
  border: 0.15rem solid var(--wdfcc-primary);
}

.wdfcc-btn-secondary:hover,
.wdfcc-btn-secondary:active {
  background: rgba(0, 255, 127, 0.12);
}

.wdfcc-btn-ghost {
  background: transparent;
  color: var(--wdfcc-text-white);
  border: 0.15rem solid rgba(154, 255, 154, 0.35);
}

.wdfcc-menu-toggle {
  background: transparent;
  border: none;
  color: var(--wdfcc-text-white);
  font-size: 2.2rem;
  cursor: pointer;
  width: 4.4rem;
  height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
}

.wdfcc-menu-toggle:hover {
  background: rgba(0, 255, 127, 0.12);
}

/* Mobile menu */
.wdfcc-mobile-menu {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--wdfcc-bg-dark);
  z-index: 9999;
  padding: 6rem 1.6rem 2rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 0.2rem solid var(--wdfcc-primary);
}

.wdfcc-menu-open {
  right: 0;
}

.wdfcc-mobile-menu h3 {
  color: var(--wdfcc-primary);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 1.4rem 0 0.8rem;
}

.wdfcc-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--wdfcc-text-white);
  border-bottom: 0.1rem solid rgba(154, 255, 154, 0.12);
  font-size: 1.4rem;
  transition: color 0.18s ease, padding 0.18s ease;
}

.wdfcc-mobile-menu a:hover,
.wdfcc-mobile-menu a:active {
  color: var(--wdfcc-primary);
  padding-left: 1.2rem;
}

.wdfcc-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--wdfcc-text-white);
  font-size: 2rem;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
}

.wdfcc-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 24, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.wdfcc-overlay-show {
  opacity: 1;
  pointer-events: auto;
}

/* Hero / Carousel */
.wdfcc-hero {
  margin-top: 5.2rem;
  padding: 1.2rem 0 0;
}

.wdfcc-carousel {
  position: relative;
  border-radius: var(--wdfcc-radius);
  overflow: hidden;
  box-shadow: var(--wdfcc-shadow);
  background: var(--wdfcc-bg-dark);
}

.wdfcc-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.wdfcc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.wdfcc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wdfcc-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26, 38, 50, 0.78);
  border-radius: var(--wdfcc-radius-sm);
  padding: 0.8rem 1rem;
  color: var(--wdfcc-text-white);
  font-size: 1.4rem;
  font-weight: 600;
}

.wdfcc-slide-caption span {
  color: var(--wdfcc-primary);
}

.wdfcc-slide-active {
  opacity: 1;
  z-index: 1;
}

.wdfcc-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.wdfcc-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(216, 191, 216, 0.5);
  border: none;
  cursor: pointer;
}

.wdfcc-dot-active {
  background: var(--wdfcc-primary);
  box-shadow: 0 0 0.6rem var(--wdfcc-primary);
}

/* Section heading */
.wdfcc-section {
  padding: 2rem 0 0.5rem;
}

.wdfcc-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wdfcc-text-white);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wdfcc-section-title i,
.wdfcc-section-title .material-icons-outlined {
  color: var(--wdfcc-primary);
  font-size: 2rem;
}

.wdfcc-section-sub {
  color: var(--wdfcc-muted);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.wdfcc-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wdfcc-text-white);
  margin: 1.4rem 0 0.8rem;
  line-height: 1.35;
}

.wdfcc-h1 span {
  color: var(--wdfcc-primary);
}

/* Game grid (compact icon layout) */
.wdfcc-game-group {
  margin-bottom: 1.6rem;
}

.wdfcc-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 0.8rem;
}

.wdfcc-group-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wdfcc-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wdfcc-group-count {
  color: var(--wdfcc-text-light);
  font-size: 1.2rem;
}

.wdfcc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.wdfcc-game-card {
  background: var(--wdfcc-bg-dark);
  border-radius: var(--wdfcc-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 0.1rem solid rgba(154, 255, 154, 0.08);
}

.wdfcc-game-card:hover,
.wdfcc-game-card:active {
  transform: translateY(-0.2rem);
  box-shadow: var(--wdfcc-shadow-glow);
  border-color: var(--wdfcc-primary);
}

.wdfcc-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--wdfcc-bg);
}

.wdfcc-game-name {
  padding: 0.5rem 0.4rem 0.6rem;
  font-size: 1.1rem;
  color: var(--wdfcc-text-white);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* Filter chips */
.wdfcc-chips {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.wdfcc-chip {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  background: var(--wdfcc-bg-dark);
  color: var(--wdfcc-text-light);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 0.15rem solid transparent;
  transition: all 0.18s ease;
}

.wdfcc-chip-active,
.wdfcc-chip:hover {
  background: var(--wdfcc-primary);
  color: var(--wdfcc-bg-deep);
  border-color: var(--wdfcc-primary);
}

/* Cards / feature blocks */
.wdfcc-card {
  background: var(--wdfcc-bg-dark);
  border-radius: var(--wdfcc-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 0.1rem solid rgba(0, 255, 127, 0.1);
}

.wdfcc-card h2 {
  color: var(--wdfcc-primary);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.wdfcc-card h3 {
  color: var(--wdfcc-secondary);
  font-size: 1.5rem;
  margin: 1rem 0 0.4rem;
}

.wdfcc-card p {
  color: var(--wdfcc-text-white);
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.wdfcc-card a {
  color: var(--wdfcc-primary);
  font-weight: 600;
  border-bottom: 0.1rem solid var(--wdfcc-primary);
}

.wdfcc-card ul,
.wdfcc-card ol {
  padding-left: 1.6rem;
  color: var(--wdfcc-text-white);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.wdfcc-card li {
  margin-bottom: 0.4rem;
}

/* Promo inline link (bold text link) */
.wdfcc-promo-link {
  color: var(--wdfcc-primary);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 0.15rem dashed var(--wdfcc-primary);
}

/* Feature list grid */
.wdfcc-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.wdfcc-feature {
  display: flex;
  gap: 1rem;
  background: var(--wdfcc-bg-dark);
  padding: 1.2rem;
  border-radius: var(--wdfcc-radius-sm);
  border-left: 0.3rem solid var(--wdfcc-primary);
}

.wdfcc-feature-icon {
  flex: 0 0 3.6rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  background: rgba(0, 255, 127, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wdfcc-primary);
  font-size: 1.8rem;
}

.wdfcc-feature-body h4 {
  color: var(--wdfcc-text-white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.wdfcc-feature-body p {
  color: var(--wdfcc-muted);
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.4;
}

/* Testimonials */
.wdfcc-testimonial {
  background: var(--wdfcc-bg-dark);
  border-radius: var(--wdfcc-radius-sm);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--wdfcc-accent);
}

.wdfcc-testimonial-stars {
  color: var(--wdfcc-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.wdfcc-testimonial p {
  color: var(--wdfcc-text-white);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.wdfcc-testimonial-author {
  color: var(--wdfcc-text-light);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Winners / payment badges */
.wdfcc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.wdfcc-badge {
  background: var(--wdfcc-bg-dark);
  border-radius: var(--wdfcc-radius-sm);
  padding: 0.8rem 1rem;
  color: var(--wdfcc-text-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 0.1rem solid rgba(216, 191, 216, 0.2);
}

.wdfcc-badge i,
.wdfcc-badge .material-icons {
  color: var(--wdfcc-primary);
}

/* Footer */
.wdfcc-footer {
  background: var(--wdfcc-bg-dark);
  border-top: 0.2rem solid var(--wdfcc-primary);
  padding: 2rem 0 7rem;
  margin-top: 2rem;
}

.wdfcc-footer-brand {
  color: var(--wdfcc-text-white);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.wdfcc-footer-brand span {
  color: var(--wdfcc-primary);
  font-weight: 700;
}

.wdfcc-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}

.wdfcc-footer-links a {
  color: var(--wdfcc-text-light);
  font-size: 1.25rem;
  padding: 0.3rem 0;
}

.wdfcc-footer-links a:hover {
  color: var(--wdfcc-primary);
}

.wdfcc-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.wdfcc-footer-copyright {
  color: var(--wdfcc-muted);
  font-size: 1.15rem;
  text-align: center;
  margin-top: 1.2rem;
  border-top: 0.1rem solid rgba(154, 255, 154, 0.1);
  padding-top: 1rem;
}

/* Mobile bottom navigation (5 buttons, fixed, hidden on desktop) */
.wdfcc-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 6rem;
  background: var(--wdfcc-bg-dark);
  border-top: 0.2rem solid var(--wdfcc-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.3);
}

.wdfcc-bottomnav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: var(--wdfcc-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.18s ease;
  position: relative;
}

.wdfcc-bottomnav-btn i,
.wdfcc-bottomnav-btn .material-icons-outlined,
.wdfcc-bottomnav-btn ion-icon {
  font-size: 2.4rem;
}

.wdfcc-bottomnav-btn ion-icon {
  line-height: 1;
}

.wdfcc-bottomnav-btn:hover,
.wdfcc-bottomnav-btn:active {
  color: var(--wdfcc-primary);
  transform: scale(1.08);
}

.wdfcc-bottomnav-active {
  color: var(--wdfcc-primary);
}

.wdfcc-bottomnav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 2.4rem;
  height: 0.25rem;
  border-radius: 0.2rem;
  background: var(--wdfcc-primary);
  box-shadow: var(--wdfcc-shadow-glow);
}

.wdfcc-bottomnav-promo {
  color: var(--wdfcc-secondary);
}

/* CTA banner */
.wdfcc-cta {
  background: linear-gradient(135deg, var(--wdfcc-primary) 0%, var(--wdfcc-secondary) 100%);
  color: var(--wdfcc-bg-deep);
  border-radius: var(--wdfcc-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  margin: 1.6rem 0;
}

.wdfcc-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.wdfcc-cta p {
  color: var(--wdfcc-bg-deep);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.wdfcc-cta .wdfcc-btn {
  background: var(--wdfcc-bg-deep);
  color: var(--wdfcc-primary);
  width: 100%;
}

/* Responsive: desktop hides bottom nav, widens container */
@media (min-width: 769px) {
  .wdfcc-container {
    max-width: 720px;
  }
  .wdfcc-header-inner {
    max-width: 720px;
  }
  .wdfcc-bottomnav {
    display: none;
  }
  .wdfcc-main {
    padding-bottom: 2rem;
  }
  .wdfcc-footer {
    padding-bottom: 2rem;
  }
  .wdfcc-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .wdfcc-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wdfcc-main {
    padding-bottom: 8rem;
  }
}
