/* ===== GLOBAL ===== */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: Arial, sans-serif;
    overflow: auto;
    
    background: url("background.gif") center center / cover no-repeat fixed;
}

/* ===== OVERLAY (grain / darkness layer) ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}

/* ===== MAIN CONTENT ===== */
.content {
    text-align: center;
    z-index: 2;
}

.friends-button {
  position: fixed;
  top: 15px;
  right: 15px;
  padding: 10px 14px;
  background: #222;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 14px;
  z-index: 9999;
  transition: 0.2s;
}

.friends-button:hover {
  background: #444;
  transform: scale(1.05);
}

/* ===== TITLE (metal vibe) ===== */
.title {
    font-family: 'UnifrakturCook', cursive;
    font-size: 80px;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 0 20px black;
}

/* ===== SUBTEXT ===== */
.subtitle {
    text-shadow: 0 2px 6px black, 0 0 15px black;
}

/* ===== BUTTON LAYOUT ===== */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* ===== BUTTON STYLE ===== */
.button {
    display: block;
    padding: 15px 35px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    letter-spacing: 1px;
}

/* ===== HOVER EFFECT ===== */
.button:hover {
    background: white;
    color: black;
    transform: scale(1.08);
    box-shadow: 0 0 20px white;
}

/* ===== SMALL ANIMATION (subtle “alive” feel) ===== */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.95; }
    100% { opacity: 1; }
}

.header-logo {
    width: 600px;
    height: auto;
    display: block;
    margin: 1rem auto 2rem;
}

.title {
    animation: flicker 3s infinite;
}