﻿:root {
  --bg: #10151d;
  --card: #1b2230;
  --card-2: #141b28;
  --text: #f7f9fc;
  --muted: #c3cad6;
  --accent: #e9edf2;
  --accent-2: #2ba8ff;
  --border: #2a3342;
  --glow: 0 0 0 2px rgba(233, 237, 242, 0.3);
  font-family: "Segoe UI Variable", "Segoe UI", "Trebuchet MS", "Verdana", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #000000;
  color: var(--text);
}

body.animate-once .card {
  animation: fadeUp 0.5s ease both;
}

.card {
  width: min(900px, 100%);
  background:
    radial-gradient(400px 220px at 10% 0%, rgba(43, 168, 255, 0.08), transparent 60%),
    linear-gradient(160deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid rgba(42, 51, 66, 0.9);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page {
  display: flex;
  justify-content: center;
  padding: 48px 16px 64px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.brand {
  background: rgba(44, 54, 72, 0.85);
  border: 1px solid rgba(233, 237, 242, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
}

.brand.section-light {
  background: #D4D4D4;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0b0f14;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.brand.section-light .tagline {
  color: #0b0f14;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.tagline {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.animate-once .form > * {
  animation: fadeUp 0.6s ease both;
}

.form > *:nth-child(1) { animation-delay: 0.02s; }
.form > *:nth-child(2) { animation-delay: 0.05s; }
.form > *:nth-child(3) { animation-delay: 0.08s; }
.form > *:nth-child(4) { animation-delay: 0.11s; }
.form > *:nth-child(5) { animation-delay: 0.14s; }
.form > *:nth-child(6) { animation-delay: 0.17s; }
.form > *:nth-child(7) { animation-delay: 0.20s; }
.form > *:nth-child(8) { animation-delay: 0.23s; }
.form > *:nth-child(9) { animation-delay: 0.26s; }
.form > *:nth-child(10) { animation-delay: 0.29s; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.index-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.index-controls {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.index-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: #D4D4D4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.index-icon svg {
  width: 18px;
  height: 18px;
  fill: #0b0f14;
}

.index-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.index-icon:disabled,
.index-icon.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.index-row.is-saved input {
  background: #e1e1e1;
  border-color: rgba(0, 0, 0, 0.6);
}

.index-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.index-field,
.index-list {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 640px) {
  .index-field,
  .index-list {
    max-width: 100%;
  }
}

.index-add {
  align-self: flex-start;
  background: #D4D4D4;
  color: #0b0f14;
  border: 1px solid rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.index-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.index-add:disabled,
.index-add.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.index-clear {
  align-self: flex-start;
  background: #D4D4D4;
  color: #0b0f14;
  border: 1px solid rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.index-clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.index-clear:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field label {
  font-size: 14px;
  color: var(--muted);
}

.field-hint {
  font-size: 12px;
  color: #0b0f14;
  opacity: 0.7;
}

.quality-note {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0b0f14;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quality-wrap {
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}

.quality-wrap.quality-collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.is-hidden {
  display: none;
  opacity: 0;
  transform: translateY(-4px);
}

input, select, textarea {
  background: #D4D4D4;
  border: 1px solid rgba(42, 51, 66, 0.9);
  color: #0b0f14;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #0b0f14;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field.full {
  grid-column: 1 / -1;
}

.section {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(42, 51, 66, 0.75);
  background: rgba(18, 24, 36, 0.7);
}

.section h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--accent-2);
}

.section a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.section a:hover {
  text-decoration: underline;
}

.section.section-light {
  background: #D4D4D4;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0b0f14;
  text-align: center;
}

.section.section-light h3 {
  color: #0b0f14;
}

.section.section-light a,
.section.section-light a span {
  color: #0b0f14;
}

.section.section-light p {
  font-weight: 700;
}

.marketplace-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.marketplace-links .allegro-link {
  width: 220px;
  padding: 8px 14px;
  justify-content: center;
}

.marketplace-links .allegro-link img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.marketplace-links .logo-erli {
  transform: scale(1.9);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 14px;
}

.rating-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 6px 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(233, 237, 242, 0.2);
  background: rgba(18, 24, 36, 0.7);
  text-align: center;
}

.rating-stars {
  position: relative;
  line-height: 1;
  width: max-content;
}

.rating-svg {
  display: block;
  width: 150px;
  height: 30px;
}

.rating-clip {
  width: var(--rating-fill, 100%);
}

.stars-base use {
  fill: rgba(255, 255, 255, 0.16);
}

.stars-fill use {
  fill: url(#gold-fill);
  stroke: rgba(100, 56, 6, 0.9);
  stroke-width: 0.7;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.stars-gloss use {
  fill: url(#gold-gloss);
  opacity: 0.8;
}

.rating-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}

.rating-text strong {
  font-size: 14px;
  color: var(--text);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(233, 237, 242, 0.35);
  background: rgba(18, 24, 36, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.social-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-link:hover {
  border-color: rgba(233, 237, 242, 0.6);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(43, 168, 255, 0.25);
  transform: translateY(-1px);
}

.logos-section {
  background: rgba(18, 24, 36, 0.7);
}

.logo-slots {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.logo-slots img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.logo-slots img.fade-out {
  opacity: 0;
}

.logo-slots img.fade-in {
  opacity: 1;
}

.logo-slots.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.logo-slots.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hidden {
  display: none;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button {
  background: #D4D4D4;
  color: #0b0f14;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.scroll-btn {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  background: #D4D4D4;
  color: #0b0f14;
  font-size: 22px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0);
}

.scroll-up .scroll-icon {
  filter: brightness(0) invert(1);
}

.scroll-btn:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.scroll-btn.scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.scroll-down {
  top: 16px;
  right: 16px;
  box-shadow: 0 22px 48px rgba(233, 237, 242, 0.65);
}

.scroll-up {
  bottom: 72px;
  right: 16px;
  background: #0b0f14;
  color: #f7f9fc;
  border-color: rgba(233, 237, 242, 0.55);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.85);
}

.cta-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 21;
  background: #D4D4D4;
  color: #0b0f14;
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  overflow: visible;
}

.cta-call-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  filter: brightness(0);
}


.cta-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(560px, 100%);
  background: linear-gradient(160deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid rgba(42, 51, 66, 0.9);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  position: relative;
}

.modal-card h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.status {
  font-size: 13px;
  color: var(--muted);
}

.status.notice {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: #D4D4D4;
  color: #0b0f14;
  font-weight: 700;
  text-align: center;
}

.status.notice .icon {
  margin-right: 8px;
  font-weight: 900;
}

.status.notice.error {
  border-color: rgba(180, 20, 20, 0.8);
  color: #7a0a0a;
  font-size: 15px;
}

.status.notice.success {
  border-color: rgba(0, 0, 0, 0.7);
  color: #0b0f14;
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: rgba(180, 20, 20, 0.9);
  box-shadow: 0 0 0 2px rgba(180, 20, 20, 0.2);
}

.allegro-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: rgba(19, 26, 40, 0.7);
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.section.section-light .allegro-link {
  background: #D4D4D4;
}

.allegro-link img {
  width: auto;
  height: 28px;
}

.allegro-link:hover {
  text-decoration: none;
  border-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

#ak_returns_banner_db869ed4-b528-48f5-862a-6b75474db43c :is(a, button) {
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#ak_returns_banner_db869ed4-b528-48f5-862a-6b75474db43c :is(a, button):hover {
  text-decoration: none;
  border-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

@media (max-width: 640px) {
  .card { padding: 18px; }
  .page { padding: 28px 12px 48px; }
  .header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .logo-img { width: 170px; }
  .form { gap: 14px; }
  button { width: 100%; }
  .logo-slots { flex-wrap: wrap; }
}
