/* ===== Poker-Royal — Jeux sociaux gratuits — Design system ===== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #10141d;
  --bg-elevated: #161c28;
  --bg-card: #1a2130;
  --bg-card-hover: #212a3d;
  --border-subtle: #232b3d;

  --text-primary: #f4f6fb;
  --text-secondary: #8992a8;
  --text-muted: #5c6579;

  --accent-a: #8b5cf6;   /* violet */
  --accent-b: #06e6c8;   /* teal/cyan */
  --accent-gold: #ffb020;
  --accent-danger: #ff4d6a;
  --gradient-brand: linear-gradient(135deg, var(--accent-a), var(--accent-b));

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(139,92,246,0.25), 0 0 24px rgba(6,230,200,0.12);

  --sidebar-w: 240px;
  --topbar-h: 68px;
  --disclaimer-h: 38px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text {
  font-family: 'Poppins', 'Inter', sans-serif;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 10px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: var(--border-subtle); }

svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Buttons ===== */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-brand);
  color: #0a0d14;
  box-shadow: 0 4px 16px rgba(139,92,246,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 22px rgba(6,230,200,0.4); filter: brightness(1.05); }

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { background: var(--bg-card-hover); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 100%;
}
.btn-outline:hover { border-color: var(--accent-b); color: var(--accent-b); }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-sm); }

.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }

/* ===== Disclaimer bar ===== */
.disclaimer-bar {
  min-height: var(--disclaimer-h);
  background: linear-gradient(90deg, rgba(139,92,246,0.18), rgba(6,230,200,0.18));
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 12px;
}
.disclaimer-bar strong { color: var(--accent-gold); font-weight: 700; }

/* ===== Topbar ===== */
.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 100;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 30px; height: 30px; color: var(--accent-a); }
.logo-mark svg { width: 100%; height: 100%; stroke-width: 1.4; }
.logo-mark svg polygon { fill: var(--accent-b); }
.logo-text { font-weight: 800; font-size: 19px; letter-spacing: 0.5px; }
.logo-text span { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topbar-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 40px;
  color: var(--text-muted);
  transition: border-color .15s ease;
}
.topbar-search:focus-within { border-color: var(--accent-a); }
.topbar-search svg { width: 17px; height: 17px; flex-shrink: 0; }
.topbar-search input {
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px; width: 100%;
}
.topbar-search input::placeholder { color: var(--text-muted); }

.topbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.balance-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px 6px 12px;
}
.coin-icon { font-size: 16px; }
.balance-amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.balance-label { color: var(--text-secondary); font-size: 12px; font-weight: 600; }
.add-btn {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--gradient-brand); color: #0a0d14;
  font-weight: 800; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.avatar-btn { background: var(--bg-elevated); }

/* ===== Layout ===== */
.layout { display: flex; align-items: flex-start; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  height: calc(100vh - var(--topbar-h) - var(--disclaimer-h));
  position: sticky;
  top: calc(var(--topbar-h) + var(--disclaimer-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: transform .2s ease;
}

.side-nav { padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  position: relative;
  transition: background .15s ease, color .15s ease;
}
.side-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.side-link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.side-link.active { background: var(--bg-elevated); color: var(--text-primary); }
.side-link.active::before {
  content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px;
  background: var(--gradient-brand); border-radius: 2px;
}
.tag-mini {
  margin-left: auto; background: rgba(255,77,106,0.15); color: var(--accent-danger);
  font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; letter-spacing: 0.3px;
}
.side-sep { height: 1px; background: var(--border-subtle); margin: 10px 12px; }

.sidebar-stats {
  padding: 14px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-secondary);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-b);
  box-shadow: 0 0 0 0 rgba(6,230,200,0.6);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6,230,200,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(6,230,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,230,200,0); }
}

/* ===== Main ===== */
.main { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 36px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  min-height: 320px;
}
.hero-slides { position: relative; height: 320px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 56px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
  background:
    radial-gradient(ellipse at top right, rgba(139,92,246,0.25), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(6,230,200,0.18), transparent 55%);
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  color: var(--accent-b); background: rgba(6,230,200,0.1);
  padding: 6px 12px; border-radius: 20px; margin-bottom: 16px;
  border: 1px solid rgba(6,230,200,0.25);
}
.hero-content h1 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.hero-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 24px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; }
.hero-visual { font-size: 140px; opacity: 0.85; filter: drop-shadow(0 10px 40px rgba(139,92,246,0.35)); }

.hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25);
  cursor: pointer; transition: background .2s ease, width .2s ease;
}
.hero-dots span.active { background: var(--accent-b); width: 22px; border-radius: 4px; }

/* ===== Ticker ===== */
.ticker-wrap {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--accent-danger);
  padding: 0 16px; border-right: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.ticker-track {
  display: flex; gap: 28px; white-space: nowrap;
  animation: scroll-left 32s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 13px; color: var(--text-secondary); }
.ticker-item strong { color: var(--text-primary); }
.ticker-item .win { color: var(--accent-b); font-weight: 700; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Quick stats ===== */
.quick-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.stat-icon { font-size: 26px; }
.stat-value { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }

/* ===== Section head ===== */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 18px;
}
.section-head h2 { font-size: 21px; font-weight: 700; }

.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-secondary);
  transition: all .15s ease;
}
.pill:hover { color: var(--text-primary); border-color: var(--accent-a); }
.pill.active { background: var(--gradient-brand); color: #0a0d14; border-color: transparent; }

/* ===== Game grid ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: transparent; }

.game-thumb {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  position: relative;
}
.game-info { padding: 12px 14px 14px; }
.game-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-provider { font-size: 12px; color: var(--text-muted); }

.game-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
  padding: 4px 8px; border-radius: 6px; color: #0a0d14;
  z-index: 2;
}
.badge-hot { background: var(--accent-danger); color: #fff; }
.badge-new { background: var(--accent-b); }
.badge-boosted { background: var(--accent-gold); }

.game-play-overlay {
  position: absolute; inset: 0;
  background: rgba(10,13,20,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.game-card:hover .game-play-overlay { opacity: 1; }
.play-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #0a0d14; font-size: 18px;
  box-shadow: 0 4px 20px rgba(139,92,246,0.5);
}

/* ===== Promotions ===== */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(245px,1fr)); gap: 18px; }
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, border-color .2s ease;
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--accent-a); }
.promo-card.featured {
  background: linear-gradient(160deg, rgba(139,92,246,0.14), rgba(6,230,200,0.06));
  border-color: rgba(139,92,246,0.35);
}
.promo-badge {
  position: absolute; top: 18px; right: 20px;
  background: var(--gradient-brand); color: #0a0d14;
  font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px;
}
.promo-icon { font-size: 34px; }
.promo-card h3 { font-size: 17px; font-weight: 700; }
.promo-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; flex: 1; }

/* ===== VIP ===== */
.vip-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.vip-progress {
  height: 6px; border-radius: 4px; background: var(--bg-elevated);
  margin: 8px 0 26px; overflow: hidden;
}
.vip-progress-fill { height: 100%; background: var(--gradient-brand); border-radius: 4px; }
.vip-tiers { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vip-tier {
  flex: 1; min-width: 90px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border-radius: var(--radius-md);
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  opacity: 0.45; font-size: 13px; font-weight: 600;
}
.vip-tier.unlocked { opacity: 1; }
.vip-tier.current { border-color: var(--accent-b); box-shadow: 0 0 0 1px var(--accent-b) inset; }
.vip-icon { font-size: 26px; }

/* ===== CTA banner ===== */
.cta-banner {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center, rgba(139,92,246,0.22), transparent 60%),
    var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}
.cta-banner h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 22px; }

/* ===== Footer ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); margin-top: 20px; }
.footer-disclaimer {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  font-size: 12.5px; line-height: 1.7; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding: 36px 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--text-secondary); transition: color .15s ease; }
.footer-col a:hover { color: var(--text-primary); }
.footer-tagline { font-size: 13px; color: var(--text-secondary); }
.social-icons { display: flex; gap: 10px; margin-top: 6px; }
.social-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-elevated); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
}
.social-icons svg { width: 15px; height: 15px; }
.footer-bottom {
  text-align: center; padding: 18px 24px; font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

/* ===== Toasts ===== */
.toast-wrap {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  z-index: 1000; pointer-events: none;
}
.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  font-size: 13.5px; font-weight: 600;
  padding: 12px 20px; border-radius: 30px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .promo-grid { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar-search { display: none; }
  .sidebar {
    position: fixed; left: 0; top: 0; height: 100vh; z-index: 200;
    transform: translateX(-100%);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
  }
  .sidebar.open { transform: translateX(0); }
  .hero-slides { height: auto; }
  .hero-slide {
    position: relative; inset: auto;
    align-items: flex-start;
    padding: 28px 22px 60px;
  }
  .hero-slide:not(.active) { display: none; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 13.5px; }
  .hero-actions { flex-wrap: wrap; }
  .topbar-right .btn-ghost { display: none; }
}

@media (max-width: 560px) {
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .balance-label { display: none; }
}

/* Favorites on game cards */
.game-thumb{position:relative}.favorite-toggle{position:absolute;right:11px;top:11px;z-index:3;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(7,10,16,.56);backdrop-filter:blur(10px);color:#fff;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.18s ease}.favorite-toggle:hover{transform:scale(1.08);border-color:rgba(255,226,160,.7)}.favorite-toggle.active{color:#ffd66f;background:rgba(44,34,15,.88);border-color:#8b6b2d;box-shadow:0 0 22px rgba(216,170,69,.24)}


/* v47 — boutons sociaux permanents + badges */
.social-top-btn{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid var(--border,rgba(255,255,255,.12));border-radius:10px;background:var(--bg-card,rgba(255,255,255,.05));color:var(--text-primary,#fff);text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;transition:.18s ease}
.social-top-btn:hover{background:var(--bg-elevated,rgba(255,255,255,.1));transform:translateY(-1px)}
.social-top-icon{font-size:18px;line-height:1}.social-top-label{display:inline}
.notify-badge{position:absolute;top:-7px;right:-7px;display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;border:2px solid var(--bg-main,#101014);font:800 11px/1 Inter,Arial,sans-serif;box-shadow:0 3px 10px rgba(229,57,53,.45);z-index:3}
.notify-badge.hidden{display:none}.notify-badge.bump{animation:notifyBump .32s ease}@keyframes notifyBump{0%{transform:scale(.75)}60%{transform:scale(1.22)}100%{transform:scale(1)}}
@media(max-width:1180px){.social-top-label{display:none}.social-top-btn{width:42px;min-width:42px;padding:0;justify-content:center}}
@media(max-width:760px){.topbar-right{gap:6px}.social-top-btn{display:inline-flex!important;width:38px;min-width:38px;min-height:38px}.social-top-icon{font-size:17px}.balance-chip{max-width:130px}}

.trust-strip{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;padding:13px 22px;background:linear-gradient(90deg,rgba(72,38,140,.22),rgba(13,91,101,.22));border-bottom:1px solid rgba(77,219,211,.18);color:#eaf4ff}
.trust-strip.hidden{display:none}.trust-strip>strong{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#9eafc7}.trust-strip-list{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.trust-partner{padding:7px 12px;border-radius:999px;border:1px solid #30445f;background:#0c1522;color:#fff;font-size:12px;font-weight:800}

/* v79 — Ils nous font confiance : logos cliquables */
.trust-strip{padding:16px 22px}
.trust-strip-list{align-items:center;gap:12px}
.trust-partner{
  min-width:76px;min-height:58px;padding:8px 13px;
  display:flex;align-items:center;justify-content:center;gap:9px;
  border-radius:14px;border:1px solid #30445f;background:#0c1522;
  color:#fff;font-size:12px;font-weight:800;text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease
}
a.trust-partner:hover{transform:translateY(-2px);border-color:#32d5cb;box-shadow:0 8px 26px rgba(32,217,197,.12);background:#101c2c}
.trust-partner-logo{display:block;max-width:112px;max-height:42px;width:auto;height:auto;object-fit:contain}
.trust-partner-name{white-space:nowrap}
.trust-partner:has(.trust-partner-logo) .trust-partner-name{font-size:11px;color:#b8c8db}
.trust-partner.logo-error .trust-partner-logo{display:none}
@media(max-width:760px){.trust-strip{gap:10px;padding:12px}.trust-partner{min-height:50px;padding:7px 10px}.trust-partner-logo{max-width:88px;max-height:34px}}

/* v83 — navigation mobile robuste */
@media(max-width:860px){
  .sidebar{transform:translateX(-110%);transition:transform .22s ease;z-index:1200}
  .sidebar.open{transform:translateX(0)!important}
  body.mobile-menu-open{overflow:hidden}
  #menuToggle{position:relative;z-index:1300;pointer-events:auto!important}
}

/* v84 — polish navigation/recherche */
.ticker-wrap{padding:10px 14px;gap:16px}
.ticker-track{display:flex;align-items:center;gap:34px;min-width:max-content;padding-right:34px}
.ticker-item{display:inline-flex;align-items:center;min-height:22px;padding:0 4px;line-height:1.45}
.quick-stats{align-items:stretch}
.stat-card{min-width:0}
.stat-card>div:last-child{min-width:0;display:flex;flex-direction:column;justify-content:center}
.game-search-empty{grid-column:1/-1;padding:28px;border:1px dashed var(--border-subtle);border-radius:var(--radius-md);color:var(--text-secondary);text-align:center;background:var(--bg-card)}
.topbar-search input[type="search"]::-webkit-search-cancel-button{cursor:pointer}
@media(max-width:860px){
  .topbar-search{max-width:none;min-width:0;flex:1}
  .topbar-search input{min-width:0}
  .ticker-wrap{padding:10px 12px}
  .ticker-label{padding-left:2px;padding-right:12px}
}

/* v90 — respiration accueil / retours bêta */
@media (max-width: 860px){
  .main{padding:22px 20px;gap:28px}
  .hero{margin:0;min-height:0}
  .hero-slide{padding:30px 26px 62px}
  .hero-content{width:100%;max-width:100%}
}
@media (max-width: 560px){
  .main{padding:18px 16px;gap:24px}
  .hero-slide{padding:26px 20px 58px}
  .hero-content h1{margin-top:2px}
}

/* ===== Footer ===== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #f5f7fa;
    line-height: 1;
}

.logo-text span {
    color: #4da3ff;
}

.logo-tagline {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.site-footer {
    width: 100%;
    min-height: 1036px;
    background: #111827;
    border: 1px solid #293548;
    border-radius: 6px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
}

.footer-cta {
    min-height: 515px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.footer-cta-label {
    color: #7c75ff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-cta h2 {
    max-width: 650px;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 28px;
}

.footer-cta p {
    max-width: 620px;
    color: #9ba5b5;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    height: 41px;
    padding: 0 16px;
    border-radius: 5px;
    background: #635bff;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-cta-button:hover {
    background: #746dff;
    transform: translateY(-1px);
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: #293548;
    flex-shrink: 0;
}

.footer-links {
    min-height: 332px;
    padding: 52px 0 40px;
    display: grid;
    grid-template-columns: 2.2fr repeat(4, 1fr);
    gap: 40px;
}

/* Logo */

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    color: #6c63ff;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    transform: skewX(-12deg);
    letter-spacing: -7px;
    width: 55px;
    overflow: hidden;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: #f3f4f6;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 27px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.footer-column a {
    color: #9ba5b5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    min-height: 184px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 36px;
}

.footer-copyright {
    color: #9ba5b5;
    font-size: 14px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-socials a {
    color: #9ba5b5;
    font-size: 19px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.twitter-x {
    font-size: 19px !important;
}

@media (max-width: 900px) {

    .site-footer {
        min-height: auto;
    }

    .footer-cta {
        min-height: 430px;
    }

    .footer-cta h2 {
        font-size: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
        gap: 50px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        min-height: 130px;
    }
}

@media (max-width: 600px) {

    body {
        padding: 0;
    }

    .site-footer {
        border-radius: 0;
        padding: 0 20px;
    }

    .footer-cta {
        min-height: 430px;
        padding: 50px 10px;
    }

    .footer-cta-label {
        font-size: 15px;
    }

    .footer-cta h2 {
        font-size: 34px;
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .footer-cta p {
        font-size: 15px;
        line-height: 1.6;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 45px 20px;
        padding: 40px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column h3 {
        margin-bottom: 20px;
    }

    .footer-column ul {
        gap: 16px;
    }

    .footer-bottom {
        min-height: 160px;
        padding-top: 28px;
        flex-direction: column;
        gap: 25px;
    }

    .footer-socials {
        gap: 22px;
    }
}
/* ===== AppWeb v1 — Home vitrine, ticker, progression, notifications ===== */
.ticker-window{position:relative;flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent)}
.ticker-track{will-change:transform;transform:translateZ(0)}
.ticker-label{position:relative;z-index:2;background:var(--bg-secondary)}
@media(prefers-reduced-motion:reduce){.ticker-track,.live-dot{animation:none!important}.ticker-track{transform:none!important}.hero-slide,.game-card{transition:none!important}}

.game-showcase{display:grid;gap:24px}
.game-shelf{content-visibility:auto;contain-intrinsic-size:330px;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.006));border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:18px;overflow:hidden}
.game-shelf-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.game-shelf-head h3{margin:0;font-size:18px;font-weight:800}
.game-shelf-head a{color:var(--accent-b);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.game-shelf-head a:hover{text-decoration:underline}
.game-shelf-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.game-shelf .game-card{min-width:0;contain:layout paint style}
.game-shelf .game-thumb,.game-search-panel .game-thumb{height:auto;aspect-ratio:16/10}
.game-shelf-empty{grid-column:1/-1;min-height:165px;border:1px dashed var(--border-subtle);border-radius:var(--radius-md);display:grid;place-items:center;color:var(--text-secondary);text-decoration:none;background:var(--bg-card)}
.game-search-panel{margin-top:26px;padding-top:24px;border-top:1px solid var(--border-subtle)}
.game-search-panel.hidden{display:none}
.game-search-panel #loadMoreGames{display:block;margin:20px auto 0}
.section-kicker,.home-progress-kicker{display:block;margin-bottom:4px;font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--accent-b)}

.home-progress{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:24px;padding:22px 24px;border:1px solid rgba(139,92,246,.35);border-radius:var(--radius-lg);background:radial-gradient(circle at 0 0,rgba(139,92,246,.18),transparent 42%),linear-gradient(135deg,var(--bg-card),var(--bg-secondary))}
.home-progress.hidden{display:none}
.home-progress h2{margin:2px 0 4px;font-size:24px}.home-progress p{margin:0 0 12px;color:var(--text-secondary)}
.home-progress-track{height:8px;border-radius:999px;overflow:hidden;background:var(--bg-elevated);max-width:560px}.home-progress-track span{display:block;height:100%;width:0;background:var(--gradient-brand);border-radius:inherit;transition:width .45s ease}
.home-progress small{display:block;margin-top:8px;color:var(--text-muted)}
.home-progress-stats{display:grid;grid-template-columns:repeat(3,auto);gap:10px}.home-progress-stats>div{min-width:82px;padding:12px;border-radius:12px;border:1px solid var(--border-subtle);background:rgba(255,255,255,.025);text-align:center}.home-progress-stats strong{display:block;font-size:18px}.home-progress-stats span{display:block;margin-top:2px;font-size:11px;color:var(--text-secondary)}

.notification-top-btn{border:1px solid var(--border-subtle);cursor:pointer}
.notification-panel{position:fixed;top:76px;right:20px;width:min(390px,calc(100vw - 24px));max-height:70vh;overflow:hidden;z-index:1600;border:1px solid #304058;border-radius:16px;background:#101824;box-shadow:0 24px 70px rgba(0,0,0,.48)}
.notification-panel.hidden{display:none}.notification-panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #26354c}.notification-panel-head button{border:0;background:transparent;color:#9daec7;font-size:24px;cursor:pointer}.notification-panel-list{max-height:56vh;overflow:auto}.notification-item{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;color:#eef3fa;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.06);transition:background .15s}.notification-item:hover{background:rgba(255,255,255,.04)}.notification-item>span{font-size:20px}.notification-item p{margin:1px 0 0;line-height:1.4;font-size:13px;color:#c6d1e2}.notification-empty{padding:20px;color:#8ea0ba;font-size:13px}

@media(max-width:1250px){.game-shelf-row{grid-template-columns:repeat(4,minmax(0,1fr))}.game-shelf-row .game-card:nth-child(n+5){display:none}.home-progress{grid-template-columns:1fr auto}.home-progress>.btn{grid-column:1/-1;justify-self:start}}
@media(max-width:860px){.game-shelf-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.game-shelf-row .game-card,.game-shelf-row .game-card:nth-child(n+5){display:block;flex:0 0 min(68vw,240px);scroll-snap-align:start}.game-shelf-row{scrollbar-width:thin}.home-progress{grid-template-columns:1fr}.home-progress-stats{grid-template-columns:repeat(3,1fr)}.notification-panel{top:70px;right:12px}.games-section{min-width:0}}
@media(max-width:560px){.game-shelf{padding:14px}.game-shelf-head h3{font-size:16px}.game-shelf-row .game-card{flex-basis:72vw}.home-progress{padding:18px}.home-progress-stats{gap:7px}.home-progress-stats>div{min-width:0;padding:10px 7px}.notification-panel{top:64px}}

/* Réduit le coût de rendu des gros blocs situés sous le viewport. */
.promos-section,.vip-section,.cta-banner,.site-footer{content-visibility:auto}
.promos-section{contain-intrinsic-size:700px}
.vip-section{contain-intrinsic-size:320px}
.cta-banner{contain-intrinsic-size:260px}
.site-footer{contain-intrinsic-size:1000px}
<<<<<<< HEAD

/* Official Poker-Royal logo */
.logo-mark img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 8px; }
=======
>>>>>>> 64ad0428b2c6251d34e2de0e1d12cedf2405467d

/* 2026-08-29 — logo PR couronné seul (anti-cache branding fix) */
.pr-logo-only{display:flex;align-items:center;justify-content:center;min-width:52px;height:52px;text-decoration:none}
.pr-logo-only img{display:block;width:50px;height:50px;object-fit:contain;filter:drop-shadow(0 5px 16px rgba(6,230,200,.18))}
@media(max-width:700px){.pr-logo-only{min-width:46px;height:46px}.pr-logo-only img{width:44px;height:44px}}
