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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #e0e0e0;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header */
.header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header h1 {
  color: #dfffcf;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.email-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.email-input {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  width: 345px;
  transition: all 0.3s;
}

.email-input:focus {
  outline: none;
  border-color: #dfffcf;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.email-input.valid {
  border-color: #dfffcf;
  background: rgba(0, 255, 136, 0.05);
}

.email-input.invalid {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.05);
}

.email-status {
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.email-status.valid {
  opacity: 1;
  color: #dfffcf;
}

.email-status.invalid {
  opacity: 1;
  color: #ff4444;
}

.wallet-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.network-badge {
  background: rgba(0, 255, 136, 0.2);
  border: 1px solid rgba(0, 255, 136, 0.5);
  color: #dfffcf;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.wallet-address {
  font-family: 'Courier New', monospace;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #dfffcf;
  font-size: 0.9rem;
}

/* Buttons */
button {
  background: linear-gradient(135deg, #dfffcf 0%, #dfffcf 100%);
  color: #0a0a0a;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

button:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

button.secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

/* Layout */
.layout {
  display: flex;
  min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.demo-nav h3 {
  color: #dfffcf;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.demo-nav ul {
  list-style: none;
}

.demo-nav li {
  margin-bottom: 0.25rem;
}

.demo-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  color: #aaa;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.demo-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.demo-nav a.active {
  color: #dfffcf;
  background: rgba(0, 255, 136, 0.1);
  border-left-color: #dfffcf;
}

.coming-soon {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #666;
}

/* Content Area */
.content {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
}

.demo-section {
  display: none;
}

.demo-section.active {
  display: block;
}

.demo-header {
  margin-bottom: 2rem;
}

.demo-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.demo-header p {
  color: #aaa;
  font-size: 1.1rem;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #dfffcf 0%, #00ccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.image-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
  border-color: rgba(0, 255, 136, 0.5);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

.image-wrapper.locked img {
  filter: blur(15px) brightness(0.6);
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  gap: 1rem;
}

.image-wrapper:not(.locked) .lock-overlay {
  opacity: 0;
  pointer-events: none;
}

.price-badge {
  background: #dfffcf;
  color: #0a0a0a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.purchase-hint {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  margin-top: 0.5rem;
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  z-index: 5;
  text-align: left;
}

.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.status-badge.locked {
  background: rgba(255, 100, 100, 0.9);
  color: #0a0a0a;
  box-shadow: 0 2px 10px rgba(255, 100, 100, 0.3);
}

.status-badge.unlocked {
  background: rgba(0, 255, 136, 0.9);
  color: #0a0a0a;
  box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
}

/* Auth Panel */
.auth-panel {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.auth-panel.hidden {
  display: none;
}

.auth-panel h3 {
  color: #dfffcf;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.auth-step {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid #333;
}

.auth-step.active {
  border-left-color: #dfffcf;
  background: rgba(0, 255, 136, 0.05);
}

.auth-step.completed {
  border-left-color: #dfffcf;
  opacity: 0.7;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #333;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.auth-step.active .step-number {
  background: #dfffcf;
  color: #0a0a0a;
}

.auth-step.completed .step-number::before {
  content: '✓';
}

.step-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.step-content {
  margin-left: 3rem;
}

.step-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Data Display */
.data-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #aaa;
  word-break: break-all;
}

.data-label {
  color: #dfffcf;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* Status Messages */
#statusMessages {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  pointer-events: none;
}

.status-message {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideInLeft 0.4s ease;
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 0.95rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.status-message.success {
  background: rgba(0, 255, 136, 0.2);
  border: 2px solid rgba(0, 255, 136, 0.6);
  color: #dfffcf;
}

.status-message.error {
  background: rgba(255, 100, 100, 0.2);
  border: 2px solid rgba(255, 100, 100, 0.6);
  color: #ff6464;
}

.status-message.info {
  background: rgba(100, 150, 255, 0.2);
  border: 2px solid rgba(100, 150, 255, 0.6);
  color: #6496ff;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #dfffcf;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    width: 220px;
  }

  .content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
  }

  .demo-nav h3 {
    padding: 0 1rem;
  }

  .demo-nav ul {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .demo-nav li {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .demo-nav a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1rem;
  }

  .demo-nav a.active {
    border-left: none;
    border-bottom-color: #dfffcf;
  }

  .content {
    padding: 1rem;
  }

  .demo-header h2 {
    font-size: 1.5rem;
  }

  .demo-header p {
    font-size: 0.95rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .user-section {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .email-section {
    width: 100%;
    justify-content: center;
  }

  .email-input {
    width: 100%;
    max-width: 300px;
  }

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

  .auth-panel {
    padding: 1.5rem;
  }

  .step-content {
    margin-left: 0;
    margin-top: 1rem;
  }

  .step-actions {
    flex-direction: column;
  }

  #statusMessages {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .status-message {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .step-actions button {
    width: 100%;
  }

  .chat-container.chat-fullscreen {
    height: calc(100vh - 200px);
  }

  .chat-info-right {
    flex-direction: column;
    align-items: flex-end;
  }

  .chat-countdown {
    font-size: 0.75rem;
  }

  .chat-pricing {
    font-size: 0.8rem;
  }
}

/* Chat Demo Styles */
.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.chat-container.chat-fullscreen {
  max-width: 100%;
  height: calc(100vh - 120px);
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#demo-chat-room {
  padding: 0;
  height: 100%;
}

#demo-chat-room .chat-container {
  margin: 0;
}

.chat-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.license-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #666;
}

.status-indicator.active {
  background: #dfffcf;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-indicator.expired {
  background: #ff4444;
}

.status-text {
  color: #aaa;
  font-size: 0.9rem;
}

.chat-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.chat-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.chat-countdown.hidden {
  display: none;
}

.countdown-label {
  color: #888;
}

.countdown-time {
  font-weight: 600;
  color: #dfffcf;
  font-family: 'Courier New', monospace;
  min-width: 2.5rem;
  text-align: right;
}

.countdown-time.warning {
  color: #ffaa00;
}

.countdown-time.critical {
  color: #ff4444;
}

.chat-pricing {
  color: #dfffcf;
  font-size: 0.9rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
  text-align: center;
}

.chat-placeholder .lock-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 70%;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.own {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-message.other {
  align-self: flex-start;
  align-items: flex-start;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #888;
}

.message-sender {
  font-weight: 600;
  color: #dfffcf;
}

.message-time {
  color: #666;
}

.message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  word-wrap: break-word;
}

.chat-message.own .message-bubble {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #fff;
}

.chat-message.other .message-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.chat-input-container {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#chatInput {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

#chatInput:focus {
  outline: none;
  border-color: #dfffcf;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

#chatInput:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#sendMessageBtn {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.purchase-access-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Social Feed Styles */
.feed-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.feed-header {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.feed-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.feed-license-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feed-credits {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.credits-label {
  color: #888;
}

.credits-count {
  font-weight: 600;
  color: #dfffcf;
  font-family: 'Courier New', monospace;
}

#creditsRemaining.low {
  color: #ffaa00;
}

#creditsRemaining.zero {
  color: #ff4444;
}

.feed-pricing {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-pricing strong {
  color: #dfffcf;
}

.feed-post-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#feedInput {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s;
}

#feedInput:focus {
  outline: none;
  border-color: #dfffcf;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

#feedInput:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.feed-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.char-counter {
  font-size: 0.85rem;
  color: #888;
  font-family: 'Courier New', monospace;
}

.feed-form-buttons {
  display: flex;
  gap: 0.75rem;
}

#submitPostBtn {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #dfffcf 0%, #dfffcf 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

#submitPostBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

#submitPostBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.purchase-credits-btn, .purchase-access-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(0, 255, 136, 0.1);
  color: #dfffcf;
  border: 1px solid #dfffcf;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.purchase-credits-btn:hover, .purchase-access-btn:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 136, 0.2);
}

.feed-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #888;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.feed-post {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.feed-post:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.post-author {
  font-weight: 600;
  color: #dfffcf;
  font-size: 0.95rem;
}

.post-time {
  font-size: 0.85rem;
  color: #888;
}

.post-content {
  color: #ddd;
  line-height: 1.6;
  font-size: 1rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .feed-container {
    padding: 1rem;
  }

  .feed-header {
    padding: 1rem;
  }

  .feed-status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .feed-post-form {
    padding: 1rem;
  }

  .feed-form-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .feed-form-buttons {
    width: 100%;
    flex-direction: column;
  }

  #submitPostBtn,
  .purchase-credits-btn {
    width: 100%;
  }

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

  .feed-post {
    padding: 1rem;
  }

  .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Hidden Utility */
.hidden {
  display: none !important;
}

