/*
 * Goondex Web UI - Dark Mode with Flamingo Pulse Pink Branding
 * Color Palette from v0.3.5-r1:
 * - Brand/Accent: #FF4FA3 (Flamingo Pulse Pink)
 * - Text Primary: #F8F8F8 (Soft White)
 * - Secondary Text: #9BA0A8 (Muted Grey)
 * - Section Headers: #D78BE0 (Lilac Tint)
 * - Data Keypoints: #FF66C4 (Hot Pink)
 * - Warnings: #FFAA88 (Peach Warning)
 * - Info/Dates: #7EE7E7 (Cool Cyan)
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import GX Components */
@import url("/static/css/gx/GX_Button.css");
@import url("/static/css/gx/GX_Checkbox.css");
@import url("/static/css/gx/GX_Input.css");
@import url("/static/css/gx/GX_Loader.css");

:root {
    --color-brand: #FF4FA3;
    --color-brand-hover: #FF66C4;
    --color-text-primary: #F8F8F8;
    --color-text-secondary: #9BA0A8;
    --color-header: #D78BE0;
    --color-keypoint: #FF66C4;
    --color-warning: #FFAA88;
    --color-info: #7EE7E7;
    --color-bg-dark: #09090b;
    --color-bg-card: #18181b;
    --color-bg-elevated: #27272a;
    --color-border: #3f3f46;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
}

/* Navbar */
.navbar {
    background: var(--color-bg-card);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(255, 79, 163, 0.1);
    border-bottom: 1px solid var(--color-brand);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-header) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-brand);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main.container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.1) 0%, rgba(215, 139, 224, 0.05) 100%);
    border: 1px solid rgba(255, 79, 163, 0.2);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 79, 163, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 79, 163, 0.08) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-header) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h2 {
    font-size: 2rem;
    color: var(--color-header);
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

/* ================================
   GX Button Styles (Premium Animated)
   ================================ */
.btn, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10rem;
    transition: all 0.02s;
    font-weight: bold;
    cursor: pointer;
    background: #1e1e1e;
    color: #ffb3d1;
    z-index: 0;
    box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.btn:hover, .button:hover {
    background: #ff5fa2;
    color: #1e1e1e;
}

.btn:active, .button:active {
    transform: scale(0.97);
}

/* Glow layer container */
.hoverEffect {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

/* Rotating neon blob */
.hoverEffect div {
    background: linear-gradient(90deg, #ff5fa2 0%, #ff9bcb 50%, #8c2f5c 100%);
    border-radius: 40rem;
    width: 10rem;
    height: 10rem;
    transition: 0.4s;
    filter: blur(25px);
    animation: effect 3s linear infinite;
    opacity: 0.55;
}

.btn:hover .hoverEffect div,
.button:hover .hoverEffect div {
    width: 8rem;
    height: 8rem;
}

@keyframes effect {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.btn-secondary {
    background: var(--color-bg-elevated);
    border: 2px solid var(--color-brand);
    color: var(--color-brand);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 79, 163, 0.1);
    border-color: var(--color-keypoint);
    color: var(--color-keypoint);
}

/* Search form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

/* ================================
   GX Input Styles (Premium Animated)
   ================================ */
.search-form input, input.input, input[type="text"], input[type="search"] {
    border-radius: 10px;
    outline: 2px solid #ff5fa2;
    border: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #ffb3d1;
    outline-offset: 3px;
    padding: 10px 1rem;
    transition: 0.25s;
    color: #1e1e1e;
    width: 300px;
}

.search-form input:focus, input.input:focus, input[type="text"]:focus, input[type="search"]:focus {
    outline-offset: 5px;
    background-color: #ffffff;
    color: #1e1e1e;
}

.search-form input::placeholder, input.input::placeholder {
    color: #8c2f5c;
    opacity: 0.7;
}

.search-form button {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.search-form button:hover {
    background: linear-gradient(135deg, var(--color-keypoint) 0%, var(--color-brand) 100%);
    box-shadow: 0 2px 8px rgba(255, 79, 163, 0.3);
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-bg-elevated);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--color-brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 79, 163, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.stat-link {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 500;
}

.stat-link:hover {
    color: var(--color-keypoint);
    text-decoration: underline;
}

/* Quick actions */
.quick-actions {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-bg-elevated);
}

.quick-actions h3 {
    margin-bottom: 1rem;
    color: var(--color-header);
}

.help-text {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.code-block {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-bg-elevated);
    padding: 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: var(--color-brand);
    display: block;
    margin: 0.25rem 0;
}

/* Table */
.table-container {
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-bg-elevated);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--color-bg-elevated);
    color: white;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-header);
}

.data-table td {
    padding: 1rem;
    border-top: 1px solid var(--color-bg-elevated);
    color: var(--color-text-primary);
}

.data-table tbody tr {
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: var(--color-bg-elevated);
}

.name-cell {
    font-weight: 500;
    color: var(--color-text-primary);
}

.description-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-secondary);
}

.btn-small {
    padding: 10px 20px;
    border: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10rem;
    transition: all 0.02s;
    font-weight: bold;
    cursor: pointer;
    background: #1e1e1e;
    color: #ffb3d1;
    z-index: 0;
    box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-small:hover {
    background: #ff5fa2;
    color: #1e1e1e;
}

.btn-small:active {
    transform: scale(0.97);
}

/* Empty state */
.empty-state {
    background: var(--color-bg-card);
    border: 1px solid var(--color-bg-elevated);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.empty-state p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.empty-state code {
    background: var(--color-bg-elevated);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--color-brand);
}

.empty-import-actions {
    margin-top: 1.5rem;
}

.empty-import-actions .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.empty-import-actions .hint {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.status-banner {
    display: none;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.status-banner.error {
    border-color: #ff8a8a;
    color: #ff8a8a;
}

.global-loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.global-loader .loader-content {
    background: var(--color-bg-card);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    color: var(--color-text-primary);
    min-width: 280px;
    justify-content: center;
}

.global-loader .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.global-loader .logo img,
.global-loader .logo svg {
    width: 90px;
    height: 55px;
    filter: drop-shadow(0 2px 8px rgba(255, 95, 162, 0.3));
}

.global-loader .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.job-progress {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 1900;
    min-width: 320px;
    max-width: 520px;
}

.job-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text-primary);
}

.job-progress-bar {
    margin-top: 0.6rem;
    height: 10px;
    background: var(--color-bg-elevated);
    border-radius: 999px;
    overflow: hidden;
}

.job-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    width: 0%;
    transition: width 0.2s ease;
}

.job-progress-message {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Detail views */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--color-brand);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-keypoint);
    text-decoration: underline;
}

.detail-container {
    background: var(--color-bg-card);
    border: 1px solid var(--color-bg-elevated);
    padding: 2rem;
    border-radius: 12px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-bg-elevated);
}

.detail-header h2 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.aliases {
    color: var(--color-text-secondary);
    font-style: italic;
}

.badge {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(255, 79, 163, 0.3);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-section {
    background: var(--color-bg-elevated);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.detail-section h3 {
    color: var(--color-header);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.detail-row .value {
    color: var(--color-text-primary);
    text-align: right;
}

.detail-row .value a {
    color: var(--color-brand);
    text-decoration: none;
}

.detail-row .value a:hover {
    color: var(--color-keypoint);
    text-decoration: underline;
}

.btn-link {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--color-brand-hover);
    text-decoration: underline;
}

.full-width {
    grid-column: 1 / -1;
}

.bio-text {
    color: var(--color-text-primary);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Images */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--color-border);
    transition: all 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(255, 79, 163, 0.3);
}

.profile-image {
    max-width: 400px;
    margin: 0 auto 2rem;
    text-align: center;
}

.profile-image img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: border-color 0.3s;
}

.profile-image img:hover {
    border-color: var(--color-brand);
}

.studio-logo,
.scene-poster {
    margin-bottom: 2rem;
    text-align: center;
}

.studio-logo img {
    max-width: 400px;
    max-height: 200px;
    object-fit: contain;
    background: var(--color-bg-elevated);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.scene-poster img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid var(--color-border);
}

/* Item lists */
.item-list {
    list-style: none;
}

.item-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.item-list li:last-child {
    border-bottom: none;
}

.item-list a {
    color: var(--color-brand);
    text-decoration: none;
}

.item-list a:hover {
    color: var(--color-keypoint);
    text-decoration: underline;
}

/* Tag list */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(255, 79, 163, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal.active {
    display: block;
}

.modal-content {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-brand);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(255, 79, 163, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-bg-elevated);
    padding-bottom: 1rem;
}

.modal-header h3 {
    color: var(--color-header);
}

.close {
    color: var(--color-text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    transition: color 0.3s;
}

.close:hover {
    color: var(--color-brand);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    border-radius: 10px;
    outline: 2px solid #ff5fa2;
    border: 0;
    background-color: #ffb3d1;
    outline-offset: 3px;
    padding: 10px 1rem;
    transition: 0.25s;
    color: #1e1e1e;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
    outline-offset: 5px;
    background-color: #ffffff;
    color: #1e1e1e;
}

.form-group input::placeholder {
    color: #8c2f5c;
    opacity: 0.7;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    transition: width 0.3s;
}

.result-message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.result-message.success {
    background: rgba(126, 231, 231, 0.1);
    border: 1px solid var(--color-info);
    color: var(--color-info);
}

.result-message.error {
    background: rgba(255, 170, 136, 0.1);
    border: 1px solid var(--color-warning);
    color: var(--color-warning);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        width: 100%;
    }

    .detail-header {
        flex-direction: column;
        gap: 1rem;
    }

    .data-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem;
    }

    .description-cell {
        max-width: 150px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-brand);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-keypoint);
}

/* Selection */
::selection {
    background: var(--color-brand);
    color: white;
}

/* Progress Bar */
.progress-bar-wrapper {
    padding: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--color-bg-elevated);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-keypoint) 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 79, 163, 0.5);
    border-radius: 15px;
}

.progress-text {
    margin-top: 1rem;
    text-align: center;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 500;
}

/* ================================
   GX Checkbox (Premium Animated)
   ================================ */
.container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 26px;
    user-select: none;
}

.checkmark {
    position: relative;
    width: 1.35em;
    height: 1.35em;
    background: #1E1E1E;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #8C2F5C;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
}

.container:hover .checkmark {
    box-shadow: 0 0 10px 2px rgba(255,95,162,0.25);
    transform: scale(1.03);
}

.container input[type="checkbox"]:checked ~ .checkmark {
    background: radial-gradient(circle at 40% 40%, #FF9BCB 0%, #FF5FA2 40%, #8C2F5C 100%);
    box-shadow:
        0 0 10px 5px rgba(255,95,162,0.35),
        0 0 20px 10px rgba(255,155,203,0.25);
    animation: goondex-pulse 1.6s ease-out forwards;
    transform: scale(1.08);
}

.checkmark:after {
    content: "";
    position: absolute;
    border: solid rgba(233,233,233,0.28);
    border-width: 0 0.18em 0.18em 0;
    width: 0.30em;
    height: 0.60em;
    left: 0.47em;
    top: 0.22em;
    transform: rotate(45deg) scale(0.75);
    opacity: 0.35;
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.container input[type="checkbox"]:checked ~ .checkmark:after {
    border-color: #E9E9E9;
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

@keyframes goondex-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(255,95,162,0.5),
            0 0 0 0 rgba(255,155,203,0.4);
    }
    40% {
        box-shadow:
            0 0 20px 10px rgba(255,95,162,0.45),
            0 0 35px 20px rgba(255,155,203,0.35);
    }
    100% {
        box-shadow:
            0 0 10px 5px rgba(255,95,162,0.35),
            0 0 20px 10px rgba(255,155,203,0.25);
    }
}

/* ================================
   GX Loader (Premium Neon Spinner)
   ================================ */
.spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #FF5FA2 0%,
        #FF77B4 20%,
        #FF9BCB 40%,
        #D96CA0 60%,
        #8C2F5C 80%,
        #FF5FA2 100%
    );
    animation: spinning82341 1.7s linear infinite;
    box-shadow:
        0 0 12px rgba(255,95,162,0.35),
        0 0 25px rgba(255,155,203,0.25),
        0 0 35px rgba(140,47,92,0.25);
    filter: blur(1.5px);
    position: relative;
    display: inline-block;
    margin: 2rem auto;
}

.spinner1 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #1E1E1E;
    filter: blur(8px);
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes spinning82341 {
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Scene Grid on Performer Pages
   ================================ */
.scenes-section {
    margin-top: 3rem;
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--color-header);
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-header) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.scene-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 8px rgba(255, 79, 163, 0.1);
}

.scene-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand);
    box-shadow: 0 8px 24px rgba(255, 79, 163, 0.25);
}

.scene-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-elevated);
    position: relative;
    overflow: hidden;
}

.scene-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scene-card:hover .scene-thumbnail img {
    transform: scale(1.05);
}

.scene-thumbnail.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.1) 0%, rgba(215, 139, 224, 0.05) 100%);
}

.no-image-text {
    font-size: 3rem;
    opacity: 0.3;
}

.scene-info {
    padding: 1rem;
}

.scene-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scene-date,
.scene-code {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0.25rem 0;
}

.scene-date {
    color: var(--color-info);
}

.scene-code {
    color: var(--color-keypoint);
}

/* ================================
   Image Lightbox
   ================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--color-brand);
}

.profile-image {
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-image:hover {
    transform: scale(1.02);
}
