/* styles.css */

:root {
  --bg: #0b0b0b;
  --fg: #ffffff;
  --accent: #b6f;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
  background-image: url("assets/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.support {
  background: rgba(0, 0, 0, 0.6); /* ancien fond ou proche */
  border-radius: 16px;
  padding: clamp(20px, 4vw, 48px);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px); /* effet verre dépoli */
}


.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
/* Vidéo plein écran */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  z-index: -2;
}
/* Voile pour lisibilité du logo/texte */
.scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(80vw 60vh at 50% 60%, rgba(0,0,0,0.15), rgba(0,0,0,0.7));
  z-index: -1;
}

.logobis{
  width: 28vw;
  min-width: 180px;
  max-width: 400px;
  height: auto;
  padding-bottom: 40px;
}

.hero-wrapper{
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-left: 33vw;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bouton Steam en glassmorphism */
.btn-wishlist-steam {
  --blur: 8px;
  --bg-a: rgba(255,255,255,.08);
  --bg-b: rgba(255,255,255,.04);
  --bd: rgba(255,255,255,.18);

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  margin-top: 15px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: linear-gradient(120deg, var(--bg-a), var(--bg-b));
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(var(--blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(120%);
  box-shadow: 0 8px 28px rgba(0,0,0,.32),
              inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.btn-wishlist-steam .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .95;
}

.btn-wishlist-steam .badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  opacity: .95;
}

/* Interactions */
.btn-wishlist-steam:hover {
  background: linear-gradient(120deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  transform: translateY(-1px);
  box-shadow: 0 10px 34px rgba(0,0,0,.36),
              inset 0 1px 0 rgba(255,255,255,.12);
}

.btn-wishlist-steam:active {
  transform: scale(.97);
}

.btn-wishlist-steam:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/*.logo {
  width: min(38vw, 220px);
  max-width: 60vw;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}*/

.logo.top {
  position: absolute;
  top: 0px;      /* distance depuis le haut */
  left: 33%;
  transform: translateX(-50%);
  width: 28vw;
  min-width: 180px;
  max-width: 400px;
  height: auto;
}

/*.logo.top {
  position: absolute; 
  top: 33%;            
  left: 50%;    
  transform: translate(-50%, -50%); 
  width: min(28vw, 180px);
  height: auto;
}*/

h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.tagline {
  margin: 0;
  font-size: clamp(14px, 2.2vw, 18px);
  opacity: 0.9;
}

/* Badge de copyright en bas */
.footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  padding: 10px 14px;
  font-size: 12px;
  opacity: 0.8;
  pointer-events: none;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-aspect-ratio: 21/9) {
  .scrim { background: radial-gradient(90vw 50vh at 50% 60%, rgba(0,0,0,0.2), rgba(0,0,0,0.75)); }
}