/* Standalone styles for the server-rendered /gallery/:id page (views/image.ejs). */
@font-face {
  font-family: 'Pricedown';
  src: url('/assets/pricedown.otf') format('opentype');
  font-display: swap;
}

:root {
  --night: #07030d;
  --night-2: #0d0618;
  --pink: #ff2d78;
  --pink-hot: #ff007f;
  --cyan: #00f0ff;
  --ink: #f5eefc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--night) 0%, #12061f 50%, var(--night) 100%);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ip-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.ip-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.ip-title {
  margin: 0;
  font-family: 'Pricedown', 'Anton', sans-serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}

.ip-title span { color: var(--pink); }

.ip-btn {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1.6rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.ip-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.ip-btn-primary {
  border: none;
  background: linear-gradient(90deg, var(--pink), var(--pink-hot));
  color: #fff;
}
.ip-btn-primary:hover { color: #fff; transform: scale(1.03); }

.ip-viewer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.ip-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px -40px rgba(255, 45, 120, 0.35);
}

.ip-nav {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 6, 24, 0.85);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  text-decoration: none;
  flex: none;
  transition: border-color 0.3s, color 0.3s;
}

.ip-nav:hover { border-color: var(--pink); color: var(--pink); }

.ip-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1.5rem 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

.ip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ip-social {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.ip-social .ip-btn { padding: 0.55rem 1.2rem; font-size: 0.7rem; }

.ip-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
}

.ip-footer a { color: var(--cyan); text-decoration: none; }
.ip-footer a:hover { text-decoration: underline; }
