/* launch cleanup: page relies on global Elementor header */
.tg-wrapper{
  max-width:1240px;
  margin:auto;
  font-family:'Inter',sans-serif;
  color:#eef3ff;
}

.tg-hero{
  --tg-home-hero-bg:url("https://teamupgamer.com/wp-content/uploads/2026/03/Hintergrund-Home.png") center/cover no-repeat;
  position:relative;
  border-radius:28px;
  overflow:hidden;
  min-height:620px;
  display:flex;
  align-items:center;
  padding:80px;
  background:
    linear-gradient(90deg,rgba(5,10,19,.88),rgba(5,10,19,.42)),
    var(--tg-home-hero-bg);
  box-shadow:0 25px 60px rgba(0,0,0,.45);
  margin-bottom:60px;
  isolation:isolate;
}
.tg-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(77,124,255,.16), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(239,199,111,.10), transparent 18%),
    linear-gradient(180deg, rgba(7,11,20,0) 0%, rgba(7,11,20,.24) 100%);
  pointer-events:none;
  z-index:0;
}
.tg-hero > *{
  position:relative;
  z-index:1;
}
.tg-hero h1{
  font-family:'Cinzel',serif;
  font-size:64px;
  line-height:1.02;
  color:#f6edd7;
  margin:0 0 20px;
}
.tg-hero p{
  font-size:18px;
  color:#d5def3;
  max-width:640px;
  line-height:1.7;
  margin:0;
}

.tg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 26px;
  border-radius:14px;
  background:linear-gradient(180deg,#f5cf7b,#d8a444);
  color:#241708;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(216,164,68,.16);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.tg-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 28px rgba(216,164,68,.22);
  filter:brightness(1.02);
}
.tg-btn--ghost{
  background:linear-gradient(180deg,#16233f,#0d1526);
  color:#f0e3bf;
  box-shadow:none;
  border:1px solid rgba(216,164,68,.16);
}

/* GRID */
.tg-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  margin-top:40px;
}

.tg-card{
  background:linear-gradient(180deg,#0d1526,#0b1221);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,.4);
  border:1px solid rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tg-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 50px rgba(0,0,0,.46);
  border-color:rgba(216,164,68,.18);
}
.tg-card img{
  width:100%;
  height:210px;
  object-fit:cover;
}
.tg-card-content{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}
.tg-card h3{
  font-family:'Cinzel',serif;
  font-size:26px;
  line-height:1.08;
  color:#f3e4c0;
  margin:0 0 10px;
}
.tg-card p{
  color:#9ba9c8;
  font-size:15px;
  line-height:1.6;
  margin:0 0 18px;
  min-height:118px;
}
.tg-card-content .tg-btn{
  margin-top:auto;
  width:max-content;
}

/* FEATURED */
.tg-featured{
  margin-top:80px;
}
.tg-featured-head{
  margin-bottom:26px;
}
.tg-featured-title{
  font-family:'Cinzel',serif;
  color:#f4ead0;
  font-size:clamp(34px,4vw,56px);
  line-height:1.04;
  margin:0 0 12px;
}
.tg-featured-copy{
  max-width:760px;
  color:#9ba9c8;
  font-size:16px;
  line-height:1.7;
  margin:0;
}

.tg-featured-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:30px;
}

.tg-featured-card{
  position:relative;
  background:
    radial-gradient(circle at top right, rgba(216,164,68,.10), transparent 32%),
    radial-gradient(circle at bottom left, rgba(77,124,255,.10), transparent 26%),
    linear-gradient(180deg,#0d1526,#0b1221);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  border:1px solid rgba(216,164,68,.10);
  padding:24px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tg-featured-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 58px rgba(0,0,0,.50);
  border-color:rgba(216,164,68,.22);
}
.tg-featured-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(216,164,68,.10);
  color:#f3d89c;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:18px;
  border:1px solid rgba(216,164,68,.16);
}
.tg-featured-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(180deg,#f5cf7b,#d8a444);
  box-shadow:0 0 14px rgba(216,164,68,.45);
}
.tg-featured-content{
  display:flex;
  flex-direction:column;
  min-height:250px;
}
.tg-featured-card h3{
  margin:0 0 12px;
  font-family:'Cinzel',serif;
  font-size:30px;
  line-height:1.08;
  color:#f4ead0;
}
.tg-featured-card p{
  margin:0 0 18px;
  color:#aab6d0;
  font-size:15px;
  line-height:1.68;
  flex-grow:1;
}
.tg-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}
.tg-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  background:rgba(255,255,255,.05);
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  color:#dbe5ff;
  border:1px solid rgba(255,255,255,.05);
}
.tg-featured-card .tg-btn{
  width:max-content;
}

/* RESPONSIVE */
@media(max-width:1000px){
  .tg-grid{
    grid-template-columns:1fr 1fr;
  }
  .tg-featured-grid{
    grid-template-columns:1fr;
  }
  .tg-hero{
    padding:50px;
    min-height:520px;
  }
  .tg-hero h1{
    font-size:42px;
  }
}
@media(max-width:767px){
  .tg-grid{
    grid-template-columns:1fr;
  }
  .tg-hero{
    padding:34px 24px;
    min-height:460px;
    margin-bottom:40px;
  }
  .tg-hero h1{
    font-size:34px;
  }
  .tg-hero p{
    font-size:16px;
  }
  .tg-card p{
    min-height:auto;
  }
  .tg-card-content .tg-btn,
  .tg-featured-card .tg-btn{
    width:100%;
  }
}
