/* landing page (loaded after generator.css) */

/* roomier hero + section headers so the page breathes and scrolls */
.hero-lg { padding: 64px 16px 30px; }
.hero-lg h1 { font-size: 46px; letter-spacing: 4px; }
.hero-lg .sub { font-size: 15px; margin-top: 12px; }
@media (max-width: 680px) { .hero-lg { padding: 44px 14px 24px; } .hero-lg h1 { font-size: 32px; letter-spacing: 2px; } }

.section-head { max-width: 1560px; width: 100%; margin: 30px auto 2px; padding: 0 18px; }

.landing {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-content: start;
  gap: 22px;
  max-width: 1560px;
  width: 100%;
  margin: 14px auto 0;
  padding: 0 18px;
}
@media (max-width: 1280px) { .landing { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .landing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .landing { grid-template-columns: 1fr; } }

/* each grid cell = card + preview window beneath it */
.tool-cell { display: flex; flex-direction: column; gap: 12px; }
.tool-cell .tool-card { flex: 1 1 auto; }

.tool-preview {
  position: relative;
  height: 172px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  /* subtle dark backdrop so the transparent overlay content stays visible.
     Keep the stripe green to match the (always-green) demo overlay inside,
     even when the card itself is themed a different color. */
  --accent-rgb: 69, 192, 143;
  background:
    repeating-linear-gradient(135deg, rgba(var(--accent-rgb),0.04) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #171919, #101212);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.tool-preview svg.preview-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block; padding: 4px;
}
.tool-preview iframe {
  position: absolute; top: 0; left: 0;
  /* large viewport so the (top-left anchored) overlay paints fully; landing.js
     then measures the content and scales + centers it inside the window */
  width: 700px; height: 500px;
  transform: scale(0.4); transform-origin: top left;
  border: 0; background: transparent;
  pointer-events: none; /* clicks fall through; the card link handles navigation */
  /* stay hidden until landing.js has measured + centered the content, so the
     tiny top-left fallback never flashes on (re)load */
  opacity: 0; transition: opacity 0.25s ease;
}
.tool-preview iframe.fit { opacity: 1; }

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: var(--txt);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.04), transparent 110px),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 24px 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  clip-path: var(--chamfer);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.18);
}
.tool-card:hover .tc-icon { color: var(--accent); }
/* accent edge along the chamfered corners (EFT cut-corner signature) */
.tool-card::before, .tool-card::after {
  content: ''; position: absolute; width: 26px; height: 26px;
  pointer-events: none; opacity: 0.8;
}
.tool-card::before { top: 0; left: 0; background: linear-gradient(135deg, var(--accent) 11px, transparent 11.5px); }
.tool-card::after { bottom: 0; right: 0; background: linear-gradient(315deg, var(--accent) 11px, transparent 11.5px); }

.tc-icon { color: var(--accent2); transition: color 0.15s; }
.tc-icon svg { width: 38px; height: 38px; display: block; }
.tool-card h2 {
  border: 0; padding: 0; margin: 4px 0 0;
  font-size: 20px; letter-spacing: 2px;
}
.tool-card h2::before { display: none; }
.tc-desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; flex: 1 1 auto; }
.tool-card .btn { margin-top: 8px; }

.foot br { line-height: 2; }

/* ---- Intro / explainer + Mod mode ---------------------------------------- */
.intro { max-width: 1560px; width: 100%; margin: 10px auto 0; padding: 0 18px; }
.intro-block { max-width: 820px; }
/* quiet light EFT display heading ("Tauch ein in die Action!" style) */
.intro-title { border: 0; padding: 0; background: none; margin: 10px 0 0;
  font-family: var(--font-head); font-style: normal; font-weight: 400;
  font-size: 30px; letter-spacing: 1.5px; color: #c2cdcd; text-transform: none; }
.intro-title::before { display: none; }
.intro-text { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 12px 0 0; }

.intro-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 0;
}
@media (max-width: 980px) { .intro-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .intro-features { grid-template-columns: 1fr; } }
.feat {
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
/* EFT stencil look: raw light icons, no badge behind them */
.feat-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  background: none; color: #dbe4e4; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.6)); }
.feat-icon svg { width: 26px; height: 26px; }
.feat-text { display: flex; flex-direction: column; line-height: 1.35; }
.feat-text b { font-size: 14.5px; }
.feat-text span { color: var(--muted); font-size: 12.5px; }

.modmode {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin: 44px 0 0;
}
@media (max-width: 860px) { .modmode { grid-template-columns: 1fr; } }
.modmode-text .intro-title { font-size: 26px; }

/* mod-menu mockup (looks like the real /mod controls) */
.mm {
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line2); border-radius: 0; padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  clip-path: var(--chamfer);
}
.mm-bar { display: flex; gap: 10px; }
.mm-input { flex: 1 1 auto; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r);
  padding: 9px 12px; color: var(--txt); font-family: ui-monospace, 'Consolas', monospace; letter-spacing: 2px; font-size: 14px; }
.mm-open { flex: none; border-radius: 0;
  background: linear-gradient(180deg, #e9f1f1 0%, #dee9e9 31%, #a0a8a8 100%); color: #131414;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  padding: 9px 18px; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.mm-panel { margin-top: 14px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.mm-title { font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); border-left: 3px solid var(--accent); padding-left: 10px; font-size: 18px; }
.mm-item { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; }
.mm-item .mm-text { flex: 1 1 auto; }
.mm-item.done .mm-text { color: var(--muted); text-decoration: line-through; }
.mm-btn { flex: none; border: 1px solid var(--line2); border-radius: var(--r); padding: 5px 12px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.mm-btn.on { background: var(--ok); color: #06140e; border-color: var(--ok); }
.mm-step { flex: none; width: 28px; height: 28px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--accent); font-weight: 700; }
.mm-count { flex: none; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.mm-actions { margin-top: 14px; }
.mm-reset { display: inline-block; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r);
  padding: 7px 14px; color: var(--muted); font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ---- Announcement banner (under the hero, admin-controlled) --------------- */
.announce {
  max-width: 900px; width: calc(100% - 36px); margin: 14px auto 0; box-sizing: border-box;
  text-align: center; color: var(--txt); font-size: 14.5px; line-height: 1.5;
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.05) 60%, transparent);
  border: 1px solid var(--line2); border-left: 3px solid var(--accent);
  border-radius: 0; padding: 11px 16px;
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

/* ---- Discord widget embed ------------------------------------------------- */
.discord-embed iframe { width: 100%; max-width: 380px; height: 440px; border: 0; border-radius: var(--r); display: block; }

/* ---- Reviews carousel ----------------------------------------------------- */
.reviews { max-width: 760px; width: 100%; margin: 64px auto 8px; padding: 0 18px; }
.rev-label { margin-bottom: 14px; }
.rev-viewport { position: relative; overflow: hidden; border-radius: var(--r); }
.rev-track { display: flex; transition: transform .45s ease; will-change: transform; }
.rev-card {
  flex: 0 0 100%; box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.04), transparent 90px),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line); border-radius: 0;
  padding: 26px 64px 24px; position: relative; min-height: 150px;
  clip-path: var(--chamfer);
}
.rev-mark { position: absolute; top: 6px; left: 22px; font-family: var(--font-head); font-style: italic;
  font-size: 64px; line-height: 1; color: var(--accent); opacity: 0.28; }
.rev-text { margin: 6px 0 18px; color: var(--txt); font-size: 17px; line-height: 1.6; font-style: italic; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); background: var(--accent); overflow: hidden; }
.rev-avatar-img { background: var(--bg2); border: 1px solid var(--line2); }
.rev-avatar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rev-meta { display: flex; flex-direction: column; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
.rev-meta b { font-size: 14px; color: var(--accent); }
.rev-meta span { color: var(--muted); font-size: 12.5px; }
.rev-stars { color: #e5484d; letter-spacing: 2px; font-size: 14px; flex: none; }
.rev-stars .rev-star-off { color: var(--line2); }
.rev-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--txt);
  font-size: 22px; line-height: 1; display: grid; place-items: center; transition: .15s;
}
.rev-nav:hover { border-color: var(--accent); color: var(--accent); }
.rev-prev { left: 10px; } .rev-next { right: 10px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--line2); border: 0; transition: .15s; }
.rev-dot.active { background: var(--accent); transform: scale(1.25); }
@media (max-width: 560px) { .rev-card { padding: 24px 18px 22px; } .rev-nav { display: none; } }

/* ---- About / Connect / Steam / Focus ------------------------------------- */
.about {
  max-width: 1560px; width: 100%; margin: 64px auto 72px; padding: 0 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about-col { display: flex; flex-direction: column; gap: 28px; }
.about-block { display: flex; flex-direction: column; gap: 12px; }
.about-label {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.about-text { margin: 0; color: var(--txt); font-size: 17px; line-height: 1.7; }

/* connect rows */
.connect { display: flex; flex-direction: column; gap: 10px; }
.connect-row {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--txt);
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line); border-radius: 0; padding: 12px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color .15s, transform .15s;
}
.connect-row:hover { border-color: var(--accent); transform: translateX(2px); }
.connect-icon { flex: none; display: grid; place-items: center; }
.connect-img { width: 44px; height: 44px; display: block; image-rendering: pixelated; }
.connect-row:hover .connect-img { filter: brightness(1.12); }
.connect-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1 1 auto; }
.connect-text b { font-size: 15px; }
.connect-text span { color: var(--muted); font-size: 12.5px; }
.connect-arrow { color: var(--muted); font-size: 16px; transition: color .15s; }
.connect-row:hover .connect-arrow { color: var(--accent); }
.connect-twitch { color: #a970ff; } .connect-youtube { color: #ff0033; }
.connect-tiktok { color: #e9e9e9; } .connect-instagram { color: #e1306c; } .connect-x { color: #e9e9e9; }

/* steam + focus cards */
.steam-card, .focus-card {
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  border: 1px solid var(--line); border-radius: 0; padding: 18px;
  clip-path: var(--chamfer);
}
.steam-head { display: flex; align-items: center; gap: 14px; }
.steam-avatar { width: 56px; height: 56px; border-radius: 6px; flex: none; background: var(--bg3); }
.steam-id { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.steam-id b { font-size: 18px; }
.steam-status { font-size: 12.5px; color: var(--muted); }
.steam-status.on { color: var(--accent); }
.steam-level {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: var(--accent);
  border: 2px solid var(--accent); background: rgba(var(--accent-rgb),0.08);
}
.steam-levelbar { margin-top: 14px; }
.steam-levelbar-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 5px; letter-spacing: 1px; }
.steam-bar { height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.steam-bar > span { display: block; height: 100%; background: var(--accent); }
.steam-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.steam-stat { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 6px; text-align: center; }
.steam-stat b { display: block; color: var(--accent); font-size: 20px; }
.steam-stat span { color: var(--muted); font-size: 12px; }
.steam-recent-label { margin-top: 18px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.steam-recent { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.steam-game {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--txt);
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; transition: border-color .15s;
}
.steam-game:hover { border-color: var(--accent); }
.steam-game img { width: 64px; height: 30px; object-fit: cover; border-radius: 2px; flex: none; background: var(--bg3); }
.steam-game img.icon { width: 30px; object-fit: contain; }
.steam-game-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.steam-game-info b { font-size: 14px; }
.steam-game-info span { color: var(--muted); font-size: 12px; }
.steam-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.steam-foot a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.steam-foot a:hover { text-decoration: underline; }
.focus-card { margin-top: 0; }
.focus-headline {
  font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 30px; letter-spacing: 1px;
  background: linear-gradient(90deg, #4aa8ff, #b06ae0 55%, #e26a9c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.focus-sub { margin-top: 6px; color: var(--muted); font-size: 16px; }
.focus-sub b { color: var(--txt); font-size: 22px; font-style: italic; margin-right: 6px; }
