* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(8, 12, 14, 0.72), rgba(8, 12, 14, 0.82)),
    url("https://sic4riodragon.uk/assets/general.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f4f4f4;
}

.page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.panel,
.preview-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.panel {
  padding: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #e6e25d;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.subtext {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.version-box {
  margin-top: 22px;
}

.form {
  margin-top: 18px;
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(230, 226, 93, 0.8);
}

.file-field input {
  padding: 9px;
}

.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  background: #e6e25d;
  color: #111;
}

button.secondary {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

button:hover {
  filter: brightness(1.06);
}

.credit {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.4;
}

.preview-wrap {
  padding: 18px;
  display: grid;
  place-items: center;
  overflow: auto;
}

canvas {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #ddd;
}

@media (max-width: 950px) {
  .page {
    grid-template-columns: 1fr;
  }

  .panel {
    order: 2;
  }

  .preview-wrap {
    order: 1;
  }
}
.about-link {
  display: inline-flex;
  margin-top: 14px;
  color: #e6e25d;
  font-weight: 800;
  text-decoration: none;
}

.about-link:hover {
  text-decoration: underline;
}

.about-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.about-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  padding: 28px;
}

.about-card h1 {
  margin-bottom: 12px;
}

.about-card h2 {
  margin-top: 26px;
}

.about-card p,
.about-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.about-card a {
  color: #e6e25d;
  font-weight: 700;
  word-break: break-word;
}

.back-link {
  display: inline-flex;
  margin-top: 24px;
  color: #e6e25d;
  font-weight: 800;
  text-decoration: none;
}
.about-page {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
}

.about-card {
  background: rgba(5, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  padding: 26px;
}

.about-header {
  max-width: 850px;
}

.about-card h1 {
  margin: 0 0 14px;
}

.about-card h2 {
  margin: 28px 0 10px;
}

.about-card p,
.about-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.about-card a {
  color: #e6e25d;
  font-weight: 800;
  word-break: break-word;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.about-card-grid figure {
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.about-card-grid img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.20);
}

.about-card-grid figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.back-link {
  display: inline-flex;
  color: #111 !important;
  background: #e6e25d;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 900;
  text-decoration: none;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.back-link:hover {
  filter: brightness(1.08);
}

@media (max-width: 850px) {
  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .about-card-grid img {
    height: auto;
    max-height: 230px;
  }
}