/* shirt.watch — Dark mode, hype drop aesthetic */
/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --text: #f0f0f0;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --hot: #ff6b6b;
  --hot-glow: rgba(255, 107, 107, 0.3);
  --border: #222222;
  --success: #22c55e;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* Header — minimal top bar */
.header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo .dot { color: var(--accent); }
.header-links { display: flex; gap: 16px; align-items: center; }
.header-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.header-links a:hover { color: var(--text); text-decoration: none; }

/* Main content */
.main-content { padding: 0 0 40px; }

/* Countdown bar */
.countdown-bar {
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.countdown-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
#countdown-time {
  font-family: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
}

/* Hero design section */
.hero-design {
  padding: 30px 0 0;
}
.design-image-wrap {
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.design-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--hot);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px var(--hot-glow);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Design info */
.design-info { padding: 0 4px; }
.design-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.design-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.design-meta {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

/* Selectors row */
.selectors {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}
.selector-group { flex: 1; }
.selector-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.size-options, .color-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.size-option, .color-option { cursor: pointer; }
.size-option input, .color-option input { display: none; }

.size-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.size-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}
.size-option input:checked + .size-btn {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Color swatches */
.color-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  gap: 6px;
}
.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.15);
}
.color-btn { color: var(--text-muted); }

.color-btn:hover { border-color: var(--text-muted); color: var(--text); }
.color-option input:checked + .color-btn {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Buy button */
.buy-section {
  margin-bottom: 24px;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.shipping-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.buy-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.buy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
  filter: brightness(1.1);
}
.buy-btn:active:not(:disabled) {
  transform: translateY(0);
}
.buy-btn:disabled, .buy-btn.disabled {
  background: var(--bg-elevated);
  color: var(--text-dim);
  cursor: not-allowed;
  box-shadow: none;
}

/* Share row */
.share-row {
  display: flex;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.share-btn {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.share-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* Divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Yesterday section */
.yesterday-section {
  padding: 0 4px;
}
.yesterday-header {
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.yesterday-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  opacity: 0.6;
}
.yesterday-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(0.5);
}
.yesterday-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-muted);
}
.retired-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 107, 0.15);
  color: var(--hot);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Email signup */
.signup-section {
  padding: 32px 0;
}
.signup-box {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.signup-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.signup-box p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.email-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 12px;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input[type="email"]:focus {
  border-color: var(--accent);
}
.email-form input[type="email"]::placeholder {
  color: var(--text-dim);
}
.email-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.email-form button:hover { filter: brightness(1.15); }
.signup-box small { color: var(--text-dim); font-size: 0.75rem; }

#signupMessage {
  font-size: 0.85rem;
  padding: 8px;
  border-radius: 6px;
}
#signupMessage.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

/* Coming Soon state */
.coming-soon {
  text-align: center;
  padding: 80px 20px;
}
.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.2;
}
.coming-soon h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.coming-soon p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-tagline {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); text-decoration: none; }

/* Toast / notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-elevated);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Page content (about, legal, etc.) */
.page-content {
  padding: 30px 4px 40px;
}
.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.page-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.page-content ul, .page-content ol {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 12px;
}
.page-content li { margin-bottom: 6px; }
.back-link {
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* Legal pages */
.legal-updated {
  color: var(--text-dim) !important;
  font-size: 0.8rem !important;
  margin-bottom: 24px !important;
}
.legal-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* About page steps */
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.step h3 {
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 6px;
}
.step p {
  font-size: 0.8rem !important;
  margin-bottom: 0;
}

/* Success check icon */
.check-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image carousel */
.design-image-wrap {
  position: relative;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  backdrop-filter: blur(4px);
}
.design-image-wrap:hover .carousel-btn {
  opacity: 1;
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.carousel-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .selectors { gap: 16px; }
  .design-info h2 { font-size: 1.3rem; }
  .email-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .share-row { flex-wrap: wrap; }
  .step-grid { grid-template-columns: 1fr; }
  .carousel-btn { opacity: 0.7; }
}

/* Admin pages keep their own inline styles, but basic overrides */
.admin-container { color: #333; }
