/* /assets/css/base.css */

:root {
  --bg: #050510;
  --accent: #28f3ff;
  --accent2: #ff4b9f;
  --txt: #f7f7ff;
  --txt-muted: #a7a7c7;
  --border: #232342;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max-width: 1120px;
  --shadow-soft: 0 20px 46px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #17173a 0, #050510 48%, #02020a 100%);
  color: var(--txt);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAV */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(5,5,16,0.98), rgba(5,5,16,0.92));
  border-bottom: 1px solid rgba(88,88,160,0.4);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: conic-gradient(from 140deg, #28f3ff, #ff4b9f, #ffe45e, #28f3ff);
  box-shadow: 0 0 14px rgba(40,243,255,0.75);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
}

nav a {
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  font-size: 0.78rem;
  color: var(--txt-muted);
}

.lang-switch a {
  color: var(--accent);
}

.nav-cta a {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* LAYOUT / SECTION */

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 16px;
}

.kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--txt-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.section-lead {
  font-size: 0.94rem;
  color: var(--txt-muted);
  margin-bottom: 18px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: radial-gradient(circle at top left, rgba(40,243,255,0.16), rgba(5,5,16,0.98));
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 14px rgba(40,243,255,0.55);
}

.btn-outline {
  background: transparent;
  border-color: rgba(120,120,200,0.9);
  color: var(--txt-muted);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* CARDS & GRID */

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(10,10,34,0.98), rgba(4,4,18,0.98));
  padding: 16px 16px 14px;
  font-size: 0.9rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.7);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.86rem;
  color: var(--txt-muted);
  margin-bottom: 6px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 22px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(120,120,200,0.8);
  color: var(--txt-muted);
}

.badge.hot {
  border-color: var(--accent2);
  color: #ffeef8;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(88,88,160,0.5);
  padding: 14px 16px;
  font-size: 0.78rem;
  color: var(--txt-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* RESPONSIVE */

@media (max-width: 880px) {
  nav { display: none; }
  .two-col { grid-template-columns: minmax(0,1fr); }
}
