/* ==========================================================================
   PRIVÉ - ULTRA PREMIUM UI
   Minimalist, high fashion typography, brutalist dark mode
   ========================================================================== */

:root {
  --bg: #030305;
  --surface: #0a0a0c;
  --text-main: #f0f0f0;
  --text-muted: #888;
  --accent: #c4a962; /* Classy muted gold */
  --accent-glow: rgba(196, 169, 98, 0.15);
  --green: #10b981;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.prive-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--accent);
}

.logo-icon {
  width: 20px;
  height: 20px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stories */
.stories-section {
  padding: 24px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stories-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 20px 8px;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.stories-track::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.story-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #c4a962, #6b5c35, #111);
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
}

.story-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Grid */
.grid-section {
  padding: 32px 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.op-card {
  position: relative;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.op-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 30%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
}

.op-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.op-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
}

.op-ext {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* Audio Player */
.audio-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.play-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.play-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-grow: 1;
  height: 16px;
}

.bar {
  width: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
  transition: background 0.2s;
}

.audio-ui.is-playing .bar {
  background: var(--accent);
  animation: equalize 0.5s infinite alternate ease-in-out;
}

.audio-ui.is-playing .bar:nth-child(even) { animation-delay: 0.1s; }
.audio-ui.is-playing .bar:nth-child(3n) { animation-delay: 0.2s; }

@keyframes equalize {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

.time-str {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Action Button */
.call-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Footer */
.prive-footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.75rem;
  color: #555;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.prive-footer p {
  margin-bottom: 6px;
}

/* Mobile Dock */
.mobile-dial-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  z-index: 999;
}

.dial-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .op-card {
    height: 500px;
  }
  .mobile-dial-dock {
    padding: 12px 16px 24px;
  }
}
