:root {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --text: #1f2430;
  --muted: #6b7280;
  --accent: #c800ff;
  --accent-2: #38fcff;
  --danger: #ff5252;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Manrope", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #fff1f8 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 94vw);
  margin: 24px auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.menu a {
  background: #f2f4f8;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.card {
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  margin: 0;
}

.subtitle {
  color: var(--muted);
  margin: 0;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
select,
button,
textarea {
  width: 100%;
  border: 2px solid #e6e7ea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

button {
  cursor: pointer;
  font-weight: 700;
  border: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #8d2cff 100%);
  color: #fff;
}

button.secondary {
  background: linear-gradient(90deg, #444 0%, #111 100%);
}

button.ok {
  background: linear-gradient(90deg, #3ad56a 0%, #1ca64a 100%);
}

button.warn {
  background: linear-gradient(90deg, #ff8a8a 0%, #ff3f3f 100%);
}

.inline {
  display: flex;
  gap: 10px;
}

.status {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.status.ok {
  background: #dcfce7;
  color: #166534;
}

.status.err {
  background: #fee2e2;
  color: #991b1b;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eceef2;
  font-size: 14px;
}

.hero {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 1fr;
}

.side-gradient {
  background: linear-gradient(180deg, #d034ff 0%, #47095a 100%);
  border-radius: 28px;
  color: #fff;
  padding: 24px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.virtual-card {
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  min-height: 180px;
}

.virtual-card.black_gold {
  background: linear-gradient(135deg, #0f0f0f 0%, #3e2d00 100%);
}

.virtual-card.neon {
  background: linear-gradient(135deg, #6a00ff 0%, #00e7ff 100%);
}

.virtual-card.minimal {
  background: linear-gradient(135deg, #767676 0%, #c3c3c3 100%);
}

.virtual-card.matrix {
  background: linear-gradient(135deg, #00220b 0%, #00a130 100%);
}

.card-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card-option {
  padding: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.card-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 0, 255, 0.15);
}

@media (max-width: 920px) {
  .hero,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
