:root {
  color-scheme: dark;
  --bg: #07110b;
  --bg-soft: #0b170f;
  --card: #101e14;
  --card-hover: #14271a;
  --green: #68f787;
  --green-dark: #2db84d;
  --text: #f0fff2;
  --muted: #a8bdad;
  --border: #25432d;
  --discord: #7289da;
  --radius: 18px;
  --shadow: 0 18px 45px #0003;
}

* {
  box-sizing: border-box;
}

html {
  
/* IsraelGame — global logo background */
html {
  min-height: 100%;
  background-color: #080d09;
}

body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  isolation: isolate;

  background-color: #080d09;
  background-image: url("/assets/logo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Dark overlay for readable text */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
}

/* Mobile background compatibility */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}


a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #07110beF;
  border-bottom: 1px solid #25432d;
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.4px;
}

.brand-icon {
  color: var(--green);
  font-size: 1.7rem;
}

.brand-accent {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  padding: 8px 12px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0 78px;
  border-bottom: 1px solid #25432d66;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  animation: rise-in .65s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px #68f78799;
  animation: pulse 2s infinite;
}

.hero h1 {
  max-width: 700px;
  margin: 18px 0;
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -2px;
}

.gradient-text {
  color: var(--green);
  text-shadow: 0 0 28px #68f78726;
}

.hero-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 27px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .18s ease,
    filter .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.button-primary {
  background: var(--green);
  color: #061109;
}

.button-secondary {
  background: #14251a;
  color: var(--text);
  border-color: var(--border);
}

.button-discord {
  background: var(--discord);
  color: white;
}

.button-small {
  min-height: 38px;
  padding: 8px 12px;
  background: #193421;
  color: var(--green);
  border-color: #345c3c;
}

.full-width {
  width: 100%;
  margin-top: 10px;
}

.server-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 500px;
  padding: 15px 17px;
  margin-top: 30px;
  background: #0d1b11;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.small-label {
  display: block;
  color: var(--muted);
  font-size: .8rem;
}

.ip-address,
.large-ip {
  display: block;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.notice-text {
  min-height: 20px;
  color: var(--green);
  font-size: .9rem;
}

.hero-art {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: end;
  justify-content: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 4% 0;
  z-index: -1;
  background: radial-gradient(ellipse, #2e7b3a33, transparent 65%);
}

.pixel-sun {
  position: absolute;
  top: 35px;
  right: 17%;
  width: 78px;
  height: 78px;
  background: #b7ff76;
  box-shadow: 0 0 60px #9cff6b40;
  image-rendering: pixelated;
  animation: float 4s ease-in-out infinite;
}

.pixel-land {
  position: relative;
  width: 86%;
  height: 215px;
  margin-bottom: 20px;
  transform: perspective(550px) rotateX(5deg);
  box-shadow: 0 28px 45px #0005;
  animation: rise-in .8s ease both;
}

.grass-top {
  height: 42px;
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, #ffffff0c 25px 50px),
    #4aa54b;
  border: 3px solid #66c65e;
}

.dirt-layer {
  height: 105px;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, #00000012 25px 27px),
    repeating-linear-gradient(90deg, transparent 0 25px, #00000012 25px 27px),
    #754d32;
  border-inline: 3px solid #573a27;
}

.stone-layer {
  height: 68px;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, #ffffff08 34px 36px),
    #4b554c;
  border: 3px solid #353e36;
}

.floating-block {
  position: absolute;
  z-index: 2;
  width: 55px;
  height: 55px;
  border: 3px solid #a0ff8c;
  background: #3c9144;
  box-shadow: 8px 8px 0 #0003;
  animation: float 4s ease-in-out infinite;
}

.block-one {
  top: 90px;
  left: 12%;
}

.block-two {
  top: 155px;
  right: 8%;
  width: 42px;
  height: 42px;
  animation-delay: -1.3s;
}

.block-three {
  top: 35px;
  left: 38%;
  width: 27px;
  height: 27px;
  animation-delay: -2.1s;
}

.hero-art-label {
  position: absolute;
  bottom: 0;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  background: #0a160ff2;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.hero-art-label > span {
  font-size: 1.7rem;
}

.hero-art-label strong,
.hero-art-label small {
  display: block;
}

.hero-art-label small {
  color: var(--muted);
}

.section {
  padding-top: 78px;
  padding-bottom: 30px;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-heading p,
.muted {
  color: var(--muted);
}

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

.glass-card {
  min-width: 0;
  padding: 25px;
  background: linear-gradient(145deg, #132219, #0c1710);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px #00000010;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: #4a9257;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border: 1px solid #31543a;
  border-radius: 13px;
  background: #193522;
  font-size: 1.5rem;
}

.glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.glass-card p {
  overflow-wrap: anywhere;
}

.server-status {
  font-weight: 900;
  color: var(--green);
}

.large-ip {
  margin: 17px 0;
  font-size: 1.4rem;
}

.tiny-text {
  color: #829787;
  font-size: .8rem;
}

.section-note {
  margin-top: 20px;
  text-align: center;
}

.community-section {
  margin-top: 60px;
  padding: 70px 0;
  background: #0b170f;
  border-block: 1px solid #25432d66;
}

.community-section .card-grid {
  max-width: 760px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  background: #0e1c12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.staff-notice h2 {
  margin: 0 0 6px;
}

.staff-notice p {
  margin: 0;
}

.staff-symbol {
  font-size: 2.5rem;
}

.site-footer {
  margin-top: 65px;
  padding: 35px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 14px 0;
}

.site-footer small {
  font-size: .8rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

@media (max-width: 850px) {
  .hero {
    padding-top: 55px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description,
  .server-address {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 330px;
  }

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

  .server-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    min-height: 64px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 6px;
    border-top: 1px solid #25432d66;
  }

  .hero {
    padding: 45px 0 35px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .server-address {
    flex-direction: column;
  }

  .hero-art {
    min-height: 260px;
  }

  .pixel-land {
    height: 175px;
  }

  .grass-top {
    height: 32px;
  }

  .dirt-layer {
    height: 85px;
  }

  .stone-layer {
    height: 58px;
  }

  .block-one {
    top: 65px;
  }

  .block-two {
    top: 120px;
  }

  .card-grid,
  .community-section .card-grid {
    grid-template-columns: 1fr;
  }

  .server-card {
    grid-column: auto;
  }

  .section {
    padding-top: 55px;
  }

  .community-section {
    padding: 50px 0;
    margin-top: 35px;
  }

  .staff-notice {
    align-items: flex-start;
    padding: 18px;
  }
}

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