:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-panel: #0f0f23;
  --bg-panel-light: #20294c;
  --accent: #e94560;
  --accent-orange: #ff6b35;
  --accent-blue: #4ecdc4;
  --accent-red: #e63946;
  --text: #eaeaea;
  --text-muted: #a8a8b8;
  --border: #2f3a68;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 1120px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.topbar {
  background: #0a0a18;
  color: var(--text-muted);
  font-size: 13px;
  border-bottom: 1px solid #262b4a;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 35, 0.96);
  border-bottom: 2px solid var(--accent-orange);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
  border: 2px solid var(--border);
  background: #111;
}

.brand-title {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-tag {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-secondary);
  color: #fff;
  font-size: 18px;
}

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

.main-nav a {
  color: #e7e7ef;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 11px;
  border-radius: 4px;
  text-transform: uppercase;
}

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

.main-nav .discord-link {
  margin-left: 8px;
  background: linear-gradient(135deg, #5865f2, #3948c8);
  box-shadow: 0 3px 12px rgba(88, 101, 242, 0.35);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(10, 10, 22, 0.6), rgba(10, 10, 22, 0.88)), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  border-bottom: 4px solid var(--accent-orange);
}

.hero.small-hero {
  min-height: 360px;
  background-image: linear-gradient(rgba(10, 10, 22, 0.68), rgba(10, 10, 22, 0.9)), url("https://images.unsplash.com/photo-1501700493788-fa1a4fc9fe62?auto=format&fit=crop&w=1920&q=80");
}

.hero h1 {
  font-family: "Montserrat", Arial, sans-serif;
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.hero .slogan {
  margin: 0 auto 24px;
  max-width: 760px;
  color: #f4f4f4;
  font-size: 21px;
  text-shadow: 0 2px 8px #000;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 5px;
  color: #fff;
  background: rgba(22, 33, 62, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 23px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff6b6b);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #263b78, #4ecdc4);
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.25);
}

.btn-dark {
  background: linear-gradient(135deg, #111629, #273153);
  border: 1px solid var(--border);
}

.section {
  padding: 54px 0;
}

.section.alt {
  background: var(--bg-panel);
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 30px;
  line-height: 1.15;
}

.section-title p {
  margin: 0;
  color: var(--text-muted);
  max-width: 520px;
}

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

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

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.card h3,
.card h4 {
  margin: 0 0 10px;
  font-family: "Montserrat", Arial, sans-serif;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.icon-box {
  min-height: 210px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
  color: #fff;
  box-shadow: 0 3px 13px rgba(255, 107, 53, 0.35);
  font-size: 21px;
}

.offer-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 552px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.42);
}

.offer-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-orange);
}

.offer-body {
  min-height: 327px;
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, #1b2548 0%, var(--bg-secondary) 100%);
  color: var(--text);
}

.offer-body h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.18;
}

.offer-body h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
  border-radius: 3px;
}

.offer-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.stats-band {
  background-image: linear-gradient(rgba(15, 15, 35, 0.83), rgba(15, 15, 35, 0.94)), url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-box {
  text-align: center;
  padding: 24px 12px;
}

.stat-number {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.event-card,
.fleet-card,
.team-card,
.gallery-card {
  overflow: hidden;
  padding: 0;
}

.event-card .body,
.fleet-card .body,
.gallery-card .body {
  padding: 18px;
}

.card-img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-orange);
}

.date-box {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #fff;
  background: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
}

.meta-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
}

.discord-banner {
  background: linear-gradient(135deg, #5865f2, #2d357e);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
}

.discord-banner h2 {
  margin: 0 0 6px;
  font-family: "Montserrat", Arial, sans-serif;
}

.discord-banner p {
  margin: 0;
  color: #eeeeff;
}

.feature-list,
.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.rules-list li {
  padding: 9px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list li:last-child,
.rules-list li:last-child {
  border-bottom: 0;
}

.feature-list i,
.rules-list i {
  color: var(--accent-blue);
  margin-right: 8px;
}

.team-card {
  text-align: center;
  padding: 22px 18px;
}

.team-card img {
  width: 94px;
  height: 94px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-orange);
  background: #101526;
}

.team-card .role {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 9px;
  background: #26305d;
  color: var(--accent-blue);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.team-card .discord {
  color: var(--text-muted);
  font-size: 13px;
}

.timeline {
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-date {
  color: #fff;
  font-weight: 700;
}

.fleet-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.specs span {
  padding: 5px 8px;
  border-radius: 4px;
  background: #24305f;
  color: var(--text-muted);
  font-size: 12px;
}

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

.gallery-card a {
  display: block;
  color: #fff;
}

.gallery-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.25s, opacity 0.25s;
}

.gallery-card:hover img {
  transform: scale(1.04);
  opacity: 0.86;
}

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

.form-row {
  margin-bottom: 14px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  background: #10172f;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #fff;
  font-family: "Roboto", Arial, sans-serif;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.12);
}

.notice {
  padding: 13px 15px;
  border-radius: 5px;
  background: rgba(78, 205, 196, 0.1);
  border-left: 4px solid var(--accent-blue);
  color: #d7f7f5;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #26305d;
  border-radius: 50%;
  color: var(--accent-orange);
}

.site-footer {
  background: #090914;
  border-top: 2px solid var(--accent-orange);
  padding: 38px 0 18px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 24px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 7px;
}

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

.socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #1e274a;
  color: #fff;
}

.socials a:hover {
  background: var(--accent-orange);
}

.discord-widget {
  min-height: 176px;
  padding: 14px;
  background: #11182d;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.copyright {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #242440;
  font-size: 13px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 980px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }

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

  .main-nav a {
    padding: 11px 10px;
  }

  .main-nav .discord-link {
    margin-left: 0;
  }

  .grid-3,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 540px;
    background-attachment: scroll;
  }

  .stats-band {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .section-title,
  .discord-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .slogan {
    font-size: 18px;
  }

  .grid-3,
  .grid-2,
  .gallery-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .brand-title {
    font-size: 17px;
  }
}
