
@font-face {
  font-family: Bahman;
  src: url("assets/Bahman.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0b120f;
  --surface: #131e18;
  --surface-light: #1b2a21;
  --green: #74e39a;
  --green-dark: #39ad68;
  --white: #f3fff6;
  --muted: #9eafa3;
  --border: rgba(255,255,255,.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: Bahman, Tahoma, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input {
  font: inherit;
}

.background-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  background: #36c878;
  filter: blur(180px);
  opacity: .08;
  top: -200px;
  right: -150px;
  pointer-events: none;
  z-index: -1;
}

.header {
  width: min(1200px, 92%);
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
}

.brand b, .footer-brand b {
  color: var(--green);
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.navigation a {
  transition: .2s;
}

.navigation a:hover {
  color: var(--green);
}

.header-button, .primary-button {
  background: var(--green);
  color: #092013;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: bold;
  transition: .2s;
}

.header-button:hover, .primary-button:hover {
  background: #a0f3b8;
  transform: translateY(-2px);
}

.hero {
  width: min(1200px, 92%);
  min-height: 610px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 70px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(116,227,154,.09);
  border: 1px solid rgba(116,227,154,.2);
  color: var(--green);
  border-radius: 30px;
  padding: 7px 15px;
  font-size: 13px;
  margin-bottom: 25px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.hero h1 {
  font-size: clamp(35px, 5vw, 62px);
  line-height: 1.5;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-description {
  color: var(--muted);
  max-width: 520px;
  margin-top: 20px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.secondary-button {
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 10px;
  transition: .2s;
}

.secondary-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-info {
  display: flex;
  gap: 45px;
  margin-top: 55px;
}

.hero-info div {
  display: flex;
  flex-direction: column;
}

.hero-info strong {
  color: var(--green);
  font-size: 23px;
}

.hero-info span {
  color: var(--muted);
  font-size: 12px;
}

.hero-art {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #39c978;
  filter: blur(110px);
  opacity: .17;
}

.minecraft-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  background: linear-gradient(#193d35 0%, #386c53 55%, #263c2c 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.sun {
  position: absolute;
  width: 85px;
  height: 85px;
  background: #c4f49c;
  top: 45px;
  right: 65px;
  box-shadow: 0 0 65px rgba(196,244,156,.35);
}

.mountain {
  position: absolute;
  bottom: 65px;
  width: 0;
  height: 0;
  border-left: 190px solid transparent;
  border-right: 190px solid transparent;
  border-bottom: 210px solid #426f51;
}

.mountain-back {
  right: 100px;
  border-bottom-color: #527b5d;
}

.mountain-front {
  left: -70px;
  border-bottom-color: #284d37;
  transform: scale(1.1);
}

.ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 85px;
  background: repeating-linear-gradient(
    0deg,
    #315c37 0 25px,
    #427746 25px 50px
  );
  border-top: 10px solid #76a84d;
}

.tree {
  position: absolute;
  bottom: 75px;
  z-index: 2;
}

.tree-one {
  left: 75px;
}

.tree-two {
  right: 100px;
  transform: scale(.7);
  transform-origin: bottom;
}

.tree-leaves {
  width: 95px;
  height: 100px;
  background: #194f36;
  box-shadow:
    -25px 25px #226b40,
    25px 25px #286b42;
}

.tree-trunk {
  width: 24px;
  height: 65px;
  background: #725035;
  margin: auto;
}

.floating-block {
  position: absolute;
  width: 35px;
  height: 35px;
  background: #86b85a;
  box-shadow: inset -7px -7px rgba(0,0,0,.15);
  animation: float 4s ease-in-out infinite;
}

.block-one {
  top: 85px;
  left: 75px;
}

.block-two {
  top: 170px;
  right: 50px;
  animation-delay: 1s;
}

.block-three {
  bottom: 110px;
  left: 180px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(8deg); }
}

.art-caption {
  position: absolute;
  bottom: 5px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--muted);
}

.launch-section, .features-section,
.server-section, .account-section {
  width: min(1100px, 92%);
  margin: 50px auto;
}

.launch-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px 30px;
  border: 1px solid rgba(116,227,154,.2);
  background: linear-gradient(120deg, #172c20, #142019);
  border-radius: 18px;
}

.launch-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: rgba(116,227,154,.1);
  color: var(--green);
  border-radius: 15px;
  font-size: 30px;
}

.launch-text {
  flex: 1;
}

.launch-text span, .section-label {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 2px;
}

.launch-text h2 {
  font-size: 22px;
}

.launch-text p {
  color: var(--muted);
  font-size: 13px;
}

.launch-badge, .coming-soon {
  color: var(--green);
  background: rgba(116,227,154,.1);
  border: 1px solid rgba(116,227,154,.2);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
}

.section-heading {
  text-align: center;
  margin: 90px 0 40px;
}

.section-heading h2, .account-intro h2 {
  font-size: 32px;
  margin: 8px 0;
}

.section-heading p, .account-intro p {
  color: var(--muted);
  font-size: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 30px;
  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(116,227,154,.4);
}

.feature-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-light);
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
}

.server-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 35px;
}

.server-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.server-heading h2 {
  font-size: 27px;
}

.server-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.server-detail {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.server-detail span {
  color: var(--muted);
  font-size: 12px;
}

.server-detail strong {
  color: var(--green);
  font-size: 15px;
}

.account-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.account-intro h2 {
  font-size: 36px;
}

.account-note {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 16px;
  border-right: 3px solid var(--green);
  background: rgba(116,227,154,.07);
  color: var(--muted);
  font-size: 12px;
}

.login-card {
  padding: 35px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.login-card h3 {
  font-size: 24px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.login-card label {
  display: block;
  font-size: 13px;
  margin: 15px 0 8px;
}

.login-card input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: #0d1711;
  border: 1px solid var(--border);
  color: white;
  outline: none;
  direction: rtl;
}

.login-card input:focus {
  border-color: var(--green);
}

.login-card button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  margin-top: 22px;
  background: var(--green);
  color: #092013;
  font-weight: bold;
  cursor: pointer;
  transition: .2s;
}

.login-card button:hover {
  background: #a0f3b8;
}

.login-card button:disabled {
  opacity: .6;
  cursor: wait;
}

.login-message {
  font-size: 12px;
  margin-top: 14px;
  color: var(--green);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
}

.footer-brand {
  font-family: Arial, sans-serif;
  font-weight: 900;
  color: white;
  font-size: 20px;
}

.footer p {
  margin: 8px 0;
  color: var(--green);
}

.footer span {
  font-size: 11px;
}

@media (max-width: 850px) {
  .navigation {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions, .hero-info {
    justify-content: center;
  }

  .hero-art {
    min-height: 350px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .server-details {
    grid-template-columns: 1fr 1fr;
  }

  .account-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .header {
    height: 72px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .header-button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 45px 0;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-info {
    gap: 25px;
  }

  .minecraft-scene {
    height: 280px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .launch-card {
    flex-wrap: wrap;
    padding: 20px;
  }

  .launch-text h2 {
    font-size: 17px;
  }

  .server-card, .login-card {
    padding: 22px;
  }

  .server-details {
    grid-template-columns: 1fr 1fr;
  }

  .server-detail {
    padding: 12px;
  }

  .account-intro h2 {
    font-size: 28px;
  }
}
