/* /var/www/html/lotofoot/frigoroulette/frigo.css */
:root{
  --bg0:#070914;
  --bg1:#0b1020;
  --panel: rgba(255,255,255,.08);
  --panel2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);
  --text:#eaf0ff;
  --muted: rgba(234,240,255,.72);

  --accent:#f8b35a;
  --accent2:#4a2c82;
  --accentGlow: rgba(248,179,90,.25);
  --violetGlow: rgba(74,44,130,.28);

  --r:18px;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --app-accent: #f8b35a;     /* orange Frigo */
  --app-accent-2: #4a2c82;   /* violet Frigo */

  /* raccord maison (safe, non destructif) */
  --text: var(--house-text);
  --muted: var(--house-muted);

  /* garde tes variables Frigo, mais mappe les accents */
  --accent: var(--app-accent);
  --accent2: var(--app-accent-2);
  --hubbar-bg: color-mix(in srgb, var(--accent2) 70%, transparent);
  --hubbar-btn-bg: color-mix(in srgb, var(--accent) 18%, rgba(255,255,255,0.10));
  --hubbar-border: rgba(255,255,255,0.14);
/* ===== Mode Maison (base commune) ===== */
  --text: var(--house-text, #f4f4ff);
  --muted: var(--house-muted, rgba(244,244,255,0.78));

  /* Fonds maison (c’est ça qui changera visuellement le plus) */
  --bg0: var(--house-bg3, #0b0b12);
  --bg1: var(--house-bg2, #131320);

  /* On garde l’identité Frigo via l’accent */
  --accent: var(--app-accent, #f8b35a);
  --accent2: var(--app-accent-2, #4a2c82);
}

.hubbar{
  background: var(--house-header-bg);
  border-bottom: 1px solid var(--house-header-border);
  --fab-bg: color-mix(in srgb, var(--accent2) 72%, transparent);
  --fab-border: rgba(255,255,255,0.14);}

*{ box-sizing:border-box; }
html,body{ height:100%; }
.sitebar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  z-index: 99999;
  background: rgba(11,42,90,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}

.sitebar .homebtn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  font-weight: 700;
  font-size: 14px;
}

.sitebar .sitename{
  font-weight: 800;
  font-size: 14px;
  opacity: 0.95;
}

/* Important : pour ne pas “cacher” le contenu sous le header */
.sitebar-spacer{ height: 54px; }

body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 600px at 18% 10%, var(--violetGlow), transparent 60%),
    radial-gradient(800px 540px at 82% 18%, var(--accentGlow), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.page-root{
  min-height:100svh;
  display:flex;
}

.landing-screen{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 4px 4px;
}

.hero-shell{
  width:min(1200px, 100%);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
}

@media (max-width: 980px){
  .hero-shell{ grid-template-columns: 1fr; }
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  position:relative;
  overflow:hidden;
}

.hero-card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(600px 240px at 15% 10%, rgba(248,179,90,.18), transparent 60%),
    radial-gradient(420px 240px at 85% 0%, rgba(74,44,130,.22), transparent 62%);
  pointer-events:none;
}

.hero-top{ position:relative; z-index:1; }
.btn-primary,.btn-secondary{
  display:center;
  gap:8px;
  align-items:left;
  padding:16px 20px;
  border-radius:999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  font-weight:700;
  letter-spacing:.2px;
  margin-bottom: 8px;
  font-size:16px;
}
hero-badge{
  display:center; 
  gap:8px;
  align-items:left;
  padding:8px 20px;
  border-radius:999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  font-weight:700;
  letter-spacing:.2px;
  margin-bottom: 8px;
  font-size:16px;
}

.hero-title{
  margin:0;
  font-size: clamp(26px, 3vw, 38px);
  line-height:1.08;
}

.hero-subtitle{
  margin:10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height:1.35;
  max-width: 48ch;
}

.hero-actions{
  position:relative; z-index:1;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 18px;
}

/*.btn-primary,.btn-secondary{
  appearance:none;
  border:0;
  border-radius: 14px;
  padding: 12px 14px;
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-weight:800;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  font-size:12.5px;
}*/

.btn-primary{
  color:#201407;
  background: linear-gradient(180deg, #ffd29a, var(--accent));
}
.btn-secondary{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.btn-primary:hover,.btn-secondary:hover{ transform: translateY(-1px); filter: brightness(1.04); }
.btn-primary:active,.btn-secondary:active{ transform: translateY(0); filter: brightness(.98); }

.btn-ico{ font-size: 18px;}

.hero-foot{
  position:relative; z-index:1;
  margin-top: 14px;
  padding-top: 12px;
  margin-bottom: -8px;
  padding-bottom: 0px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.mini-note{
  color: rgba(255,255,255,.70);
  font-size: 13px;
}
.super-mini-note{
  color: rgba(255,255,255,.70);
  font-size: 9px;
}

.right-column{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.wheel-block{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 85px;
  overflow:hidden;
  position:relative;
}
.wheel-plate{
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.16), rgba(0,0,0,.20));
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.wheel-glow{
  position:absolute;
  inset:-40px;
  background: radial-gradient(circle, rgba(248,179,90,.28), transparent 60%);
  filter: blur(2px);
  opacity:.9;
}
.wheel-inner{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(74,44,130,.55), rgba(0,0,0,.35));
  border: 1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 22px rgba(0,0,0,.45);
}

.account-card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 14px;
}

.account-row-top{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.account-status{
  color: rgba(255,255,255,.86);
  font-size: 13.5px;
}
.account-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pill,.pill-primary{
  appearance:none;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  cursor:pointer;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  transition: transform .12s ease, filter .12s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.pill-primary{
  border-color: rgba(248,179,90,.35);
  background: rgba(248,179,90,.16);
}
.pill:hover,.pill-primary:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.pill:active,.pill-primary:active{ transform: translateY(0); filter: brightness(.98); }
.pill-icon{ opacity:.95; }

.user-note{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12); /* ligne fine et discrète */
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.4;
}

.user-note strong{
  color: rgba(255,255,255,.92);
}



/* ------------------------------------------------------------------
   Compact landing + bouton dashboard (ajustements 2025-12)
   ------------------------------------------------------------------ */
.landing-screen{
  padding: 12px 10px !important;
  min-height: 100vh;
}
.landing-container{
  padding: 14px 12px !important;
  min-height: calc(100vh - 24px);
}
.hero-card{ margin: 0 auto !important; }
.hero-title{ line-height: 1.05 !important; }
.hero-subtitle{ font-size: 13px !important; line-height: 1.35 !important; }

.account-card{ padding: 12px !important; }
.account-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.account-buttons .pill,
.account-buttons .pill-primary{
  padding: 8px 10px !important;
  font-size: 12.5px !important;
}
@media (max-width: 520px){
  .account-buttons .pill,
  .account-buttons .pill-primary{
    flex: 1 1 calc(50% - 8px);
    justify-content:center;
  }
}

/* Réduit un peu les espacements globaux pour que tout tienne mieux */
@media (max-width: 980px){
  .landing-container{ padding: 12px 10px !important; }
}

.is-disabled {
  opacity: 0.55;
  filter: grayscale(0.2);
  cursor: not-allowed;
  pointer-events: none; /* garde le clic si tu rediriges vers login */
}
.back-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  text-decoration:none;
  white-space:nowrap;
}

@media (max-width: 640px){
  .back-btn{
    width:100%;
    justify-content:center;
  }
}
/* =========================
   Global Embed Modal (full screen)
   ========================= */
.fr-embed-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.fr-embed-panel{
  position: absolute;
  inset: 0;              /* plein écran */
  width: 100vw;
  height: 100vh;
  border-radius: 0;      /* pas d'arrondi => pas de marges */
  overflow: hidden;
  box-shadow: none;
  background: rgba(0,0,0,.2);
}

.fr-embed-iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.fr-embed-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.fr-embed-close:hover{ background: rgba(0,0,0,.55); }
/* =========================
   Embed mode: page inside iframe uses full width
   ========================= */
body.embed-mode{
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

/* Les conteneurs “classiques” qu’on retrouve partout */
body.embed-mode .container,
body.embed-mode .wrap,
body.embed-mode .page,
body.embed-mode .main,
body.embed-mode .hero,
body.embed-mode .panel{
  width: 100%;
  max-width: none !important;
}

/* Optionnel: réduire un peu les marges latérales */
body.embed-mode .container,
body.embed-mode .wrap{
  padding-left: 16px;
  padding-right: 16px;
}
html, body{
  background: radial-gradient(1200px 800px at 20% 10%, var(--house-bg1, #2b2a6a), transparent 55%),
              linear-gradient(180deg, var(--house-bg2, #131320), var(--house-bg3, #0b0b12));
  color: var(--house-text, #f4f4ff);
}
