* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  overflow-x: hidden;
}
body {
  font-family: "press Start 2P", system-ui, -apple-system, sans-serif;
  color: #e5e7eb;
  background: url("../images/background.gif") center / cover no-repeat fixed;
}
.bg-gif {
  position: fixed;
  inset: 0;
  background: url("../images/background.gif") center / cover no-repeat;
  z-index: -2;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 23, 18, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #e5e7eb;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.65);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
}
.logo-subtitle {
  font-size: 13px;
  color: #9ca3af;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}
nav a {
  text-decoration: none;
  color: #d1fae5;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.18s ease;
}
nav a:hover {
  background: rgba(34, 197, 94, 0.18);
  color: #ecfdf5;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.5);
}
nav a.active {
  background: rgba(34, 197, 94, 0.24);
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.7);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.7);
}
.lang-switch {
  margin-right: 40px;
  text-align: center;
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 12px;
}
.lang-switch a {
  color: #e6ffee;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
}
.lang-switch a.active {
  background: #005941;
  box-shadow:
    inset 0 0 6px rgba(34, 197, 94, 0.6),
    0 0 10px rgba(34, 197, 94, 0.7);
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
h1 {
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px #000;
}
p {
  font-size: 14px;
}
.main-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.btn-main {
  display: inline-block;
  text-decoration: none;
  background: #064e3b;
  color: #ecfdf5;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.btn-main:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.6);
}
.gallery {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
.gallery-wrapper {
  position: relative;
}
.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}
.slider::-webkit-scrollbar {
  display: none;
}
.card {
  min-width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(3, 24, 18, 0.9);
  flex-shrink: 0;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-footer {
  margin-top: 80px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  background: rgba(3, 24, 18, 0.85);
  border-top: 1px solid rgba(34, 197, 94, 0.25);
}

@media (max-width: 768px) {

  body {
    background-attachment: scroll;
  }
  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }
  .logo-text { text-align: center; }
  .logo-title {
    font-size: 16px;
    line-height: 22px;
  }
  .logo-subtitle { font-size: 11px; }
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  nav a {
    font-size: 12px;
    padding: 6px 10px;
  }
  .lang-switch {
    margin-right: 0;
    font-size: 10px;
  }
  main {
    padding: 20px 12px 60px;
    min-height: auto;
  }
  h1 {
    font-size: 22px;
    margin-bottom: 14px;
  }
  p {
    font-size: 13px;
    line-height: 1.5;
  }
  .btn-main {
    width: 100%;
    max-width: 280px;
  }
  .card {
    min-width: 240px;
    height: 320px;
  }
  .site-footer {
    font-size: 10px;
    padding: 14px;
  }
}