:root {
  --primary: #D81B60;
  --primary-light: #F8BBD0;
  --primary-dark: #3D0017;
  --secondary: #FF6F61;
  --secondary-light: #FFDAD6;
  --secondary-dark: #3E1414;
  --tertiary: #EC407A;
  --tertiary-light: #FFD9E3;
  --tertiary-dark: #3E0019;
  --background: #FFF8F7;
  --surface: #FFFBFF;
  --surface-high: #F5E3E6;
  --on-surface: #2D1619;
  --on-surface-variant: #524245;
  --outline: #D1A5AA;
  --error: #BA1A1A;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #FF6B9D 0%, #FFB88C 100%);
  background-attachment: fixed;
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D81B60, #FF6F61);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-emoji {
  font-size: 24px;
  display: block;
}

.nav__logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: opacity 0.3s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav__menu a:hover {
  opacity: 0.8;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.hero {
  padding: 140px 0 100px;
  background: transparent;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hearts-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.heart {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  color: white;
  will-change: transform, opacity;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0) scale(0.8);
    opacity: 0;
  }
  5% {
    opacity: 0.25;
  }
  95% {
    opacity: 0.25;
  }
  100% {
    transform: translateY(-10vh) translateX(var(--drift-x, 0)) scale(1);
    opacity: 0;
  }
}

.hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.hearts-inline {
  display: inline-block;
  margin-left: 0.5rem;
}

.hero__subtitle {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 0.95;
}

.hero__description {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.9;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-icon {
  font-size: 1.2rem;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section__title.animate {
  opacity: 1;
  transform: translateY(0);
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: white;
  margin: 1rem auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section__title.animate::after {
  transform: scaleX(1);
}

.features {
  padding: 80px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature__card {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8FA3 100%);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s;
  color: white;
  box-shadow: 0 4px 20px rgba(216, 27, 96, 0.2);
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature__card:nth-child(2) {
  background: linear-gradient(135deg, #FF8FA3 0%, #FFB88C 100%);
}

.feature__card:nth-child(3) {
  background: linear-gradient(135deg, #EC407A 0%, #FF6B9D 100%);
}

.feature__card:nth-child(4) {
  background: linear-gradient(135deg, #FF6F61 0%, #FF8FA3 100%);
}

.feature__card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(216, 27, 96, 0.3);
}

.feature__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.feature__description {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.games {
  padding: 80px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game__card {
  background: var(--primary);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  transition: all 0.3s;
  text-align: center;
  color: white;
  box-shadow: 0 4px 20px rgba(216, 27, 96, 0.25);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px) rotateY(-15deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.game__card.animate {
  opacity: 1;
  transform: translateY(0) rotateY(0deg);
}

.game__card:nth-child(2) {
  background: #8B1538;
}

.game__card:nth-child(3) {
  background: var(--primary);
}

.game__card:nth-child(4) {
  background: var(--primary);
}

.game__card:nth-child(5) {
  background: var(--primary);
}

.game__card:nth-child(6) {
  background: var(--primary);
}

.game__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.game__card:hover::before {
  opacity: 1;
}

.game__card:hover {
  transform: translateY(-8px) scale(1.02) rotateY(0deg);
  box-shadow: 0 12px 40px rgba(216, 27, 96, 0.35);
}

.game__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.game__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  position: relative;
  z-index: 1;
}

.game__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.cta {
  padding: 120px 0;
  background: transparent;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta__tagline {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.cta__description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  color: white;
}

.cta__download {
  margin-bottom: 2rem;
}

.cta__download-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.app-store-btn,
.google-play-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #000000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #1a1a1a;
}

.app-store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.google-play-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.app-store-text,
.google-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.app-store-text-small,
.google-play-text-small {
  font-size: 0.65rem;
  opacity: 0.9;
  font-weight: 400;
}

.app-store-text-large,
.google-play-text-large {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer {
  background: rgba(45, 22, 25, 0.8);
  backdrop-filter: blur(10px);
  color: var(--surface);
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo .logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D81B60, #FF6F61);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer__logo .logo-emoji {
  font-size: 24px;
  display: block;
}

.footer__brand .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.footer__description {
  color: var(--outline);
  line-height: 1.6;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--outline);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer__contact-item:hover {
  color: var(--primary-light);
}

.footer__instagram-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__contact-text {
  color: inherit;
}

.footer__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--surface);
}

.footer__legal-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.footer__legal-links {
  list-style: none;
  flex: 1;
}

.footer__legal-links li {
  margin-bottom: 0.5rem;
}

.footer__legal-links a {
  color: var(--outline);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
}

.footer__legal-links a:hover {
  color: var(--primary-light);
}

.footer__links a {
  color: var(--outline);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--outline);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
  }

  .nav__menu a {
    color: var(--on-surface);
  }

  .nav__menu.active {
    left: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.3rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .features__grid,
  .games__grid {
    grid-template-columns: 1fr;
  }

  .cta__title {
    font-size: 2rem;
  }

  .cta__description {
    font-size: 1.1rem;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-store-btn,
  .google-play-btn {
    width: 100%;
    max-width: 200px;
  }

  .footer__content {
    grid-template-columns: 1fr;
  }

  .footer__legal-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
  }
}

