@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --background: 0 0% 98%;
  --background-alt: 340 30% 96%;
  --foreground: 340 20% 15%;
  --muted: 340 8% 46%;
  --muted-soft: 340 6% 58%;
  --panel: 0 0% 100%;
  --panel-alt: 340 20% 97%;
  --border: 340 15% 90%;
  --border-strong: 340 20% 80%;
  --primary: 334 67% 51%;
  --primary-strong: 334 68% 42%;
  --primary-soft: 334 60% 95%;
  --primary-glow: 334 67% 51%;
  --shadow: 334 40% 70%;
  --success: 145 63% 42%;
  --error: 0 63% 45%;
  --radius: 12px;
  --radius-lg: 24px;
  --container: 1120px;
  --input-bg: 0 0% 100%;
  --nav-bg: 0 0% 98%;
  --btn-secondary-bg: 0 0% 100%;
  --mobile-nav-bg: 0 0% 100%;
  --glow-sm: 0 0 20px hsl(334 67% 51% / 0.15);
  --glow-md: 0 0 40px hsl(334 67% 51% / 0.2);
  --glow-lg: 0 0 80px hsl(334 67% 51% / 0.15);
  --glow-text: 0 0 30px hsl(334 67% 51% / 0.4);
}

.dark {
  --background: 260 20% 6%;
  --background-alt: 260 18% 9%;
  --foreground: 260 10% 88%;
  --muted: 260 8% 50%;
  --muted-soft: 260 6% 42%;
  --panel: 260 18% 10%;
  --panel-alt: 260 15% 12%;
  --border: 260 14% 16%;
  --border-strong: 260 12% 24%;
  --primary: 334 67% 55%;
  --primary-strong: 334 60% 65%;
  --primary-soft: 334 50% 12%;
  --primary-glow: 334 80% 55%;
  --shadow: 260 20% 4%;
  --input-bg: 260 18% 12%;
  --nav-bg: 260 20% 6%;
  --btn-secondary-bg: 260 18% 12%;
  --mobile-nav-bg: 260 18% 11%;
  --glow-sm: 0 0 20px hsl(334 80% 55% / 0.2);
  --glow-md: 0 0 50px hsl(334 80% 55% / 0.15);
  --glow-lg: 0 0 100px hsl(334 80% 55% / 0.12);
  --glow-text: 0 0 40px hsl(334 80% 55% / 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

/* Ambient background blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
}
body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: hsl(var(--primary-glow) / 0.08);
}
body::after {
  width: 500px;
  height: 500px;
  bottom: 20%;
  left: -200px;
  background: hsl(var(--primary-glow) / 0.05);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
code {
  padding: 2px 7px;
  border-radius: 6px;
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary-strong));
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsl(var(--nav-bg) / 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid hsl(var(--border));
  transition: background-color 0.35s ease;
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: hsl(var(--primary));
  color: hsl(0 0% 100%);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  box-shadow: var(--glow-sm);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  color: hsl(var(--muted));
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.06);
}
.nav-pill {
  background: hsl(var(--primary)) !important;
  color: hsl(0 0% 100%) !important;
  font-weight: 700 !important;
  box-shadow: var(--glow-sm);
}
.nav-pill:hover {
  background: hsl(var(--primary-strong)) !important;
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--panel));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  border-color: hsl(var(--primary));
  box-shadow: var(--glow-sm);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--panel));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: hsl(var(--foreground));
}

/* ─── Hero — CENTERED layout ─── */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: hsl(var(--primary-glow) / 0.07);
  filter: blur(80px);
  pointer-events: none;
}
.hero-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: hsl(var(--primary-soft));
  border: 1px solid hsl(var(--primary) / 0.15);
  color: hsl(var(--primary-strong));
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero h1,
.section-heading h2,
.page-hero h1,
.news-title-row h2,
.single-server-main h3 {
  letter-spacing: normal;
  margin: 0;
}
.hero h1,
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 span {
  color: hsl(var(--primary));
  text-shadow: var(--glow-text);
}
.hero-text {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: hsl(var(--muted));
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
}

/* Hero visual — below text, card style */
.hero-visual {
  margin-top: 48px;
}
.hero-logo-slot {
  max-width: 520px;
  margin: 0 auto;
  min-height: 280px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--glow-md);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.hero-logo-slot i,
.founder-image-slot i {
  font-size: 1.6rem;
  color: hsl(var(--primary));
  filter: drop-shadow(var(--glow-sm));
}
.hero-logo-slot span {
  display: block;
  max-width: 260px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}
.hero-logo-slot small {
  color: hsl(var(--muted-soft));
  max-width: 300px;
  font-size: 0.85rem;
}

/* ─── Buttons ─── */
.button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: hsl(var(--primary));
  color: hsl(0 0% 100%);
  box-shadow: var(--glow-md);
}
.button-primary:hover {
  box-shadow: var(--glow-lg);
}
.button-secondary {
  background: hsl(var(--btn-secondary-bg));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

/* ─── News — full-width banner style ─── */
.news { padding: 0 0 20px; }
.news-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 30px -15px hsl(var(--shadow) / 0.2);
  transition: background-color 0.35s ease;
}
.news-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary));
  font-size: 1.2rem;
  box-shadow: var(--glow-sm);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary));
  font-size: 1.1rem;
  box-shadow: var(--glow-sm);
  margin-bottom: 16px;
}
.news-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.news-title-row h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.news-badge {
  padding: 4px 10px;
  border-radius: 8px;
  background: hsl(var(--primary));
  color: hsl(0 0% 100%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--glow-sm);
}

/* ─── Sections ─── */
.section,
.page-hero { padding: 80px 0; }
.section-dark {
  position: relative;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: hsl(var(--primary) / 0.02);
  pointer-events: none;
}
.compact-hero { padding: 80px 0 32px; text-align: center; }
.compact-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.compact-hero-inner .eyebrow { margin: 0; }
.compact-hero-inner p { margin: 0; }
.page-hero p {
  max-width: 620px;
  font-size: 1.02rem;
  color: hsl(var(--muted));
}
.section-heading { max-width: 680px; margin-bottom: 40px; position: relative; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-heading p { color: hsl(var(--muted)); }
.section-line {
  width: 60px;
  height: 3px;
  background: hsl(var(--primary));
  border-radius: 999px;
  margin: 14px auto 0;
  box-shadow: var(--glow-sm);
}

/* ─── Features — horizontal cards ─── */
.feature-grid { display: grid; gap: 18px; }
.feature-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 30px -15px hsl(var(--shadow) / 0.15);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-md);
  border-color: hsl(var(--primary) / 0.2);
}
.feature-card h3 { margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; }
.feature-card p { color: hsl(var(--muted)); font-size: 0.92rem; margin: 0; }

/* ─── Server — centered card with glow ─── */
.single-server-card {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--glow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.35s ease;
}
.single-server-card:hover {
  box-shadow: var(--glow-lg);
  border-color: hsl(var(--primary) / 0.25);
}
.single-server-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.server-label {
  margin: 0 0 6px;
  color: hsl(var(--primary-strong));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.single-server-main h3 {
  letter-spacing: normal;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  text-shadow: var(--glow-text);
}
.server-ip-group { flex-shrink: 0; }
.server-ip-group .server-label {
  margin: 0 0 4px;
  color: hsl(var(--primary-strong));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.server-ip-group h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: var(--glow-text);
}
.server-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.server-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--muted));
  font-size: 0.82rem;
  font-weight: 500;
}
.server-tag i {
  color: hsl(var(--primary));
  font-size: 0.7rem;
}
.server-tag.online i { color: hsl(145 63% 45%); }
.server-details {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: hsl(var(--muted));
  font-size: 0.9rem;
}
.server-details li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.server-details i,
.info-list i { color: hsl(var(--primary)); }
.copy-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary-strong));
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-sm);
}
.copy-button.large { min-width: 190px; }
.copy-button.is-copied {
  background: hsl(var(--success) / 0.12);
  border-color: hsl(var(--success) / 0.32);
  color: hsl(145 63% 32%);
}
.dark .copy-button.is-copied { color: hsl(145 55% 55%); }

/* ─── Team — side-by-side cards ─── */
.team-section { padding-bottom: 80px; }
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.founder-card {
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 30px -15px hsl(var(--shadow) / 0.15);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}
.founder-card:hover {
  box-shadow: var(--glow-md);
  border-color: hsl(var(--primary) / 0.2);
}
.founder-image-slot {
  width: 72px;
  height: 72px;
  min-height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary-soft));
  flex-shrink: 0;
  margin: 16px 0 16px 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow-sm);
}
.founder-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.founder-content { padding: 16px 20px; }
.founder-content h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; }
.founder-role {
  color: hsl(var(--primary-strong)) !important;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 0 0 8px;
}
.founder-card p { color: hsl(var(--muted)); font-size: 0.92rem; margin: 0; }
.site-footer h4 { margin: 0 0 8px; }

/* ─── Form / Atrankos puslapis ─── */
.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.form-info,
.apply-form {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: hsl(var(--panel));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 30px -15px hsl(var(--shadow) / 0.18);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.form-info { position: sticky; top: 88px; }
.form-info h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin: 0 0 6px;
}
.form-info h2 i { color: hsl(var(--primary)); }
.info-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: hsl(var(--muted));
  font-size: 0.93rem;
  line-height: 1.5;
}
.info-list li i {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Form: stacked layout */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: hsl(var(--foreground));
}
.field label i { color: hsl(var(--primary)); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--input-bg));
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: hsl(var(--muted-soft));
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12), var(--glow-sm);
}
.row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.submit-button {
  width: 100%;
  margin-top: 6px;
}
.form-status {
  min-height: 20px;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-status.success { color: hsl(145 63% 38%); }
.dark .form-status.success { color: hsl(145 55% 55%); }
.form-status.error { color: hsl(0 63% 50%); }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  transition: background-color 0.35s ease;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: hsl(var(--muted));
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: hsl(var(--primary)); }
.footer-bottom {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted));
  font-size: 0.88rem;
  padding: 12px 0;
}
.single-line-footer { justify-content: center; }

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--mobile-nav-bg));
    box-shadow: var(--glow-md);
  }
  .site-nav.is-open { display: flex; }
  .feature-grid-three,
  .founders-grid,
  .form-layout { grid-template-columns: 1fr; }
  .form-info { position: static; }
  .single-server-main { gap: 6px; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .row-2,
  .feature-grid { grid-template-columns: 1fr; }
  .news-card { padding: 20px; }
  .hero-actions { justify-content: center; }
  .button,
  .copy-button,
  .copy-button.large { width: 100%; min-width: 0; }
  .hero-logo-slot { min-height: 220px; }
  .form-info,
  .apply-form { padding: 24px; }
  .single-server-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
  }
  .single-server-card .copy-button { width: 100%; }
}


/* ==========================================================
   Skraidancios Minecraft bites (hero)
   ========================================================== */
.hero.has-bees { position: relative; overflow: hidden; }

.bees {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero.has-bees .container { position: relative; z-index: 2; }

.bee {
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 0.9;
  filter: drop-shadow(0 10px 18px hsl(var(--shadow) / 0.35));
  will-change: transform;
}

/* Bee 1 - top left, drifts right */
.bee-1 {
  top: 12%;
  left: -8%;
  width: 80px;
  height: 80px;
  animation: bee-fly-1 18s ease-in-out infinite, bee-bob 2.4s ease-in-out infinite;
}

/* Bee 2 - top right, drifts left, smaller */
.bee-2 {
  top: 22%;
  right: -10%;
  width: 60px;
  height: 60px;
  opacity: 0.75;
  animation: bee-fly-2 22s ease-in-out infinite, bee-bob 2s ease-in-out infinite;
  animation-delay: -3s, 0s;
}

/* Bee 3 - bottom area, larger, lazy */
.bee-3 {
  bottom: 10%;
  left: 8%;
  width: 110px;
  height: 110px;
  animation: bee-fly-3 26s ease-in-out infinite, bee-bob 3s ease-in-out infinite;
  animation-delay: -7s, -1s;
}

/* Bee 4 - middle right, mid-size */
.bee-4 {
  top: 55%;
  right: 5%;
  width: 70px;
  height: 70px;
  opacity: 0.85;
  animation: bee-fly-4 20s ease-in-out infinite, bee-bob 2.6s ease-in-out infinite;
  animation-delay: -10s, -0.5s;
}

/* Horizontal/path animations - each bee has unique route */
@keyframes bee-fly-1 {
  0%   { transform: translate(0, 0) rotate(-4deg); }
  25%  { transform: translate(40vw, 30px) rotate(2deg); }
  50%  { transform: translate(80vw, -10px) rotate(-3deg); }
  75%  { transform: translate(40vw, 40px) rotate(4deg); }
  100% { transform: translate(0, 0) rotate(-4deg); }
}

@keyframes bee-fly-2 {
  0%   { transform: translate(0, 0) rotate(3deg); }
  30%  { transform: translate(-50vw, 50px) rotate(-5deg); }
  60%  { transform: translate(-90vw, -20px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(3deg); }
}

@keyframes bee-fly-3 {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  20%  { transform: translate(20vw, -40px) rotate(3deg); }
  50%  { transform: translate(60vw, -60px) rotate(-4deg); }
  80%  { transform: translate(30vw, -20px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(-2deg); }
}

@keyframes bee-fly-4 {
  0%   { transform: translate(0, 0) rotate(2deg); }
  25%  { transform: translate(-30vw, -40px) rotate(-3deg); }
  50%  { transform: translate(-60vw, 20px) rotate(4deg); }
  75%  { transform: translate(-20vw, -30px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(2deg); }
}

/* Wing flap / bobbing */
@keyframes bee-bob {
  0%, 100% { filter: drop-shadow(0 10px 18px hsl(var(--shadow) / 0.35)); }
  50%      { filter: drop-shadow(0 6px 12px hsl(var(--shadow) / 0.25)); }
}

/* Mazesni ekranai - mažiau bicių, mažesnės */
@media (max-width: 760px) {
  .bee { width: 50px !important; height: 50px !important; }
  .bee-3, .bee-4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bee { animation: none !important; }
  .bee-2, .bee-4 { display: none; }
}


/* ==========================================================
   Minecraft background paveiksliukai sekcijoms
   ========================================================== */
.has-mc-bg {
  position: relative;
  isolation: isolate;
}

.has-mc-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
  opacity: 0.55;
}

/* Tamsus overlay, kad tekstas butu skaitomas */
.has-mc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    hsl(var(--background) / 0.85) 0%,
    hsl(var(--background) / 0.7) 50%,
    hsl(var(--background) / 0.92) 100%
  );
  z-index: -1;
}

/* Light mode - silpnesnis paveiksliukas */
:root:not(.dark) .has-mc-bg::before { opacity: 0.35; }
:root:not(.dark) .has-mc-bg::after {
  background: linear-gradient(
    180deg,
    hsl(var(--background) / 0.9) 0%,
    hsl(var(--background) / 0.78) 50%,
    hsl(var(--background) / 0.95) 100%
  );
}

/* Konkretus paveiksliukai */
.mc-bg-landscape::before { background-image: url('images/mc-landscape.jpg'); }
.mc-bg-cave::before      { background-image: url('images/mc-cave.jpg'); }
.mc-bg-night::before     { background-image: url('images/mc-night.jpg'); }

/* Hero su bites - subtilesne maska, kad bites butu matomos */
.hero.has-mc-bg::after {
  background: linear-gradient(
    180deg,
    hsl(var(--background) / 0.7) 0%,
    hsl(var(--background) / 0.55) 40%,
    hsl(var(--background) / 0.85) 100%
  );
}
:root:not(.dark) .hero.has-mc-bg::after {
  background: linear-gradient(
    180deg,
    hsl(var(--background) / 0.78) 0%,
    hsl(var(--background) / 0.65) 40%,
    hsl(var(--background) / 0.9) 100%
  );
}

/* Mobiliuose - background-attachment: fixed lagina, naudokim scroll */
@media (max-width: 900px) {
  .has-mc-bg::before {
    background-attachment: scroll;
  }
}


/* ==========================================================
   Krintantys Minecraft vyšnios žiedlapiai
   ========================================================== */
.petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.petals-layer {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 700px;
  opacity: 0.55;
  will-change: transform;
}

/* Pirma plokstuma - viršus, lėtai dreifuoja */
.petals-1 {
  top: -10%;
  left: -5%;
  animation: petals-drift 18s ease-in-out infinite;
}

/* Antra plokstuma - apverstas, dešinė pusė */
.petals-2 {
  top: -15%;
  right: -10%;
  transform: scaleX(-1);
  opacity: 0.4;
  animation: petals-drift-2 24s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes petals-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(30px, 40px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes petals-drift-2 {
  0%   { transform: scaleX(-1) translate(0, 0) rotate(0deg); }
  50%  { transform: scaleX(-1) translate(-25px, 50px) rotate(-3deg); }
  100% { transform: scaleX(-1) translate(0, 0) rotate(0deg); }
}

/* Dekoratyvus kampas (atranka.html) */
.petals-corner {
  inset: 0;
}
.petals-tr {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  max-width: 500px;
  opacity: 0.5;
  transform: scaleX(-1);
  animation: petals-drift 20s ease-in-out infinite;
}

/* Mobilus */
@media (max-width: 760px) {
  .petals-layer { opacity: 0.35; max-width: 400px; }
  .petals-2 { display: none; }
  .petals-tr { width: 80%; opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .petals-layer { animation: none !important; }
}

/* Pasitikrinti, kad turinys liko virs žiedlapių */
.hero.has-bees .container,
.page-hero .container { position: relative; z-index: 3; }
