/* Garry's Mod (/garrys-mod): RP-Server-Startseite. Hero mit eigener Nachtstadt-Palette (immer dunkel, eigener Kontrast),
   alles darunter in den Theme-Farben (--season-*), damit es zu jedem Design passt. */
.gm-page { width: min(1120px, calc(100% - 32px)); margin: 28px auto 72px; color: var(--season-text, #172033); }
.gm-flash { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--season-raised, #f4f2ff); border: 1px solid var(--season-line, #e5e9f2); }
.gm-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr); gap: 32px; align-items: end; overflow: hidden; padding: 48px 44px 150px; border-radius: 22px; color: #eef3ff;
  background: url('/assets/gmod/skyline.svg') center bottom / auto 200px repeat-x, radial-gradient(ellipse at 78% 0%, #ff7a5933, transparent 55%), radial-gradient(ellipse at 10% 20%, #4f8cff2e, transparent 50%), linear-gradient(180deg, #121a33 0%, #1b1f3d 55%, #2a2140 100%);
  box-shadow: 0 24px 60px #0007; }
.gm-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, #ff5a6a, #ffd27a, #7fd6ff); opacity: .8; }
.gm-kicker { color: #ffd27a; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.gm-hero h1 { margin: 10px 0 8px; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 30px #7fd6ff40; }
.gm-tagline { margin: 0 0 14px; color: #ffd27a; font-size: 20px; font-weight: 600; }
.gm-intro { max-width: 62ch; margin: 0 0 24px; color: #cdd6ef; font-size: 16.5px; line-height: 1.7; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gm-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid #ffffff40; background: #ffffff14; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s ease, background-color .2s ease; }
.gm-btn:hover { transform: translateY(-1px); background: #ffffff24; color: #fff; }
.gm-btn-primary { background: linear-gradient(135deg, #ff5a6a, #e2364c); border-color: #ff8a96; box-shadow: 0 8px 24px #e2364c55; }
.gm-btn-primary:hover { background: linear-gradient(135deg, #ff6b7a, #ea4459); }
.gm-btn-off { opacity: .75; cursor: default; }
.gm-btn:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
.gm-status { position: relative; z-index: 1; display: grid; gap: 4px; justify-items: start; padding: 18px 20px; border-radius: 14px; background: #0b1124cc; border: 1px solid #ffffff26; backdrop-filter: blur(6px); }
.gm-status strong { font-size: 20px; color: #fff; }
.gm-status small { color: #cdd6ef; font-size: 13.5px; }
.gm-status code { margin-top: 4px; padding: 3px 8px; border-radius: 6px; background: #ffffff14; color: #ffd27a; font-size: 13px; }
.gm-dot { width: 12px; height: 12px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 12px currentColor; color: #ffd27a; }
.gm-dot.is-on { background: #4fd18c; color: #4fd18c; animation: gm-pulse 2s ease-in-out infinite; }
.gm-dot.is-off { background: #ff8d95; color: #ff8d95; }
.gm-section { margin-top: 44px; }
.gm-section h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); }
.gm-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gm-features article { padding: 22px; border-radius: 14px; background: var(--season-surface, #fff); border: 1px solid var(--season-line, #e5e9f2); transition: transform .2s ease, border-color .2s ease; }
.gm-features article:hover { transform: translateY(-3px); border-color: var(--season-accent, #7467f0); }
.gm-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--season-raised, #f4f2ff); color: var(--season-accent, #7467f0); font-weight: 800; }
.gm-features h3 { margin: 14px 0 6px; font-size: 18px; }
.gm-features p, .gm-steps p { margin: 0; color: var(--season-muted, #4a5468); line-height: 1.6; }
.gm-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: gm; }
.gm-steps li { position: relative; padding: 22px 22px 22px 66px; border-radius: 14px; background: var(--season-surface, #fff); border: 1px solid var(--season-line, #e5e9f2); counter-increment: gm; }
.gm-steps li::before { content: counter(gm); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--season-accent, #7467f0); color: var(--season-on-accent, #fff); font-weight: 800; }
.gm-steps strong { display: block; margin-bottom: 6px; font-size: 17px; }
.gm-steps a { display: inline-block; margin-top: 8px; color: var(--season-accent, #7467f0); font-weight: 700; }
.gm-steps code { padding: 1px 6px; border-radius: 5px; background: var(--season-raised, #f4f2ff); }
.gm-rules { display: grid; gap: 8px; margin: 0; padding: 18px 22px 18px 44px; border-radius: 14px; background: var(--season-surface, #fff); border: 1px solid var(--season-line, #e5e9f2); line-height: 1.6; }
.gm-edit { padding: 18px 22px; border-radius: 14px; background: var(--season-raised, #f4f2ff); border: 1px dashed var(--season-accent, #7467f0); }
.gm-edit summary { cursor: pointer; font-weight: 800; }
.gm-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px 16px; margin-top: 16px; }
.gm-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.gm-form .gm-wide { grid-column: 1 / -1; }
.gm-form :is(input, textarea) { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--season-line, #c9cfdd); background: var(--season-surface, #fff); color: var(--season-text, #172033); }
.gm-form .gm-btn { justify-self: start; }
@keyframes gm-pulse { 50% { box-shadow: 0 0 2px currentColor; } }
@media (max-width: 760px) { .gm-hero { grid-template-columns: 1fr; padding: 32px 20px 140px; } }
@media (prefers-reduced-motion: reduce) { .gm-btn, .gm-features article { transition: none; } .gm-dot.is-on { animation: none; } }
