/*!
 * phspin login - design-96a3.css
 * All custom classes use prefix "s96a-"
 * Palette: #F5DEB3 (cream) | #DC143C (crimson) | #1E1E1E (ink) | #FF1493 (hot pink) | #FF69B4 (rose)
 * Mobile-first responsive: max-width 430px, root font-size 62.5% for rem units
 */

:root {
  --s96a-bg: #1E1E1E;
  --s96a-bg-soft: #26201f;
  --s96a-card: #2a2322;
  --s96a-cream: #F5DEB3;
  --s96a-crimson: #DC143C;
  --s96a-pink: #FF1493;
  --s96a-rose: #FF69B4;
  --s96a-text: #F5DEB3;
  --s96a-text-muted: #d8c39a;
  --s96a-white: #fff5e6;
  --s96a-border: rgba(245, 222, 179, 0.18);
  --s96a-primary: #DC143C;
  --s96a-gold: #F5DEB3;
  --s96a-radius: 14px;
  --s96a-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --s96a-header-h: 58px;
  --s96a-bottom-nav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #2a1a1f 0%, var(--s96a-bg) 55%);
  color: var(--s96a-text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a { color: var(--s96a-rose); text-decoration: none; }

h1, h2, h3, h4 { color: var(--s96a-white); line-height: 1.3; margin: 0 0 1rem; }

p { margin: 0 0 1.2rem; }

/* Layout containers */
.s96a-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.s96a-container { padding: 18px 14px; }
.s96a-section { padding: 22px 0; border-bottom: 1px solid var(--s96a-border); }

/* ============== Header ============== */
.s96a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s96a-header-h);
  background: linear-gradient(90deg, #1a1414 0%, #2a1018 100%);
  border-bottom: 2px solid var(--s96a-crimson);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.s96a-header-inner {
  height: 100%; max-width: 430px; margin: 0 auto;
  padding: 0 12px; display: flex; align-items: center; gap: 10px;
}
.s96a-logo { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.s96a-logo img { width: 30px; height: 30px; border-radius: 8px; }
.s96a-logo span {
  font-weight: 800; font-size: 1.7rem; color: var(--s96a-cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.3px;
}
.s96a-logo em { color: var(--s96a-pink); font-style: normal; }

.s96a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: none; border-radius: 24px;
  font-size: 1.35rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease; min-height: 38px;
  font-family: inherit;
}
.s96a-btn:hover { transform: translateY(-1px); }
.s96a-btn-register {
  background: linear-gradient(135deg, var(--s96a-crimson), var(--s96a-pink));
  color: var(--s96a-white); box-shadow: 0 3px 10px rgba(220, 20, 60, 0.45);
}
.s96a-btn-login {
  background: transparent; color: var(--s96a-cream);
  border: 1.5px solid var(--s96a-cream);
}
.s96a-btn-block { width: 100%; padding: 12px 18px; font-size: 1.5rem; }
.s96a-btn-gold {
  background: linear-gradient(135deg, var(--s96a-gold), #e0b878);
  color: #2a1018; font-weight: 800;
}

/* Header menu toggle */
.s96a-menu-toggle {
  background: transparent; border: none; color: var(--s96a-cream);
  font-size: 2.2rem; padding: 6px; cursor: pointer; line-height: 1;
}
.s96a-menu-toggle.s96a-active { color: var(--s96a-pink); }

/* Header desktop nav (hidden on mobile) */
.s96a-desktop-nav { display: none; gap: 18px; }
.s96a-desktop-nav a { color: var(--s96a-cream); font-size: 1.35rem; font-weight: 600; }
.s96a-desktop-nav a:hover { color: var(--s96a-pink); }

/* ============== Mobile Menu (drop-down) ============== */
.s96a-mobile-menu {
  position: fixed; top: var(--s96a-header-h); left: 0; right: 0; z-index: 9999;
  background: #1c1515; border-bottom: 2px solid var(--s96a-crimson);
  padding: 14px 16px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease; padding-top: 0; padding-bottom: 0;
}
.s96a-mobile-menu.s96a-menu-open {
  max-height: 540px; padding-top: 14px; padding-bottom: 14px;
}
.s96a-mobile-menu a {
  display: block; padding: 11px 6px; color: var(--s96a-cream);
  font-size: 1.45rem; font-weight: 600;
  border-bottom: 1px solid var(--s96a-border);
}
.s96a-mobile-menu a:last-child { border-bottom: none; }
.s96a-mobile-menu a:hover { color: var(--s96a-pink); }

/* ============== Hero / Carousel ============== */
.s96a-hero { margin-top: var(--s96a-header-h); }
.s96a-carousel {
  position: relative; width: 100%; max-width: 430px; margin: 0 auto;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0;
}
.s96a-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.s96a-slide.s96a-active { opacity: 1; }
.s96a-slide img { width: 100%; height: 100%; object-fit: cover; }
.s96a-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 26px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.s96a-slide-overlay h2 { font-size: 2rem; color: var(--s96a-cream); margin: 0 0 4px; }
.s96a-slide-overlay p { font-size: 1.3rem; color: var(--s96a-text-muted); margin: 0; }

.s96a-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s96a-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(245,222,179,0.4); cursor: pointer; transition: background 0.2s ease;
}
.s96a-dot.s96a-active { background: var(--s96a-pink); }

/* ============== Headings ============== */
.s96a-h1 {
  font-size: 2.4rem; color: var(--s96a-white); margin: 14px 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.s96a-section-title {
  font-size: 1.9rem; color: var(--s96a-cream); margin: 6px 0 14px;
  padding-left: 12px; border-left: 4px solid var(--s96a-pink);
}
.s96a-lead { color: var(--s96a-text-muted); font-size: 1.45rem; }

/* ============== Filter Chips ============== */
.s96a-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.s96a-chips::-webkit-scrollbar { display: none; }
.s96a-chip {
  flex-shrink: 0; padding: 7px 14px; border-radius: 18px;
  background: var(--s96a-card); color: var(--s96a-cream);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--s96a-border); white-space: nowrap;
}
.s96a-chip.s96a-active {
  background: linear-gradient(135deg, var(--s96a-crimson), var(--s96a-pink));
  color: var(--s96a-white); border-color: transparent;
}

/* ============== Game Grid ============== */
.s96a-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.s96a-game-tile {
  background: var(--s96a-card); border-radius: var(--s96a-radius);
  overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid var(--s96a-border);
}
.s96a-game-tile:hover { transform: translateY(-3px); box-shadow: var(--s96a-shadow); }
.s96a-game-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.s96a-game-name {
  padding: 6px 8px; font-size: 1.15rem; color: var(--s96a-cream);
  text-align: center; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.s96a-cat-label {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  background: rgba(255,20,147,0.18); color: var(--s96a-rose);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ============== Cards ============== */
.s96a-card {
  background: var(--s96a-card); border-radius: var(--s96a-radius);
  padding: 16px; border: 1px solid var(--s96a-border); margin-bottom: 12px;
}
.s96a-card h3 { color: var(--s96a-cream); font-size: 1.55rem; margin-bottom: 8px; }
.s96a-card p { font-size: 1.35rem; color: var(--s96a-text-muted); margin: 0; }
.s96a-card a { font-weight: 700; }

/* Feature list */
.s96a-feature-list { list-style: none; padding: 0; margin: 0; }
.s96a-feature-list li {
  padding: 9px 0 9px 28px; position: relative;
  border-bottom: 1px dashed var(--s96a-border); font-size: 1.35rem;
}
.s96a-feature-list li:last-child { border-bottom: none; }
.s96a-feature-list li::before {
  content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 9px; color: var(--s96a-pink); font-size: 1.3rem;
}

/* Steps */
.s96a-step { display: flex; gap: 12px; margin-bottom: 12px; }
.s96a-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--s96a-crimson); color: var(--s96a-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
}
.s96a-step-body h4 { margin: 0 0 4px; font-size: 1.45rem; color: var(--s96a-cream); }
.s96a-step-body p { margin: 0; font-size: 1.3rem; color: var(--s96a-text-muted); }

/* FAQ */
.s96a-faq-item {
  background: var(--s96a-card); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
  border: 1px solid var(--s96a-border);
}
.s96a-faq-item h4 { font-size: 1.4rem; color: var(--s96a-cream); margin: 0 0 6px; }
.s96a-faq-item p { margin: 0; font-size: 1.3rem; color: var(--s96a-text-muted); }

/* Testimonials */
.s96a-testi {
  background: var(--s96a-card); border-radius: var(--s96a-radius);
  padding: 14px; margin-bottom: 10px; border-left: 3px solid var(--s96a-rose);
}
.s96a-testi-stars { color: var(--s96a-gold); font-size: 1.3rem; margin-bottom: 6px; }
.s96a-testi p { font-size: 1.3rem; color: var(--s96a-text-muted); margin: 0 0 6px; }
.s96a-testi-author { font-size: 1.2rem; color: var(--s96a-cream); font-weight: 700; }

/* Promo CTA */
.s96a-cta {
  background: linear-gradient(135deg, rgba(220,20,60,0.18), rgba(255,20,147,0.18));
  border: 1px solid var(--s96a-pink); border-radius: var(--s96a-radius);
  padding: 18px 16px; text-align: center; margin: 14px 0;
}
.s96a-cta h3 { color: var(--s96a-white); font-size: 1.8rem; margin-bottom: 6px; }
.s96a-cta p { font-size: 1.35rem; color: var(--s96a-text-muted); margin-bottom: 12px; }

/* Winners ticker */
.s96a-winners {
  background: rgba(245,222,179,0.06); border-radius: 10px;
  padding: 10px 12px; display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none;
}
.s96a-winners::-webkit-scrollbar { display: none; }
.s96a-winner {
  flex-shrink: 0; font-size: 1.2rem; color: var(--s96a-cream);
  background: var(--s96a-card); padding: 6px 10px; border-radius: 8px;
}
.s96a-winner b { color: var(--s96a-gold); }

/* Payment row */
.s96a-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.s96a-pay {
  background: var(--s96a-card); border: 1px solid var(--s96a-border);
  border-radius: 8px; padding: 8px 12px; font-size: 1.2rem; color: var(--s96a-cream);
}

/* Promo text link */
.s96a-promo-link {
  color: var(--s96a-pink); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--s96a-pink);
}

/* ============== Footer ============== */
.s96a-footer {
  background: #160f0f; border-top: 2px solid var(--s96a-crimson);
  padding: 22px 14px 14px;
}
.s96a-footer h4 { color: var(--s96a-cream); font-size: 1.4rem; margin: 8px 0; }
.s96a-footer p { font-size: 1.25rem; color: var(--s96a-text-muted); line-height: 1.5; }
.s96a-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0;
}
.s96a-footer-links a { color: var(--s96a-text-muted); font-size: 1.2rem; }
.s96a-footer-links a:hover { color: var(--s96a-pink); }
.s96a-footer-buttons {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0;
}
.s96a-copy {
  text-align: center; font-size: 1.15rem; color: var(--s96a-text-muted);
  padding-top: 12px; border-top: 1px solid var(--s96a-border); margin-top: 10px;
}

/* ============== Mobile Bottom Nav ============== */
.s96a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s96a-bottom-nav-h);
  background: linear-gradient(180deg, #1f1717, #140e0e);
  border-top: 2px solid var(--s96a-pink);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.6);
}
.s96a-bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--s96a-text-muted); font-size: 1.05rem; font-weight: 600;
  gap: 2px; min-width: 60px; min-height: 60px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s96a-bottom-nav a i, .s96a-bottom-nav a span.icon {
  font-size: 22px;
}
.s96a-bottom-nav a:hover { color: var(--s96a-pink); transform: translateY(-2px); }
.s96a-bottom-nav a.s96a-current { color: var(--s96a-rose); }
.s96a-bottom-nav a.s96a-current::after {
  content: ""; position: absolute; top: 0; width: 30px; height: 3px;
  background: var(--s96a-pink); border-radius: 0 0 4px 4px;
}
.s96a-bottom-nav a { position: relative; }

/* Main content padding to clear bottom nav */
main { padding-bottom: 80px; }

/* ============== Responsive: Desktop ============== */
@media (min-width: 769px) {
  body { background: radial-gradient(circle at 30% 0%, #2a1a1f 0%, var(--s96a-bg) 60%); }
  .s96a-wrapper { max-width: 980px; }
  .s96a-header-inner { max-width: 980px; }
  .s96a-carousel { max-width: 980px; aspect-ratio: 21/8; }
  .s96a-menu-toggle { display: none; }
  .s96a-desktop-nav { display: flex; }
  .s96a-grid { grid-template-columns: repeat(6, 1fr); }
  .s96a-footer-buttons { grid-template-columns: repeat(4, 1fr); }
  .s96a-bottom-nav { display: none; }
  main { padding-bottom: 30px; }
}

/* Accessibility: focus styles */
a:focus-visible, button:focus-visible, .s96a-chip:focus-visible {
  outline: 2px solid var(--s96a-rose); outline-offset: 2px;
}
