* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, main {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0a0a0a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
}

/* ЗАСТАВКА-АКТИВАТОР */
#welcome-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.choose-title {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
}

.choose-buttons {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.world-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 8px 16px;
}

.world-btn:hover {
  transform: scale(1.1);
}

/* ДЕСКТОП */
.desktop-view {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.mobile-view {
  display: none;
}

.panel {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#anime-links,
#real-links {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 18px;
  z-index: 10;
}

#anime-links { left: 8%; }
#real-links { right: 8%; }

/* ССЫЛКИ ПЛАТФОРМ */
.dynamic-link-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.dynamic-link-item:hover {
  transform: scale(1.05);
}

.platform-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
  flex-shrink: 0;
}

.link-title-styled {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
}

.link-badges-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.payment-icon {
  height: 22px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.payment-icon.crypto {
  height: 26px;
}

/* ===== СОЦИАЛЬНЫЕ СЕТИ ===== */
#social-bar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* появляется после активации */
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  z-index: 50;
  padding: 10px 20px;
}

#social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

#social-bar a:hover {
  transform: scale(1.2);
  opacity: 1;
}

#social-bar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8)) brightness(1.1);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media screen and (max-width: 768px) {
  .desktop-view {
    display: none !important;
  }

  .mobile-view {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #111;
  }

  #mobile-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  #mobile-links {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 90%;
    max-width: 380px;
    z-index: 10;
  }

  .platform-icon {
    width: 28px;
    height: 28px;
  }

  .link-title-styled {
    font-size: 1.6rem;
  }

  .payment-icon {
    height: 20px;
  }

  .payment-icon.crypto {
    height: 24px;
  }

  /* Социальные сети — 2 строки на мобиле */
  #social-bar {
    bottom: 20px;
    gap: 10px 12px;
    
    max-width: 280px;
    row-gap: 14px;
  }

  #social-bar img {
    width: 20px;
    height: 20px;
  }
}