* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
}

/* ======================
   LAYOUT
   ====================== */

.page {
  display: flex;
  min-height: 100vh;
}

/* ======================
   HEADER / TOP
   ====================== */

.site-header {
  position: absolute;
  top: 16px;
  left: 46px;
  z-index: 10;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 28px;
}

.site-brand span {
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #25F4EE,
    #ffffff 40%,
    #FE2C55 70%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tiktok-icon {
  width: 64px;
  height: 64px;
}

/* ======================
   LOGIN BUTTON
   ====================== */

.login-button {
  position: absolute;
  top: 16px;
  right: 46px;
  z-index: 10;
}

.login-button a {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #25F4EE, #FE2C55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-button a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ======================
   LEFT (COLLAGE)
   ====================== */

.left {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 46px;
  padding-top: 80px;
}

.collage {
  width: 420px;          /* уменьшен */
  height: 540px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  border-radius: 14px;
  overflow: hidden;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================
   RIGHT (CONTENT)
   ====================== */

.right {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.right h2 {
  font-size: 22px;
  font-weight: 400;
  color: #ccc;
}

/* ======================
   CHOICE BUTTONS
   ====================== */

.choice-wrapper {
  display: flex;
  width: 320px;
  height: 52px;
  margin-top: 28px;
  margin-bottom: 28px; /* важно: текст начинается под кнопками */
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #25F4EE 0%,
    #25F4EE 48%,
    #FE2C55 52%,
    #FE2C55 100%
  );
}

.choice-half {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.choice-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.choice-half:hover::after {
  opacity: 1;
}

/* ======================
   ABOUT
   ====================== */

.about {
  padding: 80px 60px;
}

.about-inner {
  max-width: 880px;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color: #9b9a9a;
  margin-bottom: 22px;
}

/* ======================
   FOOTER
   ====================== */

.site-footer {
  width: 100%;
  background: #0c0c0c;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  font-size: 14px;
  color: #b5b5b5;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 13px;
  color: #7a7a7a;
}

.footer-disclaimer {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

/* ======================
   MOBILE
   ====================== */

@media (max-width: 768px) {

  .page {
    flex-direction: column;
  }

  .site-header {
    left: 50%;
    transform: translateX(-50%);
  }

  .login-button {
    right: 24px;
    top: 14px;
  }

  .left {
    padding-left: 0;
    padding-top: 72px;     /* коллаж выше */
    justify-content: flex-start;
    align-items: center;
  }

  .collage {
    width: 86vw;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
  }

  .right {
    padding: 32px 24px;
    text-align: center;
  }

  .right h1 {
    font-size: 34px;
  }

  .right h2 {
    font-size: 18px;
  }

  .choice-wrapper {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .about {
    padding: 48px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
}
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;           /* ✅ скрыта по умолчанию */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.contact-modal.active {
  display: flex;           /* ✅ показывается ТОЛЬКО по клику */
}
.contact-window {
  position: relative;
  background: #111;
  padding: 32px 28px;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.contact-close:hover {
  color: #fff;
}

