/* 
  AV Actress Star - Detail Page CSS
  Specific styles for detail.php (Video Player, Metadata, Sidebar lists)
*/

/* --- Breadcrumb Navigation --- */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-gray-400);
    margin-bottom: 1.5rem;
}
.breadcrumb-item {
    transition: color 0.2s;
}
.breadcrumb-item:hover {
    color: var(--white);
}
.breadcrumb-separator {
    margin: 0 0.5rem;
}
.breadcrumb-current {
    color: var(--white);
    display: block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .breadcrumb-current { max-width: 20rem; }
}

/* --- Layout --- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .detail-main {
        grid-column: span 2 / span 2;
    }
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Content Boxes */
.content-box {
    background-color: var(--bg-dark-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.content-box-np { /* no padding */
    background-color: var(--bg-dark-200);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* --- Video Player Area --- */
.player-aspect-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 67.25%; /* 16:9 */
    background-color: var(--black);
}
.player-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.play-btn {
    width: 5rem;
    height: 5rem;
    background-color: rgba(79, 70, 229, 0.9); /* brand-600/90 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.play-overlay:hover .play-btn {
    transform: scale(1.1);
}
.play-icon {
    width: 2rem;
    height: 2rem;
    color: var(--white);
    margin-left: 0.5rem;
}

/* --- Meta Info Area --- */
.detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.625;
}
@media (min-width: 768px) {
    .detail-title { font-size: 1.5rem; }
}

.seo-lead {
    background-color: rgba(42, 42, 42, 0.3); /* dark-300/30 */
    border-radius: 0.5rem;
    padding: 0.75rem;
    border-left: 4px solid var(--brand-500);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
@media (min-width: 640px) {
    .seo-lead { padding: 1rem; }
}
.seo-lead-icon {
    color: var(--brand-500);
    margin-top: 0.25rem;
    flex-shrink: 0;
}
.seo-lead-text {
    font-size: 0.875rem;
    color: var(--text-gray-300);
    line-height: 1.625;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray-400);
    margin-bottom: 1.5rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.maker-pn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    color: var(--white);
    font-family: monospace;
    font-size: 0.75rem;
}
.review-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.review-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}
@media (min-width: 768px) {
    .review-score { font-size: 1.5rem; }
}
.review-count {
    color: var(--text-gray-400);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
@media (min-width: 768px) {
    .review-count { font-size: 0.875rem; }
}

.description-text {
    color: var(--text-gray-300);
    font-size: 0.875rem;
    line-height: 1.625;
    white-space: pre-wrap;
}

/* --- Video Meta Table (SEO Enhance) --- */
.video-meta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.video-meta-table th {
    width: 100px;
    text-align: left;
    color: var(--text-gray-500);
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.video-meta-table td {
    color: var(--text-gray-200);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-brand-400 { color: #818cf8; }
.text-yellow-500 { color: #f59e0b; }

/* --- FAQ Styles --- */
.faq-list {
    display: flex;
    flex-direction: column;
}
.faq-question {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.faq-answer {
    line-height: 1.6;
}

/* --- Sample Video Container --- */
.sample-video-title,
.faq-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand-500);
    padding-left: 1rem;
}
.iframe-container {
    position: relative;
    padding-bottom: 75%; /* 16:12 */
    background-color: var(--black);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Sidebar --- */
.sidebar-box {
    background-color: var(--bg-dark-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-box-center {
    text-align: center;
}

.affiliate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 0;
    background: linear-gradient(to right, #dc2626, #ef4444); /* red-600 to red-500 */
    color: var(--white);
    font-weight: 700;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    gap: 0.5rem;
}
.affiliate-btn:hover {
    background: linear-gradient(to right, #ef4444, #f87171); /* red-500 to red-400 */
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}
.affiliate-note {
    font-size: 0.75rem;
    color: var(--text-gray-500);
    margin-top: 0.5rem;
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.sidebar-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Actress Mini Grid */
.actress-minigrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.actress-minipill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}
.actress-minipill:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.act-mini-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-dark-300);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s;
}
.actress-minipill:hover .act-mini-avatar {
    border-color: rgba(99, 102, 241, 0.5);
}
.act-mini-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.75rem;
}
.act-mini-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.act-mini-info {
    min-width: 0;
}
.act-mini-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.actress-minipill:hover .act-mini-name {
    color: #818cf8;
}
.act-mini-ruby {
    font-size: 0.5625rem; /* 9px */
    color: var(--text-gray-500);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Metadata Links */
.meta-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.meta-link-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.meta-link-row:hover .meta-link-name {
    color: #818cf8;
}
.meta-link-badge {
    font-size: 0.625rem; /* 10px */
    color: var(--brand-500);
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}
.sidebar-divider {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}
.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.genre-tag {
    font-size: 0.75rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}
.genre-tag:hover {
    background-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

/* Related Videos */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.related-item {
    display: flex;
    gap: 0.75rem;
}
.rel-thumb {
    width: 5rem;
    height: 7rem;
    background-color: #1f2937;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.rel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.related-item:hover .rel-img {
    opacity: 1;
}
.rel-info {
    flex-grow: 1;
    min-width: 0;
}
.rel-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray-300);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}
.related-item:hover .rel-title {
    color: var(--white);
}
.rel-tags {
    margin-top: 0.375rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.rel-tag {
    font-size: 0.5625rem; /* 9px */
    background-color: var(--bg-dark-300);
    color: var(--text-gray-400);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}
.rel-tag-more {
    font-size: 0.5625rem;
    color: var(--text-gray-500);
    padding: 0 0.25rem;
}
.rel-date {
    font-size: 0.625rem; /* 10px */
    color: var(--text-gray-500);
    margin-top: 0.125rem;
}
