/* Prime City Website — searched_ design system (clean) */

@keyframes pcFloatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pcScrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0; }
}
@keyframes pcBounceHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

:root {
  --prime: #e31495;
  --prime-bright: #f035a8;
  --prime-deep: #c0127f;
  --prime-soft: rgba(227, 20, 149, 0.12);
  --prime-border: rgba(227, 20, 149, 0.28);
  --prime-glow: rgba(227, 20, 149, 0.2);

  --pink: var(--prime);
  --pink-bright: var(--prime-bright);

  --bg: #09090b;
  --bg-deep: #060608;
  --surface: rgba(18, 18, 22, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);

  --midnight: var(--bg);
  --midnight-deep: var(--bg-deep);
  --card: var(--surface);
  --card-2: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);

  --text: #fafafa;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.38);

  --danger: #ef4444;
  --ok: #22c55e;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 4px 16px rgba(227, 20, 149, 0.22);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(227, 20, 149, 0.08), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 40px);
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

input, textarea, select, button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* Ambient — very subtle */
.page-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.ambient-glow--tl {
  width: 50vw;
  height: 50vw;
  top: -20%;
  left: -15%;
  background: rgba(227, 20, 149, 0.07);
}

.ambient-glow--br {
  width: 40vw;
  height: 40vw;
  bottom: -15%;
  right: -10%;
  background: rgba(227, 20, 149, 0.05);
}

/* Nav — floating glass bar (nur Startseite/Unterseiten, nicht Portal-Dashboard) */
nav.site-nav,
nav.sticky-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px 10px 16px;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

nav.sticky-nav {
  position: sticky;
  top: 16px;
  transform: none;
  left: auto;
  width: auto;
  margin: 16px auto;
  max-width: min(1120px, calc(100% - 32px));
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.nav-brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 4px;
  font-weight: 500;
  font-size: 0.84rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  color: #fff !important;
  background: var(--prime) !important;
  border: none;
  box-shadow: none;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.nav-cta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--prime-bright) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn);
}

.burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 6px 8px;
}

@media (max-width: 880px) {
  nav.site-nav,
  nav.sticky-nav {
    top: 12px;
    border-radius: var(--radius-lg);
    padding: 10px 14px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(14, 14, 16, 0.96);
    padding: 12px;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: none;
    align-items: stretch;
    box-shadow: var(--shadow-panel);
  }

  .nav-links a { padding: 12px 14px; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta { display: inline-flex; margin-top: 4px; justify-content: center; }
  .burger { display: block; }
}

/* Buttons — clean pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.15s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--prime);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--prime-bright);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

.btn-secondary,
.btn-ghost {
  background: var(--surface-soft);
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--card-2);
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-soft:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-danger:hover { background: rgba(239, 68, 68, 0.16); }

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.92rem;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Panels — base structure (effects in effects.css) */
.pc-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pc-panel > * { position: relative; z-index: 1; }

/* Typography */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-eyebrow,
.page-eyebrow {
  color: var(--prime);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.gradient-title {
  background: linear-gradient(180deg, #fff 0%, #ffd6ef 55%, var(--prime-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.alt-bg {
  background: transparent;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  padding: 24px 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--prime-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Rules accordion */
.rule-item {
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.rule-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}

.rule-q:hover { background: rgba(255, 255, 255, 0.025); }

.rule-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--prime-soft);
  color: var(--prime-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

.rule-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.2s var(--ease);
  opacity: 0.4;
}

.rule-chevron::before,
.rule-chevron::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.rule-chevron::before { width: 8px; height: 1.5px; top: 7px; left: 4px; }
.rule-chevron::after { width: 1.5px; height: 8px; top: 4px; left: 7px; }

.rule-item.open .rule-chevron {
  transform: rotate(45deg);
  opacity: 0.7;
  color: var(--prime);
}

.rule-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.rule-a-inner {
  padding: 0 20px 18px 66px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.rule-a-inner ul { padding-left: 16px; margin-top: 6px; }
.rule-a-inner li { list-style: disc; margin-bottom: 4px; }

/* Form controls */
input, textarea, select {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--prime-border);
  box-shadow: 0 0 0 3px rgba(227, 20, 149, 0.1);
}

label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 5px;
  font-weight: 500;
}

.scroll-area::-webkit-scrollbar { width: 5px; }
.scroll-area::-webkit-scrollbar-track { background: transparent; }
.scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

/* Live player counter (HUD-style) */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.live-counter--nav {
  padding: 6px 12px;
  font-size: 0.74rem;
}

.live-counter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.live-counter.is-online .live-counter-dot {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.65);
}

.live-counter.is-offline .live-counter-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
}

.live-counter.is-loading .live-counter-dot {
  animation: pcGlowPulse 1.2s ease-in-out infinite;
}

.live-counter-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.live-counter-sep {
  margin: 0 1px;
  opacity: 0.45;
}

.live-counter-label {
  color: var(--text-dim);
  font-weight: 500;
}

