:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #0b0b0b;
  --fg: #f5f5f5;
  --muted: #bdbdbd;
  --accent: #f0f0f0;
  --accent-2: #d0d0d0;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-highlight: rgba(255, 255, 255, 0.25);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: url("bg.png") right center / contain no-repeat, #000;
  color: var(--fg);
  font-family: Verdana, "Segoe UI", Tahoma, Geneva, sans-serif;
  line-height: 1.4;
  min-height: 100%;
}

html {
  font-size: 14px;
}

body::before,
body::after {
  content: none;
}

a {
  color: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 24px;
}


.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.brand span {
  font-size: 1rem;
}

.brand-fixed {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.75);
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand-link {
  text-decoration: none;
  color: var(--fg);
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.75);
}

.lang-fixed {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 5;
  backdrop-filter: blur(16px);
}

.lang-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.lang-toggle {
  border: none;
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 64px;
}

.swiper {
  width: 100%;
  height: min(78vh, 700px);
  padding: 12px 0 28px;
  perspective: 1200px;
  perspective-origin: center;
}

.swiper-slide {
  width: min(720px, 70vw);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.glass-card {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  padding: 22px 40px;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.15);
  border: 3px solid var(--glass-border);
  box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(255, 255, 255, 0.2);
  backdrop-filter: none;
  overflow: auto;
  position: relative;
  pointer-events: none;
  scrollbar-width: none;
}

.swiper-slide-active .glass-card {
  pointer-events: auto;
}

.glass-card::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0.6;
  pointer-events: none;
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.swiper-slide-active .card-overlay {
  opacity: 0;
  pointer-events: none;
}

.slide-content {
  display: block;
  animation: floatIn 0.6s ease both;
}

oc-slide {
  display: grid;
  gap: 12px;
  width: 100%;
}

.slide-content > oc-slide {
  min-width: 0;
}

.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.headline {
  font-size: clamp(1.35rem, 3.8vw, 2.4rem);
  letter-spacing: 0.6px;
  margin: 0;
}

.tagline {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  border-radius: 14px;
  padding: 7px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  border-color: rgba(158, 231, 216, 0.5);
}

.content-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mini-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.92rem;
}

.mini-card h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.mini-card ul,
.mini-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 9px;
  color: var(--fg);
  font: inherit;
  font-size: 0.92rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(158, 231, 216, 0.4);
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.footer {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 6px 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 20;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(560px, 88vw);
  padding: 22px 28px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: var(--fg);
  text-align: center;
}

.modal-message {
  margin: 0;
  font-size: 0.98rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .swiper {
    height: 76vh;
  }

  .glass-card {
    max-height: 66vh;
    padding: 22px 40px;
  }
}

@media (max-width: 640px) {
  .swiper-slide {
    width: 86vw;
  }

  .headline {
    font-size: clamp(1.2rem, 6.4vw, 1.8rem);
  }

  .brand-fixed {
    top: 16px;
    left: 16px;
  }

  .lang-fixed {
    top: 16px;
    right: 16px;
  }

}
