/* Video Grid Styles */

/* Third-party logos collage */
.third-party-logos {
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 40px);
  gap: 0.5rem;
  width: 100%;
  justify-items: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.logo-item {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.logo-item img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
}

.secretomio-logo img {
  height: auto;
  max-height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: scale(0.9);
}

.secretomio-logo img:hover {
  transform: scale(0.9);
}

.secretomio-logo {
  grid-column: 1;
  grid-row: 1;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Position the logos in a triangle pattern */
.logo-grid img:nth-child(1) { grid-column: 1; grid-row: 1; }
.logo-grid img:nth-child(2) { grid-column: 2; grid-row: 2; }
.logo-grid img:nth-child(3) { grid-column: 3; grid-row: 1; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 40px);
    gap: 0.5rem;
  }
}

.fansly-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
}

.secretomio-logo img {
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.fansly-logo, .fanvue-logo {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.logo-item:hover {
  transform: scale(0.9);
}

.secretomio-logo img:hover {
  transform: scale(0.9);
}

@media (max-width: 768px) {
  .third-party-logos {
    height: 120px;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  background-color: #333;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-card video.video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: var(--gray-1);
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.video-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.video-info p {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Featured Videos Section */
.featured-videos {
  padding: 3rem 0;
  background-color: #f8f8f8;
}

.featured-videos h3,
.membership h3 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0;
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.subscribe-now-link {
  text-decoration: none;
  color: var(--gray-10);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.subscribe-now-link:hover {
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: var(--gray-1);
}

.featured-videos-section-divider {
  height: 0.5px;
  background-color: var(--gray-10);
  margin: 3rem 0 2rem;
  width: 100%;
}

/* Membership Section */
.membership {
  background-image: linear-gradient(135deg, var(--gray-1), #FFB6FF, var(--gray-1));
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  padding: 3rem 0;
  text-align: center;
}

.membership p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--primary-color-80);
  margin: 0 auto 2.5rem;
  max-width: 700px;
}

.membership-disclaimer {
  font-size: 0.86rem;
  display: block;
  margin-top: 2rem !important;
  padding-top: 1rem !important;
}

/* Pricing Cards */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.card {
  background-color: var(--gray-1);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.popular {
  border: 2px solid var(--accent-color);
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for medium screens */
@media (max-width: 1130px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    width: 100%;
    max-width: 500px;
    margin-bottom: 1.5rem;
  }
  
  .card.popular {
    transform: none;
    order: -2; /* Put the popular (Unlimited) card first */
  }
  
  /* Set the order for the other cards */
  .card:not(.popular):not(.third-party) {
    order: -1; /* Put the Limited card second */
  }
  
  .card.third-party {
    order: 0; /* Put the Third-Party card last */
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .card, 
  .card.popular {
    width: 100%;
    max-width: 400px;
    transform: none;
    margin-bottom: 0;
  }
  
  .membership-disclaimer {
    padding: 0 1rem;
  }
}

.card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 1rem 0;
  text-align: center;
}

.card .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card .period {
  font-size: 0.85rem;
  font-weight: normal;
  color: rgba(19, 33, 22, 0.7);
}

.card ul {
  padding-left: 0;
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Year highlight styles */
.year-highlight {
  font-weight: 600;
  font-size: 13px;
}

/* Fix for the content layout in list items */
.card ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.card ul li img {
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px; /* Align with first line of text */
}

/* Ensure text wraps properly */
.card ul li .content-year {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.card ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
}

.card ul li img {
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
}

.cross-grey {
  opacity: 0.8;
}

.card-button {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--gray-1);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 100%;
  font-family: inherit;
}

.card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Price Tiers */
.price-tiers {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 182, 255, 0.1);
  border-radius: 6px;
}

.price-tier .duration {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.price-tier .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.price-tier .period {
  font-size: 0.75rem;
  font-weight: normal;
  color: rgba(19, 33, 22, 0.7);
}

.card.popular .price-tier {
  background: rgba(255, 182, 255, 0.2);
}

/* Company Logos */
.company-logo {
  margin-bottom: 1rem;
  text-align: center;
}

.secretomio-logo img {
  width: auto;
  max-height: 60px;
  min-height: 60px;
}

.others-logo img {
  width: auto;
  max-height: 50px;
  min-height: 50px;
}

/* Responsive Styles */
@media (min-width: 1140px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    margin: 0;
  }
  
  .pricing-cards {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  
  .card {
    flex: 1 1 0;
  }
}

@media (max-width: 992px) {
  .subscribe-now-link {
    color: var(--primary-color);
  }
  
  .subscribe-now-link:hover {
    text-decoration-color: var(--primary-color);
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    max-width: 500px;
  }
  
  .card, 
  .card.popular {
    max-width: 375px;
    min-height: unset;
  }
  
  .membership-disclaimer {
    display: block;
    margin-top: 2rem;
  }
  
  .subscribe-now-link {
    align-self: flex-end;
    color: var(--primary-color);
  }
  
  .subscribe-now-link:hover {
    text-decoration-color: var(--primary-color);
  }
  
  .membership h3,
  .featured-videos h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {

  
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--gray-1);
    padding: 2rem;
    border-radius: 8px;
    max-width: 90%;
    width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
}

.modal h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

.modal-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Modal header with icon */
.modal-header-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Platform Options (Third Party Modal) */
.platform-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background: var(--gray-1);
    transition: background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.platform-option:hover {
    background-color: #f9f9f9;
}

.platform-option img {
    height: 25px;
    width: auto;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.platform-option .card-button {
    width: 220px; /* Fixed width based on shortest button */
    min-width: 0;
    max-width: 220px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-left: auto;
}

.platform-option .card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .platform-option {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .platform-option img {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .platform-option .card-button {
        width: 100%;
        max-width: none;
        height: 44px;
        font-size: 0.95rem;
        margin-left: 0;
    }
}

.subscription-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.subscription-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0 1rem 0 0;
    font: inherit;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}

.subscription-option input[type="radio"]:checked {
    border: none;
    background: var(--accent-color);
}

.subscription-option input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gray-1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.subscription-option input[type="radio"]:focus {
    outline: none;
}

.subscription-option input[type="radio"]:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.subscription-option label {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 400;
}

.subscription-option .duration {
    font-weight: 600;
    color: #333;
}

.subscription-option .price {
    color: var(--anchor-color);
    font-weight: 600;
}

.subscription-option .period {
    font-size: 0.8em;
    color: #666;
}

@media (max-width: 600px) {
    .subscription-option label {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .subscription-option input[type="radio"] {
        margin: 0 0 0.5rem 0;
    }
}


