/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Special Elite', cursive;
}

/* === Dark industrial background === */
body {
  background-color: #1a1a1a;
  background-image: url('bkgrd.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* === Page container === */
.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* === Site title === */
.site-title {
  position: absolute;
  top: 20%;
  left: 3%;
  z-index: 10;
  pointer-events: none;
  font-family: 'Teko', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c0c0c0;
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
  text-shadow:
    0 0 15px rgba(192, 192, 192, 0.4),
    0 0 30px rgba(192, 192, 192, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* === Text container === */
.text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* === Individual text lines === */
.text-line {
  position: absolute;
  color: #c45a2d;
  font-family: 'Special Elite', cursive;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  animation: flicker 2.5s ease-in forwards;
  text-shadow:
    0 0 8px rgba(196, 90, 45, 0.3),
    1px 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
  user-select: none;
}

/* === Group image === */
.group-image {
  position: absolute;
  bottom: 5%;
  right: 5%;
  max-width: 200px;
  height: auto;
  opacity: 0;
  animation: flicker 2.5s ease-in forwards;
  animation-delay: 1.5s;
  pointer-events: auto;
}

/* === Fade-in keyframes === */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Fluorescent flicker keyframes === */
@keyframes flicker {
  0%   { opacity: 0; }
  5%   { opacity: 0.6; }
  8%   { opacity: 0.1; }
  12%  { opacity: 0.7; }
  14%  { opacity: 0; }
  20%  { opacity: 0; }
  24%  { opacity: 0.8; }
  26%  { opacity: 0.2; }
  28%  { opacity: 0.9; }
  30%  { opacity: 0.1; }
  35%  { opacity: 0; }
  42%  { opacity: 0; }
  46%  { opacity: 0.5; }
  48%  { opacity: 0; }
  55%  { opacity: 0.8; }
  57%  { opacity: 0.3; }
  60%  { opacity: 0.9; }
  62%  { opacity: 0.4; }
  68%  { opacity: 1; }
  70%  { opacity: 0.2; }
  75%  { opacity: 0.9; }
  78%  { opacity: 1; }
  82%  { opacity: 0.7; }
  86%  { opacity: 1; }
  92%  { opacity: 0.9; }
  100% { opacity: 1; }
}

/* === Hidden link === */
.hidden-link {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 8px;
  color: #2a2a2a;
  text-decoration: none;
  z-index: 999;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.hidden-link:hover {
  opacity: 0.8;
  color: #444;
}
