:root {
  --bg: #0f1424;
  --panel: #18233f;
  --panel-soft: #1e2c4d;
  --text: #e9efff;
  --muted: #b3c0e6;
  --accent: #5db2ff;
  --accent-2: #7f6bff;
  --success: #37d39a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 1rem 2rem;
  text-align: center;
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(127, 107, 255, 0.18), transparent 45%),
    radial-gradient(circle at top left, rgba(93, 178, 255, 0.16), transparent 45%),
    var(--bg);
}

h1, h2, h3 {
  color: #ffffff;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

h1 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-shadow: 0 2px 18px rgba(93, 178, 255, 0.35);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p, li {
  font-size: 1rem;
  color: var(--muted);
  max-width: 980px;
  margin: 0.5rem auto;
}

ul {
  list-style-position: inside;
  padding: 0;
  margin: 0.35rem auto 1rem;
}

h6 {
  margin: 0.3rem 0 1rem;
  color: #95a7d6;
  font-weight: 500;
}

img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 -1rem 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(16, 24, 47, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.topnav a {
  color: #eef3ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(127, 107, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(93, 178, 255, 0.2);
}

.topnav a:active {
  transform: translateY(0);
}

.defuse-images,
.one-vs-one-image,
.team-image,
.Defuse_stuff {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.9rem auto 1.2rem;
}

.defuse-images img,
.one-vs-one-image img,
.team-image img,
.Defuse_stuff img,
.skins,
.layers {
  width: min(100%, 700px);
  height: auto;
}

.button-link {
  display: inline-block;
  padding: 0.68rem 1.15rem;
  margin: 0.45rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #1f9cff, #5567ff);
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 18px rgba(74, 105, 255, 0.3);
  transition: transform 150ms ease, filter 150ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.link:link,
.link:visited {
  color: #8cd0ff;
  font-size: 1.03rem;
}

.link:hover,
.link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 700px) {
  body {
    padding: 0 0.75rem 1.5rem;
  }

  .topnav {
    margin: 0 -0.75rem 1rem;
  }
}
