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

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000 100%);
  overflow-x: hidden;
}

section { padding: 120px 20px; text-align: center; }
h1, h2, h3 { margin-bottom: 20px; }

/* === STARS BACKGROUND === */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent url('../img/stars.png') repeat top center;
  animation: moveStars 60s linear infinite;
  z-index: -1;
}

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: 10000px 5000px; }
}

/* === HEADER === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ffd166;
}

/* === HERO === */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 80px;
  color: #ffd166;
}

.hero h2 { color: #ccc; font-size: 28px; }
.hero-sub { margin-top: 10px; font-size: 20px; }

/* === BUTTON (Uiverse) === */
.button {
  border: none;
  outline: none;
  background-color: #3a3a3a;
  width: 180px;
  height: 60px;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  margin: 20px auto;
}

.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  width: 106%;
  height: 120%;
  z-index: -1;
  border-radius: inherit;
  transition: all 0.3s;
}

.gradient-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 106%;
  height: 115%;
  overflow: hidden;
  border-radius: inherit;
  z-index: -2;
  filter: blur(10px);
  transition: all 0.3s;
}

.gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  aspect-ratio: 1;
  border-radius: 100%;
  background-image: linear-gradient(
    90deg,
    hsl(226, 81%, 64%),
    hsl(271, 81%, 64%),
    hsl(316, 81%, 64%),
    hsl(1, 81%, 64%),
    hsl(46, 81%, 64%),
    hsl(91, 81%, 64%),
    hsl(136, 81%, 64%),
    hsl(181, 81%, 64%)
  );
  animation: rotate 2s linear infinite;
  filter: blur(10px);
}

.label {
  width: 156px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 22px;
  background-color: rgba(43, 43, 43, 1);
  background-image: linear-gradient(180deg, rgb(43, 43, 43) 0%, rgb(68, 68, 68) 100%);
}

.button:hover .gradient-container { transform: translate(-50%, -50%) scale(0.98); filter: blur(5px); }
.button:hover .gradient { filter: blur(5px); }

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

/* === SPIELMODI === */
.modes .mode-card {
  max-width: 700px;
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 20px;
  margin: 40px auto;
  transition: transform 0.3s;
}

.modes .mode-card:hover { transform: scale(1.02); }
.modes img { width: 100%; border-radius: 20px; transform: rotate(-2deg); }

/* === OWNER === */
.owner-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.owner-grid.reverse { flex-direction: row-reverse; }
.owner-card img { width: 250px; border-radius: 20px; }

/* === CTA === */
.cta h2 { font-size: 36px; margin-bottom: 10px; }
.cta p { color: #ccc; margin-bottom: 30px; }

/* === FOOTER === */
footer {
  text-align: center;
  background: rgba(0,0,0,0.8);
  padding: 25px 0;
  margin-top: 100px;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: transparent;
  pointer-events: none;
}

.rules-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
  list-style: none;
  padding: 0;
}

.rules-list li {
  background: rgba(255, 255, 255, 0.05);
  margin: 15px 0;
  padding: 20px;
  border-radius: 15px;
  font-size: 18px;
  transition: transform 0.3s;
}

.rules-list li:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.1);
}

.team-category {
  font-size: 28px;
  color: #ffd166;
  margin: 50px 0 20px 0;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 20px;
  width: 180px;
  text-align: center;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.1);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
