/* ==========================================================================
   MADDIE'S PURR-FOLIO DESIGN SYSTEM & STYLESHEET
   Palette: Serene Light Sky Blue & Deep Sea Blue Admin Theme
   ========================================================================== */

:root {
  /* Sky Blue Color Palette */
  --bg-gradient: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 40%, #F0F9FF 100%);
  --sky-50: #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-300: #7DD3FC;
  --sky-400: #38BDF8;
  --sky-500: #0284C7;
  --sky-600: #0369A1;
  --sky-700: #075985;
  --sky-900: #0C4A6E;

  /* Deep Sea Blue Palette (Admin & Secret Views) */
  --sea-50: #F0F9FF;
  --sea-600: #0284C7;
  --sea-700: #0369A1;
  --sea-800: #075985;
  --sea-900: #0C4A6E;
  --sea-gradient: linear-gradient(135deg, #075985 0%, #0C4A6E 50%, #0369A1 100%);

  /* Accent Colors */
  --cat-pink: #F472B6;
  --cat-pink-soft: #FCE7F3;
  --heart-red: #FF4D6D;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  /* Surface & Border */
  --card-bg: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --border-light: rgba(186, 230, 253, 0.5);
  --shadow-sm: 0 2px 8px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.12);
  --shadow-lg: 0 20px 35px -10px rgba(2, 132, 199, 0.18);
  
  /* Fonts */
  --font-brand: 'Fredoka', 'Quicksand', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Helper hidden class */
.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Top Banner
   -------------------------------------------------------------------------- */
.top-banner {
  background: linear-gradient(90deg, #0284C7, #38BDF8, #0284C7);
  color: #FFFFFF;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  position: relative;
}

.admin-hint-text {
  font-size: 0.75rem;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Main Header & Hobbies Navigation (Secret 6-Tap Target)
   -------------------------------------------------------------------------- */
.main-header {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-section {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.cat-logo-icon {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 4px 6px rgba(2, 132, 199, 0.25));
  transition: transform var(--transition-fast);
}

.cat-logo-icon:hover {
  transform: none;
}

.svg-cat-logo {
  width: 100%;
  height: 100%;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sky-600);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Navigation Tabs */
.hobbies-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0.75rem 1.5rem;
}

.nav-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.hobby-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--sky-200);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hobby-tab:hover {
  background: var(--sky-100);
  color: var(--sky-700);
  border-color: var(--sky-300);
  transform: translateY(-2px);
}

.hobby-tab.active {
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 12px;
}

.hobby-tab:not(.active) .tab-badge {
  background: var(--sky-200);
  color: var(--sky-800);
}

/* --------------------------------------------------------------------------
   Main Feed Layout
   -------------------------------------------------------------------------- */
.feed-main-container {
  max-width: 1100px;
  margin: 1.5rem auto 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
}

.feed-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-category-header {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.feed-category-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  color: var(--sky-900);
  margin-bottom: 0.25rem;
}

.feed-category-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Empty State Cat Pun Card */
.cat-empty-state {
  background: linear-gradient(135deg, #075985 0%, #0C4A6E 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.empty-cat-icon {
  font-size: 4.5rem;
  animation: floatCat 3s ease-in-out infinite;
}

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

.empty-state-title {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  color: #7DD3FC;
}

.empty-state-pun {
  font-size: 1rem;
  color: #E0F2FE;
  max-width: 480px;
  line-height: 1.5;
}

.empty-state-sub {
  font-size: 0.82rem;
  color: #BAE6FD;
  opacity: 0.85;
}

/* Instagram Post Card */
.posts-stream {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.insta-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.insta-card:hover {
  box-shadow: var(--shadow-lg);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: #FFFFFF;
}

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

.post-avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #38BDF8, #F472B6);
  padding: 2px;
}

.post-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--sky-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.post-user-details {
  display: flex;
  flex-direction: column;
}

.post-username {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.post-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-options-btn {
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 0.4rem;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.post-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 540px;
  background: var(--sky-50);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.insta-card:hover .post-img {
  transform: scale(1.015);
}

.double-tap-cat-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}

.double-tap-cat-overlay.animate {
  transform: translate(-50%, -50%) scale(1.4);
  opacity: 1;
}

.big-cat-heart-icon {
  font-size: 5rem;
  filter: drop-shadow(0 10px 20px rgba(255, 77, 109, 0.4));
}

/* Post Actions Bar */
.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem 0.5rem 1.25rem;
}

.actions-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  font-size: 1.35rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.action-btn:hover {
  transform: scale(1.1);
  color: var(--sky-600);
}

/* Cat Head Like Button */
.cat-like-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
}

.cat-head-svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s var(--ease-spring);
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.15));
}

.cat-head-path {
  fill: none;
  stroke: #475569;
  stroke-width: 2.2;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.cat-ear-inner {
  fill: rgba(186, 230, 253, 0.3);
  transition: fill 0.3s ease;
}

.cat-like-btn.liked .cat-head-path {
  fill: var(--heart-red);
  stroke: var(--heart-red);
}

.cat-like-btn.liked .cat-ear-inner {
  fill: #FFE4E6;
}

.cat-like-btn.liked .cat-head-svg {
  transform: scale(1.22);
  animation: catPulse 0.4s var(--ease-spring);
}

@keyframes catPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1.22) rotate(0deg); }
}

.cat-like-btn .like-pop-emoji {
  position: absolute;
  top: -12px;
  right: -10px;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s var(--ease-spring);
}

.cat-like-btn.liked .like-pop-emoji {
  opacity: 1;
  transform: scale(1.1);
}

.share-icon-btn {
  background: transparent;
  border: none;
  padding: 0.2rem;
  font-size: 1.35rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.share-icon-btn:hover {
  transform: scale(1.1);
  color: var(--sky-600);
}

.share-btn-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.post-likes-info {
  padding: 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.likes-counter {
  color: var(--sky-700);
}

.post-caption-section {
  padding: 0.5rem 1.25rem 0.75rem 1.25rem;
  font-size: 0.9rem;
}

.caption-username {
  font-weight: 700;
  margin-right: 0.4rem;
  color: var(--text-primary);
}

.caption-text {
  color: var(--text-secondary);
}

.post-tags {
  margin-top: 0.3rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag-pill {
  color: var(--sky-600);
  font-size: 0.8rem;
  font-weight: 600;
}

.post-time {
  padding: 0 1.25rem 0.75rem 1.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar */
.feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38BDF8, #F472B6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.creator-name {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.creator-tag {
  font-size: 0.78rem;
  color: var(--sky-600);
  font-weight: 600;
}

.creator-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  background: var(--sky-50);
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--sky-100);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sky-700);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SEA BLUE ADMIN LOGIN & DASHBOARD VIEWS
   -------------------------------------------------------------------------- */
.admin-view-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background: var(--sea-gradient);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sea-blue-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.15), transparent 70%);
}

.admin-login-card {
  position: relative;
  z-index: 10;
  max-width: 420px;
  width: 90%;
  margin: auto;
  background: rgba(12, 74, 110, 0.85);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(125, 211, 252, 0.3);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  text-align: center;
}

.cat-admin-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 2.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.admin-title {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  color: #7DD3FC;
  margin-bottom: 0.35rem;
}

.admin-sub {
  font-size: 0.88rem;
  color: #BAE6FD;
  margin-bottom: 1.5rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #BAE6FD;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 2.75rem;
}

.toggle-password-btn {
  position: absolute;
  right: 0.75rem;
  color: #BAE6FD;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.toggle-password-btn:hover {
  color: #38BDF8;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #38BDF8;
}

.admin-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.admin-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.6);
}

.pfp-preview-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.4);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}

.preview-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #BAE6FD;
}

.pfp-preview-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
  border: 2px solid #38BDF8;
}

.pfp-preview-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-back-link {
  margin-top: 1.25rem;
  color: #7DD3FC;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.admin-back-link:hover {
  opacity: 0.8;
}

/* Admin Dashboard Screen Layout */
.admin-dashboard-header {
  background: rgba(7, 89, 133, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(125, 211, 252, 0.3);
  color: #FFFFFF;
}

.admin-header-title {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  color: #7DD3FC;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exit-admin-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.exit-admin-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.admin-dashboard-content {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.admin-card {
  background: rgba(12, 74, 110, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  color: #FFFFFF;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #7DD3FC;
  margin-bottom: 0.35rem;
}

.admin-card-header h3 {
  font-family: var(--font-brand);
  font-size: 1.25rem;
}

.admin-card-desc {
  font-size: 0.85rem;
  color: #BAE6FD;
  margin-bottom: 1.25rem;
}

/* Sound Switch Toggle */
.sound-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #475569;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #38BDF8;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.sound-status-badge {
  padding: 0.6rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sound-status-badge.active {
  background: rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.sound-status-badge.muted {
  background: rgba(244, 114, 182, 0.2);
  color: #F472B6;
  border: 1px solid rgba(244, 114, 182, 0.4);
}

.sound-mode-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.picker-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #BAE6FD;
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.radio-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.4);
}

.test-sound-chip {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.test-sound-chip:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* File Preview Box */
.image-preview-box {
  width: 100%;
  max-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.image-preview-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Toast Notification */
.app-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
  z-index: 10000;
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
  pointer-events: none;
}

.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Floating particles */
.cat-burst-container {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999;
}

.floating-cat-particle {
  position: absolute;
  font-size: 1.8rem;
  pointer-events: none;
  animation: floatCatUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes floatCatUp {
  0% { opacity: 1; transform: translate(0, 0) scale(0.6) rotate(0deg); }
  50% { opacity: 0.9; transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot)); }
  100% { opacity: 0; transform: translate(calc(var(--tx) * 1.4), calc(var(--ty) - 80px)) scale(0.8) rotate(calc(var(--rot) * 1.5)); }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease;
}

.lightbox-overlay {
  position: absolute; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative; max-width: 90vw; max-height: 90vh;
  z-index: 1001; display: flex; flex-direction: column; align-items: center;
}

.lightbox-content img {
  max-width: 100%; max-height: 80vh; border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); object-fit: contain;
}

.lightbox-close {
  position: absolute; top: -40px; right: 0; color: #FFFFFF; font-size: 2.5rem; line-height: 1;
}

.lightbox-caption-bar { margin-top: 1rem; color: #FFFFFF; font-size: 0.95rem; text-align: center; }

/* Footer */
.app-footer {
  text-align: center; padding: 2rem; font-size: 0.85rem; color: var(--text-muted);
}

@media (max-width: 900px) {
  .feed-main-container { grid-template-columns: 1fr; }
  .feed-sidebar { display: none; }
}
