/* 3555 Angel Number - Main Stylesheet
   CSS class prefix: wfa6d-
   Color palette: #6C757D | #B22222 | #AFEEEE | #00FFFF | #004D40 | #1C2833
   Mobile-first design, max-width 430px
   Root font: 62.5% for rem-based sizing */

:root {
  --wfa6d-primary: #B22222;
  --wfa6d-secondary: #004D40;
  --wfa6d-accent: #00FFFF;
  --wfa6d-bg: #1C2833;
  --wfa6d-bg-light: #0d1b2a;
  --wfa6d-text: #AFEEEE;
  --wfa6d-text-light: #ffffff;
  --wfa6d-muted: #6C757D;
  --wfa6d-card-bg: #16213e;
  --wfa6d-border: #2c3e50;
  --wfa6d-gradient-start: #004D40;
  --wfa6d-gradient-end: #1C2833;
  --wfa6d-hover: #B22222;
  --wfa6d-radius: 8px;
  --wfa6d-radius-lg: 12px;
}

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

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--wfa6d-bg);
  color: var(--wfa6d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.wfa6d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--wfa6d-bg-light) 0%, var(--wfa6d-gradient-start) 100%);
  border-bottom: 2px solid var(--wfa6d-primary);
  z-index: 1000;
  padding: 0.6rem 1rem;
}

.wfa6d-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wfa6d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.wfa6d-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.wfa6d-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wfa6d-accent);
  white-space: nowrap;
}

.wfa6d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.wfa6d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--wfa6d-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
  text-decoration: none;
  white-space: nowrap;
}

.wfa6d-btn-register {
  background: linear-gradient(135deg, var(--wfa6d-primary) 0%, #8b0000 100%);
  color: var(--wfa6d-text-light);
  box-shadow: 0 2px 8px rgba(178, 34, 34, 0.4);
}

.wfa6d-btn-login {
  background: transparent;
  color: var(--wfa6d-accent);
  border: 1.5px solid var(--wfa6d-accent);
}

.wfa6d-btn:hover, .wfa6d-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.wfa6d-btn-promo {
  background: linear-gradient(135deg, var(--wfa6d-primary) 0%, #ff4444 100%);
  color: var(--wfa6d-text-light);
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
  border-radius: var(--wfa6d-radius-lg);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.5);
}

.wfa6d-menu-toggle {
  background: transparent;
  border: none;
  color: var(--wfa6d-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.wfa6d-mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  background: var(--wfa6d-bg-light);
  border-top: 1px solid var(--wfa6d-border);
}

.wfa6d-menu-active {
  max-height: 400px !important;
  opacity: 1 !important;
}

.wfa6d-menu-link {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--wfa6d-text);
  text-decoration: none;
  font-size: 1.3rem;
  border-bottom: 1px solid var(--wfa6d-border);
  transition: background 0.2s;
}

.wfa6d-menu-link:hover, .wfa6d-menu-link:active {
  background: rgba(0, 255, 255, 0.08);
  color: var(--wfa6d-accent);
}

/* Main Content Area */
.wfa6d-main {
  margin-top: 52px;
  padding-bottom: 80px;
}

/* Carousel */
.wfa6d-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--wfa6d-radius-lg) var(--wfa6d-radius-lg);
}

.wfa6d-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.wfa6d-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.wfa6d-slide-active {
  display: block;
  animation: wfa6dFadeIn 0.5s ease;
}

@keyframes wfa6dFadeIn {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.wfa6d-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.wfa6d-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(175, 238, 238, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.wfa6d-dot-active {
  background: var(--wfa6d-accent);
  transform: scale(1.3);
}

/* Section Styles */
.wfa6d-section {
  padding: 1.5rem 1rem;
}

.wfa6d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wfa6d-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wfa6d-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wfa6d-section-title i {
  font-size: 2rem;
  color: var(--wfa6d-primary);
}

.wfa6d-section-text {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--wfa6d-text);
  margin-bottom: 1rem;
}

/* Game Grid */
.wfa6d-game-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wfa6d-text-light);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--wfa6d-primary);
}

.wfa6d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.wfa6d-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.wfa6d-game-item:hover, .wfa6d-game-item:active {
  transform: scale(0.95);
}

.wfa6d-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--wfa6d-radius);
  object-fit: cover;
  border: 2px solid var(--wfa6d-border);
  transition: border-color 0.2s;
}

.wfa6d-game-item:hover .wfa6d-game-img,
.wfa6d-game-item:active .wfa6d-game-img {
  border-color: var(--wfa6d-accent);
}

.wfa6d-game-name {
  font-size: 1rem;
  color: var(--wfa6d-text);
  margin-top: 0.3rem;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Cards */
.wfa6d-card {
  background: var(--wfa6d-card-bg);
  border-radius: var(--wfa6d-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--wfa6d-border);
}

.wfa6d-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wfa6d-accent);
  margin-bottom: 0.8rem;
}

.wfa6d-card-text {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--wfa6d-text);
}

/* Promo Links */
.wfa6d-promo-text {
  color: var(--wfa6d-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.wfa6d-promo-text:hover {
  color: #ff4444;
}

/* Testimonials */
.wfa6d-testimonial {
  background: var(--wfa6d-card-bg);
  border-radius: var(--wfa6d-radius-lg);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--wfa6d-primary);
}

.wfa6d-testimonial-name {
  font-weight: 700;
  color: var(--wfa6d-accent);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.wfa6d-testimonial-text {
  font-size: 1.2rem;
  color: var(--wfa6d-text);
  line-height: 1.8rem;
  font-style: italic;
}

/* Winners */
.wfa6d-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wfa6d-border);
  font-size: 1.2rem;
}

.wfa6d-winner-name {
  color: var(--wfa6d-accent);
  font-weight: 600;
}

.wfa6d-winner-amount {
  color: var(--wfa6d-primary);
  font-weight: 700;
}

/* Payment */
.wfa6d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.wfa6d-payment-item {
  background: var(--wfa6d-card-bg);
  padding: 0.6rem 1rem;
  border-radius: var(--wfa6d-radius);
  font-size: 1.2rem;
  color: var(--wfa6d-text);
  border: 1px solid var(--wfa6d-border);
}

/* App CTA */
.wfa6d-app-cta {
  background: linear-gradient(135deg, var(--wfa6d-gradient-start) 0%, var(--wfa6d-bg-light) 100%);
  border-radius: var(--wfa6d-radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--wfa6d-accent);
  margin: 1rem 0;
}

.wfa6d-app-cta-title {
  font-size: 1.6rem;
  color: var(--wfa6d-accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.wfa6d-app-cta-text {
  font-size: 1.3rem;
  color: var(--wfa6d-text);
  margin-bottom: 1rem;
  line-height: 2rem;
}

/* Footer */
.wfa6d-footer {
  background: var(--wfa6d-bg-light);
  padding: 1.5rem 1rem;
  border-top: 2px solid var(--wfa6d-primary);
}

.wfa6d-footer-brand {
  font-size: 1.2rem;
  color: var(--wfa6d-text);
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

.wfa6d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wfa6d-footer-link {
  color: var(--wfa6d-accent);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--wfa6d-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.wfa6d-footer-link:hover {
  background: rgba(0, 255, 255, 0.1);
}

.wfa6d-footer-copy {
  font-size: 1.1rem;
  color: var(--wfa6d-muted);
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wfa6d-border);
}

/* Bottom Navigation */
.wfa6d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, var(--wfa6d-bg-light) 0%, #0a0f1a 100%);
  border-top: 2px solid var(--wfa6d-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.wfa6d-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  color: var(--wfa6d-text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  padding: 0.3rem;
}

.wfa6d-bottom-nav-item i,
.wfa6d-bottom-nav-item span.material-icons-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}

.wfa6d-bottom-nav-item span {
  font-size: 1rem;
  white-space: nowrap;
}

.wfa6d-bottom-nav-item:hover,
.wfa6d-bottom-nav-item:active {
  color: var(--wfa6d-accent);
  transform: scale(0.92);
}

.wfa6d-bottom-nav-active {
  color: var(--wfa6d-accent) !important;
}

.wfa6d-bottom-nav-active i,
.wfa6d-bottom-nav-active span.material-icons-outlined {
  color: var(--wfa6d-accent);
  filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.5));
}

/* Internal Link Styles */
.wfa6d-internal-link {
  color: var(--wfa6d-accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--wfa6d-accent);
  transition: all 0.2s;
}

.wfa6d-internal-link:hover {
  color: var(--wfa6d-primary);
  border-bottom-color: var(--wfa6d-primary);
}

/* Responsive */
@media (min-width: 769px) {
  .wfa6d-bottom-nav {
    display: none;
  }
  .wfa6d-main {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .wfa6d-main {
    padding-bottom: 80px;
  }
}

/* Utility Classes */
.wfa6d-text-center { text-align: center; }
.wfa6d-text-primary { color: var(--wfa6d-primary); }
.wfa6d-text-accent { color: var(--wfa6d-accent); }
.wfa6d-text-muted { color: var(--wfa6d-muted); }
.wfa6d-mb-1 { margin-bottom: 0.5rem; }
.wfa6d-mb-2 { margin-bottom: 1rem; }
.wfa6d-mb-3 { margin-bottom: 1.5rem; }
.wfa6d-mt-1 { margin-top: 0.5rem; }
.wfa6d-mt-2 { margin-top: 1rem; }
.wfa6d-p-1 { padding: 0.5rem; }
.wfa6d-p-2 { padding: 1rem; }
.wfa6d-hidden { display: none; }
