@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

:root {
  --color-background-dark: rgba(20, 20, 20, 1);
  --mid-gray: rgba(41, 41, 41, 1);
  --light-gray: rgba(70, 70, 70, 1);
  --color-background-light: #f4f4f4;
  --color-primary: rgba(199, 45, 91, 1);
  --color-primary-hover: rgba(173, 35, 82, 1);
  --color-primary-border: rgba(231, 112, 148, 1);
  --color-primary-border-hover: rgba(206, 102, 140, 1);
  --color-text-light: rgba(255, 255, 255, 1);
  --color-text-dark: rgba(255, 255, 255, 0.8);
  --color-navbar-bg: #1a1a1a;
  --color-border-dark: rgba(41, 41, 41, 1);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: Montserrat, sans-serif;
  background: var(--color-background-dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 29.26px;
  text-align: left;
  color: rgba(255, 255, 255, 1);
}

p {
  font-size: 14px;
  font-weight: 500;
  line-height: 17.07px;
  text-align: left;
  color: var(--color-text-light);
}

.navigation ul {
  display: flex;
  gap: 1em;
}

.main {
  padding: 1em;
}

.container {
  width: 100%;
  max-width: 1680px;
  padding: 0 10px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* HEADER */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-direction: row;
}

.header-bar-wrapper {
  display: flex;
  align-items: center;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  padding-right: 36.17px;
}

.icon-header {
  width: 24px;
  height: 24px;
}

.categories h2 {
  margin-bottom: 30px;
}

.language-selector,
.categories-button {
  display: flex;
  align-items: center;
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: 65%;
  align-items: center;
  background-color: var(--color-navbar-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 14px;
  position: relative;
  overflow: visible;
}

.search-bar form {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.search-bar input {
  flex: 1;
  background-color: transparent;
  border: none;
  color: var(--color-text-light);
  padding: 17px 20px 15px 20px;
  outline: none;
}

.search-button {
  width: 44px;
  height: 44px;
}

.search-bar svg {
  width: 24px;
  height: 24px;
}

/* When the search icon lives inside the bar */
.search-bar form .search-button {
  background-color: var(--color-primary);
  border-radius: 0 14px 14px 0;
  margin: 0;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 0 !important;
  margin-left: auto;
  /* push icon to the far right even if DOM order differs */
}

/* Fully rounded icon used outside the bar (e.g., mobile navbar) */
.search-button.hidden-icon {
  border-radius: 14px;
}

/* Search-MODAL */

.search-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(41, 41, 41, 0.8);
  border: 1px solid var(--color-border-dark);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.search-modal-content {
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
}

.language-selector button,
.categories-button a {
  height: 52px;
  padding: 14px 20px;
}

.filled-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid var(--color-primary-border);
  transition: background-color 0.3s, border-color 0.3s;
}

.filled-btn:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-border-hover);
}

.border-button {
  color: var(--color-text-light);
  background-color: inherit;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid var(--color-primary-border);
  transition: background-color 0.3s, color 0.3s;
}

.border-button:hover {
  background-color: rgba(231, 112, 148, 0.1);
  color: var(--color-primary-border);
}

button {
  font-size: 16px;
  font-weight: 500;
  line-height: 19.5px;
  text-align: left;
}

.icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* NAV */
.navbar {
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
}

.navbar-wrapper {
  display: flex;
  width: 1111.43px;
}

.navbar-scrollable {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

.navbar-scrollable::-webkit-scrollbar {
  display: none;
}

.navbar-list {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--mid-gray);
  padding: 12px 20px;
  color: var(--color-text-light);
  border-radius: 12px;
  transition: background-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-link:hover {
  background-color: var(--color-text-dark);
}

.search-button {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.icon-nav {
  width: 20px;
  height: 20px;
}

/* CARD */

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  margin-bottom: 10px;
}

.card-container-two {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 30px;
  background-color: var(--mid-gray);
}

.card-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  margin-bottom: 30px;
  gap: 10px;
}

.card {
  max-width: 396px;
  box-sizing: border-box;
  border-radius: 24px 24px 14px 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .card:hover {
  transform: translateY(-5px);
} */

.card-img-type-1 {
  width: 100%;
  height: auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.card-img-container {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.reaction-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  padding: 17.5px 23px 16.5px 24px;
  background: #fff;
  border-radius: 24px;
  z-index: 10;
}

.card-img-container.clicked:hover .reaction-buttons {
  display: flex;
}

.reaction-button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
}

.reaction-button img {
  width: 24px;
  height: 24px;
}

.reaction-button:nth-child(1),
.reaction-button:nth-child(2) {
  padding-right: 20px;
  border-right: 2px solid rgba(0, 0, 0, 0.3);
}

.reaction-button:nth-child(3) {
  margin-right: 0;
  border: none;
}

/* Active (clicked) state – restores red tint like in old_styles.css */
.reaction-button.active img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(92%) saturate(6349%) hue-rotate(353deg) brightness(97%) contrast(124%);
}

/* Specific stronger red for the like (heart) button */
.reaction-button.like.active img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(96%) saturate(7466%) hue-rotate(359deg) brightness(98%) contrast(118%);
}

.video-time {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.video-stats {
  position: absolute;
  bottom: 10px;
  left: 10px;
  /* display: flex; */
  display: none;
  gap: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 5px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
}

.stat-item img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.video-actions {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.action-button img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.card-info .card-title {
  margin-bottom: 5px;
}

.card-title {
  color: var(--color-text-light);
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 17.07px;
}

.card-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 50%;
  gap: 10px;
}

.icon-camera {
  width: 24px;
  height: 24px;
}

.views-count {
  color: var(--color-text-light);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.8;
}

.card-type-1 {
  background-color: var(--light-gray);
}

.card-type-2,
.card-type-3,
.card-type-4,
.card-type-5,
.card-type-6 {
  display: flex;
  flex-direction: column;
  background-color: inherit;
  gap: 10px;
}

.card-tags {
  /* display: block; */
  display: flex;
  /* display: inline; */
  /* display: none; */
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  border-radius: 24px 24px 14px 14px;
  box-sizing: border-box;
}

.card-author {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  opacity: 0.5;
}

/* Card 3 */
.card-empty-message {
  max-width: 396px;
  height: 229px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--light-gray);
  color: var(--color-text-light);
  padding: 20px;
  border-radius: 24px;
  text-align: center;
}

.card-empty-message p {
  width: 308px;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.card-empty-message .button {
  background-color: var(--color-primary);
  color: white;
  padding: 12px 60px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card-empty-message .button:hover {
  background-color: var(--color-primary-hover);
}

/* Card 4 */
.card-empty {
  max-width: 396px;
  height: 229px;
  flex-shrink: 0;
  background-color: var(--light-gray);
  border-radius: 24px;
}

.card-type-4:nth-child(1) {
  opacity: 1;
}

.card-type-4:nth-child(2) {
  opacity: 0.5;
}

.card-type-4:nth-child(3) {
  opacity: 0.3;
}

.card-type-4:nth-child(4) {
  opacity: 0.1;
}

/* Tags */

.tags h2 {
  margin-bottom: 20px;
}

.tag-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-header {
  margin: 0;
}

.tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 17.07px;
  text-align: left;
  color: var(--color-text-light);
  background-color: var(--light-gray);
  transition: background-color 0.3s;
}

.tags-mobile {
  display: none;
}

/* Category */

.alphabet-group {
  margin-bottom: 20px;
}

.alphabet-group h3 {
  display: inline-block;
  margin-bottom: 17px;
  font-size: 24px;
  color: var(--color-text-light);
  padding: 10px 20px;
  background-color: var(--light-gray);
  border-radius: 14px;
}

.category-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: background-color 0.3s;
  width: calc(25% - 15px);
}

.category:hover {
  background-color: var(--mid-gray);
}

.category-name {
  font-size: 16px;
  font-weight: 500;
}

.category-views {
  font-size: 16px;
  color: #aaa;
}

.info-left {
  display: flex;
  white-space: nowrap;
  gap: 10px;
  align-items: center;
}

.with-tags {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
}

/* Buttons-page-navi */

.pagination-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.pagination-button,
.pagination-icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light-gray);
  color: var(--color-text-light);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination-button:hover {
  background-color: var(--mid-gray);
  border: 1px solid var(--light-gray);
}

.pagination-button:active {
  background-color: var(--mid-gray);
  border: 1px solid var(--light-gray);
}

.pagination-icon-button:hover {
  background-color: var(--mid-gray);
  border: 1px solid var(--light-gray);
}

.pagination-icon-next {
  transform: rotate(-90deg);
}

.pagination-icon-back {
  transform: rotate(90deg);
}

.pagination-icon {
  width: 24px;
  height: 24px;
}

/* Alphabet */

.alphabet {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  padding-left: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.alphabet::-webkit-scrollbar {
  display: none;
}

.alphabet-content {
  display: flex;
}

.alphabet-popular {
  color: #fff;
  padding: 10px 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background-color: var(--color-primary);
  border-radius: 12px;
  margin-right: 10px;
  white-space: nowrap;
}

.alphabet-popular:hover {
  background-color: var(--color-primary-hover);
}

.alphabet-popular:active {
  background-color: var(--color-primary-hover);
}

.alphabet span {
  color: #fff;
  padding: 10px 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 12px;
  white-space: nowrap;
}

.alphabet span:hover {
  background-color: var(--color-primary);
}

.alphabet span:active {
  background-color: var(--color-primary);
}

.alphabet-button {
  padding: 10px 16px;
  background-color: inherit;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
}

.alphabet-button:hover {
  background-color: var(--color-primary);
}

.alphabet-button:active {
  background-color: var(--color-primary);
}

/* Stars */

.actress-name {
  font-size: 16px;
  font-weight: 500;
}

.actresses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.actress-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: background-color 0.3s;
  width: calc(25% - 15px);
}

/* TAB */

.tabs {
  display: inline-flex;
  padding: 4px;
  gap: 20px;
  border-radius: 14px;
  border: 1px solid var(--light-gray);
  margin-bottom: 30px;
}

.tab-button {
  padding: 10px 16px;
  background-color: inherit;
  font-size: 14px;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-button.active {
  background-color: var(--color-primary);
}

/* .tab-button:hover {
  background-color: var(--color-primary-light);
} */

.info-wrapper-mobile {
  display: none;
}

/* Modal-tabs */

.tabs-open-button {
  display: inline-flex;
  padding: 5px;
  align-items: center;
  background-color: var(--light-gray);
  border: none;
  border-radius: 14px;
}

.tabs-open-button img {
  width: 24px;
  height: 24px;
}

.modal-tabs {
  border-radius: 14px;
  background-color: var(--light-gray);
  width: 245px;
  height: 84px;
}

.modal-tabs-card {
  display: flex;
  padding: 15px;
  gap: 20px;
  flex-wrap: wrap;
}

.modal-tabs-btn {
  background-color: inherit;
  border: none;
  color: var(--color-text-light);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modal-tabs-btn:hover,
.modal-tabs-btn:active {
  opacity: 1;
}

.tabs-modal {
  position: absolute;
  top: 250px;
  right: 25px;
  border-radius: 8px;
  z-index: 1000;
}

/* FOOTER */

.site-footer {
  padding: 20px 0;
  color: var(--color-text-light);
  font-size: 14px;
}

.footer-nav {
  padding: 20px;
  color: var(--color-text-light);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.5;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-menu li {
  display: inline;
}

.footer-menu a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-disclaimer {
  background-color: var(--mid-gray);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  padding: 15px 20px;
  font-size: 12px;
  margin-bottom: 20px;
}

.footer-p {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  text-align: left;

  color: var(--color-text-light);
}

.footer-age-restriction {
  display: flex;
  justify-content: flex-end;
  margin-top: -40px;
}

.age-icon {
  width: 40px;
  height: 40px;
}

/* More */

.more-section:first-child {
  margin-bottom: 30px;
}

.more-section p,
.more-section li {
  color: var(--color-text-light);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  opacity: 0.8;
}

.custom-list {
  list-style: none;
  padding-left: 5px;
}

.custom-list li {
  position: relative;
  padding-left: 15px;
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 16px;
  line-height: 150%;
}

/* Not-found */

.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 128px 0 161px 0;
}

.not-found-img {
  width: 292px;
  height: 249px;
  margin-bottom: 40px;
}

.not-found-btn {
  background: var(--color-primary);
  padding: 12px 60px;
  color: var(--color-text-light);
  border: none;
  border-radius: 14px;
  cursor: pointer;
}

.accordion-input {
  display: none;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-question {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px;
  background-color: var(--mid-gray);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.accordion-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  color: var(--color-text-light);
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-input:checked+.accordion-question+.accordion-answer {
  max-height: 1000px;
  padding: 15px;
}

.accordion-input:checked+.accordion-question .accordion-arrow {
  transform: rotate(180deg);
}

/* Form */

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: var(--mid-gray);
  border-radius: 24px;
  max-width: 470px;
  margin: 0 auto;
}

.contact-form h2 {
  font-size: 24px;
  color: var(--color-text-light);
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background-color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 60px;
  width: 227px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--color-primary-hover);
}

/* Modal */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(41, 41, 41, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.modal-content {
  background-color: #333;
  padding: 30px;
  border-radius: 14px;
  width: 515px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.modal-header h2 {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
}

.close-button img {
  width: 24px;
  height: 24px;
}

.flag-icon-modal {
  width: 44px;
  height: 44px;
  margin: 0 5.5px;
}

.language-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.language-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 19px;
  background-color: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 90px;
}

.language-button:hover {
  background-color: #555;
}

.flag-icon {
  width: 44px;
  height: 44px;
}

.language-button span {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* Modal-report */

.report-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(41, 41, 41, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.report-modal-content {
  background-color: #333;
  padding: 20px;
  border-radius: 14px;
  max-width: 662px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.report-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.report-modal-header h2 {
  margin-bottom: 0;
}

.report-close-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.report-modal-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.report-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 40%;
}

.report-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-radio-option input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.report-radio-option input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
}

.report-radio-option label {
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.report-textarea-button-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 60%;
}

.report-reason-text {
  flex: 1;
}

.report-reason-text textarea {
  width: 100%;
  height: 150px;
  background-color: inherit;
  font-family: inherit;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-size: 16px;
}

.report-send-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 60px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.report-send-button:hover {
  background-color: var(--color-primary-hover);
}

.mobile-change {
  display: none;
}

.hidden-icon {
  display: none;
}

.video-actions-mobile {
  display: none;
}


@media (max-width: 1440px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .card {
    max-width: 100%;
  }

  .card-header-mobile {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 16px;
    gap: 20px;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
  }
}

@media (max-width: 1277px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-empty-message,
  .card-empty {
    max-width: 100%;
    height: 229px;
  }
}

@media (max-width: 870px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
  }

  .header-bar-wrapper {
    justify-content: space-between;
    width: 100%;
  }

  .container {
    padding: 0;
  }

  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-container-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }

  .actresses {
    flex-direction: column;
  }

  .actress-card {
    width: 100%;
  }

  .category-container {
    flex-direction: column;
  }

  .category {
    width: 100%;
  }

  .search-bar {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    border-radius: 14px;
  }

  .search-bar input {
    font-size: 16px;
  }

  .search-bar form .search-button {
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .header-bar {
    width: auto;
  }

  .tabs {
    display: none;
  }

  .info-wrapper-mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .tags {
    display: none;
  }

  .tags-mobile {
    display: inline;
  }

  .tag-container {
    margin-bottom: 16px;
  }

  .info-wrapper {
    display: none;
  }

  .hidden-icon {
    display: none;
  }

  .video-actions {
    display: none;
  }

  .video-actions-mobile {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

  .navbar {
    padding: 10px;
  }
}

@media (max-width: 430px) {

  h1,
  h2 {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .container {
    max-width: 430px;
    width: 100%;
    overflow: auto;
    box-sizing: border-box;
    scrollbar-width: none;
  }

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

  .header-container {
    padding: 0 10px;
    gap: 10px;
  }

  .mobile-change {
    display: block;
  }

  .navbar-wrapper {
    display: flex;
  }

  .language-icon {
    width: 20px;
    height: 20px;
  }

  button {
    font-size: 14px;
  }

  .language-selector button,
  .categories-button a {
    height: 48px;
  }

  .content-wrapper {
    width: 100%;
    padding: 20px;
  }

  .card-header {
    margin-bottom: 20px;
  }

  .card {
    flex: 1 1 calc(33.33% - 1em);
    box-sizing: border-box;
    border-radius: 24px 24px 14px 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card-type-2,
  .card-type-3,
  .card-type-4,
  .card-type-5,
  .card-type-6 {
    gap: 0;
    margin-bottom: 20px;
  }

  .card-type-2:nth-last-child(1) {
    margin-bottom: 0;
  }

  .card-tags {
    margin-bottom: 10px;
  }

  .card-img-container {
    margin-bottom: 5px;
  }

  .card-info {
    display: flex;
    flex-direction: column;
    justify-self: start;
    align-items: flex-start;
    padding: 10px;
  }

  .icon-camera {
    width: 19px;
    height: 19px;
  }

  .views-count {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.8;
  }

  .search-bar {
    display: flex;
    margin-top: 8px;
    border-radius: 12px;
  }

  .search-bar input {
    padding: 12px 15px;
  }

  .header-bar {
    justify-content: flex-end;
  }

  .tags {
    margin-bottom: 30px;
  }

  .alphabet-group h3 {
    margin-bottom: 20px;
  }

  .footer-nav {
    padding: 20px 10px;
  }

  .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    white-space: nowrap;
  }

  .footer-disclaimer {
    padding: 20px;
  }

  .reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .not-found {
    padding: 100px 0;
  }

  .alphabet {
    padding: 0;
  }

  .alphabet-content {
    flex-wrap: wrap;
    max-height: 160px;
  }

  .tag-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .card-author-mobile {
    margin-bottom: 10px;
  }

  .card-author-mobile {
    margin-bottom: 10px;
  }

  .card-type-6 {
    margin-bottom: 20px;
  }

  .pagination-container-mobile {
    margin-top: 10px;
  }

  .card-type-3 {
    margin-bottom: 6px;
  }

  .card-type-4 {
    margin-bottom: 6px;
    max-width: 401px;
    height: 233px;
  }

  .card-type-1:last-child,
  .card-type-2:last-child,
  .card-type-3:last-child,
  .card-type-4:last-child,
  .card-type-5:last-child,
  .card-type-6:last-child {
    margin-bottom: 0px;
  }

  .navbar-scrollable {
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .tabs-modal {
    top: 230px;
    right: 15px;
  }

  /* Single-column videos on very small screens */
  .card-container-two {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-container-two .card {
    max-width: 100%;
  }
}

/* Terms and Conditions Page Specific Styles */
.more-section h2 {
  font-size: 1.5em;
  /* Increase heading size */
  margin-top: 20px;
  /* Add space above headings */
  margin-bottom: 10px;
  /* Add space below headings */
}

.more-section p,
.more-section ul.custom-list {
  margin-bottom: 15px;
  /* Add space below paragraphs and lists */
}

/* Ensure the last element in a section doesn't have extra bottom margin if not needed */
.more-section>*:last-child {
  margin-bottom: 0;
}

.more-section ul.custom-list {
  padding-left: 20px;
  /* Add some padding to lists for better indentation */
}

.more-section ul.custom-list li {
  margin-bottom: 5px;
  /* Add a little space between list items */
}

/* --- Search dropdown header fix --- */
header .container {
  position: relative;
  /* establish stacking context */
  overflow: visible;
  /* let suggestions extend below header */
}

/* --- Language button visual tweaks --- */
#languageButton {
  padding: 8px 14px !important;
  /* more compact, symmetric */
  border-radius: 12px !important;
  /* less pill, more square */
  gap: 8px !important;
  /* reduced gap to move flag and text closer together */
  justify-content: center !important;

}

#languageButton .language-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
}

.pagination-button.active,
.pagination-button[aria-current="page"] {
  background-color: var(--color-primary);
  color: #fff;
  cursor: default;
}

/* Optional: apply same highlight to icon buttons if they can be active */
.pagination-icon-button.active {
  background-color: var(--color-primary);
  color: #fff;
  cursor: default;
}

/* Disabled state for both button types */
.pagination-button[disabled],
.pagination-icon-button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}