body {
  background: #181818;
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
}

.feather {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transform: scale(0.9);
  position: relative;
  right: 8px;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #111;
  background: #f5c518;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cast-details-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 15px 5px 15px;
}

.film-poster {
  width: 80px;
  flex-shrink: 0;
}

.film-poster img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #00d26a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-screen p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Poppins", sans-serif;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: #f3f3f3;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.back-btn:hover {
  border-color: #9ca3af;
  transform: translateX(-2px);
}

.back-btn:active {
  transform: translateX(0px);
  background: #e5e7eb;
}

.back-btn i {
  font-size: 18px !important;
  transition: transform 0.2s ease;
}

.back-btn:hover i {
  transform: translateX(-3px);
}

@media (max-width: 350px) {
  .back-btn {
    padding: 8px 12px;
    font-size: 13px;
    gap: 5px;
    border-radius: 6px;
  }

  .back-btn i {
    font-size: 15px !important;
  }
}

@media (min-width: 576px) {
  .back-btn {
    padding: 9px 16px;
    font-size: 13px;
    gap: 7px;
  }

  .back-btn i {
    font-size: 20px !important;
  }
}

@media (min-width: 768px) {
  .back-btn {
    padding: 10px 20px;
    font-size: 16px;
    gap: 8px;
    border-radius: 8px;
  }

  .back-btn i {
    font-size: 20px !important;
  }
}

@media (min-width: 992px) {
  .back-btn {
    padding: 10px 22px;
    font-size: 18px;
    gap: 8px;
  }
}

@media (min-width: 1200px) {
  .back-btn {
    padding: 11px 24px;
    font-size: 20px;
    gap: 9px;
    border-radius: 9px;
  }

  .back-btn i {
    font-size: 22px !important;
  }
}

@media (min-width: 1440px) {
  .back-btn {
    padding: 12px 26px;
    font-size: 20px;
    gap: 9px;
  }
}

@media (min-width: 1600px) {
  .back-btn {
    padding: 13px 28px;
    font-size: 22px;
    gap: 10px;
    border-radius: 10px;
  }

  .back-btn i {
    font-size: 25px !important;
  }
}

@media (min-width: 1920px) {
  .back-btn {
    padding: 14px 32px;
    font-size: 24px;
    gap: 10px;
    border-radius: 10px;
    border-width: 2px;
  }
}

.error-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
  text-align: center;
}

.error-screen i {
  font-size: 4rem;
  color: #ff6b6b;
  animation: pulse 2s ease-in-out infinite;
}

.error-screen h2 {
  font-size: 2rem;
  color: #fff;
  font-family: "Acme", sans-serif;
  letter-spacing: 1px;
}

.error-screen p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/*  ACTOR HEADER */
.actor-header {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-bottom: 30px;
}

.actor-info-header {
  display: flex;
  flex-direction: column;
}

.actor-profile-image {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  position: relative;
  width: 180px;
  text-align: center;
  border: 2px solid #ffffff22;
  border-radius: 10px;
  background-color: #1e1e1e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.actor-profile-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.actor-profile-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #333;
  transition: transform 0.2s;
}

.actor-info-header h1 {
  font-size: 20px;
  margin: 0 0 0rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Acme", sans-serif;
  color: #fff;
}

.actor-profession {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

#actor-profession {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

#actor-name:empty::before,
#actor-profession:empty::before {
  content: "";
  display: block;
  height: 1.5em;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  border-radius: 4px;
}

.actor-meta {
  display: flex;
  gap: 10px;
}

.actor-meta span {
  margin-top: 5px;
  background: #1f1f1f;
  flex-wrap: nowrap;
  padding: 5px 10px;
  border: 1px solid #444;
  border-radius: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.actor-meta i {
  color: #00d26a;
  margin-right: 5px;
}

/*  ACTOR STATS */
.actor-stats {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-item:hover {
  background-color: #00d26a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 210, 106, 0.4);
}

.stat-item i {
  color: #fff;
  transition: color 0.3s ease;
}

.stat-item:hover i {
  color: #000;
}
.stat-item label {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.stat-item span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* SOCIAL LINKS  */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-link {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}

.social-link:hover {
  background-color: #00d26a;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 210, 106, 0.4);
}

.social-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.social-link:hover i {
  color: #000;
}

.social-link.imdb {
  border-left: 3px solid #f5c518;
}
.social-link.instagram {
  border-left: 3px solid #e1306c;
}
.social-link.twitter {
  border-left: 3px solid #1da1f2;
}

/* BIOGRAPHY SECTION */
.actor-biography {
  background: #1a1a1a;
  padding: 1rem 0.8rem;
  margin-top: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.actor-biography h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #00d26a;
  border-left: 4px solid #00d26a;
  padding-left: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.actor-biography p {
  font-size: 0.8rem;
  color: #ddd;
  line-height: 1.8;
}

/* KNOWN FOR SECTION */
.known-for-section {
  margin-top: 30px;
}

.known-for-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #00d26a;
  border-left: 4px solid #00d26a;
  padding-left: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FILMOGRAPHY SECTION */
.filmography-section {
  margin: 30px 0 50px 0;
}

.filmography-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #00d26a;
  border-left: 4px solid #00d26a;
  padding-left: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filmography-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #264733;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  transition: background 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 600;
}

.tab-btn:hover {
  background: #00d26a;
  color: #000;
}

.tab-btn.active {
  background: #00d26a;
  color: #000;
  font-weight: 700;
}

.filmography-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filmography-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(35, 35, 35, 0.9),
    rgba(20, 20, 20, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border 0.35s ease;
}

.filmography-item:hover {
  transform: translateX(3px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(255, 255, 255, 0.05);
}

.film-poster {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  position: relative;
  width: 70px;
  text-align: center;
  border-radius: 10px;
  background-color: #1e1e1e;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.film-poster img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #333;
  transition: transform 0.2s;
}

.film-details {
  flex: 1;
}

.film-details h4 {
  font-size: 18px;
  font-weight: 700;
  color: #00d26a;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
}

.film-details .character {
  font-size: 16px;
  color: #ccc;
  font-style: italic;
  margin: 3px 0 8px 0;
  display: block;
  line-height: 1.2;
}

.badges-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #264733;
  border-radius: 8px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.media-badge:hover {
  background: #00d26a;
  color: #000;
}

@media screen and (max-width: 569px) {
  .actor-info-header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-wrap: anywhere;
    flex: 1;
    justify-content: center;
  }

  .actor-stats {
    gap: 8px;
    margin-top: 8px;
  }

  .stat-item {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1.2rem;
    gap: 8px;
  }

  .actor-info-header {
    position: relative;
  }

  .social-links {
    width: calc(100% + 180px);
    margin-left: -190px;
    flex-wrap: nowrap;
    margin-top: 15px;
  }

  .social-link {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition:
      background 0.3s,
      color 0.3s,
      transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
  }

  .filmography-section {
    margin: 30px 0 50px 0;
  }
  .filmography-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    padding-left: 0.6rem;
    gap: 10px;
  }
  .filmography-tabs {
    gap: 10px;
    margin-bottom: 15px;
  }
  .tab-btn {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
  }
  .filmography-list {
    gap: 10px;
  }
  .filmography-item {
    gap: 10px;
    padding: 10px 13px;
  }
  .film-poster {
    width: 70px;
    border-radius: 10px;
  }
  .film-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .film-details .character {
    font-size: 14px;
    margin: 3px 0 8px 0;
  }
  .badges-container {
    gap: 8px;
  }
  .media-badge {
    gap: 4px;
    padding: 3px 8px;
    font-size: 12px;
  }
}

@media screen and (max-width: 510px) {
  .social-links {
    gap: 10px;
    width: 100%;
    left: 50%;
    margin-top: 12px;
  }

  .social-link {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 1.2rem;
    gap: 8px;
  }

  .social-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
  }
}

@media screen and (max-width: 500px) {
  .actor-header {
    gap: 10px;
    margin-bottom: 30px;
  }
  .known-for-section {
    margin-top: 30px;
  }
  .known-for-section h2 {
    font-size: 25px;
    margin-bottom: 10px;
    gap: 10px;
  }
  .actor-profile-image {
    width: 180px;
    border-radius: 10px;
  }
  .actor-info-header h1 {
    font-size: 20px;
    margin: 0 0 0rem 0;
  }
  .actor-profession {
    gap: 18px;
  }
  #actor-profession {
    font-size: 0.875rem;
  }
  .actor-meta {
    gap: 10px;
  }
  .actor-meta span {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 16px;
  }
  .actor-meta i {
    margin-right: 5px;
  }
  .actor-stats {
    gap: 8px;
    margin-top: 8px;
  }
  .stat-item {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1.2rem;
    gap: 8px;
  }
}

@media screen and (max-width: 450px) {
  .actor-info-header {
    gap: 2px;
  }

  .actor-header {
    gap: 10px;
    margin-bottom: 30px;
  }

  .actor-profile-image {
    width: 160px;
    border-radius: 10px;
  }

  .actor-info-header h1 {
    font-size: 18px;
    margin: 0 0 0rem 0;
  }

  .actor-profession {
    gap: 18px;
  }

  #actor-profession {
    font-size: 14px;
  }

  .actor-meta {
    gap: 10px;
  }

  .actor-meta span {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
  }

  .actor-meta i {
    margin-right: 5px;
  }

  .actor-stats {
    gap: 8px;
    margin-top: 8px;
  }

  .stat-item {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    gap: 8px;
  }
  .social-links {
    gap: 10px;
    margin-top: 12px;
  }

  .social-links {
    width: calc(100% + 180px);
    margin-left: -160px;
    flex-wrap: nowrap;
    margin-top: 15px;
  }

  .social-link {
    padding: 0.5rem 0.6rem;
    gap: 8px;
  }
  .social-logo {
    height: 25px;
  }
}

@media screen and (max-width: 432px) {
  .actor-meta {
    gap: 10px;
  }

  .actor-meta span {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  .cast-details-content {
    padding: 20px 15px 5px 8px;
  }
  .known-for-section {
    margin-top: 30px;
  }
  .known-for-section h2 {
    font-size: 23px;
    margin-bottom: 10px;
    gap: 10px;
  }
  .actor-info-header {
    gap: 2px;
  }
  .actor-header {
    gap: 8px;
    margin-bottom: 0px;
  }
  .actor-profile-image {
    width: 150px;
    border-radius: 10px;
  }
  .actor-info-header h1 {
    font-size: 15px;
    margin: 0 0 0rem 0;
  }
  .actor-profession {
    gap: 18px;
  }
  #actor-profession {
    font-size: 10px;
  }
  .actor-meta {
    gap: 10px;
  }
  .actor-meta span {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
  .actor-meta i {
    margin-right: 5px;
  }
  .actor-stats {
    gap: 8px;
    margin-top: 8px;
  }
  .stat-item {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    gap: 3px;
  }
  .social-links {
    gap: 10px;
    margin-top: 12px;
  }
  .social-links {
    width: calc(100% + 180px);
    margin-left: -160px;
    flex-wrap: nowrap;
    margin-top: 15px;
  }
  .social-link {
    padding: 0.5rem 0.6rem;
    gap: 8px;
  }
  .social-logo {
    height: 25px;
  }
}

@media screen and (max-width: 370px) {
  .social-links {
    gap: 10px;
    width: 100%;
    left: 50%;
    margin-top: 12px;
  }

  .social-link {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    font-size: 1.2rem;
    gap: 8px;
  }
  .social-logo {
    height: 22px;
  }
}

@media screen and (max-width: 350px) {
  .social-links {
    gap: 10px;
    width: 100%;
    left: 50%;
    margin-top: 12px;
  }

  .social-link {
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    gap: 8px;
  }
  .social-logo {
    height: 20px;
  }
}

@media (min-width: 760px) {
  .cast-details-content {
    padding: 22px 18px 8px 18px;
  }

  .actor-info-header {
    gap: 0px;
  }
  .actor-header {
    gap: 12px;
  }

  .actor-profile-image {
    width: 195px;
  }

  .actor-info-header h1 {
    font-size: 22px;
  }

  #actor-profession {
    font-size: 0.9rem;
  }

  .actor-meta {
    display: flex;
    flex-direction: column;

    justify-self: start;
  }

  .actor-meta span {
    font-size: 15px;
    padding: 6px 11px;
    justify-content: flex-start;
    gap: 5px;
    width: fit-content;
    align-self: flex-start;
  }

  .stat-item {
    font-size: 1.25rem;
    padding: 6px 11px;
  }

  .social-link {
    font-size: 1.25rem;
    padding: 0.55rem 1.1rem;
  }

  .social-logo {
    height: 29px;
  }

  .actor-biography {
    padding: 1.1rem 0.9rem;
    margin-top: 2.2rem;
  }

  .actor-biography h2 {
    font-size: 1.6rem;
  }

  .actor-biography p {
    font-size: 0.85rem;
  }

  .known-for-section {
    margin-top: 32px;
  }

  .known-for-section h2 {
    font-size: 29px;
  }

  .filmography-section {
    margin: 32px 0 55px 0;
  }

  .filmography-section h2 {
    font-size: 27px;
  }

  .filmography-tabs {
    gap: 11px;
    margin-bottom: 27px;
  }

  .tab-btn {
    padding: 6px 11px;
    font-size: 14.5px;
  }

  .filmography-item {
    gap: 13px;
    padding: 11px 14px;
  }

  .film-poster {
    width: 75px;
  }

  .film-details h4 {
    font-size: 19px;
  }

  .film-details .character {
    font-size: 15px;
  }

  .media-badge {
    font-size: 12.5px;
    padding: 3.5px 9px;
  }

  .loading-screen p {
    font-size: 1.35rem;
  }

  .error-screen i {
    font-size: 4.2rem;
  }

  .error-screen h2 {
    font-size: 2.1rem;
  }

  .error-screen p {
    font-size: 1.15rem;
  }
}

@media (min-width: 990px) {
  .cast-details-content {
    padding: 24px 22px 10px 22px;
  }

  .actor-header {
    gap: 14px;
  }

  .actor-profile-image {
    width: 200px;
  }
  .actor-info-header {
    gap: 1px;
  }

  .actor-info-header h1 {
    font-size: 24px;
  }

  #actor-profession {
    font-size: 0.92rem;
  }

  .actor-meta span {
    font-size: 15.5px;
    padding: 6px 12px;
  }

  .stat-item {
    font-size: 1.3rem;
    padding: 6px 12px;
  }

  .social-link {
    font-size: 1.3rem;
    padding: 0.6rem 1.2rem;
  }

  .social-logo {
    height: 30px;
  }

  .actor-biography {
    padding: 1.2rem 1rem;
    margin-top: 2.4rem;
  }

  .actor-biography h2 {
    font-size: 1.7rem;
  }

  .actor-biography p {
    font-size: 0.9rem;
  }

  .known-for-section {
    margin-top: 35px;
  }

  .known-for-section h2 {
    font-size: 31px;
  }

  .filmography-section {
    margin: 35px 0 60px 0;
  }

  .filmography-section h2 {
    font-size: 29px;
  }

  .filmography-tabs {
    gap: 12px;
    margin-bottom: 30px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 15px;
  }

  .filmography-item {
    gap: 14px;
    padding: 12px 15px;
  }

  .film-poster {
    width: 80px;
  }

  .film-details h4 {
    font-size: 20px;
  }

  .film-details .character {
    font-size: 15.5px;
  }

  .media-badge {
    font-size: 13px;
    padding: 4px 9px;
  }

  .loading-screen p {
    font-size: 1.4rem;
  }

  .error-screen i {
    font-size: 4.4rem;
  }

  .error-screen h2 {
    font-size: 2.2rem;
  }

  .error-screen p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1200px) {
  .cast-details-content {
    padding: 26px 26px 12px 26px;
  }

  .actor-header {
    gap: 16px;
  }
  .actor-info-header {
    gap: 2px;
  }
  .actor-profile-image {
    width: 210px;
  }

  .actor-info-header h1 {
    font-size: 26px;
  }

  #actor-profession {
    font-size: 0.94rem;
  }

  .actor-meta span {
    font-size: 16px;
    padding: 7px 13px;
  }

  .stat-item {
    font-size: 1.35rem;
    padding: 7px 13px;
  }

  .actor-biography {
    padding: 1.3rem 1.1rem;
    margin-top: 2.6rem;
  }

  .actor-biography h2 {
    font-size: 1.8rem;
  }

  .actor-biography p {
    font-size: 0.92rem;
  }

  .known-for-section {
    margin-top: 38px;
  }

  .known-for-section h2 {
    font-size: 33px;
  }

  .filmography-section {
    margin: 38px 0 65px 0;
  }

  .filmography-section h2 {
    font-size: 31px;
  }

  .filmography-tabs {
    gap: 13px;
    margin-bottom: 32px;
  }

  .tab-btn {
    padding: 7px 13px;
    font-size: 15.5px;
  }

  .filmography-item {
    gap: 15px;
    padding: 13px 16px;
  }

  .film-poster {
    width: 85px;
  }

  .film-details h4 {
    font-size: 21px;
  }

  .film-details .character {
    font-size: 16px;
  }

  .media-badge {
    font-size: 13.5px;
    padding: 4px 10px;
  }

  .loading-screen p {
    font-size: 1.45rem;
  }

  .error-screen i {
    font-size: 4.6rem;
  }

  .error-screen h2 {
    font-size: 2.3rem;
  }

  .error-screen p {
    font-size: 1.25rem;
  }
}

@media (min-width: 1400px) {
  .cast-details-content {
    padding: 28px 30px 14px 30px;
  }

  .actor-header {
    gap: 18px;
  }
  .actor-info-header {
    gap: 3px;
  }

  .actor-profile-image {
    width: 220px;
  }

  .actor-info-header h1 {
    font-size: 28px;
  }

  #actor-profession {
    font-size: 0.96rem;
  }

  .actor-meta span {
    font-size: 16.5px;
    padding: 7px 14px;
  }

  .stat-item {
    font-size: 1.4rem;
    padding: 7px 14px;
  }

  .actor-biography {
    padding: 1.4rem 1.2rem;
    margin-top: 2.8rem;
  }

  .actor-biography h2 {
    font-size: 1.9rem;
  }

  .actor-biography p {
    font-size: 0.94rem;
  }

  .known-for-section {
    margin-top: 42px;
  }

  .known-for-section h2 {
    font-size: 35px;
  }

  .filmography-section {
    margin: 42px 0 70px 0;
  }

  .filmography-section h2 {
    font-size: 33px;
  }

  .filmography-tabs {
    gap: 14px;
    margin-bottom: 35px;
  }

  .tab-btn {
    padding: 7px 14px;
    font-size: 16px;
  }

  .filmography-item {
    gap: 16px;
    padding: 14px 17px;
  }

  .film-poster {
    width: 90px;
  }

  .film-details h4 {
    font-size: 22px;
  }

  .film-details .character {
    font-size: 16.5px;
  }

  .media-badge {
    font-size: 14px;
    padding: 4.5px 10px;
  }

  .loading-screen p {
    font-size: 1.5rem;
  }

  .error-screen i {
    font-size: 4.8rem;
  }

  .error-screen h2 {
    font-size: 2.4rem;
  }

  .error-screen p {
    font-size: 1.3rem;
  }
}

@media (min-width: 1600px) {
  .cast-details-content {
    padding: 30px 34px 16px 34px;
  }

  .actor-header {
    gap: 20px;
  }

  .actor-profile-image {
    width: 240px;
  }
  .actor-info-header {
    gap: 4px;
  }

  .actor-info-header h1 {
    font-size: 30px;
  }

  #actor-profession {
    font-size: 0.98rem;
  }

  .actor-meta span {
    font-size: 17px;
    padding: 8px 15px;
  }

  .stat-item {
    font-size: 1.45rem;
    padding: 8px 15px;
  }

  .social-link {
    font-size: 1.45rem;
    padding: 0.75rem 1.5rem;
  }

  .social-logo {
    height: 33px;
  }

  .actor-biography {
    padding: 1.5rem 1.3rem;
    margin-top: 3rem;
  }

  .actor-biography h2 {
    font-size: 2rem;
  }

  .actor-biography p {
    font-size: 0.96rem;
  }

  .known-for-section {
    margin-top: 45px;
  }

  .known-for-section h2 {
    font-size: 37px;
  }

  .filmography-section {
    margin: 45px 0 75px 0;
  }

  .filmography-section h2 {
    font-size: 35px;
  }

  .filmography-tabs {
    gap: 15px;
    margin-bottom: 38px;
  }

  .tab-btn {
    padding: 8px 15px;
    font-size: 16.5px;
  }

  .filmography-item {
    gap: 17px;
    padding: 15px 18px;
  }

  .film-poster {
    width: 95px;
  }

  .film-details h4 {
    font-size: 23px;
  }

  .film-details .character {
    font-size: 17px;
  }

  .media-badge {
    font-size: 14.5px;
    padding: 5px 11px;
  }

  .loading-screen p {
    font-size: 1.55rem;
  }

  .error-screen i {
    font-size: 5rem;
  }

  .error-screen h2 {
    font-size: 2.5rem;
  }

  .error-screen p {
    font-size: 1.35rem;
  }
}

@media (min-width: 1900px) {
  .cast-details-content {
    padding: 32px 38px 18px 38px;
  }

  .actor-header {
    gap: 22px;
  }
  .actor-info-header {
    gap: 6px;
  }

  .actor-profile-image {
    width: 250px;
  }

  .actor-info-header h1 {
    font-size: 32px;
  }

  #actor-profession {
    font-size: 1rem;
  }

  .actor-meta span {
    font-size: 17.5px;
    padding: 8px 16px;
  }

  .stat-item {
    font-size: 1.5rem;
    padding: 8px 16px;
  }

  .social-link {
    font-size: 1.5rem;
    padding: 0.8rem 1.6rem;
  }

  .social-logo {
    height: 34px;
  }

  .actor-biography {
    padding: 1.6rem 1.4rem;
    margin-top: 3.2rem;
  }

  .actor-biography h2 {
    font-size: 2.1rem;
  }

  .actor-biography p {
    font-size: 0.98rem;
  }

  .known-for-section {
    margin-top: 48px;
  }

  .known-for-section h2 {
    font-size: 39px;
  }

  .filmography-section {
    margin: 48px 0 80px 0;
  }

  .filmography-section h2 {
    font-size: 37px;
  }

  .filmography-tabs {
    gap: 16px;
    margin-bottom: 40px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 17px;
  }

  .filmography-item {
    gap: 18px;
    padding: 16px 19px;
  }

  .film-poster {
    width: 100px;
  }

  .film-details h4 {
    font-size: 24px;
  }

  .film-details .character {
    font-size: 17.5px;
  }

  .media-badge {
    font-size: 15px;
    padding: 5px 11px;
  }

  .loading-screen p {
    font-size: 1.6rem;
  }

  .error-screen i {
    font-size: 5.2rem;
  }

  .error-screen h2 {
    font-size: 2.6rem;
  }

  .error-screen p {
    font-size: 1.4rem;
  }
}

@media (min-width: 2500px) {
  .cast-details-content {
    padding: 34px 42px 20px 42px;
  }

  .actor-header {
    gap: 24px;
  }

  .actor-profile-image {
    width: 270px;
  }

  .actor-info-header h1 {
    font-size: 34px;
  }

  #actor-profession {
    font-size: 1.02rem;
  }

  .actor-meta span {
    font-size: 18px;
    padding: 9px 17px;
  }

  .stat-item {
    font-size: 1.55rem;
    padding: 9px 17px;
  }

  .social-link {
    font-size: 1.55rem;
    padding: 0.85rem 1.7rem;
  }

  .social-logo {
    height: 35px;
  }

  .actor-biography {
    padding: 1.7rem 1.5rem;
    margin-top: 3.4rem;
  }

  .actor-biography h2 {
    font-size: 2.2rem;
  }

  .actor-biography p {
    font-size: 1rem;
  }

  .known-for-section {
    margin-top: 52px;
  }

  .known-for-section h2 {
    font-size: 41px;
  }

  .filmography-section {
    margin: 52px 0 85px 0;
  }

  .filmography-section h2 {
    font-size: 39px;
  }

  .filmography-tabs {
    gap: 17px;
    margin-bottom: 42px;
  }

  .tab-btn {
    padding: 9px 17px;
    font-size: 17.5px;
  }

  .filmography-item {
    gap: 19px;
    padding: 17px 20px;
  }

  .film-poster {
    width: 105px;
  }

  .film-details h4 {
    font-size: 25px;
  }

  .film-details .character {
    font-size: 18px;
  }

  .media-badge {
    font-size: 15.5px;
    padding: 5.5px 12px;
  }

  .loading-screen p {
    font-size: 1.65rem;
  }

  .error-screen i {
    font-size: 5.4rem;
  }

  .error-screen h2 {
    font-size: 2.7rem;
  }

  .error-screen p {
    font-size: 1.45rem;
  }
}

@media (min-width: 3800px) {
  .cast-details-content {
    padding: 36px 46px 22px 46px;
  }

  .actor-header {
    gap: 26px;
  }

  .actor-profile-image {
    width: 280px;
  }

  .actor-info-header h1 {
    font-size: 36px;
  }

  #actor-profession {
    font-size: 1.04rem;
  }

  .actor-meta span {
    font-size: 18.5px;
    padding: 9px 18px;
  }

  .stat-item {
    font-size: 1.6rem;
    padding: 9px 18px;
  }

  .social-link {
    font-size: 1.6rem;
    padding: 0.9rem 1.8rem;
  }

  .social-logo {
    height: 36px;
  }

  .actor-biography {
    padding: 1.8rem 1.6rem;
    margin-top: 3.6rem;
  }

  .actor-biography h2 {
    font-size: 2.3rem;
  }

  .actor-biography p {
    font-size: 1.02rem;
  }

  .known-for-section {
    margin-top: 55px;
  }

  .known-for-section h2 {
    font-size: 43px;
  }

  .filmography-section {
    margin: 55px 0 90px 0;
  }

  .filmography-section h2 {
    font-size: 41px;
  }

  .filmography-tabs {
    gap: 18px;
    margin-bottom: 45px;
  }

  .tab-btn {
    padding: 9px 18px;
    font-size: 18px;
  }

  .filmography-item {
    gap: 20px;
    padding: 18px 21px;
  }

  .film-poster {
    width: 110px;
  }

  .film-details h4 {
    font-size: 26px;
  }

  .film-details .character {
    font-size: 18.5px;
  }

  .media-badge {
    font-size: 16px;
    padding: 6px 12px;
  }

  .loading-screen p {
    font-size: 1.7rem;
  }

  .error-screen i {
    font-size: 5.6rem;
  }

  .error-screen h2 {
    font-size: 2.8rem;
  }

  .error-screen p {
    font-size: 1.5rem;
  }
}
