/* Winplexo - Social Gaming Platform UK */
:root {
  --bg: #f6f4ee;
  --bg-alt: #efe9dc;
  --surface: #ffffff;
  --ink: #2a2520;
  --ink-soft: #5b5248;
  --muted: #8a8176;
  --line: #e3dccd;
  --gold: #c89a3c;
  --gold-dark: #a97c26;
  --gold-soft: #f1e3c0;
  --red: #b4463a;
  --green: #3d7d5a;
  --blue: #3a6fa0;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(60, 40, 10, 0.06);
  --shadow: 0 6px 22px rgba(60, 40, 10, 0.08);
  --shadow-lg: 0 18px 50px rgba(60, 40, 10, 0.12);
  --container: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========= HEADER ========= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name span { color: var(--gold-dark); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--gold-dark); }
.nav a.active { color: var(--gold-dark); }

.header-right { display: flex; align-items: center; gap: 14px; }
.badge-18 {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: .8rem;
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px auto; transition: .2s;
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0; transform: translateY(-150%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
}

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 90% -10%, var(--gold-soft) 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 20%, #e7f0e2 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #fbf8f0 100%);
}
.hero-deco {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .8;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; gap: 36px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero h1 { margin-top: 18px; }
.hero .lead { font-size: 1.12rem; max-width: 520px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; font-size: .98rem;
  transition: transform .15s, box-shadow .15s, background .2s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff; box-shadow: 0 8px 20px rgba(200, 154, 60, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200, 154, 60, .45); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-block { width: 100%; }

/* hero card showcase */
.hero-card-stack {
  position: relative; height: 380px; display: grid; place-items: center;
}
.float-card {
  position: absolute; width: 150px; height: 210px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; font-weight: 800;
  border: 1px solid var(--line);
}
.float-card.c1 { transform: translate(-70px, -20px) rotate(-12deg); color: var(--red); font-size: 3.6rem; }
.float-card.c2 { transform: translate(0, 10px) rotate(2deg); z-index: 2; color: var(--ink); font-size: 3.6rem; }
.float-card.c3 { transform: translate(70px, -10px) rotate(11deg); color: var(--red); font-size: 3.6rem; }
.float-card .suit { position: absolute; top: 10px; left: 12px; font-size: 1.2rem; }
.float-card .suit.br { top: auto; left: auto; bottom: 10px; right: 12px; transform: rotate(180deg); }

/* ========= SECTIONS ========= */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { font-size: 1.05rem; }

/* ========= GAME ========= */
.game-stage {
  background: linear-gradient(180deg, #fbf8f0 0%, #f1e8d3 100%);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.game-stage::before, .game-stage::after {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,154,60,.15) 0%, transparent 70%);
  pointer-events: none;
}
.game-stage::before { top: -80px; left: -80px; }
.game-stage::after { bottom: -80px; right: -80px; }

.game-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 16px; position: relative;
}
.game-title { font-size: 1.4rem; font-weight: 800; margin: 0; }
.game-stats { display: flex; gap: 12px; }
.stat-pill {
  background: #fff; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
}
.stat-pill strong { color: var(--gold-dark); margin-left: 6px; font-size: 1rem; }

.table {
  display: flex; justify-content: center; align-items: center; gap: 40px;
  padding: 30px 0 20px; position: relative; min-height: 260px;
}
.card {
  width: 160px; height: 230px; border-radius: 16px;
  background: #fff; border: 2px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px; position: relative;
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
  font-weight: 800;
}
.card.red { color: var(--red); }
.card.black { color: var(--ink); }
.card .rank-top, .card .rank-bot { font-size: 1.6rem; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.card .rank-bot { transform: rotate(180deg); align-self: flex-end; }
.card .rank-top .suit, .card .rank-bot .suit { font-size: 1.1rem; margin-top: 2px; }
.card .center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.6rem; }
.card.back {
  background: repeating-linear-gradient(45deg, var(--gold) 0 10px, var(--gold-dark) 10px 20px);
  color: transparent; border-color: var(--gold-dark);
}
.card.back::after {
  content: ""; position: absolute; inset: 10px; border-radius: 10px;
  background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 70%);
  border: 2px solid rgba(255,255,255,.3);
}
.card.flip-in { animation: flipIn .5s ease; }
@keyframes flipIn {
  0% { transform: rotateY(180deg) scale(.9); opacity: 0; }
  100% { transform: rotateY(0) scale(1); opacity: 1; }
}

.game-actions { display: flex; justify-content: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.btn-higher { background: var(--green); color: #fff; padding: 14px 30px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; font-size: 1rem; transition: transform .15s; font-family: inherit; }
.btn-higher:hover { transform: translateY(-2px); }
.btn-lower { background: var(--red); color: #fff; padding: 14px 30px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; font-size: 1rem; transition: transform .15s; font-family: inherit; }
.btn-lower:hover { transform: translateY(-2px); }
.btn-reset { background: #fff; color: var(--ink); padding: 14px 24px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; cursor: pointer; font-family: inherit; }

.game-message {
  text-align: center; margin-top: 18px; min-height: 28px;
  font-weight: 600; color: var(--ink-soft);
}
.game-message.win { color: var(--green); }
.game-message.lose { color: var(--red); }

/* ========= FEATURE GRID / ABOUT ========= */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}

/* ========= FEATURED GAMES ========= */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.games-grid-single { grid-template-columns: minmax(0, 480px); justify-content: center; }
@media (max-width: 760px) { .games-grid { grid-template-columns: 1fr; } }
.game-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-card-art {
  height: 200px; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, #f1e3c0 0%, #f6f4ee 100%); overflow: hidden;
}
.game-card-art.alt { background: linear-gradient(135deg, #e7f0e2 0%, #f6f4ee 100%); }
.game-card-body { padding: 24px; }
.game-card-body p { margin-bottom: 18px; }

/* ========= FAQ ========= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 1.02rem;
  user-select: none;
}
.faq-q::after {
  content: "+"; font-size: 1.6rem; color: var(--gold-dark);
  transition: transform .2s; line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
  padding: 0 22px; color: var(--ink-soft);
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 22px 20px; }

/* ========= CONTACT ========= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 60, .2);
}
.form-textarea { resize: vertical; min-height: 120px; }
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 14px;
}
.contact-info-item .icon-box {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center;
}

/* ========= FOOTER ========= */
.site-footer {
  background: #fbf8f0;
  border-top: 1px solid var(--line);
  padding: 60px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--ink-soft); font-size: .93rem; }
.footer-col ul a:hover { color: var(--gold-dark); }
.footer-col p { font-size: .9rem; }

.responsibility-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px;
}
.resp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.resp-badge:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--gold); }
.resp-badge-18 {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: .75rem;
  display: inline-grid; place-items: center;
}

.footer-disclaimer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; font-size: .85rem; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 20px;
}
.footer-disclaimer strong { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: .85rem; color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--muted); }
.footer-bottom-links a:hover { color: var(--gold-dark); }

/* ========= PAGE HEADER ========= */
.page-head {
  padding: 80px 0 40px;
  background:
    radial-gradient(800px 300px at 70% 0%, var(--gold-soft) 0%, transparent 60%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }

/* ========= IFRAME GAME PAGES ========= */
.iframe-wrap {
  max-width: 1100px; margin: 40px auto;
  aspect-ratio: 16/10; background: #000;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.iframe-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========= PROSE ========= */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
