/* === Lokale Schrift (DSGVO-konform) === */
@font-face {
  font-family: 'Bitcount';
  src: url('/assets/fonts/BitcountGridSingle-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* === Farben & Layout === */
:root {
  --accent: rgb(234,114,22);
  --bg: #0f1117;
  --navbar-height: 110px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--bg);
  overflow-x: hidden;
  font-family: 'Bitcount', system-ui, sans-serif;
}

/* === HERO-BEREICH === */
.hero-grid {
  display: flex;
  width: 100%;
  height: calc(100vh - var(--navbar-height));
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

/* SPIELE */
.game {
  position: relative;
  flex: 1 1 0%;
  transition: flex 0.6s ease, transform 0.6s ease;
  cursor: pointer;
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  overflow: hidden;
}

.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
}

/* Vergrauung unten beim Hover */
.game::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Titel bei Hover */
.label {
  position: absolute;
  bottom: 20px;
  left: 25px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: left;
  z-index: 2;
}

.label h2 {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow:
    0 0 6px rgba(0,0,0,0.9),
    0 0 10px rgba(0,0,0,0.6),
    0 0 18px rgba(234,114,22,0.4);
}

/* Hover-Effekte */
.hero-grid:hover .game {
  flex: 1;
  filter: brightness(0.75);
}

.hero-grid:hover .game:hover {
  flex: 3;
  filter: brightness(1);
  z-index: 2;
}

.hero-grid:hover .game:hover img {
  transform: scale(1.05);
}

.hero-grid:hover .game:hover::after {
  opacity: 1;
}

.hero-grid:hover .game:hover .label {
  opacity: 1;
  transform: translateY(0);
}

/* === Titel im Header (nicht sticky!) === */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 500;
  font-size: 4.5rem;
  letter-spacing: 4px;
  color: var(--accent);
  text-shadow:
    0 0 12px rgba(0,0,0,0.9),
    0 0 25px rgba(0,0,0,0.6),
    0 0 40px rgba(234,114,22,0.3);
  pointer-events: none;
  z-index: 5;
  opacity: 0.95;
  user-select: none;
}

/* === ABOUT SECTION (ohne Bild) === */
.about {
  background: linear-gradient(to bottom, #0f1117 0%, #1a1d29 100%);
  color: white;
  padding: 140px 10%;
  text-align: center;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.about-title {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  text-shadow:
    0 0 10px rgba(0,0,0,0.8),
    0 0 20px rgba(234,114,22,0.4);
  margin-bottom: 25px;
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
  color: #d7d7d7;
}

.about-text strong {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(234,114,22,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
    height: calc(100vh - var(--navbar-height));
  }

  .game {
    height: 25%;
  }

  .label h2 {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 2.8rem;
    text-align: center;
  }

  .about {
    padding: 100px 8%;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-text {
    font-size: 1rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #1a1d29;
}
/* === DISCORD SECTION (kompakter & größeres Logo) === */
.discord {
  position: relative;
  background: linear-gradient(145deg, #1a1d29 0%, #20294d 60%, #232b5d 100%);
  color: white;
  padding: 80px 10%; /* vorher 120px → jetzt kompakter */
  text-align: center;
  overflow: hidden;
}

.discord-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Logo */
.discord-logo {
  width: 200px; /* vorher 160px → jetzt größer */
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 14px rgba(88,101,242,0.7));
  opacity: 0.98;
}

/* Titel */
.discord-title {
  font-family: 'Bitcount', system-ui, sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #aab4ff;
  text-shadow:
    0 0 10px rgba(0,0,0,0.8),
    0 0 20px rgba(88,101,242,0.4);
  margin-bottom: 20px;
}

/* Beschreibung */
.discord-text {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 35px auto;
  color: #d8d8e8;
}

.discord-text strong {
  color: #b7bfff;
}

/* Button */
.discord-button {
  display: inline-block;
  background: #5865F2;
  color: white;
  text-decoration: none;
  font-family: 'Bitcount', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 44px; /* etwas schmaler, um zur neuen Höhe zu passen */
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(88,101,242,0.35);
}

.discord-button:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(88,101,242,0.5);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .discord {
    padding: 60px 8%;
  }
  .discord-logo {
    width: 160px;
    margin-bottom: 20px;
  }
  .discord-title {
    font-size: 2rem;
  }
  .discord-text {
    font-size: 1rem;
  }
  .discord-button {
    padding: 12px 32px;
    font-size: 1rem;
  }
}
/* === INSTANT GAMING SECTION === */
.partner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 420px;
  margin-top: 100px;
  border-top: 2px solid rgb(234, 114, 22);
  border-bottom: 2px solid rgb(234, 114, 22);
}

.partner-banner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  overflow: hidden;
}

.partner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.partner-logo {
  position: relative;
  z-index: 2;
  width: 300px;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.partner-text {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  text-align: center;
  width: 90%;
  max-width: 1000px;
}

.partner-text h2 {
  font-family: 'Bitcount', 'BitcountGridSingle', system-ui, sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.partner-text h2 span {
  color: rgb(234, 114, 22);
}

.partner-text p {
  font-family: 'Bitcount', 'BitcountGridSingle', system-ui, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
}

.partner-text p span {
  color: rgb(234, 114, 22);
  text-shadow: 0 0 8px rgba(234, 114, 22, 0.7);
}

/* Hover-Effekte */
.partner-banner:hover .partner-bg {
  filter: brightness(60%);
  transform: scale(1.05);
}

.partner-banner:hover .partner-logo {
  transform: scale(1.08);
}
/* === TAQLAY APEX TEAM === */
.team-showcase {
  padding: 100px 5%;
  background: #0e0e0e;
  border-top: 2px solid rgb(234, 114, 22);
  text-align: center;
  color: #fff;
}

.team-heading {
  font-family: 'Bitcount', 'BitcountGridSingle', system-ui, sans-serif;
  color: rgb(234, 114, 22);
  font-size: 2.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.team-subtitle {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.team-lineup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.player {
  background: #1a1a1a;
  border: 1px solid rgb(234, 114, 22);
  border-radius: 12px;
  padding: 30px 20px;
  width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(234, 114, 22, 0.4);
}

.player.captain {
  border: 2px solid rgb(234, 114, 22);
  box-shadow: 0 0 25px rgba(234, 114, 22, 0.5);
}

.player-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgb(234, 114, 22);
  margin-bottom: 15px;
}

.player-name {
  font-family: 'BitcountGridSingle', sans-serif;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.player-role {
  color: rgb(234, 114, 22);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.player-desc {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
}

/* responsive */
@media (max-width: 768px) {
  .player {
    width: 80%;
  }
}
/* === UNSER TEAM SECTION (optimiert) === */
.our-team {
  position: relative;
  width: 100%;
  min-height: 720px;
  background: url('/assets/images/Team.jpg') center center / cover no-repeat fixed;
  /* cover + center -> kein sichtbarer Rand, volle Breite, fixed bleibt aktiv */
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgb(234,114,22);
  border-bottom: 2px solid rgb(234,114,22);
  overflow: hidden;
}

.our-team__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

/* Inhalt */
.our-team__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 80px 10%;
  max-width: 1000px;
}

/* Titel */
.our-team__title {
  font-family: 'Bitcount', 'BitcountGridSingle', system-ui, sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  color: rgb(234,114,22);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(234,114,22,0.45);
  margin-bottom: 25px;
}

/* Text */
.our-team__text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ddd;
  margin: 0 auto 40px;
  max-width: 850px;
  text-shadow: 0 0 8px rgba(0,0,0,0.7);
}
.our-team__text strong {
  color: rgb(234,114,22);
}

/* Button */
.our-team__btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 10px;
  background: rgb(234,114,22);
  color: white;
  text-decoration: none;
  font-family: 'Bitcount', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 18px rgba(234,114,22,0.4);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.our-team__btn:hover {
  background: #ff8f3b;
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgba(234,114,22,0.65);
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .our-team {
    background-attachment: scroll; /* Fix auf Mobile deaktivieren */
    background-position: center top;
    background-size: cover;
    min-height: 500px;
  }
  .our-team__title {
    font-size: 2.3rem;
  }
  .our-team__text {
    font-size: 1rem;
  }
  .our-team__btn {
    padding: 12px 32px;
    font-size: 1rem;
  }
}
