:root {
  /* Градиент фона */
  --color-background-top: #FFEDF5;
  --color-background-bottom: #B488F1;

  /* Навигационная панель */
  --color-hover-current-page: #38001B;
  --color-text-current-page: #FD589E;

  /* Цвет карточек СМИ */
  --color-card-media: #ffffff23;
}

body {
  color: #38001B; /* Цвет текста */
  scroll-behavior: smooth
}

@media (min-width: 640px) {
  .video-center-row {
    margin-top: 16vh;
  }
}

@media (max-width: 640px) {
  .video-fullscreen-mobile {
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-fullscreen-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.90);
    z-index: 0;
    pointer-events: none;
    border-radius: 0 !important;
  }
  .video-fullscreen-mobile > video,
  .video-fullscreen-mobile > button {
    position: relative;
    z-index: 1;
  }
  .video-fullscreen-mobile video {
    width: 100vw !important;
    height: auto !important;
    max-height: 100vh !important;
    object-fit: contain;
    border-radius: 0 !important;
    display: block;
  }
}

.tilt-card {
  perspective: 700px;
  will-change: transform;
}

.tilt-gloss {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.04) 80%);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.tilt-card.tilted .tilt-gloss {
  opacity: 1;
}