* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: #161712;
  background: #07120d;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("assets/background.jpg") 34% top / cover no-repeat;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 12, 7, 0.78) 0%,
      rgba(3, 12, 7, 0.55) 28%,
      rgba(255, 255, 255, 0.02) 55%,
      rgba(3, 12, 7, 0.10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.00) 48%,
      rgba(7, 18, 12, 0.88) 100%
    );
}

.topbar {
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(96, 111, 69, 0.26);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  width: 245px;
  display: flex;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  color: #1f251c;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 3px;
  background: #568228;
  transform: scaleX(0);
  transition: 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #3f751d;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  gap: 14px;
  margin-left: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border: 1px solid rgba(27, 31, 24, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.58);
  color: #1c211b;
}

.btn.play {
  background: linear-gradient(180deg, #94c929, #4a841a);
  color: #fff;
  border-color: #6b9e18;
  box-shadow: 0 10px 30px rgba(82, 150, 23, 0.35);
}

.btn.dark {
  background: rgba(13, 13, 12, 0.86);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.btn.big {
  height: 62px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("assets/background.jpg") 50% top / cover no-repeat;
}

.hero-shell {
  min-height: 650px;
  width: min(1660px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 44px;
  align-items: start;
  padding: 35px 0 30px;
}

.hero-left{
    max-width:520px;
    transform:translateY(0);
}

.hero-side {
  display: grid;
  gap: 14px;
  transform: none;
}

.logo-mobile {
  display: none;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(91, 136, 36, 0.96), rgba(50, 95, 24, 0.96));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 10px 25px rgba(47, 98, 20, 0.22);
}

.hero-left h1 {
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.88;
  color: #f7f7f2;
  text-shadow:
    0 4px 2px rgba(0, 0, 0, 0.75),
    0 12px 38px rgba(0, 0, 0, 0.75);
  letter-spacing: 1px;
}

.hero-left h1 span {
  background: linear-gradient(180deg, #fff8c8, #e1b63e 55%, #6ca524);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.65));
}

.hero-text {
  max-width: 520px;
  margin: 18px 0 20px;
  color: #fff;
  font-size: 15px;
  line-height: 1.75;
  text-shadow: 0 2px 8px #000;
}

.hero-buttons{
    margin-top:15px;
}

.btn.big{
    height:54px;
    font-size:14px;
}

.hero-text b {
  color: #9dff44;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(115, 102, 65, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(8px);
}

.countdown-card {
  text-align: center;
  padding: 26px 22px;
}

.gold-small {
  display: block;
  color: #a06c10;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-card h2 {
  font-family: Cinzel, Georgia, serif;
  color: #39701e;
  font-size: 32px;
  margin: 9px 0 4px;
  text-transform: uppercase;
}

.countdown-card p {
  font-weight: 800;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.countdown div {
  border: 1px solid rgba(54, 67, 43, 0.15);
  border-radius: 7px;
  padding: 10px 5px;
  background: linear-gradient(180deg, #fff, #f4f1e8);
}

.countdown strong {
  display: block;
  color: #3d7c1f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.countdown span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card {
  padding: 22px;
}

.status-card h3,
.ranking-card h3 {
  font-family: Cinzel, Georgia, serif;
  font-size: 22px;
  margin-bottom: 12px;
}

.status-card div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.11);
}

.status-card b {
  font-weight: 900;
}

.online {
  color: #239319;
}

.offline {
  color: #db2525;
}

.ranking-card {
  padding: 20px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-title a,
.panel-head a {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 5px;
  border: 1px solid rgba(56, 91, 31, 0.22);
  color: #386d1e;
  background: rgba(255, 255, 255, 0.45);
}

.ranking-card ol {
  list-style: none;
}

.ranking-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.11);
}

.ranking-card em {
  font-style: normal;
  font-weight: 900;
  color: #437f21;
  display: inline-block;
  width: 22px;
}

.players-online {
  margin-top: 13px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  color: #39701e;
}

.features-row {
  width: min(1460px, 92%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(12, 18, 12, 0.78);
  border: 1px solid rgba(255, 228, 151, 0.32);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.features-row article {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.features-row article:last-child {
  border-right: 0;
}

.features-row span {
  font-size: 42px;
  color: #96df2e;
  text-shadow: 0 0 18px rgba(143, 224, 48, 0.55);
}

.features-row h3 {
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
  color: #fff4c1;
  font-size: 20px;
}

.features-row p {
  line-height: 1.5;
  color: #f0f2e9;
}

.content-grid {
  width: min(1460px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.panel {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(116, 105, 75, 0.25);
  border-radius: 8px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
}

.panel h2 {
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
  font-size: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 170px 1fr 150px;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item img {
  width: 170px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(74, 92, 38, 0.22);
}

.news-item span {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 8px;
  background: #6a9f2b;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-item p {
  line-height: 1.55;
}

.news-item time {
  text-align: right;
  color: #614f2d;
}

.social-stack {
  display: grid;
  gap: 18px;
}

.social {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.social strong {
  width: 58px;
  height: 58px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 37px;
  background: rgba(255, 255, 255, 0.13);
}

.social b {
  display: block;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.facebook {
  background: linear-gradient(135deg, #1557b8, #274e9b);
}

.discord {
  background: linear-gradient(135deg, #5865f2, #4944a8);
}

.rates-panel {
  width: min(1460px, 92%);
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(116, 105, 75, 0.25);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
}

.rates-panel h2 {
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
  font-size: 27px;
  margin-bottom: 18px;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rates-grid div {
  padding: 18px;
  border: 1px solid rgba(67, 101, 35, 0.17);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 6px;
}

.rates-grid b {
  display: block;
  color: #4c8024;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-actions {
  width: min(1460px, 92%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(116, 105, 75, 0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.footer-actions a {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  padding: 19px 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 32px;
  color: #72a91f;
}

.footer-actions a:last-child {
  border-right: 0;
}

.footer-actions span {
  font-size: 13px;
  color: #333;
}

.footer-actions b {
  display: block;
  text-transform: uppercase;
  font-size: 16px;
  color: #1e2118;
}

.copyright {
  text-align: center;
  color: #bfc4b8;
  background: #07120e;
  padding: 24px 12px;
  margin-top: 22px;
}

.logo-mobile {
  width: 260px;
  margin: 0 0 20px;
}

.logo-mobile img {
  width: 100%;
}

/* Tablet */
@media (max-width: 1180px) {
  .topbar {
    padding: 0 22px;
  }

  .brand {
    width: 190px;
  }

  .nav {
    gap: 20px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-row,
  .rates-grid,
  .footer-actions {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .social-stack {
    grid-template-columns: 1fr 1fr;
  }

  .news-item {
    grid-template-columns: 140px 1fr;
  }

  .news-item time {
    grid-column: 2;
    text-align: left;
  }

  .hero-left h1 {
    font-size: 76px;
  }
}

/* Mobile */
@media (max-width: 820px) {
  .topbar {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
  }

  .brand {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    background: #47791f;
    color: #fff;
    border: 0;
    border-radius: 7px;
    font-size: 26px;
    width: 48px;
    height: 42px;
  }

  .nav {
    display: none;
    order: 5;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a::after {
    display: none;
  }

  .top-actions {
    margin-left: 0;
  }

  .top-actions .ghost {
    display: none;
  }

  .hero-shell {
    width: 100%;
    padding: 38px 18px;
    gap: 22px;
  }

  .hero-left {
    padding: 0;
  }

  .label {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-buttons {
    display: grid;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .features-row,
  .content-grid,
  .rates-panel,
  .footer-actions {
    width: calc(100% - 28px);
  }

  .features-row,
  .rates-grid,
  .footer-actions,
  .social-stack {
    grid-template-columns: 1fr;
  }

  .features-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item img {
    width: 100%;
    height: 150px;
  }

  .news-item time {
    grid-column: auto;
  }

  .footer-actions a {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .top-actions .play {
    height: 42px;
    padding: 0 16px;
  }

  .page-bg {
    background-position: center top;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .countdown {
    gap: 6px;
  }

  .countdown strong {
    font-size: 22px;
  }

  .countdown-card h2 {
    font-size: 25px;
  }

  .hero-left h1 {
    font-size: 40px;
  }

  .btn.big {
    height: 54px;
  }

  .topbar {
    padding: 10px 14px;
  }

  .footer-actions a {
    padding: 16px 20px;
  }

  .features-row article {
    grid-template-columns: 54px 1fr;
    padding: 18px;
  }

  .features-row span {
    font-size: 32px;
  }
}