/* PartySpark Styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0c0c0f;
  color: white;
}

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

.hero {
  text-align: center;
  margin-bottom: 30px;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 0 0 20px #ff2be6, 0 0 40px #3bc7ff;
  animation: glow 3s infinite ease-in-out;
}

@keyframes glow {
  0% { box-shadow: 0 0 10px #ff2be6, 0 0 20px #3bc7ff; }
  50% { box-shadow: 0 0 30px #ff2be6, 0 0 60px #3bc7ff; }
  100% { box-shadow: 0 0 10px #ff2be6, 0 0 20px #3bc7ff; }
}

.title {
  font-size: 2.4rem;
  margin: 10px 0 0 0;
  font-weight: 700;
}

.subtitle {
  opacity: 0.7;
  margin-top: 5px;
}

.card {
  background: #14141a;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}

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

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.screenshot {
  height: 180px;
  background: #22222a;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  font-size: 0.9rem;
}

.screenshot img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 14px;
box-shadow: 0 6px 25px rgba(0,0,0,0.6);
transform: scale(1);
transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.screenshot img:hover {
transform: scale(1.06);
box-shadow: 0 10px 35px rgba(63,203,255,0.45);
filter: brightness(1.15) saturate(1.2);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.store-btn {
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #ff2be6, #3bc7ff);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.store-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(255,255,255,0.35);
}

.footer {
  margin-top: 30px;
  text-align: center;
  opacity: 0.7;
}

.footer a {
  margin: 0 10px;
  color: #3bc7ff;
  text-decoration: none;
}

.fade-in {
  animation: fadeIn 1.2s ease both;
}

.slide-up {
  animation: slideUp 1s ease both;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

/* === MODAL CONTENT === */
.modal-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  object-fit: contain;
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* === CLOSE BUTTON === */
.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 28px;
  cursor: pointer;
  color: white;
  opacity: 0.8;
  padding: 6px 10px;
  border-radius: 6px;
}

.close-btn:hover {
  opacity: 1;
}

/* === NAV BUTTONS === */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.25);
}

.nav-btn.prev {
  left: -60px;
}

.nav-btn.next {
  right: -60px;
}

@media (min-width: 900px) {
.screenshot img {
object-fit: cover;
object-position: center;
}


/* In modal: show narrower phone-like size */
#screenshot-modal img {
max-width: 32vw;
max-height: 90vh;
object-fit: cover;
object-position: center;
border-radius: 20px;
}
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .nav-btn.prev { left: -10px; }
  .nav-btn.next { right: -10px; }
  .close-btn { top: -35px; font-size: 24px; }
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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