:root {
  --text-dark: #1a1a2e;
  --text-soft: #333;
  --card-bg: rgba(255, 255, 255, 0.4);
  --card-line: rgba(255, 255, 255, 0.6);
  --btn-bg: rgba(255, 255, 255, 0.8);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("BLOONSk.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.layout {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.card {
  width: min(920px, 100%);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 40px);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  color: var(--text-dark);
  font-size: clamp(2rem, 7vw, 2.9rem);
  margin: 0 0 10px;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.lead {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin: 0 0 25px;
}

.hero-photo {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-photo:hover {
  transform: scale(1.03) rotate(2deg);
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  background: var(--btn-bg);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background: #fff;
  transform: scale(1.1);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.btn-party {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  animation: float 3s ease-in-out infinite;
}

.btn-party:hover {
  animation: none;
}

@media (max-width: 700px) {
  body {
    padding: 10px;
  }

  .card {
    width: 100%;
    padding: 20px 14px;
  }

  .hero-photo {
    width: 100%;
  }

  .button-container {
    gap: 10px;
  }
}
