/*!
 * kuwwin.homes - Core stylesheet
 * Prefix: s451-
 * Mobile-first design, max-width 430px container.
 * Color palette: #1E1E1E / #FF1493 / #228B22 / #DEE2E6 / #90EE90 / #00FF00
 */

:root {
  --s451-bg: #1E1E1E;
  --s451-bg-2: #15151c;
  --s451-bg-3: #23232e;
  --s451-primary: #FF1493;
  --s451-primary-2: #ff4ba8;
  --s451-green: #228B22;
  --s451-green-light: #90EE90;
  --s451-green-bright: #00FF00;
  --s451-text: #DEE2E6;
  --s451-text-dim: #a9afbb;
  --s451-border: rgba(255, 255, 255, 0.08);
  --s451-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --s451-radius: 14px;
  --s451-header-h: 58px;
  --s451-nav-h: 62px;
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #2a0f23 0%, var(--s451-bg) 55%, var(--s451-bg-2) 100%);
  color: var(--s451-text);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--s451-green-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--s451-primary); }

.s451-skip {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.s451-skip:focus { left: 8px; top: 8px; width: auto; height: auto; background: #000; color: #fff; padding: 8px 12px; z-index: 99999; }

/* ============ HEADER ============ */
.s451-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s451-header-h);
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98) 0%, rgba(20, 20, 28, 0.88) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s451-border);
  display: flex; align-items: center;
  padding: 0 12px;
}
.s451-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.s451-logo {
  display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800;
  font-size: 1.85rem; letter-spacing: .3px;
}
.s451-logo img { width: 30px; height: 30px; border-radius: 8px; }
.s451-logo b { background: linear-gradient(90deg, var(--s451-primary), var(--s451-green-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.s451-header-actions { display: flex; align-items: center; gap: 7px; }
.s451-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; font-size: 1.32rem; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: 30px; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap; min-height: 36px;
}
.s451-btn:active { transform: scale(.95); }
.s451-btn-primary {
  background: linear-gradient(90deg, var(--s451-primary) 0%, #ff5fa8 100%);
  color: #fff; box-shadow: 0 4px 14px rgba(255, 20, 147, .45);
}
.s451-btn-primary:hover { filter: brightness(1.08); color: #fff; }
.s451-btn-ghost {
  background: rgba(144, 238, 144, .12); color: var(--s451-green-light);
  border: 1px solid rgba(144, 238, 144, .35);
}
.s451-btn-ghost:hover { background: rgba(144, 238, 144, .22); color: var(--s451-green-bright); }
.s451-btn-block { width: 100%; padding: 13px; font-size: 1.5rem; }
.s451-btn-lg { padding: 11px 18px; font-size: 1.45rem; }

.s451-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06);
  border: 1px solid var(--s451-border); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.s451-icon-btn:active { transform: scale(.92); }

/* ============ MOBILE MENU (slide-in) ============ */
.s451-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.s451-overlay-show { opacity: 1; visibility: visible; }
.s451-mobile-menu {
  position: fixed; top: 0; right: -82%; width: 80%; max-width: 340px; height: 100vh;
  background: linear-gradient(180deg, #1b1622 0%, #14101a 100%);
  z-index: 9999; transition: right .3s ease; padding: 18px 16px; overflow-y: auto;
  border-left: 1px solid var(--s451-border);
}
.s451-menu-open { right: 0; }
.s451-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.s451-menu-head .s451-logo { font-size: 1.7rem; }
.s451-menu-close { background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.s451-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.s451-menu-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.s451-menu-list li a {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px;
  border-radius: 10px; color: var(--s451-text); font-weight: 600; font-size: 1.4rem;
  border: 1px solid transparent;
}
.s451-menu-list li a:hover, .s451-menu-list li a:focus {
  background: rgba(255, 20, 147, .12); border-color: rgba(255, 20, 147, .3); color: #fff;
}
.s451-menu-list li a i { color: var(--s451-primary); width: 22px; text-align: center; font-size: 1.6rem; }

/* ============ MAIN ============ */
main { padding-top: calc(var(--s451-header-h) + 6px); padding-bottom: 80px; }
.s451-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.s451-section { padding: 22px 0; }
.s451-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.s451-section-title {
  font-size: 1.85rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 8px; line-height: 1.2;
}
.s451-section-title::before {
  content: ""; display: inline-block; width: 4px; height: 20px; border-radius: 4px;
  background: linear-gradient(180deg, var(--s451-primary), var(--s451-green-bright));
}
.s451-section-more { font-size: 1.3rem; color: var(--s451-green-light); font-weight: 600; }
.s451-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 30px;
  background: rgba(255, 20, 147, .14); color: var(--s451-primary); font-size: 1.2rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
}

/* ============ CAROUSEL ============ */
.s451-carousel {
  position: relative; border-radius: var(--s451-radius); overflow: hidden;
  box-shadow: var(--s451-shadow); background: #000;
}
.s451-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 7; }
.s451-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease;
  pointer-events: none;
}
.s451-slide-active { opacity: 1; pointer-events: auto; }
.s451-slide img { width: 100%; height: 100%; object-fit: cover; }
.s451-slide-cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  padding: 26px 12px 6px; border-radius: 0 0 10px 10px; color: #fff;
}
.s451-slide-cap h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 2px; }
.s451-slide-cap p { font-size: 1.2rem; color: var(--s451-text-dim); }
.s451-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 3;
}
.s451-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45);
  border: none; cursor: pointer; padding: 0; transition: all .25s ease;
}
.s451-dot-active { background: var(--s451-primary); width: 20px; border-radius: 6px; }
.s451-carousel-prev, .s451-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.45);
  color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 3; font-size: 1.6rem;
}
.s451-carousel-prev { left: 8px; }
.s451-carousel-next { right: 8px; }

/* ============ HERO / INTRO ============ */
.s451-hero-card {
  background: linear-gradient(135deg, rgba(255, 20, 147, .15), rgba(34, 139, 34, .12));
  border: 1px solid var(--s451-border); border-radius: var(--s451-radius);
  padding: 16px; margin-top: 14px;
}
.s451-hero-card h1 { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 6px; }
.s451-hero-card p { color: var(--s451-text-dim); font-size: 1.38rem; }
.s451-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

/* ============ GAME GRID ============ */
.s451-cat-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px;
  background: linear-gradient(90deg, var(--s451-green), #2bb24c); color: #fff;
  font-size: 1.22rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(34, 139, 34, .35);
}
.s451-cat-badge.alt { background: linear-gradient(90deg, var(--s451-primary), #ff5fa8); box-shadow: 0 4px 12px rgba(255, 20, 147, .35); }
.s451-cat-badge.gold { background: linear-gradient(90deg, #d4a017, #f4c430); color: #2a1a00; }
.s451-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.s451-game-grid.s451-cols-4 { grid-template-columns: repeat(4, 1fr); }
.s451-game-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--s451-bg-3); border: 1px solid var(--s451-border);
  border-radius: 12px; padding: 8px 6px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.s451-game-card:hover, .s451-game-card:focus {
  transform: translateY(-3px); border-color: var(--s451-primary);
  box-shadow: 0 8px 20px rgba(255, 20, 147, .25);
}
.s451-game-thumb {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  background: linear-gradient(135deg, #2c2333, #1a141f); margin-bottom: 6px;
}
.s451-game-name {
  font-size: 1.18rem; color: var(--s451-text); font-weight: 600;
  line-height: 1.25; min-height: 32px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.s451-game-card:hover .s451-game-name { color: var(--s451-green-bright); }

/* ============ GENERIC CARD ============ */
.s451-card {
  background: linear-gradient(180deg, var(--s451-bg-3), #1a1a24);
  border: 1px solid var(--s451-border); border-radius: var(--s451-radius);
  padding: 16px; box-shadow: var(--s451-shadow);
}
.s451-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; font-weight: 800; }
.s451-card p { color: var(--s451-text-dim); font-size: 1.36rem; }
.s451-card a { color: var(--s451-primary); font-weight: 700; }

.s451-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s451-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.s451-feature {
  display: flex; flex-direction: column; gap: 6px; padding: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--s451-border); border-radius: 12px;
}
.s451-feature .s451-ic {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: linear-gradient(135deg, var(--s451-primary), #7a1149); color: #fff;
}
.s451-feature h4 { color: #fff; font-size: 1.38rem; font-weight: 700; }
.s451-feature p { color: var(--s451-text-dim); font-size: 1.28rem; line-height: 1.4; }

/* ============ FAQ / ACCORDION (static) ============ */
.s451-faq { border: 1px solid var(--s451-border); border-radius: 12px; overflow: hidden; background: var(--s451-bg-3); }
.s451-faq-item { padding: 12px 14px; border-bottom: 1px solid var(--s451-border); }
.s451-faq-item:last-child { border-bottom: none; }
.s451-faq-q { color: #fff; font-weight: 700; font-size: 1.38rem; margin-bottom: 4px; display: flex; gap: 8px; }
.s451-faq-q::before { content: "Q"; color: var(--s451-primary); font-weight: 900; }
.s451-faq-a { color: var(--s451-text-dim); font-size: 1.3rem; }

/* ============ RTP TABLE ============ */
.s451-rtp { width: 100%; border-collapse: collapse; font-size: 1.28rem; }
.s451-rtp th, .s451-rtp td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--s451-border); }
.s451-rtp th { color: var(--s451-green-light); font-weight: 700; font-size: 1.22rem; text-transform: uppercase; letter-spacing: .4px; }
.s451-rtp td { color: var(--s451-text); }
.s451-rtp tr:hover td { background: rgba(255, 20, 147, .08); }
.s451-rtp-pct { color: var(--s451-green-bright); font-weight: 800; }

/* ============ TESTIMONIALS ============ */
.s451-testi {
  background: var(--s451-bg-3); border: 1px solid var(--s451-border); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.s451-testi-head { display: flex; align-items: center; gap: 10px; }
.s451-testi-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s451-primary), var(--s451-green));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.4rem;
}
.s451-testi-name { color: #fff; font-weight: 700; font-size: 1.34rem; }
.s451-stars { color: #ffc940; font-size: 1.2rem; letter-spacing: 1px; }
.s451-testi-body { color: var(--s451-text-dim); font-size: 1.28rem; line-height: 1.45; }

/* ============ PAYMENT / APP CTA ============ */
.s451-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.s451-pay {
  flex: 1 1 calc(33.333% - 8px); min-width: 90px;
  background: rgba(255,255,255,.05); border: 1px solid var(--s451-border);
  border-radius: 10px; padding: 10px; text-align: center;
  color: #fff; font-weight: 700; font-size: 1.22rem; display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.s451-pay i { font-size: 2.2rem; color: var(--s451-green-light); }
.s451-app-cta {
  background: linear-gradient(135deg, rgba(255, 20, 147, .18), rgba(34, 139, 34, .15));
  border: 1px solid var(--s451-border); border-radius: var(--s451-radius); padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.s451-app-cta h3 { color: #fff; font-size: 1.7rem; font-weight: 800; }
.s451-app-cta p { color: var(--s451-text-dim); font-size: 1.32rem; }

/* ============ WINNERS TICKER ============ */
.s451-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-bottom: 1px dashed var(--s451-border); font-size: 1.26rem;
}
.s451-winner:last-child { border-bottom: none; }
.s451-winner .s451-name { color: #fff; font-weight: 600; }
.s451-winner .s451-amount { color: var(--s451-green-bright); font-weight: 800; }

/* ============ SEO TEXT ============ */
.s451-prose { color: var(--s451-text-dim); font-size: 1.34rem; line-height: 1.55; }
.s451-prose h2 { color: #fff; font-size: 1.7rem; font-weight: 800; margin: 14px 0 6px; }
.s451-prose h3 { color: var(--s451-green-light); font-size: 1.45rem; font-weight: 700; margin: 10px 0 4px; }
.s451-prose p { margin-bottom: 8px; }
.s451-prose strong, .s451-prose b { color: var(--s451-primary); font-weight: 700; }
.s451-prose a { color: var(--s451-green-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.s451-prose ul { padding-left: 18px; margin-bottom: 8px; }
.s451-prose li { margin-bottom: 4px; }

/* ============ REVEAL ANIMATION ============ */
.s451-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.s451-reveal.s451-revealed { opacity: 1; transform: translateY(0); }

/* ============ FOOTER ============ */
.s451-footer {
  background: linear-gradient(180deg, #15151c, #0e0e14);
  border-top: 1px solid var(--s451-border); padding: 22px 12px 18px; margin-top: 18px;
}
.s451-footer-inner { max-width: 430px; margin: 0 auto; }
.s451-footer-brand { color: #fff; font-weight: 800; font-size: 1.7rem; margin-bottom: 6px; }
.s451-footer-brand b { color: var(--s451-primary); }
.s451-footer-desc { color: var(--s451-text-dim); font-size: 1.26rem; margin-bottom: 14px; line-height: 1.5; }
.s451-footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.s451-footer-title { color: #fff; font-weight: 700; font-size: 1.34rem; margin: 12px 0 6px; }
.s451-footer-links { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.s451-footer-links a {
  color: var(--s451-text-dim); font-size: 1.22rem; padding: 4px 0;
}
.s451-footer-links a:hover { color: var(--s451-primary); }
.s451-footer-bottom {
  border-top: 1px solid var(--s451-border); margin-top: 14px; padding-top: 10px;
  color: var(--s451-text-dim); font-size: 1.16rem; text-align: center;
}

/* ============ MOBILE BOTTOM NAV (fixed, 5 buttons) ============ */
.s451-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s451-nav-h);
  background: linear-gradient(180deg, rgba(20, 16, 26, .98), rgba(10, 8, 14, 1));
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 20, 147, .35);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .5);
}
.s451-bottom-nav a {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--s451-text-dim); font-size: 1.05rem; font-weight: 600;
  text-decoration: none; position: relative; padding: 4px 2px;
  transition: color .2s ease, transform .15s ease;
}
.s451-bottom-nav a i { font-size: 2.2rem; line-height: 1; margin-bottom: 2px; transition: transform .2s ease, color .2s ease; }
.s451-bottom-nav a:active { transform: scale(.9); }
.s451-bottom-nav a:hover { color: #fff; }
.s451-bottom-nav a:hover i { transform: translateY(-2px); color: var(--s451-primary); }
.s451-bottom-nav a.s451-active { color: var(--s451-green-bright); }
.s451-bottom-nav a.s451-active i { color: var(--s451-green-bright); }
/* Center promo button highlighted with gradient */
.s451-bottom-nav a.s451-nav-promo2 i {
  background: linear-gradient(135deg, var(--s451-primary), #ff7ab0);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: -18px;
  box-shadow: 0 6px 16px rgba(255, 20, 147, .55); border: 3px solid #1b0f17;
  font-size: 2.4rem;
}
.s451-bottom-nav a.s451-nav-promo2 { color: #fff; font-weight: 700; }
.s451-nav-badge {
  position: absolute; top: 4px; right: 18px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--s451-primary); color: #fff; border-radius: 10px; font-size: .95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ============ DESKTOP: hide bottom nav, widen container ============ */
@media (min-width: 769px) {
  .s451-bottom-nav { display: none; }
  main { padding-bottom: 30px; }
  body { background: radial-gradient(1400px 700px at 50% -10%, #2a0f23 0%, var(--s451-bg) 55%, var(--s451-bg-2) 100%); }
}
@media (min-width: 600px) and (max-width: 768px) {
  .s451-game-grid { grid-template-columns: repeat(4, 1fr); }
}

/* High contrast focus for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--s451-green-bright); outline-offset: 2px; border-radius: 6px;
}
