:root {
  --bg: #080b11;
  --surface: #111721;
  --surface-2: #171f2b;
  --border: rgba(255,255,255, .09);
  --red: #e63946;
  --red-2: #ff5966;
  --gold: #ffb703;
  --purple: #8b5cf6;
  --text: #f8fafc;
  --muted: #94a3b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

body:before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 15% 10%, rgba(230,57,70, .1), transparent 28rem), radial-gradient(circle at 88% 52%, rgba(139,92,246, .08), transparent 30rem), var(--bg);
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition: .3s;
}

.site-header.scrolled {
  background: rgba(8,11,17, .88);
  border-color: var(--border);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand img {
  object-fit: contain;
}

.brand span span {
  color: var(--red-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav>a {
  color: #aab5c6;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  transition: .2s;
}

.main-nav>a:hover, .main-nav>a.active {
  color: #fff;
}

.main-nav .nav-store {
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(230,57,70, .24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255,255,255, .04);
  color: #fff;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
  padding: 130px 20px 90px;
  background: linear-gradient(180deg, rgba(8,11,17, .55), var(--bg)), url('../../public/img/bg.png') center/cover no-repeat;
}

.hero-glow {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(230,57,70, .19), transparent 66%);
  filter: blur(4px);
}

.hero-content {
  max-width: 920px;
}

.hero-logo {
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0,0,0, .48));
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8b94;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem,8vw,6.5rem);
  line-height: .95;
  letter-spacing: -.065em;
  margin: 18px 0;
}

.hero h1 span {
  background: linear-gradient(105deg, #ff4453, #ff8a65, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero>div p, .hero-content>p {
  max-width: 720px;
  margin: 0 auto;
  color: #b6c0d0;
  font-size: clamp(.98rem,2vw,1.15rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
  border: 1px solid transparent;
  transition: .25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(230,57,70, .3);
}

.btn-outline {
  background: rgba(255,255,255, .045);
  border-color: var(--border);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255,255,255, .22);
  background: rgba(255,255,255, .09);
}

.server-address {
  width: min(460px,100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px auto 0;
  padding: 13px 14px 13px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(13,18,26, .72);
  backdrop-filter: blur(14px);
  text-align: left;
}

.server-address span {
  display: block;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.server-address strong {
  font-size: 1.08rem;
}

.server-address button {
  border: 0;
  border-radius: 10px;
  background: rgba(230,57,70, .13);
  color: #ff7a85;
  padding: 11px 14px;
  font-weight: 700;
  white-space: nowrap;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2, .split-heading h2 {
  font-size: clamp(2rem,5vw,3rem);
  letter-spacing: -.045em;
  margin: 10px 0;
}

.section-heading p, .split-heading p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(23,31,43, .82), rgba(13,18,26, .75));
  overflow: hidden;
}

.step-card.featured {
  border-color: rgba(230,57,70, .35);
  transform: translateY(-10px);
  box-shadow: 0 24px 55px rgba(0,0,0, .3);
}

.step-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255,255,255, .06);
  font-size: 3.6rem;
  font-weight: 800;
}

.step-icon, .vote-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #ff707b;
  background: rgba(230,57,70, .12);
  border: 1px solid rgba(230,57,70, .2);
  font-size: 1.35rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.step-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
  margin: 0;
}

.step-card strong {
  color: #fff;
}

.gallery-highlight {
  background: rgba(255,255,255, .018);
  border-block: 1px solid var(--border);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2,220px);
  gap: 16px;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
}

.highlight-card.large {
  grid-row: span 2;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.highlight-card:hover img {
  transform: scale(1.055);
}

.highlight-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 55px 24px 22px;
  background: linear-gradient(transparent, rgba(5,8,13, .95));
}

.highlight-overlay span {
  color: #ff7882;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.highlight-overlay h3 {
  font-size: 1.08rem;
  margin: 5px 0 0;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.vote-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
  transition: .25s;
}

.vote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,183,3, .4);
}

.vote-card.primary {
  background: linear-gradient(135deg, rgba(255,183,3, .11), rgba(17,23,33, .95));
  border-color: rgba(255,183,3, .24);
}

.vote-card .vote-icon {
  color: var(--gold);
  background: rgba(255,183,3, .1);
  border-color: rgba(255,183,3, .18);
}

.vote-card span {
  font-size: .65rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
}

.vote-card h3 {
  margin: 3px 0 6px;
  font-size: 1.1rem;
}

.vote-card p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
  margin: 0;
}

.vote-arrow {
  color: #657187;
}

.links-section {
  padding-top: 70px;
}

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

.link-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17,23,33, .72);
  text-decoration: none;
  transition: .25s;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255, .18);
  background: var(--surface-2);
}

.link-card>i:first-child {
  font-size: 1.25rem;
}

.link-card>i:last-child {
  color: #586579;
}

.link-card h3 {
  font-size: .92rem;
  margin: 0 0 4px;
}

.link-card p {
  color: var(--muted);
  font-size: .73rem;
  margin: 0;
}

.discord {
  color: #7289da;
}

.red {
  color: #ff5d69;
}

.gold {
  color: var(--gold);
}

.purple {
  color: #a78bfa;
}

.blue {
  color: #f87171;
}

.site-footer {
  padding: 70px 0 25px;
  border-top: 1px solid var(--border);
  background: #070a0f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
}

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.7;
  font-size: .82rem;
  margin-top: 18px;
}

.site-footer h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: var(--muted);
  font-size: .8rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #637084;
  font-size: .7rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(230,57,70, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s;
  z-index: 800;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media(max-width:900px) {
  .main-nav {
  position: absolute;
  top: 70px;
  left: 20px;
  right: 20px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10,14,21, .97);
  box-shadow: 0 20px 50px rgba(0,0,0, .4);
}

.main-nav.open {
  display: flex;
}

.main-nav>a {
  padding: 12px;
  border-radius: 9px;
}

.nav-toggle {
  display: block;
}

.steps-grid, .links-grid {
  grid-template-columns: 1fr 1fr;
}

.step-card.featured {
  transform: none;
}

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

.highlight-card.large {
  grid-row: auto;
  grid-column: span 2;
}

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

@media(max-width:620px) {
  .container {
  width: min(100% - 28px,1160px);
}

/* Homepage blog highlight */
.blog-highlight-section {
  background: rgba(255,255,255,.018);
  border-block: 1px solid var(--border);
}

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

.blog-highlight-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23,31,43,.88), rgba(13,18,26,.82));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.blog-highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230,57,70,.55);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.blog-highlight-image {
  display: block;
  height: 135px;
  overflow: hidden;
  background: #0b0f16;
}

.blog-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.blog-highlight-card:hover .blog-highlight-image img {
  transform: scale(1.045);
}

.blog-highlight-content {
  padding: 16px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #748198;
  font-size: .65rem;
}

.blog-meta span {
  color: #ff7882;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-highlight-content h3 {
  margin: 10px 0 7px;
  font-size: .92rem;
  line-height: 1.4;
}

.blog-highlight-content h3 a {
  color: #fff;
  text-decoration: none;
}

.blog-highlight-content p {
  min-height: 45px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.6;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff6874;
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 45px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
}

@media(max-width:900px) {
  .blog-highlight-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .blog-highlight-card:last-child {
    grid-column: 1 / -1;
  }
}

@media(max-width:600px) {
  .blog-highlight-grid {
    grid-template-columns: 1fr;
  }

  .blog-highlight-card:last-child {
    grid-column: auto;
  }
}

.section {
  padding: 76px 0;
}

.hero {
  padding: 115px 14px 70px;
}

.hero-logo {
  width: 112px;
  height: 112px;
}

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

.btn {
  padding-inline: 15px;
}

.steps-grid, .links-grid {
  grid-template-columns: 1fr;
}

.split-heading {
  align-items: flex-start;
  flex-direction: column;
}

.split-heading .btn {
  width: 100%;
}

.highlight-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.highlight-card, .highlight-card.large {
  flex: 0 0 86%;
  height: 300px;
  scroll-snap-align: center;
}

.vote-card {
  grid-template-columns: auto 1fr;
  padding: 20px;
}

.vote-arrow {
  display: none;
}

.footer-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-bottom {
  flex-direction: column;
  margin-top: 38px;
}

.server-address {
  align-items: stretch;
}

.server-address button {
  padding-inline: 12px;
  font-size: .72rem;
}
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
  scroll-behavior: auto!important;
  animation-duration: .01ms!important;
  transition-duration: .01ms!important;
}
}

/* Gallery page */
.gallery-page {
  min-height: 100vh;
  padding: 135px 0 100px;
  background: linear-gradient(180deg, rgba(13,18,26, .45), transparent 420px);
}

.gallery-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.gallery-page-head h1 {
  font-size: clamp(2.4rem,6vw,4rem);
  letter-spacing: -.06em;
  line-height: 1;
  margin: 13px 0;
}

.gallery-page-head h1 span {
  color: #ff9d70;
}

.gallery-page-head p {
  max-width: 620px;
  color: #9eafc5;
  line-height: 1.75;
  margin: 0;
}

.gallery-count {
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  background: #3d1419;
  color: #ff929a;
  font-size: .76rem;
  font-weight: 700;
}

.gallery-count strong {
  font-weight: 800;
}

.gallery-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.gallery-filters button {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255, .035);
  color: var(--muted);
  font: 700 .72rem 'Plus Jakarta Sans', sans-serif;
  transition: .2s;
}

.gallery-filters button:hover, .gallery-filters button.active {
  border-color: #e63946;
  background: #3d1419;
  color: #ff929a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #1a2029;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: #e63946;
  box-shadow: 0 18px 40px rgba(0,0,0, .35);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-open {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.gallery-image-wrap {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #0d1219;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s, filter .3s;
}

.gallery-card:hover img {
  transform: scale(1.055);
  filter: brightness(.78);
}

.gallery-zoom {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255, .2);
  border-radius: 50%;
  background: rgba(5,8,13, .72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translate(-50%,-40%);
  transition: .25s;
}

.gallery-card:hover .gallery-zoom {
  opacity: 1;
  transform: translate(-50%,-50%);
}

.gallery-card-body {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.gallery-card-body h2 {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  margin: 0 0 3px;
}

.gallery-card-body span {
  color: #74839a;
  font-size: .64rem;
}

.gallery-card-body strong {
  flex: 0 0 auto;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: #3d1419;
  color: #ff8791;
  font-size: .62rem;
}

.gallery-empty, .gallery-notice {
  padding: 70px 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}

.gallery-empty>i {
  font-size: 2.5rem;
  color: #526177;
}

.gallery-empty h2 {
  color: #fff;
  margin: 18px 0 8px;
}

.gallery-empty p {
  margin: 0;
}

.gallery-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gallery-notice.error {
  color: #fca5a5;
  border-color: rgba(239,68,68, .25);
  background: rgba(239,68,68, .07);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 90px;
  background: rgba(3,5,8, .94);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox figure {
  width: min(1100px,100%);
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.gallery-lightbox figure>img {
  width: 100%;
  min-height: 0;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 16px;
  background: #05070a;
  box-shadow: 0 24px 80px rgba(0,0,0, .58);
}

.gallery-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  padding: 18px 4px 0;
}

.gallery-lightbox figcaption span {
  color: #ff8791;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-lightbox figcaption h2 {
  font-size: 1.15rem;
  margin: 4px 0;
}

.gallery-lightbox figcaption p {
  max-width: 720px;
  color: var(--muted);
  font-size: .76rem;
  margin: 0;
}

.gallery-lightbox figcaption strong {
  color: #9eafc5;
  font-size: .72rem;
  white-space: nowrap;
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255, .06);
  color: #fff;
  cursor: pointer;
  transition: .2s;
}

.lightbox-close:hover, .lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 70px;
  border-radius: 14px;
  transform: translateY(-50%);
}

.lightbox-nav.previous {
  left: 22px;
}

.lightbox-nav.next {
  right: 22px;
}

@media(max-width:1050px) {
  .gallery-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
}

@media(max-width:760px) {
  .gallery-page {
  padding: 115px 0 75px;
}

.gallery-page-head {
  align-items: flex-start;
  flex-direction: column;
}

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

.gallery-image-wrap {
  height: 155px;
}

.gallery-card-body {
  padding: 12px;
}

.gallery-card-body span {
  display: none;
}

.gallery-lightbox {
  padding: 70px 14px 30px;
}

.lightbox-nav {
  top: auto;
  bottom: 18px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transform: none;
}

.lightbox-nav.previous {
  left: calc(50% - 56px);
}

.lightbox-nav.next {
  right: calc(50% - 56px);
}

.gallery-lightbox figcaption {
  padding-bottom: 55px;
}

.gallery-lightbox figcaption strong {
  display: none;
}
}

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

.gallery-image-wrap {
  height: 220px;
}
}

/* Two-column landing hero */
.hero {
  min-height: 620px;
  padding: 115px 0 80px;
  text-align: left;
  background: linear-gradient(90deg, rgba(8,11,17, .97), rgba(8,11,17, .84)), url('../../public/img/bg.png') center/cover no-repeat;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(380px, .85fr);
  align-items: center;
  gap: 90px;
}

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

.hero-logo {
  width: 165px;
  height: 165px;
  margin: 0 0 25px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0, .45));
}

.hero-server-badge {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #45171d;
  color: #ff929a;
  font-size: .7rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.75rem,5vw,4.65rem);
  line-height: 1.05;
  letter-spacing: -.06em;
}

.hero-copy h1 span {
  color: #e63946;
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-copy>p {
  max-width: 590px;
  margin: 0;
  color: #9bb0c8;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-copy .btn-primary {
  background: #e63946;
  box-shadow: 0 12px 30px rgba(230,57,70, .22);
}

.hero-copy .btn-primary:hover {
  background: #c12733;
}

.server-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255, .11);
  border-radius: 22px;
  background: rgba(31,38,48, .9);
  box-shadow: 0 24px 55px rgba(0,0,0, .32);
}

.server-panel-label {
  display: block;
  margin-bottom: 11px;
  color: #7f91aa;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.server-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(255,255,255, .08);
  border-radius: 14px;
  background: #282f39;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: .22s;
}

.server-copy:hover {
  border-color: rgba(230,57,70, .45);
  transform: translateY(-2px);
}

.server-copy span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.server-copy strong {
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.server-copy small {
  color: #73849c;
  font-size: .72rem;
}

.server-copy>i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #4a171e;
  color: #ff6874;
}

.server-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255, .08);
  border-radius: 13px;
  background: #282f39;
  color: #9caec4;
  font-size: .82rem;
}

.server-live strong {
  color: #fff;
  font-size: 1rem;
}

.server-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239,68,68, .1);
}

.server-live.online .server-live-dot {
  background: #34d56f;
  box-shadow: 0 0 0 5px rgba(52,213,111, .1);
}

.bedrock-address {
  margin-top: 14px;
  color: #75869e;
  font-size: .72rem;
}

.bedrock-address i {
  margin-right: 6px;
  color: #e63946;
}

.bedrock-address strong {
  color: #b9c5d5;
}

@media(max-width:900px) {
  .hero-layout {
  grid-template-columns: 1fr;
  gap: 48px;
}

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

.server-panel {
  width: min(620px,100%);
}

.hero {
  padding-top: 125px;
}
}

@media(max-width:620px) {
  .hero {
  padding: 105px 0 65px;
}

.hero-layout {
  gap: 38px;
}

.hero-logo {
  width: 125px;
  height: 125px;
  margin-bottom: 18px;
}

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

.server-panel {
  padding: 17px;
}

.server-copy {
  padding: 16px;
}

.server-copy strong {
  font-size: 1.12rem;
}
}
