/*
 * GOONDEX — PAGE-SPECIFIC STYLES
 * Performer pages, scene pages, studios, tables, lists, galleries.
 * Fully aligned with dark-only theme + Flamingo Pink neon.
 */

/* ============================================
 *   GENERIC PAGE WRAPPER
 *   ============================================ */
.page {
    padding: 3rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

/* Title */
.page-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(135deg, var(--color-brand), var(--color-header));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* ============================================
 *   TABLES
 *   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.table thead {
    background: rgba(255, 79, 163, 0.08);
}

.table th {
    text-align: left;
    padding: 0.9rem;
    font-weight: 600;
    color: var(--color-brand);
    border-bottom: 1px solid var(--color-border-soft);
}

.table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.table tr:hover {
    background: rgba(255, 79, 163, 0.05);
}

/* Small subtle fade */
.table tr:last-child td {
    border-bottom: none;
}

/* ============================================
 *   PERFORMER PAGE
 *   ============================================ */
.performer-header {
    display: flex;
    gap: 2.2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.performer-photo {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-soft);
    object-fit: cover;

    border: 2px solid rgba(255, 79, 163, 0.35);
    box-shadow: var(--shadow-glow-pink-soft);
}

.performer-meta {
    flex: 1;
}

.performer-name {
    font-size: 2.4rem;
    font-weight: 700;

    background: linear-gradient(135deg, var(--color-brand), var(--color-header));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.performer-bio {
    margin-top: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Performer tags */
.performer-tags {
    margin-top: 1.2rem;
}

/* ============================================
 *   SCENE PAGE
 *   ============================================ */
.scene-header {
    margin-bottom: 3rem;
}

.scene-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;

    background: linear-gradient(135deg, var(--color-brand), var(--color-header));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scene-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: var(--color-text-secondary);
}

/* Video preview image */
.scene-cover {
    width: 100%;
    max-height: 480px;
    border-radius: var(--radius-soft);
    object-fit: cover;

    border: 2px solid rgba(255, 79, 163, 0.32);
    box-shadow: var(--shadow-glow-pink-soft);
    margin-bottom: 2.2rem;
}

/* ============================================
 *   STUDIO PAGE
 *   ============================================ */
.studio-header {
    margin-bottom: 3rem;
}

.studio-name {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;

    background: linear-gradient(135deg, var(--color-brand), var(--color-header));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio-description {
    max-width: 700px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
 *   GALLERY — GRID OF IMAGES
 *   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);

    border: 1px solid rgba(255, 79, 163, 0.3);
    box-shadow: var(--shadow-elevated);
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow-pink);
}

/* ============================================
 *   PAGINATION
 *   ============================================ */
.pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.page-btn {
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    cursor: pointer;
    color: var(--color-text-primary);
    transition: background var(--transition), box-shadow var(--transition);
}

.page-btn:hover {
    background: rgba(255, 79, 163, 0.15);
    box-shadow: var(--shadow-glow-pink-soft);
}

.page-btn.active {
    background: rgba(255, 79, 163, 0.25);
    border-color: var(--color-brand);
}

/* ============================================
 *   RESPONSIVE BEHAVIOUR
 *   ============================================ */
@media (max-width: 920px) {
    .performer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .performer-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 720px) {
    .page-title {
        font-size: 2rem;
    }

    .scene-title,
    .studio-name,
    .performer-name {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .performer-photo {
        width: 170px;
        height: 170px;
    }
}
