/* Gkirus Portal — base styles */

:root {
  --bg: #0b1020;
  --bg-elev: #141a32;
  --bg-elev-2: #1c2447;
  --fg: #e8eaf2;
  --fg-muted: #9aa3c4;
  --accent: #6ea8ff;
  --accent-warm: #ffb86b;
  --border: #232b52;
  --border-strong: #2f3a6b;
  --tag-public-bg: rgba(110, 231, 183, 0.12);
  --tag-public-fg: #6ee7b7;
  --tag-private-bg: rgba(251, 146, 60, 0.12);
  --tag-private-fg: #fb923c;
  --tag-soon-bg: rgba(154, 163, 196, 0.12);
  --tag-soon-fg: #9aa3c4;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 14px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(110, 168, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(251, 146, 60, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

/* Hero */
.hero {
  margin-bottom: 48px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 56ch;
}

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  min-height: 180px;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.card.placeholder {
  opacity: 0.65;
  cursor: default;
}
.card.placeholder:hover {
  transform: none;
  background: var(--bg-elev);
}
.card-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 4px;
}
.card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  flex: 1;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-public { background: var(--tag-public-bg); color: var(--tag-public-fg); }
.tag-private { background: var(--tag-private-bg); color: var(--tag-private-fg); }
.tag-soon { background: var(--tag-soon-bg); color: var(--tag-soon-fg); }

/* Footer */
.footer {
  font-size: 0.875rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Section pages (gifts/finance/etc.) */
.page-header {
  margin-bottom: 32px;
}
.page-header .breadcrumb {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.page-header .breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.page-header .breadcrumb a:hover { text-decoration: underline; }
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.empty-state {
  background: var(--bg-elev);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--fg-muted);
}
.empty-state h2 {
  color: var(--fg);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Private banner */
.private-banner {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.14), rgba(110, 168, 255, 0.10));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}
.private-banner strong { color: var(--fg); }
