:root {
  --ink: #141827;
  --muted: #667086;
  --line: #e5d9ff;
  --paper: #ffffff;
  --soft: #fff5e8;
  --soft-2: #e9fbff;
  --brand: #ff5a1f;
  --brand-dark: #b73412;
  --pink: #f3428b;
  --teal: #00a9b8;
  --green: #1fc17b;
  --gold: #ffc233;
  --blue: #246bff;
  --violet: #7b4cff;
  --shadow: 0 20px 54px rgba(89, 63, 168, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 194, 51, 0.15), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 169, 184, 0.12), transparent 30%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 194, 51, 0.24);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--gold) 58%, #ffe57a);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.26);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, #fff0d5, #eafbff);
  color: var(--brand-dark);
}

.nav-links .mobile-nav-action {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  box-shadow: 0 16px 34px rgba(255, 90, 31, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: white;
  border-color: #d4e7ff;
  box-shadow: 0 10px 24px rgba(36, 107, 255, 0.08);
}

.btn-dark {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 42px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 194, 51, 0.34), transparent 24%),
    radial-gradient(circle at 42% 90%, rgba(0, 169, 184, 0.34), transparent 30%),
    linear-gradient(115deg, rgba(35, 20, 77, 0.9), rgba(255, 90, 31, 0.64)),
    url("../images/bigwin-hero.jpg") center/cover no-repeat;
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #16415c;
  background: linear-gradient(135deg, #fff3c7, #ddfbff);
  border: 1px solid rgba(0, 169, 184, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero h1,
.page-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 194, 51, 0.13));
}

.metric strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.device-stage {
  position: relative;
  min-height: 520px;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border: 10px solid #16122c;
  border-radius: 34px;
  background: #16122c;
  box-shadow: 0 26px 64px rgba(13, 19, 46, 0.26), 0 0 0 6px rgba(255, 194, 51, 0.2);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  width: 242px;
  height: 500px;
  right: 96px;
  top: 0;
}

.phone-side {
  width: 190px;
  height: 390px;
  right: 0;
  bottom: 12px;
  border-width: 8px;
}

.floating-panel {
  position: absolute;
  left: 0;
  bottom: 52px;
  width: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 194, 51, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 223, 0.94));
  box-shadow: var(--shadow);
}

.floating-panel strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.floating-panel p {
  margin-top: 8px;
  font-size: 13px;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 194, 51, 0.2), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(0, 169, 184, 0.14), transparent 26%),
    var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 440px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card,
.product-card,
.policy-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(89, 63, 168, 0.1);
}

.card:hover,
.product-card:hover,
.contact-panel:hover {
  border-color: rgba(255, 90, 31, 0.32);
  box-shadow: 0 20px 46px rgba(255, 90, 31, 0.13);
}

.card {
  padding: 24px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 8px;
  margin-bottom: 18px;
}

.card h3,
.policy-card h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.product-media {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 194, 51, 0.3), transparent 34%),
    linear-gradient(145deg, #e7fbff, #fff1d6);
}

.product-media img {
  width: 170px;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(23, 33, 47, 0.16);
}

.product-body {
  padding: 30px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #d8e6ff;
  border-radius: 999px;
  padding: 5px 10px;
  color: #3d4b5f;
  background: linear-gradient(135deg, #ffffff, #effbff);
  font-size: 12px;
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.workflow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid #e6dcff;
  border-radius: 8px;
  background: white;
}

.step b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.dashboard {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 194, 51, 0.18), transparent 26%),
    linear-gradient(145deg, #221347, #123b5f 52%, #006c7c);
  box-shadow: 0 22px 56px rgba(24, 37, 97, 0.22);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 16px;
}

.dashboard p {
  color: rgba(255, 255, 255, 0.72);
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-box {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 169, 184, 0.12));
}

.status-box strong {
  display: block;
  font-size: 22px;
}

.review-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.review-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 13px;
}

.review-row:first-child {
  border-top: 0;
  color: rgba(255, 255, 255, 0.62);
}

.payment-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.payment-strip div {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f0fbff);
  box-shadow: 0 10px 24px rgba(0, 169, 184, 0.08);
}

.payment-strip img {
  max-height: 28px;
}

.tabs {
  border: 1px solid #e6dcff;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  background: white;
  color: #334155;
  font-weight: 850;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.active {
  color: var(--brand-dark);
  background: linear-gradient(135deg, #fff0d5, #eafbff);
}

.tab-panel {
  display: none;
  padding: 28px;
}

.tab-panel.active {
  display: block;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.check {
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #f5fbff);
}

.check strong {
  display: block;
  margin-bottom: 6px;
}

.page-hero {
  padding: 70px 0;
  color: white;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 194, 51, 0.25), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(243, 66, 139, 0.22), transparent 28%),
    linear-gradient(115deg, rgba(25, 18, 67, 0.9), rgba(0, 169, 184, 0.72)),
    url("../images/solitaire-hero.png") center/cover no-repeat;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.legal {
  max-width: 900px;
  padding: 58px 0;
}

.legal h2 {
  margin: 34px 0 12px;
  font-size: 28px;
}

.legal h3 {
  margin: 24px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 20px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.product-showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-line {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e6dcff;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: linear-gradient(135deg, #ffffff, #fffaf0);
  padding: 16px 18px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-band {
  padding: 44px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 194, 51, 0.28), transparent 30%),
    linear-gradient(135deg, #22205a, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  color: #c7d2df;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 51, 0.14), transparent 26%),
    radial-gradient(circle at 88% 28%, rgba(0, 169, 184, 0.16), transparent 30%),
    #171237;
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: white;
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a {
  color: #aab7c5;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8d9aaa;
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-header {
    box-shadow: 0 12px 34px rgba(23, 33, 47, 0.08);
  }

  .nav {
    position: relative;
    min-height: 66px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .brand {
    min-width: 0;
    flex: 1;
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    font-size: 18px;
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    font-size: 19px;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 40px;
    border-color: rgba(255, 90, 31, 0.4);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(255, 90, 31, 0.16);
  }

  .menu-toggle[aria-expanded="true"] {
    color: white;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    border-color: var(--brand);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    width: min(300px, calc(100vw - 28px));
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid #e6dcff;
    border-radius: 8px;
    background:
      radial-gradient(circle at 96% 6%, rgba(255, 194, 51, 0.18), transparent 34%),
      rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 55px rgba(89, 63, 168, 0.2);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 16px;
    width: 12px;
    height: 12px;
    border-left: 1px solid #e6dcff;
    border-top: 1px solid #e6dcff;
    background: white;
    transform: rotate(45deg);
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    font-size: 15px;
  }

  .nav-links a.active {
    background: linear-gradient(135deg, #fff0d5, #eafbff);
  }

  .nav-links .mobile-nav-action {
    display: flex;
    margin-top: 5px;
    justify-content: center;
    text-align: center;
  }

  .nav-links .mobile-nav-action.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--brand), var(--pink));
  }

  .nav-links .mobile-nav-action.btn-secondary {
    background: linear-gradient(135deg, #ffffff, #f0fbff);
  }

  .nav-actions {
    display: none;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid,
  .workflow,
  .product-hero,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 460px;
  }

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-58%);
  }

  .phone-side {
    right: 70px;
  }

  .floating-panel {
    left: 30px;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero,
  .page-hero {
    padding-top: 48px;
  }

  .hero-metrics,
  .status-row,
  .payment-strip,
  .tab-buttons,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-band,
  .footer-bottom,
  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-row {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 390px;
  }

  .phone-main {
    width: 205px;
    height: 418px;
    transform: translateX(-50%);
  }

  .phone-side {
    display: none;
  }

  .floating-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 18px;
  }

  .cta-band {
    padding: 28px;
  }
}
