/**
 * ==========================================================================
 * GIRLS GRID V2 - Design Apple Glass avec effets Neon
 * ==========================================================================
 * Refonte complete avec :
 * - Glassmorphism (Apple Glass style)
 * - Effets neon rose (#cb1258, #d53cb1, #f1639a)
 * - Grille responsive (4 desktop, 3 tablet, 1 mobile)
 * - Regroupement des rooms par girl
 * - Animations fluides et micro-interactions
 * ==========================================================================
 */

/* ==========================================================================
   CSS VARIABLES - Theme Neon Rose
   ========================================================================== */

:root {
    --neon-primary: #cb1258;
    --neon-secondary: #d53cb1;
    --neon-tertiary: #f1639a;
    --neon-glow: rgba(203, 18, 88, 0.6);
    --neon-glow-soft: rgba(203, 18, 88, 0.3);
    --neon-glow-intense: rgba(213, 60, 177, 0.8);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --live-red: #e53935;
    --live-glow: rgba(229, 57, 53, 0.6);

    --premium-gold: #f7af13;
    --premium-glow: rgba(247, 175, 19, 0.5);

    --guest-green: #04f27d;
    --guest-glow: rgba(4, 242, 125, 0.5);

    --card-radius: 20px;
    --video-radius: 16px;
    --tag-radius: 50px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL CONTAINER WRAPPER - contextes d'affichage
   ========================================================================== */

.global-container-wrapper {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    max-width: 1500px;
    padding: 15px;
    overflow-x: hidden;
}

.global-container-wrapper.nav {
    padding-top: 70px;
}

.global-container-wrapper.extra-top {
    padding-top: 110px;
}

.global-container-wrapper.menu {
    padding-left: 95px;
}

.global-container-wrapper.embed {
    padding-top: 20px;
}

.global-container-wrapper.girl-container-full {
    padding-left: 20px;
    padding-top: 20px;
}

@media (max-width: 830px) {
    .global-container-wrapper.extra-top {
        padding-top: 70px;
    }
    .global-container-wrapper.menu {
        padding-left: 5px;
    }
    .global-container-wrapper.girl-container-full {
        padding-left: 5px;
    }

    /* Hide sidebar on mobile */
    .sidebar-container-wrapper {
        left: -80px;
    }
}

@media (max-width: 550px) {
    .global-container-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }
    .global-container-wrapper.menu {
        padding-left: 5px;
    }
    .global-container-wrapper.girl-container-full {
        padding-left: 5px;
    }
}

/* ==========================================================================
   GIRLS SELECTION WRAPPER - Container principal
   ========================================================================== */

.girls-selection-wrapper {
    display: flex;
    flex-direction: column;
}

.girls-selection-wrapper .girls-header {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    padding: 30px 0;
}

.girls-selection-wrapper .girls-header h1,
.girls-selection-wrapper .girls-header h2 {
    font-weight: 700;
    margin: 0;
}

/* Page girl (LAYOUT=girls) - h1 centré avec ailettes glass */
.girls-selection-wrapper .girls-header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 20px 0;
}

.girls-selection-wrapper .girls-header h1::before,
.girls-selection-wrapper .girls-header h1::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
}

.girls-selection-wrapper .girls-header h1::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.3) 100%
    );
}

.girls-selection-wrapper .girls-header h1::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
}

/* Home - h2 aligné à gauche (pas d'ailettes) */
.girls-selection-wrapper .girls-header h2 {
    text-align: left;
}

/* Chat (embed) - h2 centré avec ailettes glass */
.global-container-wrapper.embed .girls-selection-wrapper .girls-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::before,
.global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
}

.global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.3) 100%
    );
}

.global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
}

/* Responsive - Tablet */
@media (max-width: 767px) {
    .girls-selection-wrapper .girls-header {
        padding: 15px 15px 10px;
    }

    /* Home - masquer seulement le h2 sur mobile */
    .global-container-wrapper.menu .girls-selection-wrapper .girls-header h2 {
        display: none;
    }

    /* Page girl (h1) */
    .girls-selection-wrapper .girls-header h1 {
        gap: 15px;
        padding: 10px 0;
    }

    .girls-selection-wrapper .girls-header h1::before,
    .girls-selection-wrapper .girls-header h1::after {
        max-width: 80px;
    }

    /* Chat (embed h2) */
    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2 {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
    }

    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::before,
    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::after {
        max-width: 80px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .girls-selection-wrapper .girls-header {
        font-size: 18px;
        padding: 10px 10px 5px;
    }

    /* Page girl (h1) */
    .girls-selection-wrapper .girls-header h1 {
        gap: 10px;
        padding: 5px 0;
    }

    .girls-selection-wrapper .girls-header h1::before,
    .girls-selection-wrapper .girls-header h1::after {
        max-width: 40px;
    }

    /* Chat (embed h2) */
    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2 {
        display: flex;
        gap: 10px;
        font-size: 18px;
        margin-bottom: 0;
    }

    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::before,
    .global-container-wrapper.embed .girls-selection-wrapper .girls-header h2::after {
        max-width: 40px;
    }

    .girl-card__tags {
        display: none !important;
    }
}

/* ==========================================================================
   GIRLS GRID NEW - Grille principale responsive
   ========================================================================== */

.girls-grid-new {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 350px));
    gap: 20px;
    padding-bottom: 40px;
    justify-content: center;
}

/* Tablet - 2 colonnes */
@media (max-width: 1200px) {
    .girls-grid-new {
        grid-template-columns: repeat(2, minmax(0, 350px));
        gap: 16px;
        justify-content: center;
    }
}

/* Tablet small - 2 colonnes centrees */
@media (max-width: 900px) {
    .girls-grid-new {
        grid-template-columns: repeat(2, minmax(0, 350px));
        gap: 14px;
        justify-content: center;
    }
}

/* Mobile - TOUJOURS 2 colonnes, centrees */
@media (max-width: 600px) {
    .girls-grid-new {
        grid-template-columns: repeat(2, minmax(0, 350px));
        gap: 5px;
        padding: 0 0 40px;
        justify-content: center;
    }
}

/* Extra small mobile - 1 colonne */
@media (max-width: 450px) {
    .girls-grid-new {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .girl-card__glass {
        width: 85%;
        margin: 0 auto;
    }
}

/* ==========================================================================
   GIRL CARD - Carte principale avec effet Glass
   ========================================================================== */

.girl-card {
    position: relative;
    border-radius: var(--card-radius);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    max-width: 700px;
    justify-self: center;
    width: 100%;
}

/* Card avec plusieurs rooms - prend 2 colonnes */
.girl-card--multi {
    grid-column: span 2;
    max-width: 1420px; /* 700px * 2 + gap */
}

/* Card avec une seule room */
.girl-card--single {
    grid-column: span 1;
}

/* Orphan card (nombre impair) */
.girl-card--orphan {
    grid-column: span 1;
}

/* Responsive grid-column adjustments */
@media (max-width: 1200px) {
    .girl-card--multi {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .girl-card--multi {
        grid-column: span 2;
    }
}

/* Mobile - girls multi prennent 2 colonnes, singles prennent 1 colonne */
@media (max-width: 600px) {
    .girl-card--multi {
        grid-column: span 2;
    }

    .girl-card--single,
    .girl-card--orphan {
        grid-column: span 1;
    }
}

/* Extra small mobile - toutes les cards prennent 1 colonne */
@media (max-width: 450px) {
    .girl-card--multi,
    .girl-card--single,
    .girl-card--orphan {
        grid-column: span 1;
    }
}

/* ==========================================================================
   GIRL CARD GLASS - Effet Glassmorphism
   ========================================================================== */

.girl-card__glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 16px;
    transition: all var(--transition-medium);
    overflow: hidden;
}

/* Effet de lumiere interne subtil */
.girl-card__glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    pointer-events: none;
}

/* Glow neon au hover */
.girl-card:hover .girl-card__glass {
    background: var(--glass-bg-hover);
    border-color: rgba(213, 60, 177, 0.5);
    box-shadow:
        0 0 25px rgba(213, 60, 177, 0.25),
        0 0 50px rgba(213, 60, 177, 0.12);
}

/* Animation du glow */
@keyframes neon-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(213, 60, 177, 0.2),
            0 0 40px rgba(213, 60, 177, 0.1);
    }
    50% {
        box-shadow:
            0 0 30px rgba(213, 60, 177, 0.3),
            0 0 60px rgba(213, 60, 177, 0.15);
    }
}

.girl-card:hover .girl-card__glass {
    animation: neon-pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   GIRL CARD HEADER - Identite et statut
   ========================================================================== */

.girl-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.girl-card__identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.girl-card__name {
    font-size: 1.3em;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.girl-card__age {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--text-secondary);
}

.girl-card__status {
    flex-shrink: 0;
}

/* ==========================================================================
   LIVE INDICATOR - Indicateur de direct
   ========================================================================== */

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    padding: 6px 12px;
    border-radius: var(--tag-radius);
    box-shadow: 0 0 15px var(--live-glow);
    animation: live-glow 2s ease-in-out infinite;
}

@keyframes live-glow {
    0%, 100% {
        box-shadow: 0 0 10px var(--live-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--live-glow), 0 0 30px rgba(229, 57, 53, 0.3);
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.live-text {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   GIRL CARD TAGS - Tags de la girl
   ========================================================================== */

.girl-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.girl-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--neon-tertiary) 0%, var(--neon-primary) 100%);
    border-radius: var(--tag-radius);
    box-shadow: 0 0 10px var(--neon-glow-soft);
    transition: all var(--transition-fast);
}

.girl-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-glow);
}

/* ==========================================================================
   GIRL CARD BIO - Micro description de la girl
   ========================================================================== */

.girl-card__bio {
    margin: 0 0 14px 0;
    padding: 12px 0;
    font-size: 0.9em;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    position: relative;
}

/* Séparateur supérieur */
.girl-card__bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(241, 99, 154, 0.4) 20%,
        rgba(203, 18, 88, 0.6) 50%,
        rgba(241, 99, 154, 0.4) 80%,
        transparent 100%
    );
}

/* Séparateur inférieur */
.girl-card__bio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(241, 99, 154, 0.4) 20%,
        rgba(203, 18, 88, 0.6) 50%,
        rgba(241, 99, 154, 0.4) 80%,
        transparent 100%
    );
}

@media (max-width: 900px) {
    .girl-card__bio {
        font-size: 0.85em;
        padding: 10px 0;
    }
}

@media (max-width: 600px) {
    .girl-card__bio {
        font-size: 0.8em;
        padding: 8px 0;
        margin-bottom: 10px;
    }

    .girl-card__bio::before,
    .girl-card__bio::after {
        width: 70%;
    }
}

/* ==========================================================================
   GIRL CARD ROOMS - Container des rooms
   ========================================================================== */

.girl-card__rooms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Si une seule room dans la card multi */
.girl-card--multi .girl-card__rooms:has(.room-card:only-child) {
    grid-template-columns: 1fr;
}

/* Sur mobile, les rooms multi restent en 2 colonnes (comme sur tablet) */
@media (max-width: 600px) {
    .girl-card--multi .girl-card__rooms {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Extra small mobile - les rooms passent en 1 colonne */
@media (max-width: 450px) {
    .girl-card--multi .girl-card__rooms {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================================
   ROOM CARD - Carte video individuelle
   ========================================================================== */

.room-card {
    position: relative;
    display: block;
    border-radius: var(--video-radius);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium);
    text-decoration: none;
    aspect-ratio: 1000 / 1524;
}

.room-card--solo {
    aspect-ratio: 1000 / 1524;
}

/* Hover effect */
.room-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* New room indicator glow - effet subtil sans doublon avec le container */
.room-card--new {
    box-shadow: none;
}

.room-card--new:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Locked room blur effect */
.room-card--locked .room-card__video {
    filter: blur(6px);
}

/* ==========================================================================
   ROOM CARD VIDEO - Video container
   ========================================================================== */

.room-card__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.room-card__video video,
.room-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform var(--transition-slow);
}

.room-card:hover .room-card__video video,
.room-card:hover .room-video {
    transform: scale(1.05);
}

/* ==========================================================================
   ROOM CARD BADGES - New, Coming Soon, etc.
   ========================================================================== */

.room-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--tag-radius);
    letter-spacing: 0.5px;
}

.room-card__badge--new {
    background: #fff;
    color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 25px var(--neon-glow);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px var(--neon-glow-soft);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 35px var(--neon-glow);
    }
}

.room-card__coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--tag-radius);
    border: 1px solid var(--glass-border);
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================================
   ROOM CARD LOCK - Reserved badges
   ========================================================================== */

.room-card__lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--tag-radius);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.room-card__lock i {
    font-size: 14px;
}

.room-card__lock--guest {
    background: linear-gradient(135deg, teal 0%, var(--guest-green) 100%);
    color: #fff;
    box-shadow: 0 0 20px var(--guest-glow);
}

.room-card__lock--premium {
    background: linear-gradient(135deg, #cd7d31 0%, var(--premium-gold) 100%);
    color: #fff;
    box-shadow: 0 0 20px var(--premium-glow);
}

/* ==========================================================================
   ROOM CARD LOCATION - Texte de localisation sur la video
   ========================================================================== */

.room-card__location {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    color: #fff;
    pointer-events: none;
}

.room-card__location i {
    font-size: 13px;
    color: #fff;
    opacity: 0.8;
}

.room-card__location span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

@media (max-width: 900px) {
    .room-card__location {
        padding: 12px 14px;
        gap: 6px;
    }

    .room-card__location i {
        font-size: 12px;
    }

    .room-card__location span {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .room-card__location {
        padding: 10px 12px;
        gap: 5px;
    }

    .room-card__location i {
        font-size: 11px;
    }

    .room-card__location span {
        font-size: 12px;
        font-weight: 500;
    }
}

/* ==========================================================================
   ROOM CARD ROOM TAGS - Tags specifiques a la room
   ========================================================================== */

.room-card__room-tags {
    position: absolute;
    bottom: 40px;
    left: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    pointer-events: none;
}

@media (max-width: 600px) {
    .room-card__room-tags {
        bottom: 32px;
        left: 8px;
        right: 8px;
        gap: 4px;
    }
}

.room-tag {
    display: inline-flex;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: var(--tag-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ROOMS CAROUSEL WRAPPER - Carousel des prochaines rooms
   ========================================================================== */

.rooms-carousel-wrapper {
    width: 100%;
    margin: 40px auto auto;
}

.rooms-carousel-wrapper h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    text-align: left;
    padding: 20px 0;
}

.rooms-carousel-wrapper .swiper {
    padding-bottom: 25px;
}

.rooms-carousel-wrapper .swiper .swiper-pagination-bullet {
    background: #ccc;
}

.rooms-carousel-wrapper .swiper .swiper-pagination-bullet-active-main {
    background: #fff;
}

.rooms-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.rooms-carousel-wrapper .swiper-slide {
    width: auto;
}

@media (max-width: 767px) {
    .rooms-carousel-wrapper h2 {
        text-align: center;
    }
}

/* ==========================================================================
   LEGACY GIRL VIDEO STYLES - Pour le carousel
   ========================================================================== */

.girl-video {
    position: relative;
    width: 100%;
    transition: 0.4s ease-in-out;
    border-radius: 8px;
    overflow: hidden;
}

.girl-video video {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.girl-video video {
    border-radius: 25px;
}

.girl-video.new {
    -webkit-box-shadow: 0 0 15px #d53cb1;
    box-shadow: 0 0 15px #d53cb1;
    border: 1px solid #9e1e80;
}

.girl-video.selected video {
    box-shadow: 0 0 20px 20px #510824;
}

.girl-video.reserved .video-wrapper {
    filter: blur(4px);
}

.girl-video.reserved .room-tags {
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 0;
}

.girl-video .girl-coming-soon {
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
    transform: translateY(-50%);
    z-index: 5;
}

.girl-video .video-wrapper {
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

.girl-video .video-hover-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.girl-video .video-hover-wrapper video {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.girl-video .fade-thumb.visible,
.girl-video .fade-video.visible {
    opacity: 1;
    pointer-events: auto;
}

.girl-video .room-tags {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    padding: 10px;
    z-index: 2;
}

.girl-video .room-tags.left {
    left: 0;
    right: initial;
    bottom: initial;
}

@media (max-width: 410px) {
    .girl-video .room-tags.left {
        padding: 7px;
    }
}

.girl-video .girl-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 5px;
    background-image: linear-gradient(
        to bottom,
        hsla(0, 0%, 0%, 0) 0%,
        hsla(0, 0%, 0%, 0.011) 2.5%,
        hsla(0, 0%, 0%, 0.034) 5.6%,
        hsla(0, 0%, 0%, 0.068) 9.2%,
        hsla(0, 0%, 0%, 0.111) 13.5%,
        hsla(0, 0%, 0%, 0.161) 18.4%,
        hsla(0, 0%, 0%, 0.215) 23.8%,
        hsla(0, 0%, 0%, 0.273) 29.9%,
        hsla(0, 0%, 0%, 0.331) 36.5%,
        hsla(0, 0%, 0%, 0.387) 43.8%,
        hsla(0, 0%, 0%, 0.441) 51.6%,
        hsla(0, 0%, 0%, 0.489) 60.1%,
        hsla(0, 0%, 0%, 0.53) 69.2%,
        hsla(0, 0%, 0%, 0.562) 78.8%,
        hsla(0, 0%, 0%, 0.583) 89.1%,
        hsla(0, 0%, 0%, 0.59) 100%
    );
}

.girl-video .girl-details .girl-name {
    letter-spacing: -1px;
    font-size: 1.4em;
    font-weight: 800;
    color: #fff;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    flex-wrap: wrap;
}

.girl-video .girl-details .girl-name span {
    font-size: 0.8em;
    font-weight: 600;
    color: #cdc6c2;
}

@media (max-width: 1024px) {
    .girl-video .girl-details .girl-name {
        font-size: 1.1em;
        padding: 5px 0;
    }
}

@media (max-width: 767px) {
    .girl-video .girl-details .girl-name {
        font-size: 1em;
    }
}

.girl-video .girl-details .girl-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 0 5px 5px;
}

@media (max-width: 1024px) {
    .girl-video .girl-details .girl-tags {
        padding: 0;
    }
}

/* ==========================================================================
   TAGS - Styles generaux (legacy)
   ========================================================================== */

.tag {
    font-size: 0.8rem;
    line-height: 20px;
    min-height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.tag i {
    font-size: 1rem;
    margin-right: 4px;
}

@media (max-width: 410px) {
    .tag-sm {
        font-size: 10px;
        padding: 2px 8px;
        line-height: 19px;
    }
}

.tag-md {
    padding: 6px 20px;
    font-size: 13px;
    line-height: 30px;
}

.tag-md i {
    font-size: 1em;
}

@media (max-width: 767px) {
    .tag-md i {
        font-size: 0.9em;
    }
}

.tag-xs {
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    min-height: initial;
    line-height: 18px;
}

.tag-black {
    background-color: #000;
    color: #fff;
}

.tag-white {
    background-color: #fff;
    color: #c011cb;
}

.tag-white.box-shadow {
    box-shadow: 0 0 10px #cb1159;
}

.tag-primary {
    color: #fff;
    background: linear-gradient(to right, #f1639a 0, #c011cb 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0, #f1639a), to(#c011cb));
    font-weight: 700;
    letter-spacing: 0;
    font-size: 11px;
    -webkit-box-shadow: 0 0 10px #d839b3;
    box-shadow: 0 0 10px #d839b3;
}

.tag-secondary {
    color: #000;
    background-color: #fff;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 11px;
    box-shadow: 0 0 10px #fff;
}

.tag-guest {
    color: #fff;
    background-image: linear-gradient(to right, teal 0, #04f27d 100%);
    font-weight: 700;
    letter-spacing: 0;
    font-size: 11px;
    box-shadow: 0 0 10px #04f27d;
}

.tag-premium {
    color: #fff;
    background-color: #cd7d31;
    background-image: linear-gradient(to right, #cd7d31 0, #f7af13 100%);
    font-weight: 700;
    letter-spacing: 0;
    font-size: 11px;
    box-shadow: 0 0 10px #cd7d31;
}

/* ==========================================================================
   TAG LIVE - Avec indicateur anime
   ========================================================================== */

.tag-live {
    color: white;
    background: #e53935;
    background: linear-gradient(to right, #e53935 0, #c62828 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0, #e53935), to(#c62828));
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.6);
    -webkit-box-shadow: 0 0 8px rgba(229, 57, 53, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@media (min-width: 1200px) {
    .tag-live {
        font-weight: 700;
    }
}

/* ==========================================================================
   CONTAINER SIZED - SEO Content avec expansion
   ========================================================================== */

.container-sized {
    max-height: 450px;
    overflow: hidden;
}

.container-sized .action-to-expand {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    background: #000;
    background: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.788974965) 52%, rgba(0, 0, 0, 0) 100%);
    cursor: pointer;
    color: #e048bd;
    padding-top: 20px;
}

.container-sized .action-to-expand.show {
    display: flex;
}

.container-sized .action-to-expand.hide {
    display: none;
}

.container-sized .action-to-expand i {
    transition: 0.1s ease-in-out;
    font-size: 1.6em;
    padding: 5px;
    color: #fff;
}

.container-sized.maxout {
    max-height: initial;
}

.container-sized.maxout .action-to-expand {
    display: none;
}

/* ==========================================================================
   GIRL CONTAINER FULL - Contexte page room
   ========================================================================== */

.main-container-layout .room-container-wrapper.girl-container-full .girls-header {
    display: none;
}

.main-container-layout .room-container-wrapper.girl-container-full .girls-selection {
    background-color: transparent;
}

.main-container-layout .room-container-wrapper.girl-container-full .girls-selection .girl-chat-wrapper {
    min-width: 220px;
    max-width: 25%;
    padding: 20px 10px;
}

.main-container-layout .room-container-wrapper.girl-container-full .girls-selection .girl-chat-wrapper .actions {
    bottom: 15px;
}

.main-container-layout .room-container-wrapper.girl-container-full .girls-selection .girl-chat-wrapper .actions .btn-girl-selection {
    width: 90%;
    line-height: 1.6em;
    font-size: 0.9em;
}

@media (max-width: 550px) {
    .main-container-layout .room-container-wrapper.girl-container-full .girls-selection .girl-chat-wrapper {
        min-width: 50%;
        max-width: 50%;
    }
}

/* ==========================================================================
   GIRLS PREVIEW - Contexte preview/modal
   ========================================================================== */

.girls-preview .girls-header {
    padding: 10px 20px;
    font-size: 1.6em;
}

.girls-preview .girls-selection {
    padding: 10px 0;
}

.girls-preview .girls-selection .girl-chat-wrapper {
    padding: 8px;
    width: 25%;
}

.girls-preview .girls-selection .girl-chat-wrapper.disabled .overlay::after {
    font-size: 0.6em;
}

.girls-preview .girls-selection .girl-chat-wrapper .girl-video .actions .btn-primary.btn-girl-selection {
    font-size: 0.6em;
    line-height: 0.5em;
    width: 90%;
}

.girls-preview .girls-selection .girl-chat-wrapper p {
    font-size: 0.7em;
}

.chat .girls-preview {
    padding-left: 0;
    padding-right: 0;
}

.chat .girls-preview .girls-selection .girl-chat-wrapper {
    padding: 5px;
}

/* ==========================================================================
   LEGACY - .girls-selection pour compatibilite
   ========================================================================== */

.girls-selection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    justify-content: center;
    padding-bottom: 20px;
}

.girls-selection .girl-chat-wrapper {
    flex: 1 1 calc(25% - 20px);
    max-width: 300px;
    min-width: 260px;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.2s ease-in-out;
}

.girls-selection .girl-chat-wrapper.disabled,
.girls-selection .girl-chat-wrapper.disabled a {
    cursor: default !important;
}

.girls-selection .girl-chat-wrapper:not(.disabled):hover {
    transform: scale(1.02);
}

.girls-selection .girl-chat-wrapper .girl-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 1200px) {
    .girls-selection .girl-chat-wrapper {
        max-width: 350px;
    }
}

@media (min-width: 1920px) {
    .girls-selection .girl-chat-wrapper {
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .girls-selection .girl-chat-wrapper {
        min-width: 210px;
        flex: 1 1 calc(33.333% - 20px);
    }
}

@media (max-width: 550px) {
    .girls-selection .girl-chat-wrapper {
        min-width: 180px;
        max-width: 50%;
        padding: 5px;
    }
}

@media (max-width: 390px) {
    .girls-selection .girl-chat-wrapper {
        min-width: 150px;
    }
}

/* ==========================================================================
   SPECIAL EFFECTS - Effets supplementaires
   ========================================================================== */

/* Effet de scan lumineux sur hover */
.girl-card__glass::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    transition: transform 0.6s ease;
    pointer-events: none;
}

.girl-card:hover .girl-card__glass::after {
    transform: translate(50%, 50%);
}

/* Bordure animee sur les nouvelles cards - DESACTIVE */
/*
.room-card--new::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        var(--neon-primary),
        var(--neon-tertiary),
        var(--neon-secondary),
        var(--neon-primary)
    );
    background-size: 400% 400%;
    z-index: -1;
    border-radius: calc(var(--video-radius) + 2px);
    animation: gradient-border 3s ease infinite;
}
*/

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 600px) {
    .girl-card__glass {
        padding: 12px;
        margin-top: 10px;
    }

    .girl-card__header {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .girl-card__identity {
        flex: 1;
        min-width: 0;
    }

    .girl-card__name {
        font-size: 1.15em;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .girl-card__age {
        font-size: 0.85em;
        margin-top: 2px;
    }

    .live-indicator {
        padding: 6px 12px;
        gap: 5px;
    }

    .live-text {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.4px;
    }

    .live-dot {
        width: 7px;
        height: 7px;
    }

    .girl-card__tags {
        margin-bottom: 8px;
        gap: 4px;
    }

    .girl-tag {
        padding: 2px 6px;
        font-size: 9px;
    }

    .room-card__badge {
        padding: 3px 8px;
        font-size: 8px;
        top: 6px;
        right: 6px;
    }

    .room-card__lock {
        padding: 6px 10px;
        font-size: 11px;
    }

    .room-card__lock i {
        font-size: 10px;
    }


    .room-tag {
        font-size: 8px;
        padding: 2px 5px;
    }
}

/* Extra small screens */
@media (max-width: 450px) {
    .girl-card__glass {
        padding: 15px;
    }
}

@media (max-width: 400px) {

    .girl-card__name {
        font-size: 1.05em;
    }

    .girl-card__age {
        font-size: 0.8em;
    }

    .girl-card__bio {
        font-size: 0.75em;
        padding: 6px 0;
    }

    .girl-card__bio::before,
    .girl-card__bio::after {
        width: 80%;
    }

    .live-indicator {
        padding: 5px 10px;
        gap: 4px;
    }

    .live-text {
        font-size: 10px;
        font-weight: 700;
    }

    .live-dot {
        width: 6px;
        height: 6px;
    }
}

/* ==========================================================================
   CURRENT GIRL CARD - Hide on mobile in embed context (chat page)
   ========================================================================== */

@media (max-width: 450px) {
    .global-container-wrapper.embed .girl-card--current {
        display: none;
    }
}

/* ==========================================================================
   GIRL ROOMS WRAPPER - Autres rooms de la girl sur la page chat
   ========================================================================== */

@media (max-width: 767px) {
    /* Réorganiser l'ordre : profil d'abord, puis autres rooms */
    /* column-reverse inverse l'ordre DOM : rooms->profile devient profile->rooms */
    .girl-details-container-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }

    .girl-details-container-wrapper > .girl-profile-container {
        flex: 0 0 auto;
        width: 100%;
        min-width: 100%;
    }

    .girl-details-container-wrapper > .girl-rooms-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }

    .girl-rooms-wrapper {
        padding: 15px 0;
        max-width: none !important;
        width: 100% !important;
    }

    /* Fix header-abs positioning to stay within parent bounds */
    .girl-rooms-wrapper .header-abs {
        position: relative;
        top: 0;
        margin-bottom: 15px;
    }

    .girl-rooms-wrapper .girl-rooms {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .girl-rooms-wrapper .girl-rooms .girl-room {
        width: 75%;
        max-width: 350px;
    }

    .girl-rooms-wrapper .girl-rooms .girl-room video {
        width: 100%;
        height: auto;
        aspect-ratio: 1000 / 1524;
        object-fit: cover;
    }
}

/* ==========================================================================
   ACCESSIBILITY - Focus states
   ========================================================================== */

.room-card:focus-visible {
    outline: 2px solid var(--neon-primary);
    outline-offset: 3px;
}

.girl-card:focus-within .girl-card__glass {
    border-color: var(--neon-primary);
    box-shadow: 0 0 20px var(--neon-glow-soft);
}

/* ==========================================================================
   REDUCED MOTION - Pour les utilisateurs sensibles aux animations
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .live-indicator,
    .live-dot,
    .room-card--new::before,
    .girl-card:hover .girl-card__glass,
    .room-card__badge--new {
        animation: none;
    }

    .room-card:hover,
    .room-card:hover .room-card__video video,
    .girl-tag:hover {
        transform: none;
    }
}

/* ==========================================================================
   DESKTOP - Girl card name larger
   ========================================================================== */

@media (min-width: 1200px) {
    .girl-card__name {
        font-size: 1.5em;
    }
}

/* ==========================================================================
   GIRL CARD CTA - Bouton Apple Glass transparent
   ========================================================================== */

.girl-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* Reflet lumineux subtil en haut */
.girl-card__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%
    );
    pointer-events: none;
}

.girl-card__cta i {
    font-size: 1.1em;
    color: var(--neon-tertiary);
    transition: transform var(--transition-fast);
}

.girl-card__cta span {
    white-space: nowrap;
}

/* Hover effect */
.girl-card__cta:hover {
    background: transparent;
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.girl-card__cta:hover i {
    transform: scale(1.15);
    color: var(--neon-secondary);
}

/* Active state */
.girl-card__cta:active {
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .girl-card__cta {
        margin-top: 12px;
        padding: 12px 18px;
        font-size: 0.85em;
        gap: 8px;
        border-radius: 25px;
    }

    .girl-card__cta i {
        font-size: 1em;
    }
}

@media (max-width: 400px) {
    .girl-card__cta {
        padding: 10px 14px;
        font-size: 0.8em;
        gap: 6px;
    }
}

/* ==========================================================================
   GIRLS PAGE - Styles spécifiques à la page /girls (LAYOUT === "girls")
   ========================================================================== */

.global-container-wrapper.girls-page {
    padding-left: 95px;
}

.global-container-wrapper.girls-page .girls-header {
    margin-top: 40px;
}

@media (max-width: 830px) {
    .global-container-wrapper.girls-page {
        padding-left: 5px;
    }
}

@media (max-width: 550px) {
    .global-container-wrapper.girls-page {
        padding-left: 5px;
    }
}
