/* ------------------------------
   Fonts
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Ysabeau+Infant:ital,wght@0,1..1000;1,1..1000&display=swap');

/* ------------------------------
   Variables
------------------------------ */
:root {
  --color-bg: #000;
  --color-text: #f5f5f5;
  --color-muted: #5D7052;

  --overlay-dark: rgba(0, 0, 0, 0.25);
  --overlay-hover: rgba(248, 129, 38, 0.47);
}

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

body {
  min-height: 98vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--color-bg) url('/media/hires.png')
    no-repeat center center / 50%;
  color: var(--color-text);
  font-family: 'Ysabeau Infant', sans-serif;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: -1;
}

/* ------------------------------
   Typography
------------------------------ */
h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

p {
  font-family: 'Ysabeau Infant', sans-serif;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.muted {
    color: var(--color-muted);
}

/* ------------------------------
   Header
------------------------------ */
header {
  margin: 2rem;
}

header ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-right: 2rem;
  margin-left: 2rem;
}

header li {
  text-transform: uppercase;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

header li:hover {
  font-weight: bold;
}

/* ------------------------------
   Main
------------------------------ */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}


main h1 {
  animation: fadeSlideDown 1.2s ease-out forwards;
}

main p {
  opacity: 0;
  animation: fadeSlideDown 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer li {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;

  margin: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 238, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);

  transition: background 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);

  opacity: 0;
  animation: fadeZoomIn 0.8s ease-out forwards;
}


footer li:nth-child(1) {
  animation-delay: 0.6s;
}
footer li:nth-child(2) {
  animation-delay: 0.8s;
}
footer li:nth-child(3) {
  animation-delay: 1s;
}

footer li:hover {
  background: var(--overlay-hover);
  transform: scale(1.1);
}

footer li img {
  width: 1.5rem;
  height: 1.5rem;
}

/* ------------------------------
   Animations
------------------------------ */

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
