/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700;800&family=Fira+Code:wght@400;500;600;700&family=Source+Code+Pro:wght@400;500;600;700;900&family=Space+Mono:wght@400;700&family=Roboto+Mono:wght@400;500;600;700&family=Didot:wght@400;700&display=swap');

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --color-primary-50: #f8f9fa;
  --color-primary-100: #e9ecef;
  --color-primary-500: #000000;
  --color-primary-600: #1a1a1a;
  --color-primary-700: #333333;
  
  --color-secondary-50: #ffffff;
  --color-secondary-100: #f8f9fa;
  --color-secondary-200: #e9ecef;
  
  --color-accent-500: #333333;
  --color-accent-600: #1a1a1a;
  --color-accent-700: #000000;
  
  --font-display: 'Roboto Slab', serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* Base */
body {
  font-family: var(--font-sans);
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 
    0 8px 24px rgba(0,0,0,0.12),
    0 4px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 350px;
  pointer-events: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #16a34a;
}

.toast.error {
  border-left: 4px solid #dc2626;
}

.toast.info {
  border-left: 4px solid #3b82f6;
}

.toast.toast-confirm {
  border-left: 4px solid #f59e0b;
  pointer-events: auto;
  max-width: 350px;
}

.toast-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toast-btn-danger {
  background: #dc2626;
  color: white;
}

.toast-btn-danger:hover {
  background: #b91c1c;
}

.toast-btn-cancel {
  background: #f3f4f6;
  color: #374151;
}

.toast-btn-cancel:hover {
  background: #e5e7eb;
}

@media (max-width: 768px) {
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }
  
  .toast {
    max-width: none;
    font-size: 0.85rem;
    padding: 0.875rem 1rem;
  }
}

/* Vintage banner */
/* Full-screen overlay with blur effect for site entry banner */
.vintage-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism modal for vintage decor question */
.vintage-banner-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* Layered shadows for depth effect */
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  max-width: 800px;
  width: 95%;
  position: relative;
  transform: translateY(-20px);
  animation: vintageSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes vintageSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vintage-banner-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: #333333;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.vintage-banner-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vintage-btn {
  background: none;
  border: 2px solid #333333;
  color: #333333;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect overlay for button hover */
.vintage-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.vintage-btn:hover::before {
  left: 100%;
}

.vintage-btn-yes {
  background: #333333;
  color: white;
  border-color: #333333;
}

.vintage-btn-yes:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.vintage-btn-no:hover {
  background: rgba(51, 51, 51, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Banner mobile */
@media (max-width: 640px) {
  .vintage-banner-content {
    padding: 2.5rem 2rem;
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .vintage-banner-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .vintage-banner-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .vintage-btn {
    width: 100%;
    max-width: 200px;
    padding: 1rem 1.5rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Header */
.simple-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  position: relative;
}

/* Logo */
.text-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-home-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo-home-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.02em;
  margin-top: 5px;
  font-stretch: expanded;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Lamp icon */
.hanging-lamp-container {
  position: absolute;
  top: 100%;
  right: 1rem;
  transform: translateY(-0.625rem);
  z-index: 1000;
}


.hanging-lamp-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
}

.hanging-lamp-button:hover {
  transform: scale(1.05);
}

.hanging-lamp-svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  transition: all 0.2s ease;
}

.hanging-lamp-button:hover .hanging-lamp-svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.lamp-icon:hover .lamp-svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0.25rem;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333333;
  text-decoration: none;
  transform: translateX(4px);
}

.cart-count-badge {
  background: #dc2626;
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 50%;
  margin-left: 0.5rem;
  min-width: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.lamp-cart-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #dc2626;
  color: white;
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 50%;
  min-width: 1.1rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Return to feed button */
.return-btn {
  position: fixed;
  top: 80px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.return-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.return-btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .return-btn {
    top: 70px;
    left: 15px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .return-btn svg {
    width: 12px;
    height: 12px;
  }
}

.dropdown-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 0.5rem 0;
}

/* Container */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.container.centered {
  max-width: 600px;
}

.main-feed {
  width: 100%;
}

.masonry-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
  width: 100%;
}

.left-sidebar,
.right-sidebar {
  display: none;
}

.masonry-item {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(129, 199, 132, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

.post-content {
  position: relative;
}

.post-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  background: #f8f8f8;
}

.post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: end;
  padding: 1.5rem;
}

.masonry-item:hover .post-overlay {
  opacity: 1;
}

.post-info {
  padding: 1.5rem;
}

.post-title {
  font-size: 1.375rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-caption {
  font-size: 1rem;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #666666;
  font-weight: 500;
}

/* Buttons */
.btn-primary, .btn, .btn-secondary, .btn-accent {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-primary-500);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 77, 62, 0.3);
}

.btn-secondary {
  background: var(--color-secondary-100);
  color: var(--color-primary-700);
}

.btn-accent {
  background: var(--color-accent-500);
  color: white;
}

.btn-accent:hover {
  background: var(--color-accent-600);
  animation: pulse-glow 0.5s ease-in-out;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
}

/* Action buttons */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-accent-500);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(210, 105, 30, 0.3);
  transition: all 0.2s ease;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.fab:hover {
  background: var(--color-accent-600);
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(210, 105, 30, 0.4);
}

/* Forms */
.form-control, .form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-control:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-500);
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
  transform: translateY(-1px);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-danger {
  background: #f8f9fa;
  color: #333333;
  border: 1px solid #dee2e6;
}

.alert-success {
  background: #f8f9fa;
  color: #1a1a1a;
  border: 1px solid #dee2e6;
}

.alert-info {
  background: #f8f9fa;
  color: #333333;
  border: 1px solid #dee2e6;
}

/* Comments */
.comment {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Responsive */
.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.mt-5 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.p-3 {
  padding: 0.75rem;
}

.border {
  border: 1px solid #e5e7eb;
}

.rounded {
  border-radius: 0.375rem;
}

/* Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col-6, .col-3, .col-1 {
  padding: 0 0.75rem;
}

.col-6 {
  width: 50%;
}

.col-3 {
  width: 25%;
}

.col-1 {
  width: 8.333333%;
}

@media (max-width: 768px) {
  .col-6, .col-3, .col-1 {
    width: 100%;
  }
}

/* Animations */
@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(210, 105, 30, 0.3); }
  50% { box-shadow: 0 0 30px rgba(210, 105, 30, 0.6), 0 0 40px rgba(210, 105, 30, 0.2); }
}

/* Loading */
.image-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Lists */
.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Polaroid post */
.wide-polaroid-frame {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fdfdfd 100%);
  max-width: 800px;
  margin: 3rem auto 6rem auto;
  padding: 20px;
  padding-bottom: 80px;
  border-radius: 4px;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.25),
    0 40px 80px rgba(0,0,0,0.15),
    0 60px 120px rgba(0,0,0,0.08),
    0 8px 16px rgba(0,0,0,0.12),
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 0 20px rgba(255,255,255,0.3);
  transform: rotate(-0.5deg);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}

.wide-polaroid-photo {
  position: relative;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  margin-bottom: 20px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.04);
}

.wide-post-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  background: #f8f8f8;
}

.wide-polaroid-text {
  padding: 0 15px;
  position: relative;
}

/* Handwritten text */
.polaroid-handwritten {
  position: relative;
}

.handwritten-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #333333;
  margin: 0 0 0.5rem 0;
  font-weight: 400;
  line-height: 1.2;
  transform: rotate(-0.5deg);
}

.handwritten-caption {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  font-style: italic;
  font-family: var(--font-sans);
  font-weight: 300;
  transform: rotate(0.2deg);
}

.handwritten-date {
  font-size: 0.75rem;
  color: #888;
  font-family: var(--font-sans);
  font-weight: 400;
  transform: rotate(-0.3deg);
}

/* Comments header */
.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comments-title {
  font-family: var(--font-display);
  color: #333333;
  margin: 0;
  font-size: 1.5rem;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inline-action-form {
  margin: 0;
  display: inline-block;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.action-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.action-btn.like-action {
  color: #666;
}

.action-btn.like-action.liked {
  color: #333;
}

.action-btn.edit-action {
  color: #666;
}

.action-btn.edit-action:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.08);
}

.action-btn.delete-action {
  color: #999;
}

.action-btn.delete-action:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
}

.action-icon {
  width: 20px;
  height: 20px;
  transition: all 0.2s ease;
}

.heart-filled {
  fill: #333333;
}

.heart-outline {
  fill: #666666;
}

.delete-btn .action-icon {
  fill: #333333;
}

.delete-btn .polaroid-action-icon {
  fill: #999999;
  opacity: 0.5;
}

.delete-btn:hover .polaroid-action-icon {
  fill: #dc2626;
  opacity: 0.8;
}

.post-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-like, .btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.btn-like {
  background: rgba(0, 0, 0, 0.05);
  color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-like:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

/* Post comments */
.comments-section {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fdfdfd 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 4rem auto 2rem auto;
  max-width: 800px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.08),
    0 45px 90px rgba(0,0,0,0.04),
    0 5px 10px rgba(0,0,0,0.08),
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 0 15px rgba(255,255,255,0.3);
  transform: rotate(0.3deg);
  position: relative;
}


.add-comment-form {
  margin-bottom: 2rem;
}

.comment-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  resize: vertical;
  min-height: 80px;
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.02),
    0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.comment-textarea:focus {
  outline: none;
  border-color: #333333;
  box-shadow: 
    0 0 0 3px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0,0,0,0.02),
    0 4px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.btn-comment {
  align-self: flex-start;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-comment:hover {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Comment items */
.comment-item {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.3);
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.04),
    0 8px 16px rgba(0,0,0,0.02),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transform: rotate(-0.1deg);
  transition: all 0.2s ease;
}

.comment-item:nth-child(even) {
  transform: rotate(0.1deg);
}

.comment-item:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 
    0 8px 16px rgba(0,0,0,0.06),
    0 16px 32px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #666666, #333333);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.comment-info {
  display: flex;
  flex-direction: column;
}

.comment-username {
  color: #333333;
  font-size: 0.95rem;
}

.comment-date {
  color: #6b7280;
  font-size: 0.8rem;
}

.btn-comment-delete {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.btn-comment-delete:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  transform: scale(1.1);
}

.comment-text {
  color: #374151;
  line-height: 1.5;
  font-size: 0.95rem;
}

.no-comments {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.no-comments-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Post navigation */
.post-navigation {
  display: flex;
  gap: 0.75rem;
  margin: 2rem auto;
  max-width: 800px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  color: #666;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transform: rotate(-0.5deg);
  position: relative;
}

.nav-btn:nth-child(2) {
  transform: rotate(0.3deg);
}

.nav-btn-primary {
  color: #333;
}

.nav-btn:hover {
  transform: rotate(0deg) translateY(-1px);
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.08),
    0 8px 16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  text-decoration: none;
}

.nav-btn-secondary:hover {
  color: #333;
}

/* Icons */
.fa-heart::before {
  content: 'e';
}

.fa-trash::before {
  content: '=�';
}

/* Header mobile */
@media (max-width: 768px) {
  .header-content {
    padding: 1rem 1rem 1.5rem 1rem;
    min-height: 85px;
  }
  
  .logo-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
  }
  
  .logo-subtitle {
    font-size: 0.6rem;
    margin-top: 0.15rem;
  }
  
  .hanging-lamp-container {
    right: 0.5rem;
    transform: translateY(-1rem);
  }
  
  .hanging-lamp-button {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hanging-lamp-svg {
    width: 32px;
    height: 26px;
  }
  
}

@media (max-width: 480px) {
  .header-content {
    padding: 0.75rem 0.75rem 1.25rem 0.75rem;
    min-height: 75px;
  }
  
  .logo-title {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0.15rem;
  }
  
  .logo-subtitle {
    font-size: 0.55rem;
    margin-top: 0.1rem;
  }
  
  .hanging-lamp-container {
    right: 0.25rem;
    transform: translateY(-1rem);
  }
  
  .hanging-lamp-button {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hanging-lamp-svg {
    width: 28px;
    height: 23px;
  }
  
  /* Polaroid mobile */
  .wide-polaroid-frame {
    margin: 2rem 1rem;
    max-width: calc(100% - 2rem);
    padding: 15px;
    padding-bottom: 60px;
  }
  
  .wide-post-image {
    height: 280px;
  }
  
  .polaroid-title {
    font-size: 1.25rem;
  }
  
  .polaroid-caption {
    font-size: 0.9rem;
  }
  
  .wide-polaroid-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .wide-polaroid-stamps {
    align-self: flex-end;
  }
  
  /* Comments mobile */
  .comments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .post-actions {
    align-self: flex-end;
    gap: 0.5rem;
  }
  
  .action-btn {
    padding: 0.4rem;
  }
  
  .action-icon {
    width: 18px;
    height: 18px;
  }
}

/* About Page Styles */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: calc(100vh - 140px);
}

.about-section {
  width: 100%;
}

.about-owner-card {
  padding: 3rem;
  max-width: none;
}

/* Photo Gallery */
.about-photos-container {
  margin-bottom: 3rem;
}

.about-photos-desktop {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about-photos-mobile {
  display: none;
}

.about-polaroid {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fdfdfd 100%);
  padding: 20px;
  padding-bottom: 60px;
  border-radius: 4px;
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.2),
    0 30px 60px rgba(0,0,0,0.12),
    0 45px 90px rgba(0,0,0,0.06),
    0 6px 12px rgba(0,0,0,0.1),
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 0 20px rgba(255,255,255,0.3);
  transition: transform 0.3s ease;
  flex: 1;
  width: 350px;
  border: 1px solid rgba(0,0,0,0.05);
}

.about-polaroid-center {
  z-index: 2;
}

.about-polaroid:hover {
  transform: translateY(-8px) rotate(0deg) !important;
}

.about-polaroid-inner {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 2px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.04);
}

.about-polaroid-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Story Content */
.about-story-content {
  text-align: center;
}

.about-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-primary-500);
  margin-bottom: 1.5rem;
}

.about-story-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-primary-600);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-story-text p {
  margin-bottom: 1.5rem;
}

/* Visit Information */
.about-visit-info {
  margin-bottom: 2rem;
}

.about-visit-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary-500);
  margin-bottom: 1.5rem;
}

.about-visit-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.about-visit-option {
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.about-visit-option h4 {
  font-size: 1.2rem;
  color: var(--color-primary-500);
  margin-bottom: 0.5rem;
}

.about-visit-option p {
  margin-bottom: 1rem;
}

.about-website-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-primary-500);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-website-link:hover {
  background: var(--color-primary-600);
  transform: translateY(-2px);
}

.about-location {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-primary-600);
}

.about-location p {
  margin-bottom: 0.25rem;
}

/* Social Links */
.about-social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  color: var(--color-primary-500);
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-social-link svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.about-social-link:hover {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.about-social-link:hover svg {
  transform: scale(1.1);
}

/* Technical Details Section */
.about-tech-section {
  width: 100%;
}

.about-tech-card {
  padding: 2rem;
  max-width: none;
}

.about-tech-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-600);
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-tech-toggle:hover {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.about-tech-toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.about-tech-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.about-tech-content.open {
  max-height: 800px;
}

.about-tech-inner {
  padding: 2rem 0;
}

.about-tech-inner h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary-500);
  text-align: center;
  margin-bottom: 2rem;
}

.about-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-tech-category h4 {
  font-size: 1.2rem;
  color: var(--color-primary-600);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.about-tech-category ul {
  list-style: none;
  padding: 0;
}

.about-tech-category li {
  padding: 0.5rem 0;
  color: var(--color-primary-600);
  position: relative;
  padding-left: 1.5rem;
}

.about-tech-category li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary-500);
  font-weight: bold;
}

/* Developer Credit */
.about-developer-credit {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.about-developer-credit p {
  color: var(--color-primary-600);
  font-size: 0.9rem;
}

.about-developer-credit a {
  color: var(--color-primary-500);
  text-decoration: none;
  font-weight: 500;
}

.about-developer-credit a:hover {
  text-decoration: underline;
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-photos-desktop {
    gap: 1rem;
    max-width: 900px;
  }

  .about-polaroid {
    max-width: 280px;
    min-width: 240px;
  }

  .about-polaroid-center {
    max-width: 320px;
  }

  .about-polaroid-inner {
    height: 280px;
  }

  .about-polaroid-center .about-polaroid-inner {
    height: 320px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .about-container {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }

  .about-owner-card {
    padding: 2rem 1.5rem;
  }

  .about-photos-desktop {
    display: none;
  }

  .about-photos-mobile {
    display: block;
  }

  .about-mobile-polaroid {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fdfdfd 100%);
    padding: 20px;
    padding-bottom: 60px;
    border-radius: 4px;
    box-shadow: 
      0 15px 30px rgba(0,0,0,0.2),
      0 30px 60px rgba(0,0,0,0.12),
      0 45px 90px rgba(0,0,0,0.06),
      0 6px 12px rgba(0,0,0,0.1),
      inset 0 2px 0 rgba(255,255,255,0.9),
      inset 0 0 20px rgba(255,255,255,0.3);
    width: 90vw;
    max-width: 400px;
    min-width: 300px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
  }

  .about-mobile-polaroid-inner {
    width: 100%;
    height: calc(90vw * 0.75);
    max-height: 280px;
    min-height: 220px;
    overflow: hidden;
    border-radius: 2px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.04);
  }

  .about-mobile-polaroid-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .about-navigation {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .about-nav-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary-500);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .about-nav-arrow:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.1);
  }

  .about-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .about-nav-arrow:disabled:hover {
    background: none;
    transform: none;
  }

  .about-stack-dots {
    display: flex;
    gap: 0.5rem;
  }

  .about-stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .about-stack-dot.active {
    background: var(--color-primary-500);
    transform: scale(1.2);
  }

  .about-stack-dot:hover {
    background: #666;
    transform: scale(1.1);
  }

  .about-title {
    font-size: 2rem;
  }

  .about-story-text {
    font-size: 1rem;
  }

  .about-visit-options {
    max-width: 100%;
    gap: 0.75rem;
  }

  .about-visit-option {
    padding: 1rem;
  }

  .about-website-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .about-social-links {
    gap: 1rem;
  }

  .about-social-link {
    width: 50px;
    height: 50px;
  }

  .about-social-link svg {
    width: 20px;
    height: 20px;
  }

  .about-tech-toggle {
    padding: 1.2rem;
  }

  .about-tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-tech-inner {
    padding: 1.5rem 0;
  }
}