/* ==========================================================================
   PRIV MEDIA PORTAL DESIGN SYSTEM & STYLES (RESTORED WORKING PLAYER)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-dark: #07070a;
  --bg-surface: #101018;
  --bg-card: #181824;
  --bg-card-hover: #222234;
  --bg-glass: rgba(24, 24, 36, 0.75);
  
  --accent-pink: #ff0055;
  --accent-purple: #7928ca;
  --accent-cyan: #00dfd8;
  --accent-gradient: linear-gradient(135deg, #ff0055 0%, #7928ca 50%, #00dfd8 100%);
  --accent-glow: 0 0 20px rgba(255, 0, 85, 0.4);

  --text-main: #f0f0f8;
  --text-muted: #8e8ea8;
  --text-dim: #5c5c75;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 0, 85, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.6);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
}

/* USER LOGIN OVERLAY */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(4, 4, 7, 0.96);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.login-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card {
  background: linear-gradient(180deg, rgba(28, 28, 44, 0.98) 0%, rgba(16, 16, 24, 0.99) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.login-brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 14px;
}

.login-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.login-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.login-form-group {
  text-align: left;
  margin-bottom: 16px;
}

.login-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.login-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: white;
  font-size: 14px;
}

.login-input:focus {
  outline: none;
  border-color: var(--accent-pink);
}

.login-error-msg {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: #ff99bb;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 18px;
  display: none;
}

/* AGE VERIFICATION OVERLAY */
.age-verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 4, 7, 0.92);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.age-verification-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-card {
  background: linear-gradient(180deg, rgba(28, 28, 44, 0.95) 0%, rgba(16, 16, 24, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gradient);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: white;
  margin-bottom: 16px;
}

.age-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.age-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.age-warning-box {
  background: rgba(255, 0, 85, 0.08);
  border: 1px solid rgba(255, 0, 85, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: #ff99bb;
  margin-bottom: 24px;
  text-align: left;
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-card-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.btn-danger {
  background: rgba(255, 0, 85, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(255, 0, 85, 0.4);
}

.btn-danger:hover {
  background: rgba(255, 0, 85, 0.3);
  color: white;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  box-shadow: var(--accent-glow);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  background: rgba(255, 0, 85, 0.2);
  color: var(--accent-pink);
  border: 1px solid rgba(255, 0, 85, 0.4);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn.upload-btn {
  background: var(--accent-gradient);
  color: white;
  border: none;
}

.nav-btn.logout-nav-btn {
  border-color: rgba(255, 0, 85, 0.4);
  color: #ff99bb;
}

/* CATEGORY BAR */
.category-bar {
  padding: 12px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.cat-pill.active {
  background: white;
  color: var(--bg-dark);
  font-weight: 700;
  border-color: white;
}

/* APP CONTAINER */
.app-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
}

/* HERO SPOTLIGHT BANNER */
.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-subtle);
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.1) 0%, rgba(7, 7, 10, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gradient);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: white;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* SECTION HEADER */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.sort-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

/* VIDEO & PHOTO GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #12121a;
  overflow: hidden;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.badge-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-hd {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent-gradient);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-photo {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #00dfd8 0%, #7928ca 100%);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* RENAME & REMOVE BUTTONS ON CARDS */
.card-top-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  gap: 6px;
}

.btn-card-action {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-card-action:hover {
  background: var(--accent-purple);
}

.btn-card-action.btn-remove:hover {
  background: var(--accent-pink);
}

.card-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-uploader {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.uploader-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.verified-icon {
  color: var(--accent-cyan);
  font-size: 10px;
}

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
}

.rating-badge {
  color: #00e676;
  font-weight: 600;
}

/* ==========================================================================
   VIDEO PLAYER MODAL & PHOTO LIGHTBOX MODAL
   ========================================================================== */
.player-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 4, 7, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.player-modal.active {
  opacity: 1;
  visibility: visible;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(4, 4, 7, 0.96);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.photo-modal.active {
  opacity: 1;
  visibility: visible;
}

.player-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.player-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

.close-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-btn:hover {
  background: var(--accent-pink);
  color: white;
}

.player-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  overflow: hidden;
}

.video-container-wrapper {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-y: auto;
  padding: 16px;
}

.media-stage {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.mock-video-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-stage-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.photo-stage-img {
  max-width: 95vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.video-meta-pane {
  max-width: 1000px;
  width: 100%;
  margin-top: 16px;
  text-align: left;
}

.video-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
  flex-wrap: wrap;
}

.video-action-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.act-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.act-btn.liked {
  background: rgba(255, 0, 85, 0.15);
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* SIDEBAR & COMMENTS */
.player-sidebar {
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: white;
}

.comment-input-box {
  margin-bottom: 20px;
}

.comment-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  color: white;
  font-size: 12px;
  resize: vertical;
  min-height: 60px;
  margin-bottom: 8px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-item {
  display: flex;
  gap: 10px;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-author {
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.comment-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 20px 24px;
  margin-top: 40px;
  width: 100%;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
}

.compliance-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* LEGAL MODAL COMPONENT */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(4, 4, 7, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: white;
}

.legal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-pink);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* MOBILE & TABLET RESPONSIVE MEDIA QUERIES */
@media (max-width: 850px) {
  .navbar {
    padding: 10px 16px;
  }
  .player-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .player-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .app-container {
    padding: 14px;
  }
  .hero-banner {
    height: 240px;
    margin-bottom: 20px;
  }
  .hero-content {
    padding: 16px;
  }
  .hero-title {
    font-size: 18px;
  }
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .card-info {
    padding: 10px;
  }
  .card-title {
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .age-actions {
    grid-template-columns: 1fr;
  }
}
