*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, serif;
  background: #000;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 755px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
/* === Блокировка на десктопах === */
/* === Блокировка горизонтального режима === */
@media screen and (orientation: landscape) {
  body::before {
    content: "Открывай только на телефоне 📴, либо звони и жалуйся на меня Мише, что я плохой.";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    color: black;
    font-size: 18px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }
}


/* === Секции mast === */
.mast {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  max-width: 755px;
  margin: 0 auto 0.1em;
  color: #ffffff;
  --shadow-opacity: 0.3;
}

.mast::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--shadow-opacity));
  transition: background 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.mast__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade-in 1.5s ease forwards;
  z-index: 0;
}

.mast__header {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 755px;
  text-align: center;
  padding: 20px;
  top: 0;
  transition:
    clip-path 2s ease-out,
    opacity 2s ease 0.5s,
    transform 2s ease;
}

.mast__pretitle {
  font-size: 2em;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0em;
  margin-bottom: 0.3em;
}

.mast__title0 {
  font-size: 1.5em;
  line-height: 1.3;
}
.mast__title1{
  font-size: 1.1em;
  line-height: 1.3;
}

.mast__title2{
  font-size: 1.3em;
  line-height: 1.3;
}

.date {
  font-size: 1.1em !important;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.date {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 10px;
  color: #fff; /* если фон тёмный */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* для читаемости */
}

.glow-link {
  color: rgb(229, 255, 0);
}


.wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date1 {
  font-size: 2em; /* увеличь значение по желанию */
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-top: 0.5em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* для контраста на фоне */
}

.button {
  text-decoration: none;
  min-width: 70px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #313133;
  background: linear-gradient(90deg, rgb(207, 207, 20) 0%, rgb(207, 207, 20) 100%);
  border: none;
  border-radius: 700px;
  padding: 6px 14px;
  cursor: pointer;
  outline: none;
  position: relative;
  box-shadow: 12px 12px 24px rgb(207, 207, 20);
  transition: transform 0.3s ease-in-out;
}

.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: calc(70px + 20px);
  min-height: calc(30px + 20px);
  border-radius: 500px;
  border: 6px solid #7eff22;
  box-shadow: 0 0 60px rgba(93, 200, 21, 0.64);
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  border: 6px solid #a0ea18;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.6;
  animation: ring 2s ease-out infinite;
  animation-delay: 0.6s;
  z-index: -1;
}

.button:hover,
.button:focus {
  transform: translateY(-4px);
}

.button:hover::before,
.button:focus::before {
  opacity: 1;
}

.button:hover::after,
.button:focus::after {
  animation: none;
  display: none;
}

@keyframes ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}


hr.sep {
  border: 0;
  height: 1px;
  background: #656161;
  margin: 1em auto;
  width: 3em;
}

.intro,
.mast {
  width: 100%;
  height: 100vh;
}
/* === Интро секция === */
.intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
}

.intro__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%),
    url("/фотки/ай бл.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  animation: fade-in-bg 2s ease forwards;
}

.intro__header {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  text-align: center;
  padding: 20px;
  animation: slide-fade-down 1.2s ease-out forwards;
  opacity: 0;
}

.intro__pretitle {
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  animation: slide-fade-down 2s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.intro__title {
  font-size: 2em;
  line-height: 1.3;
  animation: slide-fade-down 1s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* === Анимации === */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-bg {
  to {
    opacity: 1;
  }
}

@keyframes slide-fade-down {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
