:root {
  color-scheme: dark;
  --bg: #020712;
  --panel: rgba(4, 16, 30, 0.82);
  --line: rgba(76, 152, 255, 0.26);
  --line-bright: rgba(60, 137, 255, 0.62);
  --text: #f4f8ff;
  --muted: rgba(226, 238, 255, 0.72);
  --faint: rgba(226, 238, 255, 0.52);
  --blue: #146dff;
  --blue-2: #3f90ff;
  --gold: #e9bd5b;
  --danger: #ff4e6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  font-family: "Arial Narrow", "Roboto Condensed", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(17, 98, 215, 0.28), transparent 35rem),
    linear-gradient(180deg, #030b17 0%, #020712 34rem, #020712 100%);
  font-family: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent);
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 70px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(72, 150, 255, 0.2);
  background: rgba(1, 8, 17, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  width: fit-content;
  gap: 0;
  text-transform: uppercase;
}

.brand strong {
  color: #e8edf7;
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 0.78;
  text-shadow:
    0 0 18px rgba(60, 137, 255, 0.42),
    0 1px 0 #ffffff;
}

.brand span {
  color: rgba(242, 246, 255, 0.66);
  font-size: 0.42rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  color: rgba(245, 249, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a.active {
  color: var(--blue-2);
}

.nav-links a:hover,
.social-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(62, 142, 255, 0.9);
}

.site-header > .social-links,
.footer-socials .social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  list-style: none;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu-toggle {
  min-height: 44px;
  min-width: 124px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 5px 14px;
  border: 1px solid rgba(71, 230, 146, 0.28);
  border-radius: 6px;
  color: #f4f8ff;
  background: rgba(3, 25, 26, 0.75);
  cursor: pointer;
  text-align: left;
}

.user-menu-toggle span {
  color: rgba(226, 238, 255, 0.58);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.user-menu-toggle strong {
  max-width: 118px;
  overflow: hidden;
  color: #47e692;
  font-size: 0.76rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 180px;
  display: none;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(93, 159, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 9, 18, 0.96);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
}

.user-menu[open] .user-dropdown,
.user-menu.open .user-dropdown,
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  display: grid;
}

.user-dropdown button {
  min-height: 38px;
  border: 1px solid rgba(93, 159, 255, 0.18);
  border-radius: 6px;
  color: #f4f8ff;
  background: rgba(7, 22, 41, 0.78);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.user-dropdown button:hover,
.user-dropdown button:focus-visible {
  border-color: rgba(93, 159, 255, 0.62);
  background: rgba(15, 52, 91, 0.92);
}

.header-cta,
.language-toggle,
.primary-cta,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(93, 159, 255, 0.62);
  border-radius: 6px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(31, 125, 255, 0.98), rgba(7, 70, 202, 0.96)),
    #0b57dd;
  box-shadow:
    0 0 28px rgba(21, 104, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-toggle {
  min-width: 102px;
  padding: 0 14px;
  border-color: rgba(233, 189, 91, 0.5);
  color: #ffe6a6;
  background:
    linear-gradient(180deg, rgba(35, 28, 13, 0.88), rgba(13, 15, 21, 0.92)),
    #10151d;
  box-shadow:
    0 0 22px rgba(233, 189, 91, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: #ffffff;
  border-color: rgba(233, 189, 91, 0.82);
}

.header-cta {
  width: 158px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 116px 22px 54px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 7, 18, 0.18), rgba(2, 7, 18, 0.18) 45%, rgba(2, 7, 18, 0.94) 96%),
    linear-gradient(90deg, rgba(2, 7, 18, 0.64), transparent 20%, transparent 78%, rgba(2, 7, 18, 0.78)),
    url("./assets/hero-office.png?v=2") center top / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 280px;
  background: linear-gradient(180deg, transparent, #020712 76%);
}

.hero-content {
  width: min(850px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  position: relative;
  display: grid;
  justify-items: center;
  text-transform: uppercase;
}

.hero-logo span {
  width: 124px;
  height: 86px;
  background: linear-gradient(90deg, transparent 0 18%, rgba(25, 100, 255, 0.95) 18% 34%, transparent 34% 42%, rgba(25, 100, 255, 0.95) 42% 58%, transparent 58% 66%, rgba(25, 100, 255, 0.95) 66% 82%, transparent 82%);
  opacity: 0.78;
  filter: blur(0.2px) drop-shadow(0 0 24px rgba(28, 115, 255, 0.65));
}

.hero-logo span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 58px;
  width: 42px;
  height: 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fff3c4, #c3832e);
  clip-path: polygon(0 100%, 0 38%, 26% 62%, 50% 0, 74% 62%, 100% 38%, 100% 100%);
  filter: drop-shadow(0 5px 16px rgba(233, 189, 91, 0.45));
}

.hero-logo strong {
  margin-top: -10px;
  color: #f2f5fb;
  font-size: 8.4rem;
  font-weight: 900;
  line-height: 0.78;
  text-shadow:
    0 1px 0 #ffffff,
    0 6px 0 #8090ab,
    0 0 46px rgba(62, 142, 255, 0.45);
}

.hero-logo em {
  margin-top: 16px;
  color: rgba(246, 250, 255, 0.9);
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-line {
  margin: 34px 0 6px;
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 26px;
  color: var(--blue-2);
  font-size: 1.38rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.primary-cta {
  width: min(350px, 100%);
  min-height: 56px;
  gap: 14px;
  font-size: 1.05rem;
}

.primary-cta svg,
.signup-form button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.preseason {
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  gap: 12px;
}

.countdown > strong {
  color: #ffffff;
  font-size: 1.02rem;
  text-transform: uppercase;
}

.countdown div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown span {
  min-width: 86px;
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border: 1px solid rgba(65, 141, 255, 0.44);
  border-radius: 5px;
  background: rgba(3, 14, 29, 0.72);
  box-shadow: inset 0 0 20px rgba(17, 91, 230, 0.1);
}

.countdown b {
  color: #5597ff;
  font-size: 2.15rem;
  line-height: 0.92;
  text-shadow: 0 0 18px rgba(42, 112, 255, 0.7);
}

.countdown small {
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.waiting {
  margin: 18px 0 0;
  color: rgba(245, 249, 255, 0.88);
  font-size: 1.03rem;
  text-transform: uppercase;
}

.section {
  width: min(1150px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.feature-section {
  border-top: 1px solid rgba(76, 152, 255, 0.22);
}

.feature-section h2,
.signup-section h2,
.faq-section h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.feature-section h2 span,
.signup-section h2 span {
  color: var(--blue-2);
}

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

.feature-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(100, 166, 255, 0.27);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(7, 26, 45, 0.92), rgba(2, 9, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.feature-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.95;
}

.feature-card div {
  padding: 22px 24px 24px;
}

.feature-card svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 2;
}

.feature-card h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.feature-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: rgba(242, 247, 255, 0.88);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.24;
  text-transform: uppercase;
}

.feature-card li::before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1px solid var(--blue-2);
  border-radius: 999px;
  color: var(--blue-2);
  font-size: 0.62rem;
}

.banner-section {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  overflow: hidden;
  border-block: 1px solid rgba(76, 152, 255, 0.22);
  text-align: center;
}

.banner-section img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.banner-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 7, 18, 0.78), rgba(2, 7, 18, 0.22), rgba(2, 7, 18, 0.78));
}

.banner-section h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(255, 255, 255, 0.18);
}

.banner-section p {
  margin: 0;
  color: var(--blue-2);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.news-section {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  scroll-margin-top: 70px;
  padding: clamp(72px, 9vh, 104px) 0 40px;
  border-bottom: 1px solid rgba(76, 152, 255, 0.2);
  background:
    radial-gradient(circle at 22% 8%, rgba(20, 109, 255, 0.2), transparent 26rem),
    linear-gradient(180deg, rgba(3, 13, 27, 0.92), #020712 88%);
  isolation: isolate;
}

.news-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 7, 18, 0.4), rgba(2, 7, 18, 0.94)),
    url("./assets/hero-office.png?v=2") center top / cover no-repeat;
  opacity: 0.35;
  filter: saturate(1.1);
}

.news-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100svh - 140px);
  display: grid;
  align-content: center;
  margin: 0 auto;
}

.news-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.news-header h1,
.news-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.news-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-bar button,
.control-panel-btn,
.admin-login-form button,
.news-editor-form button,
.account-ready button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(86, 154, 255, 0.48);
  border-radius: 6px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 96, 220, 0.92), rgba(5, 48, 114, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.control-panel-btn {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(233, 189, 91, 0.58);
  color: #120b02;
  background: linear-gradient(180deg, #ffda75, #d79b25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 10px 24px rgba(216, 155, 37, 0.18);
}

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(71, 230, 146, 0.32);
  border-radius: 7px;
  background: rgba(2, 23, 24, 0.76);
}

.admin-bar span {
  color: #47e692;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-bar div {
  display: flex;
  gap: 10px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.news-main {
  min-width: 0;
}

.news-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 14px;
}

.news-lead-card,
.news-mini-card,
.news-row-card,
.news-side-panel,
.news-subscribe,
.admin-modal-card {
  border: 1px solid rgba(99, 163, 255, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(5, 22, 41, 0.9), rgba(2, 9, 18, 0.96)),
    rgba(2, 9, 18, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.news-lead-card {
  position: relative;
  min-height: clamp(290px, 43vh, 440px);
  overflow: hidden;
}

.news-lead-card > img,
.highlight-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(2, 7, 18, 0.6) 58%, rgba(2, 7, 18, 0.95)),
    linear-gradient(90deg, rgba(2, 7, 18, 0.52), transparent 65%);
}

.news-lead-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.news-lead-copy small,
.news-mini-card small,
.news-row-card small,
.highlight-card small {
  display: block;
  color: rgba(226, 238, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-lead-copy h3 {
  max-width: 620px;
  margin: 9px 0 10px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.news-lead-copy p,
.news-mini-card p,
.news-row-card p,
.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.83rem;
  line-height: 1.45;
}

.news-lead-copy a,
.news-mini-card a,
.news-row-card a,
.highlight-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--blue-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-mini-card a {
  margin-top: 9px;
  color: #6fb1ff;
  font-size: 0.62rem;
}

.news-top-stack {
  display: grid;
  gap: 12px;
}

.news-mini-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  overflow: hidden;
}

.news-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-mini-card div {
  min-width: 0;
  padding: 12px;
}

.news-mini-card h3,
.news-row-card h3,
.highlight-card h4 {
  margin: 5px 0 5px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.54rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tag-eventos {
  background: #164fe8;
}

.tag-desarrollo {
  background: #1380ff;
}

.tag-comunidad {
  background: #2360c8;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid rgba(99, 163, 255, 0.15);
  border-radius: 6px;
  background: rgba(4, 15, 28, 0.76);
}

.news-tabs button,
.news-side-panel button {
  border: 1px solid rgba(99, 163, 255, 0.22);
  border-radius: 5px;
  color: rgba(244, 248, 255, 0.88);
  background: rgba(3, 14, 29, 0.74);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-tabs button {
  min-height: 38px;
  padding: 0 16px;
}

.news-tabs button.active,
.news-side-panel button.active {
  border-color: rgba(68, 145, 255, 0.72);
  background: linear-gradient(180deg, rgba(32, 121, 255, 0.96), rgba(11, 82, 207, 0.9));
  box-shadow: 0 0 18px rgba(23, 110, 255, 0.28);
}

.news-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(99, 163, 255, 0.2);
  border-radius: 7px;
  background: rgba(3, 14, 29, 0.72);
}

.news-row-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid rgba(99, 163, 255, 0.16);
  border-radius: 0;
  padding: 12px 14px;
  background: transparent;
}

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

.news-row-card img {
  width: 128px;
  height: 68px;
  border-radius: 4px;
  object-fit: cover;
}

.news-row-card a {
  margin: 0;
  white-space: nowrap;
}

.news-empty {
  margin: 0;
  padding: 24px;
  color: var(--muted);
}

.news-sidebar {
  display: grid;
  gap: 14px;
}

.news-side-panel {
  padding: 18px;
}

.news-side-panel h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.news-side-panel [data-news-categories],
.news-side-panel > div {
  display: grid;
  gap: 6px;
}

.news-side-panel button {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  text-align: left;
}

.highlight-card {
  position: relative;
  display: grid;
  gap: 8px;
}

.highlight-card img {
  height: 132px;
  border: 1px solid rgba(99, 163, 255, 0.24);
  border-radius: 5px;
}

.follow-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.follow-panel .social-links {
  justify-content: flex-start;
}

.follow-panel .social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 7px;
  background: rgba(93, 159, 255, 0.18);
}

.news-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
}

.news-subscribe > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-subscribe span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(20, 109, 255, 0.26);
}

.news-subscribe svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #7db7ff;
  stroke-width: 2;
}

.news-subscribe h3 {
  margin: 0 0 4px;
  color: #ffffff;
  text-transform: uppercase;
}

.news-subscribe p {
  margin: 0;
  color: var(--muted);
}

.news-subscribe .primary-cta {
  width: 100%;
  min-height: 48px;
}

.news-article-panel {
  margin-top: 18px;
}

.news-article-full {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(99, 163, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 22, 41, 0.92), rgba(2, 9, 18, 0.98)),
    rgba(2, 9, 18, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.28);
}

.news-article-full > img {
  width: 100%;
  height: min(360px, 42vw);
  min-height: 240px;
  border-radius: 7px;
  object-fit: cover;
}

.news-back-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--blue-2);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-article-body {
  min-width: 0;
  align-self: center;
}

.news-article-body small {
  display: block;
  margin-top: 8px;
  color: rgba(226, 238, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-article-body h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.news-article-excerpt {
  margin: 0 0 18px;
  color: rgba(226, 238, 255, 0.78);
  font-size: 1rem;
  line-height: 1.45;
}

.news-article-copy {
  display: grid;
  gap: 14px;
}

.news-article-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.editor-image-hint {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(233, 189, 91, 0.34);
  border-radius: 6px;
  color: rgba(255, 230, 178, 0.86);
  background: rgba(68, 45, 10, 0.36);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(1, 8, 17, 0.78), rgba(0, 0, 0, 0.88)),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.language-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(20, 109, 255, 0.22), transparent 24rem),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.language-card {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(93, 159, 255, 0.34);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 22, 41, 0.96), rgba(2, 9, 18, 0.98)),
    rgba(2, 9, 18, 0.96);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.62),
    0 0 44px rgba(21, 104, 255, 0.22);
}

.language-card > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.language-card h2 {
  margin: 0;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.language-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.language-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.language-card button {
  min-height: 48px;
  border: 1px solid rgba(93, 159, 255, 0.5);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(3, 14, 29, 0.8);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.language-card button:hover,
.language-card button:focus-visible {
  background:
    linear-gradient(180deg, rgba(31, 125, 255, 0.98), rgba(7, 70, 202, 0.96)),
    #0b57dd;
}

.admin-modal-card {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(93, 159, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 31, 56, 0.98), rgba(2, 9, 18, 0.98) 58%, rgba(1, 6, 13, 0.98)),
    var(--panel);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 52px rgba(20, 109, 255, 0.22);
}

.admin-modal-card::before {
  content: "";
  position: sticky;
  top: 0;
  z-index: 3;
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2) 46%, var(--gold));
}

.admin-modal-card::after {
  content: "";
  position: absolute;
  inset: 5px 0 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.95) 0%, rgba(2, 9, 18, 0.86) 48%, rgba(2, 9, 18, 0.62) 100%),
    url("./assets/hero-office.png") center right / cover no-repeat;
  opacity: 0.5;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(143, 181, 230, 0.42);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(3, 14, 29, 0.72);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: rgba(93, 159, 255, 0.82);
  background: rgba(18, 62, 117, 0.82);
}

.panel-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-login-form,
.news-editor-form,
.account-ready,
.landing-control-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 32px;
}

.admin-login-form,
.account-ready {
  padding-right: 34px;
}

.admin-login-form .panel-kicker,
.account-ready .panel-kicker,
.news-editor-form .panel-kicker,
.landing-control-panel .panel-kicker {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(233, 189, 91, 0.44);
  border-radius: 6px;
  background: rgba(56, 39, 10, 0.58);
}

.admin-login-form h2,
.news-editor-form h2,
.account-ready h2,
.landing-control-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(93, 159, 255, 0.22);
}

.admin-login-form p,
.account-ready p,
.landing-control-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.landing-control-panel {
  width: min(980px, 100%);
}

.admin-modal-card:has(.landing-control-panel:not([hidden])) {
  width: min(1040px, 100%);
}

.control-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.control-panel-head p {
  margin-top: 8px;
}

.control-panel-status {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(86, 154, 255, 0.24);
  border-radius: 7px;
  color: rgba(226, 238, 255, 0.78);
  background: rgba(5, 23, 42, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.control-panel-status.error {
  border-color: rgba(255, 96, 96, 0.46);
  color: #ffd0d0;
  background: rgba(72, 10, 18, 0.62);
}

.control-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.control-kpi-grid article,
.control-panel-grid article {
  border: 1px solid rgba(86, 154, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(3, 14, 29, 0.72);
}

.control-kpi-grid article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
}

.control-kpi-grid span,
.control-panel-grid h3 {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.control-kpi-grid strong {
  color: #fff;
  font-size: clamp(1.25rem, 2.7vw, 1.9rem);
  line-height: 1;
}

.control-kpi-grid em {
  color: rgba(226, 238, 255, 0.66);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.25;
}

.control-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.control-panel-grid article {
  min-height: 178px;
  padding: 14px;
}

.control-panel-grid h3 {
  margin: 0 0 10px;
}

.control-panel-grid p {
  min-height: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(226, 238, 255, 0.78);
  font-size: 0.76rem;
}

.control-panel-grid p:first-of-type {
  border-top: 0;
}

.control-panel-grid p strong {
  min-width: 0;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-panel-grid p span {
  color: rgba(226, 238, 255, 0.62);
  text-align: right;
  white-space: nowrap;
}

.control-panel-grid .control-empty {
  justify-content: flex-start;
  color: rgba(226, 238, 255, 0.58);
  white-space: normal;
}

.admin-login-form label,
.news-editor-form label {
  position: relative;
  display: grid;
  gap: 6px;
  color: rgba(226, 238, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login-form label::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(143, 181, 230, 0.8);
  border-radius: 3px;
  opacity: 0.82;
}

.admin-login-form label:has(input[name="username"])::before {
  height: 10px;
  border-radius: 2px;
  border-top-width: 2px;
  transform: translateY(-1px);
  box-shadow: inset 0 -5px 0 rgba(143, 181, 230, 0.18);
}

.admin-login-form label:has(input[name="password"])::before {
  width: 12px;
  border-radius: 2px;
  box-shadow: 0 -7px 0 -4px rgba(143, 181, 230, 0.95);
}

.admin-login-form input,
.news-editor-form input,
.news-editor-form select,
.news-editor-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(143, 181, 230, 0.36);
  border-radius: 6px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(4, 15, 29, 0.92), rgba(1, 8, 17, 0.9)),
    rgba(3, 12, 24, 0.88);
  outline: none;
  padding: 0 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-login-form input {
  padding-left: 44px;
}

.admin-login-form input:focus,
.news-editor-form input:focus,
.news-editor-form select:focus,
.news-editor-form textarea:focus {
  border-color: rgba(93, 159, 255, 0.82);
  background: rgba(5, 18, 34, 0.96);
  box-shadow:
    0 0 0 3px rgba(20, 109, 255, 0.18),
    0 0 26px rgba(20, 109, 255, 0.16);
}

.admin-login-form button[type="submit"],
.account-ready button,
.news-editor-form button[type="submit"] {
  min-height: 48px;
  border: 1px solid rgba(93, 159, 255, 0.66);
  border-radius: 7px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(37, 132, 255, 1), rgba(9, 83, 216, 0.98)),
    var(--blue);
  cursor: pointer;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(20, 109, 255, 0.28);
}

.admin-login-form button[type="submit"]:hover,
.admin-login-form button[type="submit"]:focus-visible,
.account-ready button:hover,
.account-ready button:focus-visible,
.news-editor-form button[type="submit"]:hover,
.news-editor-form button[type="submit"]:focus-visible {
  border-color: rgba(178, 211, 255, 0.9);
  filter: brightness(1.07);
}

.login-oauth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(226, 238, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.login-oauth-divider::before,
.login-oauth-divider::after {
  content: "";
  height: 1px;
  background: rgba(143, 181, 230, 0.24);
}

.google-login-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(226, 238, 255, 0.26);
  border-radius: 7px;
  color: #f7faff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(3, 12, 24, 0.9);
  cursor: pointer;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.google-login-btn svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 50%;
  background: #ffffff;
}

.google-login-btn:hover,
.google-login-btn:focus-visible {
  border-color: rgba(226, 238, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(5, 18, 34, 0.94);
}

.google-login-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.game-loading-active {
  overflow: hidden;
}

.game-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  min-height: 100vh;
  color: #ffffff;
  background: #020712;
}

.game-loading-bg,
.game-loading-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.game-loading-bg {
  background: url("./assets/loading-president-club.png") center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
}

.game-loading-vignette {
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(0, 5, 13, 0.28), rgba(0, 0, 0, 0.26) 58%, rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.36));
}

.game-loading-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 34px));
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-top: clamp(90px, 29vh, 250px);
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
}

.game-loading-logo {
  display: grid;
  justify-items: center;
  gap: 0;
  text-transform: uppercase;
}

.game-loading-logo span {
  width: 74px;
  height: 58px;
  margin-bottom: -10px;
  background:
    linear-gradient(135deg, transparent 18%, var(--gold) 18% 32%, transparent 32% 42%, var(--gold) 42% 58%, transparent 58% 68%, var(--gold) 68% 82%, transparent 82%),
    linear-gradient(180deg, #ffdf85, #a66c1c);
  clip-path: polygon(0 72%, 13% 23%, 35% 52%, 50% 0, 65% 52%, 87% 23%, 100% 72%, 100% 100%, 0 100%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.game-loading-logo strong {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 1000;
  line-height: 0.86;
  letter-spacing: 0;
}

.game-loading-logo em {
  color: var(--gold);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
}

.game-loading-content > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-transform: uppercase;
}

.game-loading-progress {
  width: min(500px, 100%);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.game-loading-progress h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1;
  text-transform: uppercase;
}

.game-loading-bar {
  position: relative;
  width: 100%;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 207, 98, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(48, 30, 7, 0.78), rgba(12, 8, 4, 0.72)),
    rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.34);
}

.game-loading-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background:
    linear-gradient(90deg, #b87d22, #ffd772 46%, #9e651a),
    var(--gold);
  box-shadow: 0 0 22px rgba(255, 205, 92, 0.42);
  transition: width 0.28s ease;
}

.game-loading-bar span {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  place-items: center;
  color: #fff8de;
  font-size: 0.78rem;
  font-weight: 1000;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.78);
}

.game-loading-progress small {
  min-height: 1.1em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-loading-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 22px);
  width: min(520px, 100%);
}

.game-loading-icons span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 207, 98, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(2, 9, 18, 0.36);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-loading-content footer {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 2vw, 1.25rem);
}

.news-editor-form textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

.modal-register-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(93, 159, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 109, 255, 0.16), rgba(233, 189, 91, 0.1)),
    rgba(7, 20, 38, 0.82);
}

.modal-register-option span {
  color: rgba(226, 238, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-register-option button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(233, 189, 91, 0.6);
  border-radius: 6px;
  color: #ffe4a1;
  background:
    linear-gradient(180deg, rgba(87, 62, 17, 0.9), rgba(43, 31, 12, 0.9)),
    rgba(45, 32, 10, 0.78);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.modal-register-option button:hover,
.modal-register-option button:focus-visible {
  border-color: rgba(233, 189, 91, 0.78);
  background: rgba(78, 53, 13, 0.84);
}

.form-message {
  min-height: 18px;
  color: rgba(226, 238, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

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

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

.editor-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
}

.editor-check input {
  width: 18px;
  min-height: 18px;
}

.editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-admin-btn {
  background: rgba(3, 14, 29, 0.9) !important;
}

.signup-section {
  width: min(960px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 68px;
  align-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.signup-section h2 {
  margin-bottom: 8px;
  text-align: left;
}

.signup-section p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.03rem;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signup-form label {
  position: relative;
  display: block;
}

.signup-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(143, 181, 230, 0.35);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(3, 12, 24, 0.8);
  outline: none;
}

.locked-division {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 16px;
  border: 1px solid rgba(143, 181, 230, 0.26);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(4, 21, 42, 0.86), rgba(3, 12, 24, 0.82)),
    rgba(3, 12, 24, 0.8);
}

.locked-division span {
  color: rgba(226, 238, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.locked-division strong {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.signup-form input:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(63, 144, 255, 0.18);
}

.signup-form button {
  gap: 12px;
  min-height: 52px;
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin-top: 14px !important;
  color: var(--blue-2) !important;
  font-weight: 800;
}

.form-message.error {
  color: var(--danger) !important;
}

.form-message.success {
  color: #47e692 !important;
}

.signup-benefits {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-benefits li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signup-benefits svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--blue-2);
  border-radius: 999px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 2;
}

.faq-section {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 24px 0 42px;
}

.faq-section details {
  border-top: 1px solid rgba(76, 152, 255, 0.22);
  color: var(--muted);
}

.faq-section details:last-child {
  border-bottom: 1px solid rgba(76, 152, 255, 0.22);
}

.faq-section summary {
  cursor: pointer;
  padding: 18px 0;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-section p {
  margin: 0 0 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 42px clamp(24px, 8vw, 96px) 30px;
  border-top: 1px solid rgba(76, 152, 255, 0.18);
  background: linear-gradient(180deg, rgba(2, 7, 18, 0.5), rgba(2, 7, 18, 0.98));
}

.developer {
  text-align: center;
}

.developer span,
.footer-socials span,
.legal {
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.developer strong {
  display: block;
  margin: 12px auto 8px;
  color: var(--blue-2);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.developer p {
  margin: 0;
  color: var(--faint);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-socials {
  justify-self: end;
  display: grid;
  gap: 14px;
}

.legal {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  text-align: center;
}

.countdown.available div {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.landing-legal-button {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(76, 152, 255, 0.28);
  border-radius: 999px;
  color: #dbeaff;
  background: rgba(4, 14, 28, 0.55);
  font-weight: 1000;
  text-transform: uppercase;
  cursor: pointer;
}

.landing-legal-modal[hidden] {
  display: none;
}

.landing-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 42px);
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.landing-legal-card {
  width: min(1080px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(76, 152, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(5, 14, 28, 0.98), rgba(1, 5, 12, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

.landing-legal-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-legal-card header span,
.landing-legal-tabs a {
  color: var(--blue-2);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.landing-legal-card h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  text-transform: uppercase;
}

.landing-legal-card .modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 1000;
  cursor: pointer;
}

.landing-legal-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-legal-tabs a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(76, 152, 255, 0.24);
  border-radius: 8px;
  color: #dbeaff;
  text-decoration: none;
  background: rgba(8, 21, 42, 0.62);
}

.landing-legal-content {
  min-height: 0;
  overflow: auto;
  padding: 18px clamp(18px, 3vw, 34px) 28px;
}

.landing-legal-content article {
  padding: 18px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-legal-content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.landing-legal-content pre {
  margin: 0;
  color: rgba(237, 244, 255, 0.86);
  font: 700 0.9rem/1.62 var(--font-main, system-ui, sans-serif);
  white-space: pre-wrap;
}

.landing-legal-error {
  color: #ffb4aa;
  font-weight: 900;
}

body.legal-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .site-header > .social-links {
    display: none;
  }

  .feature-grid,
  .news-layout,
  .news-hero-grid,
  .news-subscribe,
  .signup-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .signup-section h2,
  .signup-section p,
  .footer-brand,
  .footer-socials {
    justify-self: center;
    text-align: center;
  }

  .footer-socials .social-links {
    justify-content: center;
  }

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

  .follow-panel {
    grid-column: 1 / -1;
  }

  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 62px;
    padding-inline: 14px;
  }

  .brand strong {
    font-size: 1.6rem;
  }

  .header-cta {
    width: 124px;
    min-height: 38px;
    font-size: 0.7rem;
  }

  .language-toggle {
    min-width: 86px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .user-menu-toggle {
    min-width: 100px;
    min-height: 38px;
    padding-inline: 10px;
  }

  .user-menu-toggle span {
    font-size: 0.52rem;
  }

  .user-menu-toggle strong {
    max-width: 92px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: 720px;
    padding-top: 96px;
  }

  .hero-logo strong {
    font-size: 4.8rem;
  }

  .hero-logo em {
    font-size: 0.92rem;
  }

  .hero-line {
    font-size: 0.98rem;
  }

  .hero h1 {
    font-size: 1.08rem;
  }

  .feature-section h2,
  .signup-section h2,
  .faq-section h2 {
    font-size: 1.45rem;
  }

  .countdown div,
  .signup-form,
  .editor-grid,
  .editor-actions {
    grid-template-columns: 1fr 1fr;
  }

  .signup-form button {
    grid-column: 1 / -1;
  }

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

  .news-header,
  .admin-bar,
  .news-subscribe > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-row-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .news-row-card img {
    width: 96px;
  }

  .news-row-card a {
    grid-column: 2;
  }

  .news-sidebar,
  .editor-grid,
  .editor-actions {
    grid-template-columns: 1fr;
  }

  .news-mini-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .admin-modal {
    padding: 12px;
    align-items: end;
  }

  .admin-modal-card {
    width: 100%;
    max-height: calc(100vh - 24px);
  }

  .admin-login-form,
  .account-ready,
  .news-editor-form {
    padding: 26px 18px 20px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-register-option {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .game-loading-bg {
    background-position: center top;
  }

  .game-loading-content {
    gap: 16px;
    padding-top: 26vh;
  }

  .game-loading-icons {
    grid-template-columns: 1fr 1fr;
  }

  .game-loading-icons span {
    min-height: 38px;
  }
}

@media (max-width: 440px) {
  .header-cta {
    display: none;
  }

  .language-toggle {
    min-width: 78px;
  }

  .countdown div {
    grid-template-columns: 1fr 1fr;
  }

  .countdown span {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .control-panel-btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .landing-control-panel {
    padding: 26px 18px 20px;
  }

  .control-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .control-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .control-panel-grid {
    grid-template-columns: 1fr;
  }

  .news-article-full {
    grid-template-columns: 1fr;
  }

  .news-article-full > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .control-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-panel-grid p {
    display: grid;
  }

  .control-panel-grid p span {
    text-align: left;
    white-space: normal;
  }
}
