/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ffd700;
  --secondary-color: #0066ff;
  --accent-color: #ff6b00;
  --dark-bg: #0a0a0a;
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --telegram-color: #0088cc;
  --instagram-gradient: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  --whatsapp-color: #25d366;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: url("bg-gradient.webp");
  background-size: 110% 110%;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Fix for mobile background */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-size: 110% 105%;
    background-position: center 10%;
  }
}

/* Floating Social Buttons */
.social-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.social-btn:hover {
  transform: scale(1.1);
  animation: none;
}

.social-btn.telegram {
  background: var(--telegram-color);
}

.social-btn.instagram {
  background: var(--instagram-gradient);
}

.social-btn.whatsapp {
  background: var(--whatsapp-color);
}

.social-btn.custom-btn {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.btn-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Pulsing Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease;
}

.logo img {
  max-width: 350px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Banner */
.banner {
  width: 100%;
  max-width: 500px;
  margin-bottom: 25px;
  animation: fadeIn 1s ease;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Content Section */
.content {
  width: 100%;
  max-width: 600px;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.promo-text {
  margin-bottom: 20px;
}

.promo-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-light);
  text-transform: uppercase;
}

.promo-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-gray);
  line-height: 1.4;
}

.highlight {
  color: var(--accent-color);
  font-weight: 900;
  font-size: 1.6rem;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.vip-badge {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 5px 15px;
  border-radius: 25px;
  font-weight: 900;
  color: #ffff;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Requirements */
.requirements {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.apple-icon,
.android-icon {
  opacity: 0.9;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0052cc 100%);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 20px;
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-top: auto;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo img {
    max-width: 200px;
  }

  .banner {
    max-width: 100%;
    border-radius: 15px;
  }

  .banner img {
    border-radius: 15px;
  }

  .promo-text h2 {
    font-size: 1.4rem;
  }

  .promo-text h3 {
    font-size: 1.1rem;
  }

  .highlight {
    font-size: 1.6rem;
  }

  .requirements {
    flex-direction: row;
    gap: 15px;
  }

  .requirement {
    font-size: 0.8rem;
  }

  .social-buttons {
    right: 10px;
  }

  .social-btn {
    width: 45px;
    height: 45px;
  }

  .btn {
    font-size: 1rem;
    padding: 14px 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .logo img {
    max-width: 150px;
  }

  .banner {
    max-width: 280px;
  }

  .promo-text h2 {
    font-size: 1rem;
  }

  .promo-text h3 {
    font-size: 0.8rem;
  }

  .requirements {
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
  }

  .requirement {
    font-size: 0.6rem;
  }

  .highlight {
    font-size: 1.2rem;
  }

  .social-buttons {
    right: 5px;
    gap: 10px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-btn svg {
    width: 20px;
    height: 20px;
  }

  .btn {
    font-size: 0.7rem;
    padding: 14px 30px;
  }
}

@media (max-width: 360px) {
  .logo img {
    max-width: 130px;
  }

  .btn {
    font-size: 0.9rem;
    padding: 12px 25px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .logo h1 {
    -webkit-text-fill-color: var(--primary-color);
  }
}
