/* lucky-calico.css - Main stylesheet for Lucky Calico */
/* All classes prefixed with w9099- */

:root {
  --w9099-primary: #9400D3;
  --w9099-primary-dark: #7B00A8;
  --w9099-primary-light: #B040E8;
  --w9099-secondary: #CD853F;
  --w9099-accent: #CD5C5C;
  --w9099-light: #D8BFD8;
  --w9099-lighter: #EDE0ED;
  --w9099-bg: #2C2C2C;
  --w9099-bg-dark: #1A1A1A;
  --w9099-bg-card: #363636;
  --w9099-bg-card-hover: #404040;
  --w9099-text: #F0E6F0;
  --w9099-text-muted: #B8A8B8;
  --w9099-text-dim: #8A7A8A;
  --w9099-border: #4A3A4A;
  --w9099-shadow: rgba(148, 0, 211, 0.3);
  --w9099-radius: 1.2rem;
  --w9099-radius-sm: 0.8rem;
  --w9099-transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--w9099-bg);
  color: var(--w9099-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--w9099-light); text-decoration: none; transition: color var(--w9099-transition); }
a:hover { color: var(--w9099-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== HEADER ===== */
.w9099-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--w9099-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--w9099-border);
}

.w9099-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w9099-logo {
  width: 32px;
  height: 32px;
  border-radius: 0.6rem;
}

.w9099-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w9099-primary-light);
  letter-spacing: 0.05rem;
}

.w9099-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w9099-btn-register,
.w9099-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--w9099-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--w9099-transition);
}

.w9099-btn-register {
  background: linear-gradient(135deg, var(--w9099-primary), var(--w9099-primary-dark));
  color: #fff;
}

.w9099-btn-register:hover {
  background: linear-gradient(135deg, var(--w9099-primary-light), var(--w9099-primary));
  transform: scale(1.05);
}

.w9099-btn-login {
  background: transparent;
  color: var(--w9099-light);
  border: 1px solid var(--w9099-primary);
}

.w9099-btn-login:hover {
  background: var(--w9099-primary);
  color: #fff;
}

.w9099-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--w9099-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .w9099-hamburger { display: block; }
}

/* ===== MOBILE MENU ===== */
.w9099-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--w9099-transition);
}

.w9099-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.w9099-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w9099-bg-dark);
  z-index: 9999;
  transition: right var(--w9099-transition);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.w9099-menu-active { right: 0; }

.w9099-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w9099-border);
}

.w9099-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w9099-primary-light);
}

.w9099-menu-close {
  background: none;
  border: none;
  color: var(--w9099-text);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.w9099-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--w9099-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w9099-border);
  transition: all var(--w9099-transition);
}

.w9099-menu-links a:hover {
  color: var(--w9099-primary-light);
  padding-left: 1rem;
}

.w9099-menu-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===== CAROUSEL ===== */
.w9099-carousel {
  position: relative;
  width: 100%;
  margin-top: 56px;
  overflow: hidden;
  aspect-ratio: 430/200;
  background: var(--w9099-bg-dark);
}

.w9099-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w9099-slide-active { opacity: 1; }

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

.w9099-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 2;
}

.w9099-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--w9099-text-dim);
  cursor: pointer;
  transition: all var(--w9099-transition);
  border: none;
}

.w9099-dot-active {
  background: var(--w9099-primary-light);
  transform: scale(1.3);
}

/* ===== MAIN CONTENT ===== */
main {
  padding: 1.5rem;
  padding-bottom: 2rem;
}

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

/* ===== SECTION TITLES ===== */
.w9099-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w9099-primary-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w9099-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

/* ===== GAME GRID ===== */
.w9099-game-section {
  margin-bottom: 2rem;
}

.w9099-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.w9099-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all var(--w9099-transition);
  border-radius: var(--w9099-radius-sm);
  padding: 0.5rem;
  background: var(--w9099-bg-card);
}

.w9099-game-card:hover {
  background: var(--w9099-bg-card-hover);
  transform: translateY(-2px);
}

.w9099-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w9099-radius-sm);
  object-fit: cover;
  margin-bottom: 0.3rem;
}

.w9099-game-card span {
  font-size: 1rem;
  color: var(--w9099-text-muted);
  text-align: center;
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CONTENT MODULES ===== */
.w9099-module {
  background: var(--w9099-bg-card);
  border-radius: var(--w9099-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--w9099-border);
}

.w9099-module h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w9099-primary-light);
  margin-bottom: 1rem;
}

.w9099-module h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w9099-light);
  margin-bottom: 0.8rem;
}

.w9099-module p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--w9099-text-muted);
  margin-bottom: 1rem;
}

.w9099-module p:last-child { margin-bottom: 0; }

/* ===== CTA SECTION ===== */
.w9099-cta {
  background: linear-gradient(135deg, var(--w9099-primary-dark), var(--w9099-primary));
  border-radius: var(--w9099-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.w9099-cta h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.w9099-cta p {
  font-size: 1.3rem;
  color: var(--w9099-lighter);
  margin-bottom: 1.5rem;
}

.w9099-cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--w9099-secondary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--w9099-radius);
  cursor: pointer;
  transition: all var(--w9099-transition);
  border: none;
}

.w9099-cta-btn:hover {
  background: var(--w9099-accent);
  transform: scale(1.05);
}

/* ===== WINNERS TABLE ===== */
.w9099-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.w9099-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--w9099-bg);
  border-radius: var(--w9099-radius-sm);
  font-size: 1.2rem;
}

.w9099-winner-name {
  color: var(--w9099-light);
  font-weight: 600;
}

.w9099-winner-game {
  color: var(--w9099-text-dim);
}

.w9099-winner-amount {
  color: var(--w9099-secondary);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.w9099-testimonial {
  background: var(--w9099-bg);
  border-radius: var(--w9099-radius-sm);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--w9099-primary);
}

.w9099-testimonial p {
  font-style: italic;
  color: var(--w9099-text-muted);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.w9099-testimonial-author {
  font-size: 1.1rem;
  color: var(--w9099-secondary);
  font-weight: 600;
}

/* ===== PAYMENT METHODS ===== */
.w9099-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.w9099-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem;
  background: var(--w9099-bg);
  border-radius: var(--w9099-radius-sm);
  min-width: 7rem;
}

.w9099-payment-item i {
  font-size: 2.4rem;
  color: var(--w9099-secondary);
}

.w9099-payment-item span {
  font-size: 1rem;
  color: var(--w9099-text-muted);
}

/* ===== APP DOWNLOAD CTA ===== */
.w9099-app-cta {
  background: linear-gradient(135deg, #1A1A2E, var(--w9099-primary-dark));
  border-radius: var(--w9099-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--w9099-primary);
}

.w9099-app-cta h3 {
  font-size: 1.6rem;
  color: var(--w9099-light);
  margin-bottom: 0.8rem;
}

.w9099-app-cta p {
  font-size: 1.2rem;
  color: var(--w9099-text-muted);
  margin-bottom: 1.5rem;
}

.w9099-app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.w9099-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--w9099-bg-card);
  border-radius: var(--w9099-radius-sm);
  color: var(--w9099-text);
  font-size: 1.2rem;
  cursor: pointer;
  border: 1px solid var(--w9099-border);
  transition: all var(--w9099-transition);
}

.w9099-app-btn:hover {
  background: var(--w9099-primary);
  border-color: var(--w9099-primary-light);
}

/* ===== FAQ ACCORDION ===== */
.w9099-faq-item {
  border-bottom: 1px solid var(--w9099-border);
  margin-bottom: 0.5rem;
}

.w9099-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--w9099-light);
  transition: color var(--w9099-transition);
}

.w9099-faq-question:hover {
  color: var(--w9099-primary-light);
}

.w9099-faq-icon {
  font-size: 1.4rem;
  color: var(--w9099-primary);
  transition: transform var(--w9099-transition);
}

.w9099-faq-icon-open {
  transform: rotate(45deg);
}

.w9099-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.w9099-faq-answer-inner {
  padding: 0 0 1.2rem 0;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--w9099-text-muted);
}

/* ===== TIPS LIST ===== */
.w9099-tips-list {
  counter-reset: w9099-tip;
}

.w9099-tip-item {
  counter-increment: w9099-tip;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--w9099-border);
}

.w9099-tip-item:last-child { border-bottom: none; }

.w9099-tip-item::before {
  content: counter(w9099-tip);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--w9099-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.w9099-tip-item h3 {
  font-size: 1.3rem;
  color: var(--w9099-light);
  margin-bottom: 0.4rem;
}

.w9099-tip-item p {
  font-size: 1.2rem;
  color: var(--w9099-text-muted);
  line-height: 1.6rem;
}

/* ===== FOOTER ===== */
.w9099-footer {
  background: var(--w9099-bg-dark);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--w9099-border);
}

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

.w9099-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w9099-footer-brand p {
  font-size: 1.2rem;
  color: var(--w9099-text-dim);
  line-height: 1.6rem;
}

.w9099-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w9099-footer-links a {
  font-size: 1.1rem;
  color: var(--w9099-text-muted);
  padding: 0.4rem 0.8rem;
  background: var(--w9099-bg-card);
  border-radius: var(--w9099-radius-sm);
  transition: all var(--w9099-transition);
}

.w9099-footer-links a:hover {
  color: var(--w9099-primary-light);
  background: var(--w9099-bg-card-hover);
}

.w9099-partners {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w9099-partners-title {
  font-size: 1.2rem;
  color: var(--w9099-text-dim);
  margin-bottom: 0.8rem;
}

.w9099-partners-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.w9099-partners-images img {
  height: 24px;
  opacity: 0.6;
  transition: opacity var(--w9099-transition);
}

.w9099-partners-images img:hover { opacity: 1; }

.w9099-promo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.w9099-promo-link {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--w9099-primary), var(--w9099-primary-dark));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--w9099-radius-sm);
  cursor: pointer;
  transition: all var(--w9099-transition);
  border: none;
}

.w9099-promo-link:hover {
  background: linear-gradient(135deg, var(--w9099-primary-light), var(--w9099-primary));
  transform: scale(1.05);
}

.w9099-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--w9099-text-dim);
  padding-top: 1rem;
  border-top: 1px solid var(--w9099-border);
}

/* ===== BOTTOM NAV ===== */
.w9099-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w9099-bg-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--w9099-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.w9099-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--w9099-text-dim);
  cursor: pointer;
  transition: all var(--w9099-transition);
  padding: 0.4rem;
}

.w9099-bottom-btn:hover,
.w9099-bottom-btn:focus {
  color: var(--w9099-primary-light);
}

.w9099-bottom-btn i,
.w9099-bottom-btn .material-icons-outlined,
.w9099-bottom-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.w9099-bottom-btn span {
  font-size: 1rem;
  line-height: 1;
}

.w9099-bottom-btn-active {
  color: var(--w9099-primary-light);
}

.w9099-bottom-btn-active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--w9099-primary-light);
  border-radius: 50%;
  margin-top: 1px;
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .w9099-bottom-nav { display: none; }
  .w9099-hamburger { display: none; }
  .w9099-footer { padding-bottom: 2rem; }
}

/* ===== INLINE LINKS ===== */
.w9099-inline-link {
  color: var(--w9099-primary-light);
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.w9099-inline-link:hover {
  color: var(--w9099-secondary);
}

/* ===== HELP PAGE STYLES ===== */
.w9099-help-hero {
  background: linear-gradient(135deg, var(--w9099-primary-dark), var(--w9099-bg));
  padding: 2rem 1.5rem;
  margin-top: 56px;
  text-align: center;
}

.w9099-help-hero h1 {
  font-size: 2rem;
  color: var(--w9099-primary-light);
  margin-bottom: 0.8rem;
}

.w9099-help-hero p {
  font-size: 1.3rem;
  color: var(--w9099-text-muted);
}

.w9099-help-content {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .w9099-help-content { padding-bottom: 80px; }
}

/* ===== CATEGORY BADGE ===== */
.w9099-cat-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--w9099-primary);
  color: #fff;
  font-size: 1rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* ===== H1 PAGE TITLE ===== */
.w9099-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w9099-primary-light);
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

/* ===== TEXT LINK BUTTONS ===== */
.w9099-text-link {
  display: inline;
  color: var(--w9099-primary-light);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--w9099-transition);
}

.w9099-text-link:hover {
  color: var(--w9099-secondary);
}

/* ===== RESPONSIVE GRID HELPERS ===== */
.w9099-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 400px) {
  .w9099-game-grid { gap: 1rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--w9099-bg); }
::-webkit-scrollbar-thumb { background: var(--w9099-primary-dark); border-radius: 2px; }
