/* Basis reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050608;
  color: #f9f6ee;
  line-height: 1.5;
}

/* Links zonder standaard blauw */
a {
  color: inherit;
  text-decoration: none;
}

/* Achtergrondlagen */
.background-cheese,
.background-cs2 {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* Zachte kaas-glow */
.background-cheese {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 220, 120, 0.35), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255, 190, 80, 0.35), transparent 55%);
}

/* Donkere CS2-achtige mist */
.background-cs2 {
  background:
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.9), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.9), transparent 60%);
  z-index: -3;
}

/* Hoofdcontainer */
.container {
  max-width: 860px;
  margin: 32px auto 48px auto;
  padding: 16px;
}

/* HERO / HEADER */
.hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 18, 12, 0.95), rgba(18, 16, 24, 0.95));
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 230, 160, 0.22);
}

/* Avatar blok */
.hero-avatar {
  flex-shrink: 0;
}

/* Kaasmascotte */
.cheese-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 20%, #ffe9a3, #ffc94a);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: cheeseFloat 3.5s ease-in-out infinite;
}

/* Gaatjes in de kaas */
.cheese-avatar::before,
.cheese-avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 120, 0.3), rgba(240, 180, 70, 0.9));
  filter: blur(0.5px);
}

.cheese-avatar::before {
  width: 26px;
  height: 26px;
  top: 20%;
  left: 18%;
}

.cheese-avatar::after {
  width: 32px;
  height: 32px;
  bottom: 18%;
  right: 16%;
}

/* Gezicht */
.cheese-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
}

.eye {
  font-size: 26px;
}

.mouth {
  font-size: 20px;
  margin-top: -4px;
}

/* Headset */
.headset {
  position: absolute;
  inset: 20% 8% auto 8%;
  border-radius: 999px;
  border: 3px solid rgba(40, 40, 60, 0.9);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

.headset::before,
.headset::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: rgba(40, 40, 60, 0.95);
}

/* Linker mic-arm */
.headset::before {
  left: -3px;
  bottom: -4px;
}

/* Rechter mic-arm */
.headset::after {
  right: -3px;
  bottom: -4px;
}

/* Hero tekst */
.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.tagline {
  font-size: 0.95rem;
  color: rgba(249, 246, 238, 0.9);
  max-width: 520px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(255, 210, 90, 0.18);
  border: 1px solid rgba(255, 230, 150, 0.4);
}

/* Kleine inline iconen */
.inline-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* LIVE / OFFLINE SECTIE */
.live-section {
  margin-top: 20px;
}

.live-card {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(15, 13, 18, 0.95);
  border: 1px solid rgba(255, 230, 170, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55);
}

.live-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Puntje voor live/offline */
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
  box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.25);
}

/* Offline standaard */
.live-card.offline .live-dot {
  background: #777;
  box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.25);
}

.live-card.offline .live-text {
  color: #b0a9a0;
}

/* Als online class wordt gezet in script.js */
.live-card.online {
  border-color: rgba(255, 74, 74, 0.75);
  background: radial-gradient(circle at 0% 0%, rgba(255, 90, 90, 0.22), rgba(20, 16, 18, 0.98));
}

.live-card.online .live-dot {
  background: #ff4b4b;
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.4);
}

.live-card.online .live-text {
  color: #ffbfbf;
}

.offline-text {
  font-size: 0.9rem;
  color: rgba(230, 224, 215, 0.9);
}

/* LINK KNOPPEN */
.links-section {
  margin-top: 26px;
}

.section-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 235, 180, 0.85);
}

/* Grid voor knoppen */
.links-grid {
  display: grid;
  gap: 12px;
}

/* Vanaf tablet 2 kolommen */
@media (min-width: 720px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Algemene knopstijl */
.cheese-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f7c952, #f4b93a);
  color: #22160b;
  border: 1px solid rgba(255, 220, 150, 0.85);
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
}

/* Smeltend effect */
.cheese-btn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 8px;
  bottom: -6px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cheese-btn:hover {
  transform: translateY(1px) scale(1.01);
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.cheese-btn:hover::after {
  opacity: 1;
  transform: translateY(2px);
}

/* Primairy Twitch knop */
.cheese-btn.primary {
  background: linear-gradient(145deg, #f9d969, #f7c141);
}

/* Ghost variant binnen kaarten */
.cheese-btn.ghost {
  background: rgba(18, 16, 20, 0.8);
  color: #f6eddc;
  border: 1px solid rgba(255, 222, 170, 0.5);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.55);
}

.cheese-btn.ghost::after {
  display: none;
}

/* Kleine knop */
.cheese-btn.small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 14px;
  padding-block: 8px;
  border-radius: 999px;
}

/* Bovenste rij in knoppen */
.btn-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Icon in knoppen */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Zorg dat alle icon PNG's klein blijven */
.btn-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Tekst in knoppen */
.btn-main {
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-sub {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Gebruik in schema/contact knop */
.btn-text {
  display: flex;
  flex-direction: column;
}

/* Kaart-secties onder de knoppen */
.card-section {
  margin-top: 24px;
  padding: 18px 18px 16px 18px;
  border-radius: 20px;
  background: rgba(12, 10, 14, 0.96);
  border: 1px solid rgba(255, 230, 180, 0.24);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.75);
}

.card-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* Stream schema tekst */
.schema-text {
  font-size: 0.9rem;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Highlight van hoofdgame */
.highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 210, 120, 0.1);
  border: 1px solid rgba(255, 220, 150, 0.4);
  margin-left: 4px;
}

/* Kleine notities onder kaarten */
.schema-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(230, 220, 210, 0.9);
}

/* Lijst met highlights */
.highlight-list {
  list-style: none;
  margin-top: 6px;
  margin-left: 2px;
}

.highlight-list li {
  font-size: 0.9rem;
  margin-top: 2px;
}

/* Contact-sectie extra marge boven knop */
.contact-section p {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  margin-top: 26px;
  padding: 14px 6px 0 6px;
  font-size: 0.78rem;
  color: rgba(240, 230, 215, 0.75);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}

/* CS2 label rechts onder */
.cs2-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(120, 180, 255, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(100, 160, 255, 0.35), rgba(10, 16, 30, 0.95));
}

/* Responsive aanpassingen */
@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-avatar {
    align-self: center;
  }

  .container {
    margin-top: 20px;
  }
}

/* Kaas-avatar animatie */
@keyframes cheeseFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
