/* ===========================
   RESET & BASE
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

/* CSS Variables for Admin Dashboard */
:root {
  --bg-card: #1E293B;
  --bg-card-hover: #334155;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --secondary: #EC4899;
  --accent: #F59E0B;
  --success: #10B981;
  --error: #EF4444;
  --bg-dark: #0F172A;
  --bg-darker: #020617;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.theme-light {
  --bg-card: #F1F5F9;
  --bg-card-hover: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #db2777;
  --bg-dark: #FFFFFF;
  --bg-darker: #F8FAFC;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050711;
  color: #f4f4f8;
}

/* Linkuri */

a {
  color: #6dd3ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Utilities */

.text-muted {
  color: #a1a4b5;
}

.text-error {
  color: #ff6b81;
}

.small {
  font-size: 0.85rem;
}

/* ===========================
   LAYOUT GLOBAL
   =========================== */

.page {
  padding: 1.5rem 1rem 3rem;
}

.page-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.page-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 0 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.page-header h1 {
  font-size: 1.9rem;
  margin: 0 0 0.25rem;
}

.page-header__subtitle {
  margin: 0;
  font-size: 0.98rem;
  max-width: 640px;
  color: #b0b3c7;
}

.page-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

/* layout cu sidebar (filtre) + listă */

.page-content--poems,
.page-content--videos,
.page-content--artists {
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: flex-start;
}

@media (max-width: 840px) {
  .page-content--poems,
  .page-content--videos,
  .page-content--artists {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===========================
   HEADER / FOOTER (generic)
   =========================== */

#site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, #1b2540 0, #050711 55%);
}

#site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1rem 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #8c90a3;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* dacă partial-ul tău de header are alte clase, poți ajusta aici */
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.site-logo {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #f4f4f8;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #6dd3ff, #bf7bff);
  border-color: transparent;
  color: #050711;
  box-shadow: 0 8px 18px rgba(97, 181, 255, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(97, 181, 255, 0.35);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* buton de like activ */

.btn--liked {
  background: rgba(255, 105, 180, 0.2);
  border-color: rgba(255, 105, 180, 0.9);
  color: #ffd0ea;
}

/* ===========================
   FORM & INPUTS
   =========================== */

input,
select,
textarea {
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 10, 24, 0.95);
  color: #f4f4f8;
  padding: 0.45rem 0.7rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6c7288;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #6dd3ff;
  box-shadow: 0 0 0 1px rgba(109, 211, 255, 0.4);
  background: rgba(12, 18, 40, 0.98);
}

textarea {
  resize: vertical;
}

/* ===========================
   FILTER PANELS
   =========================== */

.filters-panel {
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #11182c 0, #050711 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 1rem;
}

@media (max-width: 840px) {
  .filters-panel {
    position: static;
  }
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.filters-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filters-form__group label {
  font-size: 0.85rem;
  color: #b5b8c8;
}

.filters-form__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ===========================
   CARDS GRID
   =========================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

/* ===========================
   GENERIC CARD
   =========================== */

.card {
  background: radial-gradient(circle at top left, #141a30 0, #050711 65%);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 18px 40px rgba(3, 7, 20, 0.75);
}

.card__body {
  flex: 1;
}

.card__title {
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.card__title a {
  color: #fdfdff;
}

.card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: #9b9ebe;
}

.card__excerpt {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #d1d3e2;
}

.card__footer {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card__footer--artist {
  align-items: flex-end;
}

.card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.76rem;
  color: #a0a3bc;
}

.card__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card__link {
  font-size: 0.85rem;
  color: #7be5ff;
}

/* tags */

.card__tags {
  margin-top: 0.45rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(159, 241, 255, 0.3);
  background: rgba(98, 210, 255, 0.08);
  padding: 0.18rem 0.7rem;
  font-size: 0.78rem;
  color: #bff3ff;
  cursor: pointer;
}

.tag:hover {
  background: rgba(98, 210, 255, 0.18);
}

/* ===========================
   POEMS LIST / DETAIL
   =========================== */

.poems-listing,
.page--poem-detail .poem-detail,
.page--video-detail .video-detail,
.page--videos .videos-listing,
.page--artists .artists-listing {
  max-width: 1120px;
  margin: 0 auto;
}

/* poem detail layout */

.poem-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .poem-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}

.poem-detail__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poem-media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.poem-image-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poem-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.hidden {
  display: none !important;
}

.poem-audio-wrapper {
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top left, #18223e 0, #050711 90%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.poem-audio-label {
  font-size: 0.85rem;
  color: #c2c4d6;
  margin-bottom: 0.35rem;
  display: block;
}

.poem-content {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(9, 14, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  font-size: 0.98rem;
  white-space: normal;
}

.poem-content br {
  line-height: 1.6;
}

/* poem sidebar */

.poem-detail__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poem-stats-card {
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #151f3b 0, #050711 90%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.poem-stats-card__title {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.poem-stats {
  margin: 0 0 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.poem-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #c2c4d6;
}

.poem-stat dt {
  opacity: 0.7;
}

.poem-like-btn {
  margin-top: 0.25rem;
  width: 100%;
}

.poem-like-btn__icon {
  font-size: 1.1rem;
}

.poem-like-btn__count {
  font-weight: 600;
}

/* comments */

.poem-comments,
.video-comments {
  max-width: 1120px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.poem-comments__header,
.video-comments__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.poem-comments__list,
.video-comments__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.comment {
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(9, 14, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comment__header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #b7b9ce;
  margin-bottom: 0.3rem;
}

.comment__author {
  font-weight: 500;
}

.comment__body {
  margin: 0;
  font-size: 0.9rem;
}

/* comment form */

.poem-comments__form-section,
.video-comments__form-section {
  margin-top: 0.75rem;
}

.poem-comment-form,
.video-comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.poem-comment-form__field,
.video-comment-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.poem-comment-form__field label,
.video-comment-form__field label {
  font-size: 0.85rem;
  color: #b5b8c8;
}

/* ===========================
   VIDEO LIST / DETAIL
   =========================== */

.card--video .card__thumb {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card--video img {
  display: block;
  width: 100%;
  height: auto;
}

.card__badge {
  position: absolute;
  bottom: 0.35rem;
  right: 0.35rem;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  background: rgba(5, 7, 17, 0.85);
  color: #fdfdff;
}

/* video detail */

.video-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.video-detail__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-detail__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}

@media (max-width: 960px) {
  .video-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .video-detail__side {
    position: static;
  }
}

.video-player-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.video-player,
.video-embed iframe {
  display: block;
  width: 100%;
  min-height: 260px;
}

@media (min-width: 960px) {
  .video-player,
  .video-embed iframe {
    min-height: 380px;
  }
}

.video-description {
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(9, 14, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
}

.video-stats-card {
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #151f3b 0, #050711 90%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-stats-card__title {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.video-stats {
  margin: 0 0 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.video-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #c2c4d6;
}

.video-like-btn {
  margin-top: 0.25rem;
  width: 100%;
}

.video-like-btn__icon {
  font-size: 1.1rem;
}

/* ===========================
   PAGINATION
   =========================== */

.pagination {
  margin-top: 1.25rem;
}

.pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.pagination__btn {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  background: rgba(9, 14, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d7d9ea;
  cursor: pointer;
}

.pagination__btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.pagination__pages {
  display: flex;
  gap: 0.25rem;
}

.pagination__page {
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 33, 0.96);
  color: #d7d9ea;
  font-size: 0.85rem;
  cursor: pointer;
}

.pagination__page--active {
  background: linear-gradient(135deg, #6dd3ff, #bf7bff);
  border-color: transparent;
  color: #050711;
}

/* ===========================
   BACK LINKS
   =========================== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #9fb4ff;
  margin-bottom: 0.3rem;
}

/* ===========================
   SUBSCRIBE SECTIONS (poems / videos)
   =========================== */

.poems-subscribe,
.videos-subscribe {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #132038 0, #050711 80%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poems-subscribe h2,
.videos-subscribe h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.poems-subscribe__text,
.videos-subscribe__text {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #bec1d7;
}

.poems-subscribe__form,
.videos-subscribe__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.poems-subscribe__field,
.videos-subscribe__field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ===========================
   ARTISTS PAGE
   =========================== */

.card--artist .card__header {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__genre {
  font-size: 0.8rem;
  color: #e4e6ff;
}

.card__country {
  font-size: 0.8rem;
  color: #a4a9c4;
}

.artists-cta {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.artists-cta h2 {
  margin: 0 0 0.4rem;
}

.artists-cta__text {
  margin: 0;
  font-size: 0.94rem;
  color: #bfc2d8;
}

.artists-apply {
  margin-top: 1rem;
}

.artist-apply-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.artist-apply-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.artist-apply-form__group label {
  font-size: 0.86rem;
  color: #b5b8c8;
}

/* ===========================
   ADMIN DASHBOARD
   =========================== */

.admin-content {
  max-width: 1120px;
  margin: 0 auto;
}

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

.metric-card {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #18233d 0, #050711 85%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card--revenue {
  background: radial-gradient(circle at top left, #252053 0, #050711 80%);
}

.metric-card h2 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: #dfe2ff;
}

.metric-card__value {
  margin: 0.05rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.metric-card__label {
  margin: 0;
  font-size: 0.8rem;
  color: #aeb1c8;
}

.metric-card__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #8c90aa;
}

.admin-panels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.admin-panel {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(8, 12, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-panel__header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

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

.admin-table-wrapper h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

/* tables */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table thead {
  background: rgba(18, 26, 54, 0.95);
}

.admin-table th,
.admin-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
  text-align: left;
  font-weight: 500;
  color: #cfd2ea;
  font-size: 0.8rem;
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(11, 16, 35, 0.9);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* admin filters */

.admin-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.admin-filters select {
  min-width: 150px;
}

/* ===========================
   MISC
   =========================== */

.link {
  color: #7be5ff;
}

.link:hover {
  text-decoration: underline;
}

/* ===========================
   LIGHT THEME (via .theme-light pe <body>)
   =========================== */

body.site-body.theme-light {
  background: #f5f6fb;
  color: #151624;
}

/* linkuri */

.theme-light a {
  color: #2563eb;
}

.theme-light a:hover {
  text-decoration: underline;
}

/* texte secundare / erori */

.theme-light .text-muted {
  color: #6b6f85;
}

.theme-light .text-error {
  color: #b91c1c;
}

/* header & footer */

.theme-light #site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(to right, #e5edff, #f5f6fb);
}

.theme-light #site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #4b5563;
}

/* page header */

.theme-light .page-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.theme-light .page-header__subtitle {
  color: #6b7280;
}

/* butoane */

.theme-light .btn--primary {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  color: #f9fafb;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.theme-light .btn--primary:hover {
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.theme-light .btn--ghost {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #111827;
}

.theme-light .btn--ghost:hover {
  background: #e5e7eb;
}

/* like activ */

.theme-light .btn--liked {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.85);
  color: #b91c1c;
}

/* inputuri / textarea */

.theme-light input,
.theme-light select,
.theme-light textarea {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.6);
  color: #111827;
}

.theme-light input::placeholder,
.theme-light textarea::placeholder {
  color: #9ca3af;
}

.theme-light input:focus,
.theme-light select:focus,
.theme-light textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
  background: #ffffff;
}

/* filtre */

.theme-light .filters-panel {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.theme-light .filters-form__group label {
  color: #4b5563;
}

/* carduri generice */

.theme-light .card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.theme-light .card__meta {
  color: #6b7280;
}

.theme-light .card__excerpt {
  color: #374151;
}

.theme-light .card__footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
}

/* tags */

.theme-light .tag {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
}

.theme-light .tag:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* poem detail */

.theme-light .poem-content {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
  color: #111827;
}

.theme-light .poem-audio-wrapper {
  background: #f3f4ff;
  border-color: rgba(129, 140, 248, 0.8);
}

.theme-light .poem-audio-label {
  color: #4b5563;
}

.theme-light .poem-stats-card {
  background: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
}

.theme-light .poem-stat {
  color: #374151;
}

/* video detail */

.theme-light .video-description {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
  color: #111827;
}

.theme-light .video-stats-card {
  background: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
}

.theme-light .video-stat {
  color: #374151;
}

/* comments */

.theme-light .comment {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
}

.theme-light .comment__header {
  color: #6b7280;
}

/* subscribe boxes */

.theme-light .poems-subscribe,
.theme-light .videos-subscribe {
  background: #f9fafb;
  border-color: rgba(148, 163, 184, 0.6);
}

.theme-light .poems-subscribe__text,
.theme-light .videos-subscribe__text {
  color: #4b5563;
}

/* artists */

.theme-light .card__genre {
  color: #1f2937;
}

.theme-light .card__country {
  color: #6b7280;
}

.theme-light .artists-cta {
  border-top-color: rgba(148, 163, 184, 0.5);
}

.theme-light .artists-cta__text {
  color: #4b5563;
}

.theme-light .artist-apply-form__group label {
  color: #4b5563;
}

/* admin dashboard */

.theme-light .admin-metrics .metric-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.5);
}

.theme-light .metric-card--revenue {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.theme-light .metric-card h2 {
  color: #1f2937;
}

.theme-light .metric-card__label {
  color: #6b7280;
}

.theme-light .metric-card__sub {
  color: #6b7280;
}

.theme-light .admin-panel {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.5);
}

.theme-light .admin-table thead {
  background: #f3f4f6;
}

.theme-light .admin-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* pagination */

.theme-light .pagination__btn,
.theme-light .pagination__page {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.7);
  color: #111827;
}

.theme-light .pagination__page--active {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  border-color: transparent;
  color: #f9fafb;
}

/* link generic */

.theme-light .link {
  color: #2563eb;
}

/* ===========================
   HOME PAGE STYLES
   =========================== */

.hero__content {
  text-align: center;
}

.hero-image {
  margin: 2rem 0;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-image img {
    max-width: 90%;
  }
}

/* ===========================
   PRICING PAGE
   =========================== */

.page-content--pricing {
  max-width: 1120px;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.page.page--pricing .page-header .page-header__inner {
  text-align: center;
}

.page.page--pricing .page-header h1 {
  text-align: center;
}

.page.page--pricing .page-header__subtitle {
  text-align: center;
}

.pricing-main__header {
  text-align: center;
  margin-bottom: 2rem;
}

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

.pricing-note {
  text-align: center;
  margin-top: 2rem;
}

/* contact form */

.pricing-extra {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
}

.pricing-extra__text h2 {
  margin: 0 0 0.3rem;
}

.pricing-extra__text p {
  margin: 0;
  font-size: 0.94rem;
  color: #c2c4d6;
}

.pricing-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pricing-contact-form__group label {
  font-size: 0.85rem;
  color: #b5b8c8;
}

@media (max-width: 840px) {
  .pricing-extra {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Light theme ajustări */

.theme-light .pricing-features {
  color: #4b5563;
}

.theme-light .pricing-extra__text p {
  color: #4b5563;
}

.theme-light .pricing-extra {
  border-top-color: rgba(148, 163, 184, 0.5);
}

/* Profile page specific styles (load after styles.css) */


.profile-avatar {
display:flex;
align-items:center;
justify-content:center;
}
.profile-avatar img {
width: 140px;
height: 140px;
object-fit:cover;
border-radius: 999px;
border: 4px solid rgba(255,255,255,0.04);
}


.profile-stats {
display:flex;
gap:0.5rem;
justify-content:space-between;
}
.profile-stats .stat {
text-align:center;
flex:1;
}
.profile-stats .stat strong { display:block; font-size:1.15rem; }
.profile-stats .stat span { font-size:0.85rem; color:var(--text-secondary); }


.profile-meta { padding:0.5rem 0; }


.profile-cta { display:flex; flex-direction:column; gap:0.5rem; }


.profile-main { display:flex; flex-direction:column; gap:1rem; }


.page-content--profile {
display:grid;
grid-template-columns: 280px 1fr;
gap: 1rem;
max-width:1120px;
margin:0 auto;
}


@media (max-width:980px) {
.page-content--profile { grid-template-columns:1fr; }
.profile-sidebar { position:static; }
}


.card--small { padding:0.5rem; }
.card--small .card__thumb img { width:100%; height:140px; object-fit:cover; border-radius:0.6rem; }
.card--small .card__title { font-size:0.95rem; margin:0; }


.profile-about {
white-space:pre-wrap;
}


/* light theme tweaks */
body.theme-light .profile-avatar img { border-color: rgba(0,0,0,0.06); }

/* ===========================
   CENTERED HOME SECTIONS
   =========================== */

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

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

/* ===========================
   POEM DETAIL PAGE IMAGE SIZING
   =========================== */

.page--poem-detail .poem-detail__side .poem-image-wrapper img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

/* ===========================
   MOBILE MENU
   =========================== */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: background-color 0.2s;
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-toggle .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: background-color 0.2s;
  }

  .mobile-menu-toggle .hamburger::before,
  .mobile-menu-toggle .hamburger::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: absolute;
    transition: all 0.2s;
  }

  .mobile-menu-toggle .hamburger::before {
    top: -6px;
  }

  .mobile-menu-toggle .hamburger::after {
    top: 6px;
  }

  .mobile-menu-toggle.active .hamburger {
    background: transparent;
  }

  .mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .site-nav {
    display: none !important;
  }

  .site-nav.mobile-menu-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .site-nav.mobile-menu-open a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.mobile-menu-open a:last-child {
    border-bottom: none;
  }
}
