/* ========================================
   TEAMSURGE — INDEX PAGE
   PREMIUM OVERHAUL
======================================== */

html,
body {
  margin: 0;
  padding: 0;

  min-height: 100%;

  font-family:
    Inter,
    Arial,
    sans-serif;

  color: white;

  overflow-x: hidden;
}

/* ========================================
   HERO
======================================== */

.hero {

  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    45px 20px 90px;
}

/* ========================================
   CONTENT
======================================== */

.content {

  width: 100%;
  max-width: 980px;

  padding: 20px;

  text-align: center;

  position: relative;
  z-index: 2;
}

/* ========================================
   TITLE
======================================== */

h1 {

  margin: 0;

  font-size:
    clamp(58px, 8vw, 104px);

  line-height: 0.92;

  letter-spacing: -2px;

  font-weight: 800;

  text-shadow:
    0 0 30px rgba(255,255,255,0.08);
}

/* ========================================
   SUBTITLE
======================================== */

.sub {

  margin-top: 20px;

  font-size: 18px;

  line-height: 1.6;

  opacity: 0.78;

  max-width: 720px;

  margin-inline: auto;
}

/* ========================================
   CARD WRAPPER
======================================== */

.cards {

  margin-top: 58px;
  margin-bottom: 36px;

  display: flex;
  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

/* ========================================
   CARD
======================================== */

.card {

  position: relative;

  width: 250px;


  display: flex;
  align-items: center;

  gap: 14px;

  padding: 20px;

  border-radius: 22px;

  text-decoration: none;

  color: white;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.045)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

/* glow layer */
.card::before {

  content: "";

  position: absolute;

  inset: -40%;

  background:
    radial-gradient(
      circle,
      rgba(0,212,255,0.12),
      transparent 60%
    );

  opacity: 0;

  transition: 0.4s ease;

  pointer-events: none;
}

/* hover */
.card:hover {

  transform:
    translateY(-8px);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.12),
      rgba(255,255,255,0.06)
    );

  border-color:
    rgba(0,212,255,0.28);

  box-shadow:
    0 0 28px rgba(0,212,255,0.14);
}

.card:hover::before {
  opacity: 1;
}

/* ========================================
   CARD CONTENT
======================================== */

.card > div {

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 4px;
}

/* ========================================
   ICON
======================================== */

.icon {

  font-size: 28px;

  opacity: 0.95;

  filter:
    drop-shadow(
      0 0 10px rgba(255,255,255,0.08)
    );
}

/* ========================================
   CARD TITLE
======================================== */

.card h2 {

  margin: 0;

  font-size: 17px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: -0.2px;
}

/* ========================================
   CARD TEXT
======================================== */

.card p {

  margin: 0;

  font-size: 13px;

  line-height: 1.5;

  opacity: 0.72;
}

/* ========================================
   CARD COLORS
======================================== */

.mc {
  border-color:
    rgba(0,255,120,0.32);
}

.bs {
  border-color:
    rgba(255,200,0,0.32);
}

/* ========================================
   NEWS SECTION
======================================== */

.news {

  margin-top: 76px;

  width:
    min(760px, 92vw);

  margin-inline: auto;

  padding: 0;

  overflow: hidden;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.35);
}

/* ========================================
   NEWS HEADER
======================================== */

.news-header {

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 18px 22px;

  cursor: pointer;

  user-select: none;

  transition:
    background 0.25s ease;
}

.news-header:hover {

  background:
    rgba(255,255,255,0.04);
}

/* ========================================
   NEWS TITLE
======================================== */

.news-title {

  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 1.8px;

  opacity: 0.68;
}

/* ========================================
   NEWS INDICATOR
======================================== */

.news-indicator {
  position: relative;
  width: 18px;
  height: 18px;
}

/* horizontal line */
.news-indicator::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(0,212,255,0.8);
}

/* vertical line (plus) */
.news-indicator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  opacity: 1;
  transition: 0.25s ease;
}

/* OPEN → minus (hide vertical) */
.news.open .news-indicator::after {
  opacity: 0;
  transform: translateX(-50%) scaleY(0);
}

/* ========================================
   NEWS CONTENT
======================================== */

.news-content {

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  padding: 0 22px;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    padding 0.45s ease;
}

.news.open .news-content {

  max-height: 1000px;

  opacity: 1;

  padding:
    0 22px 22px;
}

/* ========================================
   NEWS ITEM
======================================== */

.news-item {

  display: flex;

  align-items: flex-start;

  gap: 14px;

  padding: 16px;

  border-radius: 18px;

  margin-top: 12px;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid rgba(255,255,255,0.06);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.news-item:hover {

  transform:
    translateY(-3px);

  background:
    rgba(255,255,255,0.06);

  border-color:
    rgba(0,212,255,0.2);
}

/* ========================================
   DOT
======================================== */

.dot {
  width: 8px;
  height: 8px;

  flex: 0 0 8px;      /* verhindert Verziehen im flex layout */
  aspect-ratio: 1 / 1; /* erzwingt perfekte Kreisform */

  margin-top: 7px;

  border-radius: 50%;
  background: var(--accent);

  box-shadow: 0 0 10px rgba(0,212,255,0.8);

  display: block;
}

/* ========================================
   NEWS TEXT
======================================== */

.news-text {

  display: flex;
  flex-direction: column;

  gap: 4px;
}

/* ========================================
   NEWS TITLE ITEM
======================================== */

.news-title-item {

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.2px;
}

/* ========================================
   NEWS BODY
======================================== */

.news-body {

  font-size: 13px;

  line-height: 1.6;

  opacity: 0.72;
}

/* ========================================
   PROMO BANNER
======================================== */

.promo-banner {

  position: relative;

  width:
    calc(100% - 32px);

  max-width: 430px;

  margin:
    24px auto 0;

  padding: 16px;

  box-sizing: border-box;

  overflow: hidden;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.04)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.3);
}

/* subtle glow */
.promo-banner::before {

  content: "";

  position: absolute;

  inset: -40%;

  background:
    radial-gradient(
      circle,
      rgba(0,212,255,0.1),
      transparent 65%
    );

  opacity: 0.7;

  pointer-events: none;
}

/* ========================================
   PROMO CONTENT
======================================== */

.promo-content {

  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

/* ========================================
   PROMO BADGE
======================================== */

.promo-badge {

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #00ff9d;
}

/* ========================================
   PROMO TEXT
======================================== */

.promo-text h3 {

  margin: 0;

  font-size: 17px;

  font-weight: 700;
}

.promo-text p {

  margin: 0;

  font-size: 13px;

  line-height: 1.5;

  opacity: 0.74;
}

/* ========================================
   PROMO BUTTON
======================================== */

.promo-btn {

  margin-top: 4px;

  padding: 10px 14px;

  border-radius: 14px;

  text-align: center;

  text-decoration: none;

  color: white;

  font-weight: 600;

  background:
    rgba(0,212,255,0.12);

  border:
    1px solid rgba(0,212,255,0.3);

  transition:
    transform 0.22s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.promo-btn:hover {

  transform:
    translateY(-2px);

  background:
    rgba(0,212,255,0.18);

  box-shadow:
    0 0 18px rgba(0,212,255,0.18);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

  h1 {
    font-size:
      clamp(48px, 8vw, 76px);
  }

  .cards {
    gap: 16px;
  }

  .card {
    width: 220px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

  .hero {

    align-items: flex-start;

    padding:
      100px 14px 50px;
  }

  .content {
    padding: 10px;
  }

  h1 {

    font-size:
      clamp(42px, 12vw, 58px);

    letter-spacing: -1px;

    line-height: 1;
  }

  .sub {

    margin-top: 16px;

    font-size: 15px;

    line-height: 1.5;
  }

  .cards {

    flex-direction: column;

    align-items: center;

    gap: 14px;
  }

  .card {
    max-width: 90%;

    width: 100%;
    max-width: 360px;

    padding: 18px;
  }

  .news {

    width: 100%;

    border-radius: 24px;
  }

  .news-header {

    padding: 16px;
  }

  .news-content {

    padding: 0 16px;
  }

  .news.open .news-content {

    padding:
      0 16px 16px;
  }

  .promo-banner {

    width: 100%;

    max-width: 100%;
  }
}

/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 420px) {

  h1 {
    font-size: 38px;
  }

  .card {
    max-width: 90%;

    gap: 12px;

    padding: 16px;
  }

  .icon {
    font-size: 24px;
  }

  .news-body {
    font-size: 12px;
  }

  .promo-text h3 {
    font-size: 15px;
  }

  .promo-text p {
    font-size: 12px;
  }
}