@font-face {
  font-family: 'Exo2';
  src: url('./assets/fonts/Exo2-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo2';
  src: url('./assets/fonts/Exo2-Italic-VariableFont_wght.ttf')
    format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'BoardwalkAvenueSerif';
  src: url('./assets/fonts/BoardwalkAvenueSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BoardwalkAvenueSerif';
  src: url('./assets/fonts/BoardwalkAvenueSerif-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg-start: #222634;
  --color-bg-end: #0a0c10;
  --color-black: #0a0c10;
  --color-white: #f4eee5;
  --color-text-primary: #f4eee5;
  --color-text-secondary: #dc9e32;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: 'Exo2', sans-serif;
  background: radial-gradient(
    circle at -90% -90%,
    var(--color-bg-start),
    var(--color-bg-end)
  );
  color: var(--color-text-primary);
}

.page {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translateY(-6vh);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(2rem, 5vw, 4rem);
  gap: 1rem;
}

h1 {
  font-family: 'BoardwalkAvenueSerif', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h1 span.highlight {
  background: linear-gradient(120deg, #e7b55fff, var(--color-text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

/* Glow diffus animé */
h1 span.highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  filter: blur(18px);
  background: var(--color-text-secondary);
  opacity: 0.22;
  animation: glow 4.2s ease-in-out infinite;
  pointer-events: none;
}

.subtitle {
  font-size: 1rem;
  max-width: 32rem;
  color: var(--color-white);
  line-height: 1.6;
}

.meta {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.meta strong {
  color: var(--color-white);
}

.image-side {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-side img {
  width: 80%;
  height: 80%;
  display: block;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Logo icons inline background */
.social-btn.discord {
  background-image: url('./assets/icons/discord.svg');
}
.social-btn.x {
  background-image: url('./assets/icons/x.svg');
}
.social-btn.instagram {
  background-image: url('./assets/icons/instagram.svg');
}
.social-btn.tiktok {
  background-image: url('./assets/icons/tiktok.svg');
}
.social-btn.youtube {
  background-image: url('./assets/icons/youtube.svg');
}

.social-btn {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
}

/* Hover effect (glow fantasy style) */
.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--color-text-secondary);
  box-shadow: 0 0 12px rgba(220, 158, 50, 0.55);
}

.background {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  width: 500%;
  height: 500%;
  animation: back 120s linear infinite;
}

@keyframes back {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes glow {
  0% {
    opacity: 0.15;
    filter: blur(15px);
  }
  50% {
    opacity: 0.3;
    filter: blur(30px);
  }
  100% {
    opacity: 0.15;
    filter: blur(15px);
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .content {
    padding: 0.5rem 1.5rem 3rem;
  }
}

@media (max-width: 520px) {
  .content {
    padding-inline: 1.25rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }
}
