/* ===============================
   :ROOT — кольори та градієнти
=============================== */
:root {
  --blood-red: #6A1101;
  --black-bean: #240602;
  --licorice: #180500;
  --licorice-2: #210601;
  --licorice-3: #1A0705;

  /* Градієнти */
  --gradient-main: linear-gradient(
  to bottom,
  var(--blood-red) 0%,
  var(--blood-red) 20%,
  var(--black-bean) 60%,
  var(--licorice-2) 100%
);

/* Градієнти */
--gradient-main-2: linear-gradient(
  to top,
  var(--blood-red) 0%,
  var(--blood-red) 20%,
  var(--black-bean) 60%,
  var(--licorice-2) 100%
);

}

/* ===============================
   БАЗОВА ТИПОГРАФІКА
=============================== */
html, body {
  font-family: "Ubuntu", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
}
body.inner { 
  margin: 0;
  background: var(--gradient-main-2) no-repeat center center fixed;
  background-size: cover;
  background-color: #000; /* або будь-який запасний колір */
}
.card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffffe0;
  border: 4px solid #00000075;
  height: 100%;
}

.btn.btn-danger {
  display: inline-block !important;
  border: 2px solid #dc3545 !important;
  color: #dc3545 !important;
  background: transparent !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease !important;
}

.btn.btn-danger:hover {
  background: #dc3545 !important;
  color: var(--black-bean) !important;
  transform: translateY(-1px) !important;	
}
.btn.btn-primary {
  display: inline-block !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  background: transparent !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease !important;
}

.btn:hover {
  background: #fff !important;
  color: var(--black-bean) !important;
  transform: translateY(-1px) !important;	
}

a {
  text-decoration: underline !important;
  color: #fff !important;
}
a:hover {
  color: #9b1800 !important;
}

.form-check-input {
    border-color: var(--black-bean) !important;
}

.form-check-input:checked {
    background-color: var(--blood-red) !important;
    border-color: var(--black-bean) !important;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 6, 2, 0.5); /* 0.5 = 50% прозорості */
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   ВІДСТУП ДЛЯ КОНТЕНТУ ПІСЛЯ ФІКСОВАНОГО NAVBAR
=============================== */
#app > .content-wrapper {
  padding-top: 4rem; /* висота навбару */
}

/* ===============================
   ВІДЕО-ФОН
=============================== */
.video-background {
  position: relative;
  width: 100%;
  height: 83.2vh;
  overflow: hidden;

  /* центрування контенту */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  text-align: center;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2; /* позаду оверлею та контенту */
}

/* Темний напівпрозорий шар поверх відео */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

/* Контент поверх відео */
.video-background .content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 980px;
}
/* ===============================
   HERO WRAPPER — виправлення ширини тексту
=============================== */
.hero-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  text-align: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
  padding: 2rem 1rem;
}

.hero-wrapper .content.hero {
  flex: 1 1 auto;
  min-width: 65%;        /* центральний блок завжди має багато місця */
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.hero-side {
  flex: 0 0 auto;
  max-width: 300px;
  position: relative;
  text-align: center;
}

.hero-side img {
  max-height: 380px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Середні екрани */
@media (max-width: 1200px) {
  .hero-side {
    max-width: 220px;
  }
  .hero-side img {
    max-height: 280px;
  }
  .hero-wrapper .content.hero {
    min-width: 70%;
  }
}

/* Планшети */
@media (max-width: 992px) {
  .hero-wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-side {
    order: 2;
    margin: 0 auto !important;
  }
  .hero-wrapper .content.hero {
    min-width: 100%;
    max-width: 100%;
  }
}

/* Мобільні */
@media (max-width: 768px) {
  .hero-side {
    display: none !important;
  }
  .hero-wrapper {
    gap: 20px;
    padding: 1rem;
  }
}
/* ===============================
   ГЕРОЙ-СТИЛІ
=============================== */
.hero-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-text {
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.6;
  margin: 0.35rem 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero-code {
  background: rgba(0,0,0,.35);
  padding: .15rem .4rem;
  border-radius: .35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: #fff;
  cursor: pointer;
  position: relative;
  user-select: all;
}

.copy-tooltip {
  position: absolute;
  top: -1.5rem;          /* над кодом */
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
  z-index: 10;
}

.copy-tooltip.show-tooltip {
  opacity: 1;
}

.hero-code.show-tooltip .copy-tooltip {
  opacity: 1;
}

.hero-actions {
  margin-top: 1.15rem;
}

/* Кнопки «біла привид-кнопка» */
.btn-ghost-light {
  display: inline-block;
  padding: .85rem 1.25rem;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--black-bean);
  transform: translateY(-1px);
}

.btn-lg { font-size: 1.05rem; }

/* Адаптивність */
@media (max-width: 480px){
  .hero-title { font-size: 26px; }
  .hero-text  { font-size: 16px; }
}
.server-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
	background: var(--black-bean);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}
