﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg-1: #0f172a;
  --bg-2: #0b3b3b;
  --card: #0f1f24;
  --card-edge: rgba(255,255,255,0.06);
  --text: #e9f1f4;
  --muted: #9bb1b9;
  --accent: #ffb703;
  --accent-2: #00c2a8;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, #1b4965 0%, transparent 60%),
              radial-gradient(900px 600px at 110% 10%, #134e4a 0%, transparent 55%),
              linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  z-index: 0;
}

body::before {
  background: #22c55e;
  top: -120px;
  left: -120px;
}

body::after {
  background: #f97316;
  bottom: -140px;
  right: -120px;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.screen { display: block; }

.hidden { display: none; }

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  letter-spacing: 0.2px;
  margin: 10px 0 12px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  margin: 0 0 12px;
  color: #d6eef3;
}

.stepper {
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 12px;
}

.context {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.card {
  background: color-mix(in srgb, var(--card) 85%, #0b1418 15%);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.hint {
  font-size: 12px;
  color: #7d98a1;
  margin-top: 6px;
}

input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 30, 36, 0.7);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea { resize: none; }

input::placeholder, textarea::placeholder { color: #7d98a1; }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0,194,168,0.2);
}

button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #1c1302;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button:hover { transform: translateY(-1px); }

button:disabled {
  background: #6b6b6b;
  color: #e6e6e6;
  cursor: not-allowed;
  transform: none;
}

button.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

button.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,0.12);
}

.actions {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.status {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

textarea.is-invalid, input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.2);
}

.hint.is-invalid {
  color: var(--danger);
}

.banner {
  margin-bottom: 12px;
}

.banner img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.photo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.photo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.photo-item img,
.photo-item video {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.photo-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  padding: 0;
  background: rgba(0,0,0,0.6);
  color: white;
}

#subscriptionCheck {
  border-left: 4px solid var(--accent-2);
}

#subscriptionCheck a {
  color: var(--accent);
  text-decoration: none;
}

#subscriptionCheck a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  h1 { font-size: 22px; }
  h2 { font-size: 16px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
