@font-face {
  font-family: 'FashionBitmap';
  src: url('../fronts/FashionBitmap16_0.091.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  touch-action: manipulation;
}

body {
  background-color: #000000;
  font-family: 'FashionBitmap', sans-serif;
  color: #fff;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

#particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
  pointer-events: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.back-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, rgba(230, 33, 60, 0.2), rgba(0,0,0,0.8));
  color: #fff;
  border: 2px solid rgba(230, 33, 60, 0.5);
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 30px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: 'FashionBitmap', sans-serif;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  animation: pulseBtn 2s infinite alternate ease-in-out;
}

@keyframes pulseBtn {
  0% { box-shadow: 0 0 10px rgba(230, 33, 60, 0.3); }
  100% { box-shadow: 0 0 20px rgba(230, 33, 60, 0.6); }
}

.back-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

.back-btn:active::after,
.back-btn.touched::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.back-btn br + span {
  font-size: calc(1rem - 2px);
  opacity: 0.8;
}

.back-btn:hover,
.back-btn:active,
.back-btn:focus {
  background: linear-gradient(135deg, rgba(230, 33, 60, 0.5), rgba(230, 33, 60, 0.2));
  border-color: #e6213c;
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 30px rgba(230, 33, 60, 1), 0 0 10px rgba(230, 33, 60, 0.8) inset;
  outline: none;
}

.logo-container {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: logoFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.logo:hover {
  transform: scale(1.05);
}

h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  margin-bottom: 8px;
  background: linear-gradient(to right, #e6213c, #ff0022);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(230, 33, 60, 0.5), 0 0 20px rgba(230, 33, 60, 0.3);
  font-family: 'FashionBitmap', sans-serif;
  line-height: 1.2;
  transition: all 0.2s ease;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: titleFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

@keyframes titleFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

h1::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 2px;
  background: #ff0022;
  box-shadow: 0 0 10px #ff0022;
  animation: titleParticle 3s infinite linear;
  opacity: 0.5;
}

@keyframes titleParticle {
  0% { transform: translate(-50%, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -20px) scale(1.5); opacity: 1; }
  100% { transform: translate(-50%, -40px) scale(0); opacity: 0; }
}

h1:active {
  animation: titleBlink 0.3s steps(1) forwards;
}

@keyframes titleBlink {
  0% { text-shadow: 0 0 10px rgba(230, 33, 60, 0.5); }
  50% { text-shadow: 0 0 20px rgba(230, 33, 60, 1); }
  100% { text-shadow: 0 0 10px rgba(230, 33, 60, 0.5); }
}

h1 br + span {
  font-size: calc(clamp(1.8rem, 6vw, 3rem) - 2px);
  opacity: 0.8;
  display: block;
  margin-top: 5px;
}

.video-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(230, 33, 60, 0.1));
  border: 1px solid rgba(230, 33, 60, 0.3);
  border-radius: 15px;
  padding: 15px;
  width: 100%;
  margin: 0 auto 30px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: videoFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

@keyframes videoFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.video-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 33, 60, 0.3), transparent);
  transform: rotate(45deg);
  transition: opacity 0.8s ease;
  opacity: 0;
  z-index: 1;
}

.video-container::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to left, transparent, rgba(230, 33, 60, 0.4), transparent);
  transform: rotate(-45deg);
  transition: opacity 0.8s ease;
  opacity: 0;
  z-index: 1;
}

.video-container:hover {
  box-shadow: 0 15px 40px rgba(230, 33, 60, 0.6), 0 0 20px rgba(230, 33, 60, 0.4) inset;
  border-color: #ff0022;
  transform: translateY(-5px);
  transition: all 0.6s ease;
}

.video-container:hover::before,
.video-container:hover::after {
  opacity: 1;
  animation: cardLight 3s linear infinite;
}

@keyframes cardLight {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  z-index: 2;
  pointer-events: auto;
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: transparent;
  pointer-events: auto;
}

.video-poster.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
  controls: none;
  disablePictureInPicture: true;
  disableRemotePlayback: true;
}

video::-webkit-media-controls,
video::-moz-media-controls,
video::-ms-media-controls {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}

@media (max-width: 768px) {
  body {
    padding: 30px 10px;
  }

  .back-btn {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
  
  .back-btn:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 0 20px rgba(230, 33, 60, 1);
  }

  h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 8px;
  }

  .logo {
    max-width: 200px;
  }

  .video-container {
    padding: 10px;
  }

  .back-btn {
    animation-duration: 3s;
  }
}