/* Admin permissions page styles */
.account-user {
  color: #e5f5f8;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page {
  width: min(100%, 980px);
  min-width: 0;
  margin: 0 auto;
  padding: 70px clamp(20px, 5vw, 70px);
}

.admin-layout {
  align-items: start;
}

.admin-layout .side-menu {
  min-height: calc(100vh - 78px);
}

.settings-menu {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 102, 143, 0.18);
}

.settings-menu nav {
  margin-top: 12px;
}

.admin-layout .page-content {
  min-width: 0;
}

.admin-page h1,
.permission-heading h2 {
  color: #155b82;
  font-weight: 400;
}

.admin-page h1 {
  margin: 12px 0;
  font-size: clamp(36px, 5vw, 58px);
}

.admin-intro {
  max-width: 620px;
  color: #4c6d7d;
  font-family: Arial, sans-serif;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.admin-tabs a {
  padding: 10px 14px;
  border: 1px solid rgba(34, 102, 143, 0.2);
  background: #f2f7fb;
  color: #176f98;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-tabs a:hover,
.admin-tabs a.active {
  border-color: #2d91b3;
  background: #e5f3f7;
  color: #155b82;
}

.admin-message {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 3px solid #2d91b3;
  background: #e5f3f7;
  color: #155b82;
  font-family: Arial, sans-serif;
}

.permission-panel {
  margin-top: 38px;
  border: 1px solid rgba(34, 102, 143, 0.2);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 82, 106, 0.08);
}

.permission-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(34, 102, 143, 0.16);
  background: #f2f7fb;
}

.permission-heading h2 {
  margin: 8px 0 0;
  font-size: 30px;
}

.permission-key {
  color: #6b8998;
  font-family: monospace;
  font-size: 12px;
}

.user-list {
  display: grid;
}

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(34, 102, 143, 0.12);
}

.user-row:last-child {
  border-bottom: 0;
}

.user-details {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.user-details strong {
  color: #18384c;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.user-details span {
  overflow-wrap: anywhere;
  color: #6b8998;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.permission-toggle {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #6b8998;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.toggle-track {
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 22px;
  padding: 3px;
  border-radius: 12px;
  background: #aabdc6;
  transition: background 180ms ease;
}

.toggle-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(24, 56, 76, 0.25);
  transition: transform 180ms ease;
}

.permission-toggle.is-enabled {
  color: #17739a;
}

.permission-toggle.is-enabled .toggle-track {
  background: #2d91b3;
}

.permission-toggle.is-enabled .toggle-thumb {
  transform: translateX(16px);
}

.news-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(34, 102, 143, 0.2);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item h2 {
  margin: 0 0 4px;
  color: #155b82;
  font-size: 18px;
  font-weight: 700;
}

.news-item p {
  margin: 0;
  color: #315f76;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.news-item time {
  display: block;
  margin-top: 5px;
  color: #7894a1;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.news-admin-panel {
  margin-top: 42px;
  border: 1px solid rgba(34, 102, 143, 0.2);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 82, 106, 0.08);
}

.news-form,
.news-admin-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
}

.news-form {
  border-bottom: 1px solid rgba(34, 102, 143, 0.16);
}

.news-form label {
  margin-top: 8px;
  color: #315f76;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.news-form input,
.news-form textarea,
.news-admin-item input,
.news-admin-item textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #abc2cc;
  background: #f8fbfd;
  color: #18384c;
  font-family: Arial, sans-serif;
  font-size: 14px;
  resize: vertical;
}

.news-form button {
  align-self: flex-start;
  margin-top: 10px;
}

.news-admin-item {
  border-bottom: 1px solid rgba(34, 102, 143, 0.12);
}

.news-admin-item:last-child {
  border-bottom: 0;
}

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

.button-danger {
  border-color: #d26551;
  background: #fff1ed;
  color: #9a4033;
}

@media (max-width: 560px) {
  .admin-page {
    padding: 48px 16px;
  }

  .permission-heading,
  .user-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .permission-toggle {
    align-self: stretch;
    justify-content: space-between;
  }

  .news-form,
  .news-admin-item {
    padding: 18px;
  }
}
* {
  box-sizing: border-box;
}

:root {
  --black: #eef3f7;
  --ink: #f7f9fb;
  --panel: #ffffff;
  --panel-light: #f2f7fb;
  --line: rgba(34, 102, 143, 0.2);
  --gold: #2584ad;
  --gold-light: #155b82;
  --red: #d26551;
  --blue: #2c8eae;
  --text: #18384c;
  --muted: #557285;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  background-image: radial-gradient(circle at 85% 8%, rgba(93, 173, 202, 0.14), transparent 30%), linear-gradient(180deg, #f8fbfd 0%, #eaf1f5 76%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 13px clamp(18px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 25px;
}

.brand-name strong,
.brand-name small {
  display: block;
}

.brand-name strong {
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.brand-name small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
}

.main-nav,
.account-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.main-nav {
  flex: 1;
}

.main-nav a,
.account-actions a,
.button,
.quiet-link,
.card-link,
.menu-label,
.side-link,
.side-status,
.eyebrow {
  font-family: Arial, sans-serif;
}

.main-nav a,
.account-actions a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.account-actions a:hover {
  color: var(--gold-light);
}

.account-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 17px;
  border: 1px solid transparent;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-outline {
  border-color: var(--gold);
  color: var(--gold-light) !important;
}

.button-accent {
  border-color: var(--red);
  color: #e7aaa3 !important;
}

.button-gold {
  background: var(--gold);
  color: #161109;
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  width: min(1600px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.side-menu {
  position: sticky;
  top: 78px;
  align-self: start;
  min-height: calc(100vh - 78px);
  padding: 52px 22px;
  border-right: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.5);
}

.menu-label,
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.side-menu nav {
  display: grid;
  gap: 3px;
  margin-top: 22px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.side-link-sub {
  padding-left: 25px;
  color: #8d929a;
  font-size: 10px;
}

.side-link span {
  color: #60636a;
  font-size: 10px;
}

.side-link:hover,
.side-link.active {
  border-left-color: var(--gold);
  background: rgba(217, 169, 67, 0.08);
  color: var(--gold-light);
}

.side-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 70px;
  color: #7d837d;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6e9b62;
  box-shadow: 0 0 10px rgba(110, 155, 98, 0.7);
}

.page-content {
  min-width: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
  align-items: center;
  gap: 30px;
  min-height: 600px;
  padding: 88px clamp(24px, 7vw, 110px);
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0%, rgba(8, 10, 13, 0.76) 62%, rgba(8, 10, 13, 0.32) 100%), repeating-linear-gradient(135deg, rgba(217, 169, 67, 0.035) 0, rgba(217, 169, 67, 0.035) 1px, transparent 1px, transparent 12px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1,
.intro-band h2,
.section-heading h2,
.system-panel h2,
.archive-section h2 {
  margin: 15px 0 22px;
  color: #f1ecdf;
  font-weight: 400;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-text {
  max-width: 560px;
  color: #bebdb7;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 33px;
}

.quiet-link {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.quiet-link:hover {
  color: var(--gold-light);
}

.hero-seal {
  position: relative;
  display: grid;
  width: min(29vw, 320px);
  aspect-ratio: 1;
  margin: auto;
  place-items: center;
  border: 1px solid rgba(217, 169, 67, 0.53);
  outline: 1px solid rgba(183, 67, 56, 0.48);
  outline-offset: 15px;
  background: rgba(7, 8, 10, 0.5);
}

.seal-line {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 1px solid var(--red);
  transform: rotate(45deg);
}

.seal-line-two {
  width: 58%;
  height: 58%;
  border-color: var(--blue);
  transform: rotate(0deg);
}

.seal-letter {
  color: var(--gold-light);
  font-size: clamp(95px, 14vw, 170px);
  line-height: 1;
}

.seal-caption {
  position: absolute;
  bottom: 15px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.21em;
}

.intro-band,
.system-panel,
.archive-section,
.card-section {
  padding: 78px clamp(24px, 7vw, 110px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d1014;
}

.intro-band h2,
.section-heading h2,
.system-panel h2,
.archive-section h2 {
  font-size: clamp(34px, 4.5vw, 58px);
}

.intro-band > p {
  align-self: end;
  max-width: 520px;
  margin: 0;
  color: #b8b7b0;
  font-family: Arial, sans-serif;
.update-list {
  max-width: 620px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: #315f76;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.update-list li {
  margin: 8px 0;
  padding-left: 5px;
}
  font-size: 15px;
}

.section-heading {
  margin-bottom: 35px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.topic-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: linear-gradient(145deg, var(--panel-light), var(--panel));
}

.topic-card-red {
  border-top-color: var(--red);
}

.topic-card-blue {
  border-top-color: var(--blue);
}

.topic-card-gold {
  border-top-color: var(--gold);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.card-number {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.card-symbol {
  color: var(--red);
  font-size: 20px;
  line-height: 1;
}

.topic-card h3 {
  margin: 45px 0 13px;
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 400;
}

.topic-card p {
  min-height: 72px;
  margin: 0;
  color: #b8b8b2;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.card-link {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 169, 67, 0.2);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.card-link span {
  color: var(--red);
  font-size: 18px;
}

.system-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(73, 39, 28, 0.3), rgba(21, 26, 33, 0.7));
}

.system-panel h2,
.archive-section h2 {
  margin-bottom: 0;
}

.archive-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.compact {
  margin-bottom: 0;
}

.archive-note {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(24px, 7vw, 110px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    padding-top: 4px;
  }

  .page-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-seal {
    width: min(42vw, 270px);
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .account-actions {
    margin-left: auto;
    gap: 8px;
  }

  .page-layout {
    display: flex;
    flex-direction: column;
  }

  .side-menu {
    position: static;
    min-height: auto;
    padding: 22px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .side-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }

  .side-status {
    margin-top: 18px;
  }

  .hero {
    min-height: 650px;
    padding: 66px 22px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .hero-text {
    font-size: 16px;
  }

  .intro-band,
  .archive-section,
  .system-panel {
    grid-template-columns: 1fr;
    align-items: start;
    flex-direction: column;
    padding: 55px 22px;
  }

  .card-section {
    padding: 55px 22px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .topic-card p {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 22px;
  }
}

@media (max-width: 420px) {
  .account-actions a {
    font-size: 10px;
  }

  .account-primary {
    display: inline-flex;
    padding: 9px 8px;
  }

  .side-menu nav {
    grid-template-columns: 1fr;
  }

  .hero-seal {
    width: 190px;
  }
}

.auth-page {
  width: min(100%, 620px);
  min-width: 0;
  margin: 0 auto;
  padding: 64px 20px;
}

.auth-page h1 {
  color: #155b82;
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 400;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  min-width: 0;
  margin-top: 26px;
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid rgba(34, 102, 143, 0.2);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 82, 106, 0.08);
}

.registration-form label {
  margin-top: 10px;
  color: #315f76;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.password-hint {
  margin: 0 0 3px;
  color: #6b8998;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.registration-form input:not([type="hidden"]) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #abc2cc;
  background: #f8fbfd;
  color: #18384c;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.registration-form input:focus {
  border-color: #2d91b3;
  outline: 2px solid rgba(45, 145, 179, 0.18);
  outline-offset: 1px;
}

.registration-form button {
  align-self: flex-start;
  margin-top: 18px;
}

.auth-page > p {
  color: #557285;
  font-family: Arial, sans-serif;
}

.auth-page > p a {
  color: #176f98;
}

.auth-layout .side-menu {
  min-height: calc(100vh - 78px);
}

.auth-intro {
  max-width: 560px;
  color: #4c6d7d;
  font-family: Arial, sans-serif;
}

.form-error {
  margin: 20px 0;
  padding: 12px 16px;
  border-left: 3px solid #d26551;
  background: #fff1ed;
  color: #9a4033;
  font-family: Arial, sans-serif;
}

.form-success {
  margin: 20px 0;
  padding: 12px 16px;
  border-left: 3px solid #4caa76;
  background: #edf8f1;
  color: #28704a;
  font-family: Arial, sans-serif;
}

.download-layout .side-menu {
  min-height: calc(100vh - 78px);
}

.download-page {
  min-height: 520px;
  padding: clamp(48px, 7vw, 96px) clamp(22px, 7vw, 110px);
  background: linear-gradient(135deg, #f9fcfd, #e5f2f6);
}

.download-page h1 {
  margin: 12px 0 10px;
  color: #155b82;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
}

.download-welcome,
.download-empty {
  color: #4c6d7d;
  font-family: Arial, sans-serif;
}

.download-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.download-list li {
  min-width: 0;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(34, 102, 143, 0.18);
  background: #ffffff;
  color: #176f98;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(31, 82, 106, 0.06);
}

.download-list a:hover {
  border-color: #2d91b3;
  background: #f2f9fb;
}

.download-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.download-list a strong {
  flex: 0 0 auto;
  color: #d26551;
  font-size: 20px;
}

.games-layout .side-menu {
  min-height: calc(100vh - 78px);
}

.games-hero {
  min-height: 360px;
  padding: clamp(48px, 8vw, 110px) clamp(22px, 7vw, 110px);
  background: linear-gradient(135deg, #f9fcfd, #e5f2f6);
}

.diablo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.diablo-hero-copy {
  min-width: 0;
}

.diablo-logo {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(34, 102, 143, 0.2);
  box-shadow: 0 12px 30px rgba(31, 50, 61, 0.18);
}

.games-hero h1 {
  margin: 12px 0 16px;
  color: #155b82;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 400;
}

.games-hero p:not(.eyebrow) {
  max-width: 620px;
  color: #4c6d7d;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  padding: 44px clamp(22px, 7vw, 110px);
}

.game-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(34, 102, 143, 0.2);
  border-top: 3px solid #2d91b3;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 82, 106, 0.08);
}

.game-card-primary {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(180, 120, 55, 0.48), rgba(18, 35, 48, 0.38)),
    url("archiv-alt/assets/images/Diablo2.jpg") center/cover no-repeat;
  border-top-color: #d26551;
  color: #edf7ff;
}

.game-card-rf4 {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(72, 141, 111, 0.48), rgba(18, 31, 28, 0.42)),
    url("RF4-Logo.jpg") center/cover no-repeat;
  border-top-color: #8bc59b;
  color: #edf7ff;
}

.game-card-locked {
  border-top-color: #d26551;
}

.game-card h2 {
  margin: 24px 0 10px;
  color: #155b82;
  font-size: 28px;
  font-weight: 400;
}

.game-card-primary h2,
.game-card-primary p,
.game-card-primary .card-link,
.game-card-primary .card-link strong,
.game-card-rf4 h2,
.game-card-rf4 p,
.game-card-rf4 .card-link,
.game-card-rf4 .card-link strong {
  color: #ffffff;
}

.game-card-primary .card-link,
.game-card-rf4 .card-link {
  border-top-color: rgba(255, 255, 255, 0.35);
  color: #fffaf1;
}

.game-card p:not(.card-index) {
  color: #4c6d7d;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.diablo-section {
  padding: 48px clamp(22px, 7vw, 110px) 80px;
  border-top: 1px solid rgba(34, 102, 143, 0.16);
}

.diablo-section h2 {
  margin: 10px 0 8px;
  color: #155b82;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
}

.diablo-intro {
  margin: 0 0 28px;
  color: #4c6d7d;
  font-family: Arial, sans-serif;
}

.diablo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.diablo-card {
  display: grid;
  min-width: 0;
  min-height: 130px;
  align-content: end;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(34, 102, 143, 0.18);
  border-top: 3px solid #2d91b3;
  background: #ffffff;
  color: #18384c;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(31, 82, 106, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.diablo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31, 82, 106, 0.12);
}

.diablo-card-feature {
  grid-column: span 2;
  border-top-color: #d26551;
  background: linear-gradient(135deg, #fff8f5, #ffffff);
}

.diablo-card span,
.diablo-card small {
  color: #6b8998;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.diablo-card strong {
  color: #155b82;
  font-size: 21px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .diablo-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .diablo-logo {
    max-height: 220px;
  }

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

  .diablo-card-feature {
    grid-column: span 2;
  }
}

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

  .diablo-card-feature {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .games-grid {
    grid-template-columns: 1fr;
    padding: 30px 16px;
  }
}

.game-layout .side-menu {
  min-height: calc(100vh - 78px);
}

.game-page {
  min-height: 420px;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 7vw, 110px);
  background: linear-gradient(135deg, #f9fcfd, #e5f2f6);
}

.game-page h1,
.access-denied h1 {
  margin: 12px 0 18px;
  color: #155b82;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
}

.game-page p:not(.eyebrow),
.access-denied p:not(.eyebrow) {
  max-width: 580px;
  color: #4c6d7d;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.access-denied {
  width: min(100%, 760px);
  min-width: 0;
  margin: 0 auto;
  padding: 70px 24px;
}

.form-error ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 560px) {
  .auth-page {
    padding: 42px 16px;
  }

  .registration-form button {
    align-self: stretch;
    width: 100%;
  }
}

/* Friendly light palette for the new homepage. */
body {
  background-color: #eef4f8;
  background-image: radial-gradient(circle at 85% 8%, rgba(75, 157, 185, 0.15), transparent 30%), linear-gradient(180deg, #fbfdfe 0%, #e8f0f5 76%);
  color: #18384c;
}

.site-header {
  background: #17394d;
  border-bottom-color: rgba(119, 211, 225, 0.45);
}

.brand,
.brand-name strong {
  color: #f4fcff;
}

.brand-mark {
  border-color: #72cbd8;
  color: #a7edf1;
}

.brand-name small,
.main-nav a,
.account-actions a {
  color: #b5d0dc;
}

.main-nav a:hover,
.main-nav a.active,
.account-actions a:hover {
  color: #8ce3e8;
}

.button-outline {
  border-color: #72cbd8;
  color: #bdf1f2 !important;
}

.button-accent {
  border-color: #ee927e;
  color: #ffd1c7 !important;
}

.button-gold {
  background: #2d91b3;
  color: #ffffff;
}

.side-menu {
  background: rgba(228, 239, 245, 0.92);
  border-right-color: rgba(37, 116, 151, 0.22);
}

.menu-label,
.eyebrow {
  color: #17739a;
}

.side-link {
  color: #4e7183;
}

.side-link span {
  color: #7b9aa8;
}

.side-link:hover,
.side-link.active {
  background: rgba(45, 145, 179, 0.11);
  border-left-color: #2d91b3;
  color: #155b82;
}

.side-sub-link {
  margin-left: 18px !important;
  border-left-style: dashed;
  color: #6b8998;
  font-size: 10px;
}

.status-dot {
  background: #4caa76;
  box-shadow: 0 0 10px rgba(76, 170, 118, 0.45);
}

.hero {
  background-color: #dcecf4;
  background-image: linear-gradient(90deg, rgba(236, 247, 251, 0.98) 0%, rgba(236, 247, 251, 0.82) 62%, rgba(236, 247, 251, 0.38) 100%), repeating-linear-gradient(135deg, rgba(31, 119, 153, 0.055) 0, rgba(31, 119, 153, 0.055) 1px, transparent 1px, transparent 12px);
}

.hero h1,
.intro-band h2,
.section-heading h2,
.system-panel h2,
.archive-section h2 {
  color: #18384c;
}

h1 em,
h2 em {
  color: #167499;
}

.hero-text,
.intro-band > p,
.archive-note {
  color: #4c6d7d;
}

.quiet-link,
.card-link {
  color: #176f98;
}

.hero-seal {
  border-color: rgba(31, 119, 153, 0.48);
  outline-color: rgba(210, 101, 81, 0.42);
  background: rgba(255, 255, 255, 0.48);
}

.seal-line {
  border-color: #d26551;
}

.seal-line-two {
  border-color: #3e9bb7;
}

.seal-letter {
  color: #19799c;
}

.seal-caption {
  color: #557285;
}

.intro-band,
.archive-section {
  background: #f9fbfc;
  border-color: rgba(34, 102, 143, 0.16);
}

.topic-card {
  border-color: rgba(34, 102, 143, 0.2);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 82, 106, 0.08);
}

.topic-card-red {
  border-top-color: #d26551;
}

.topic-card-blue {
  border-top-color: #3e9bb7;
}

.topic-card-gold {
  border-top-color: #2d91b3;
}

.card-number {
  color: #227c9f;
}

.card-symbol {
  color: #d26551;
}

.topic-card h3 {
  color: #155b82;
}

.topic-card p {
  color: #4d6c7d;
}

.card-link {
  border-top-color: rgba(34, 102, 143, 0.16);
}

.system-panel {
  background: linear-gradient(110deg, #e5f3f7, #f9fbfc);
  border-color: rgba(34, 102, 143, 0.16);
}

.site-footer {
  background: #f9fbfc;
  border-top-color: rgba(34, 102, 143, 0.18);
  color: #557285;
}

.hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding-block: 68px;
}

.hero-copy {
  max-width: 760px;
}

.site-header {
  background: linear-gradient(110deg, #1f6ca5 0%, #287fa8 38%, #4c8d82 72%, #789968 100%);
  border-bottom-color: rgba(226, 250, 239, 0.55);
  box-shadow: 0 3px 18px rgba(27, 78, 94, 0.2);
}

.brand-mark {
  border-color: #c0f0df;
  color: #e3fff5;
}
