/* Font and reset */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container */
.container {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 30px;
}

/* Headings */
.title {
  font-size: 14px;
  color: #7a7a7a;
  letter-spacing: 1px;
  font-weight: 500;
}

.main-heading {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0;
  color: #222;
}

.subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}

/* Image Stack */
.image-stack {
  position: relative;
  width: 100%;
  height: 180px;
  margin-bottom: 35px;
}

.card {
  position: absolute;
  width: 100px;
  height: 140px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* Hover effect */
.card:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 5;
}

/* Positioning */
.tilt-left {
  left: 15%;
  bottom: 0;
  transform: rotate(-35deg);
  z-index: 1;
}

.tilt-right {
  right: 15%;
  bottom: 0;
  transform: rotate(35deg);
  z-index: 1;
}

.top-center {
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Button */
button {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #4c77ff, #6e8fff);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #3a5edc, #587bff);
  transform: translateY(-2px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .image-stack {
    height: 160px;
  }

  .container {
     background-color: #ffffff;
  }

  .card {
    width: 90px;
    height: 120px;
  }

  .tilt-left {
    left: 5%;
  }

  .tilt-right {
    right: 5%;
  }

  .top-center {
    top: -10px;
  }

  .main-heading {
    font-size: 24px;
  }

  .subtitle {
    font-size: 14px;
  }
}

/* Desktop view */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
    padding: 40px;
  }

  .image-stack {
    height: 240px;
  }

  .card {
    width: 140px;
    height: 190px;
    padding: 30px;
  }

  .tilt-left {
    left: 10%;
  }

  .tilt-right {
    right: 10%;
  }

  .top-center {
    top: -20px;
  }

  .main-heading {
    font-size: 36px;
  }

  .subtitle {
    font-size: 16px;
  }
}
