/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #EDEDED; }

:root{
  --gold: #b58a2c;
  --gold-2: #d1a648;
  --gold-soft: rgba(181, 138, 44, 0.35);
  --panel-bg: rgba(8, 10, 16, 0.70);
  --panel-border: rgba(181, 138, 44, 0.25);
  --field-bg: rgba(255,255,255,0.06);
  --field-border: rgba(181, 138, 44, 0.40);
  --text-dim: rgba(255,255,255,0.75);
}

/* ===== Background (repeat image) ===== */
.axis-bg{
  /* СМЕНИ това към твоето изображение по-късно: */
  background-image: url("bg-pattern.png");
  background-repeat: repeat;
  background-position: top left;
  background-color: #070a12; /* fallback */
}

/* ===== Centering ===== */
.viewport{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

/* ===== Panel ===== */
.panel{
  width: min(540px, 92vw);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

/* Logo slot */
.logo-slot{
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.logo-placeholder{
  width: 240px;
  height: 86px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  user-select: none;
}

/* ===== Steps ===== */
.step{ display: none; }
.step.is-active{ display: block; }

/* Text */
.hint{
  margin: 8px 0 14px;
  color: var(--text-dim);
  font-size: 16px;
}
.title{
  margin: 10px 0 18px;
  font-size: 22px;
  text-align: center;
  color: var(--gold-2);
}
.welcome{
  margin: 10px 0 16px;
  font-size: 18px;
  text-align: center;
  color: var(--gold-2);
}
.fine{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* Fields */
.field{ display: block; margin: 12px 0; }
.label{
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.input{
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.input::placeholder{ color: rgba(255,255,255,0.35); }

.input:focus{
  border-color: rgba(209, 166, 72, 0.9);
  box-shadow: 0 0 0 4px rgba(181, 138, 44, 0.18);
}

.select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* Row (2 columns on desktop, stacked on mobile) */
.row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px){
  .panel{ padding: 22px 16px 18px; border-radius: 14px; }
  .logo-placeholder{ width: min(240px, 70vw); }
  .row{ grid-template-columns: 1fr; }
}

/* Checkbox */
.check{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.check input{
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* Button */
.btn{
  width: 220px;
  max-width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1206;
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin: 16px auto 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(181, 138, 44, 0.25);
}
.btn:active{ transform: translateY(1px); }

/* Messages */
.msg{
  margin: 14px 0 0;
  text-align: center;
  color: #ffb3b3;
  font-size: 14px;
}
.is-hidden{ display: none; }

.panel-footer{ height: 6px; }
