/* ============================================================
   SEXYLINE.RO — Homepage "Velvet Glow"
   Warm plum night atmosphere, neon magenta, champagne details.
   One clear, friendly typeface: Outfit (300–700).
   Scoped to #home — does not leak into navbar/footer/modals.
   ============================================================ */

#home {
    flex: 1 0 auto;
    position: relative;
    color: #f8f0f5;
    overflow: hidden;
    background:
        radial-gradient(1100px 540px at 50% -140px, rgba(255, 0, 127, 0.22), transparent 65%),
        radial-gradient(820px 480px at 88% 6%, rgba(150, 40, 110, 0.25), transparent 60%),
        radial-gradient(720px 440px at 6% 32%, rgba(90, 25, 70, 0.35), transparent 60%),
        linear-gradient(180deg, #221024 0%, #190b1c 45%, #120714 100%);
}

/* Film grain overlay */
#home::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

#home > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   HERO
   ============================================================ */

.home-hero {
    text-align: center;
    padding: 48px 20px 4px;
}

.home-hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-indent: 0.38em; /* optical centering of tracked text */
    text-transform: uppercase;
    color: #e9bd83;
}

.home-hero-overline::before,
.home-hero-overline::after {
    content: '';
    width: 46px;
    height: 1px;
    flex-shrink: 0;
}

.home-hero-overline::before {
    background: linear-gradient(90deg, transparent, rgba(233, 189, 131, 0.8));
}

.home-hero-overline::after {
    background: linear-gradient(90deg, rgba(233, 189, 131, 0.8), transparent);
}

/* Rotating welcome line — restyle of the shared .fade-rotator */
.home-hero .fade-rotator {
    min-height: 100px;
    max-width: 880px;
    margin: 12px auto 0;
}

.home-hero .fade-slide {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.6vw, 29px);
    line-height: 1.45;
    letter-spacing: 0.005em;
    color: #fff;
    text-wrap: balance;
}

.home-hero .fade-slide b {
    color: #ffd2e7;
    font-weight: 700;
}

.home-hero .fade-slide a {
    color: #ff4da6;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 77, 166, 0.5);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.home-hero .fade-slide a:hover {
    color: #ff80c2;
    text-decoration-color: #ff80c2;
}

/* Phone number chip + tariff */
.home-hero-meta {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: 0.06em;
    color: #fff;
    text-decoration: none;
    padding: 11px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 127, 0.5);
    background: linear-gradient(180deg, rgba(255, 0, 127, 0.22), rgba(255, 0, 127, 0.07));
    box-shadow:
        0 0 28px rgba(255, 0, 127, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.home-hero-phone:hover {
    color: #fff;
    border-color: rgba(255, 77, 166, 0.85);
    box-shadow:
        0 0 44px rgba(255, 0, 127, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.home-hero-phone .fa-phone {
    font-size: 16px;
    color: #ff4da6;
}

.home-hero-tariff {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c298ad;
}

/* ============================================================
   GIRLS SECTION
   ============================================================ */

.home-girls {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 70px;
}

.home-girls-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 4px 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-girls-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.8vw, 34px);
    letter-spacing: 0.01em;
    color: #fff;
    text-transform: none;
}

.home-girls-title::after {
    content: '.';
    color: #ff007f;
}

.home-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8df0b3;
}

.home-live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39d97c;
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(57, 217, 124, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(57, 217, 124, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 217, 124, 0); }
}

/* ============================================================
   GRID
   ============================================================ */

.girls-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .girls-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .girls-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }
}

/* Neutralize bootstrap col wrapper around the inline verify CTA */
.girls-grid > [class*='col-'] {
    width: auto;
    max-width: none;
    padding: 0;
    flex: none;
}

.girls-grid .verify-inline-card {
    border-radius: 18px;
    border-width: 1px;
    margin-bottom: 0;
    background: linear-gradient(160deg, #2c1630, #1d0e20);
}

/* ============================================================
   GIRL CARD — clean photo on top, info panel below
   ============================================================ */

.girl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #2e1731 0%, #241126 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.65);
    transform: translateZ(0);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.girl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 127, 0.5);
    box-shadow:
        0 24px 48px -14px rgba(0, 0, 0, 0.75),
        0 0 34px -6px rgba(255, 0, 127, 0.35);
}

/* --- LIVE ring: animated gradient border on available girls --- */
@property --ring-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.girl-card:has(.product-new-label) {
    box-shadow:
        0 16px 36px -16px rgba(0, 0, 0, 0.65),
        0 0 34px -4px rgba(255, 0, 127, 0.4);
}

.girl-card:has(.product-new-label)::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 4;
    border-radius: 18px;
    padding: 2px;
    background: conic-gradient(
        from var(--ring-angle),
        #ff007f,
        #ff9ecb 25%,
        rgba(255, 0, 127, 0.15) 50%,
        #ff5fae 75%,
        #ff007f
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    animation: ringSpin 4s linear infinite;
}

@keyframes ringSpin {
    to { --ring-angle: 360deg; }
}

.girl-card:has(.product-new-label):hover {
    box-shadow:
        0 24px 48px -14px rgba(0, 0, 0, 0.75),
        0 0 48px -2px rgba(255, 0, 127, 0.55);
}

/* Photo — clean, bright, no dark overlay */
.girl-photo {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.girl-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.girl-card:hover .girl-photo img {
    transform: scale(1.05);
}

/* Info panel BELOW the photo — crisp text on solid surface */
.girl-info {
    padding: 13px 16px 15px;
}

.girl-name {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: none;
}

.girl-name a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.girl-name a:hover {
    color: #ff80c2;
}

.girl-desc {
    margin: 5px 0 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: #cfb3c5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   LIVE STATUS LAYER  (HTML injected by verificarestare_all.php)
   Contract: #id0{gid} receives spans —
     .product-new-label.disable  → "Disponibilă"  (clickable)
     .fas.fa-phone               → call icon      (clickable)
     .call-now                   → "Click Aici!"  (clickable)
     .product-busy.disable       → "Ocupată"
     .product-not-available.disable → "OFFLINE"
   The layer matches the PHOTO area (same aspect ratio), so the
   call button anchors to the photo edge, not the card bottom.
   ============================================================ */

.girl-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    z-index: 3;
    pointer-events: none;
}

.girl-status > * {
    pointer-events: auto;
}

/* Skeleton shimmer while the first poll is in flight */
.girl-status:empty::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 96px;
    height: 27px;
    border-radius: 999px;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 70%
    );
    background-size: 200% 100%;
    animation: statusShimmer 1.4s linear infinite;
}

@keyframes statusShimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* --- Status pills (top-left, solid & readable) --- */
.girl-status .product-new-label,
.girl-status .product-busy,
.girl-status .product-not-available {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 13px 6px 11px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.girl-status .product-new-label::before,
.girl-status .product-busy::before,
.girl-status .product-not-available::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #fff;
}

.girl-status .product-new-label {
    background: linear-gradient(140deg, #2fbf6b, #1d9e53);
    cursor: pointer;
}

.girl-status .product-new-label::before {
    animation: livePulse 1.8s ease-out infinite;
}

.girl-status .product-busy {
    background: linear-gradient(140deg, #f59f2d, #dd7f10);
}

.girl-status .product-not-available {
    background: linear-gradient(140deg, #6d5a76, #574a60);
}

.girl-status .product-not-available::before {
    background: rgba(255, 255, 255, 0.55);
}

/* --- Call button: floats on the photo/info seam (bottom-right) --- */
.girl-status .fa-phone {
    position: absolute;
    right: 14px;
    bottom: -26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(140deg, #ff2d8d, #d4006a);
    border: 3px solid #2a1430;
    box-shadow: 0 6px 22px rgba(255, 0, 127, 0.5);
    animation: callRing 2.2s ease-out infinite;
    transition: transform 0.25s ease;
}

.girl-status .fa-phone:hover {
    transform: scale(1.1);
}

@keyframes callRing {
    0% {
        box-shadow:
            0 6px 22px rgba(255, 0, 127, 0.5),
            0 0 0 0 rgba(255, 45, 141, 0.5);
    }
    70% {
        box-shadow:
            0 6px 22px rgba(255, 0, 127, 0.5),
            0 0 0 14px rgba(255, 45, 141, 0);
    }
    100% {
        box-shadow:
            0 6px 22px rgba(255, 0, 127, 0.5),
            0 0 0 0 rgba(255, 45, 141, 0);
    }
}

/* --- "Click Aici!" label above the call button --- */
.girl-status .call-now {
    position: absolute;
    right: 10px;
    bottom: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(34, 14, 30, 0.85);
    border: 1px solid rgba(255, 77, 166, 0.55);
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    animation: callBob 2.2s ease-in-out infinite;
}

@keyframes callBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Keep the info text clear of the floating call button */
.girl-card:has(.fa-phone) .girl-info {
    padding-right: 80px;
}

/* ============================================================
   ENTRANCE ANIMATION
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
    .girl-card,
    .girls-grid .verify-inline-card {
        opacity: 0;
        animation: cardIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
        animation-delay: var(--d, 0s);
    }

    /* LIVE cards keep their spinning ring alongside the entrance */
    .girl-card:has(.product-new-label)::before {
        animation: ringSpin 4s linear infinite;
    }

    @keyframes cardIn {
        from {
            opacity: 0;
            transform: translateY(22px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .home-hero-overline,
    .home-hero .fade-rotator,
    .home-hero-meta {
        opacity: 0;
        animation: heroIn 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
    }

    .home-hero .fade-rotator { animation-delay: 0.12s; }
    .home-hero-meta { animation-delay: 0.24s; }

    @keyframes heroIn {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .girl-status .fa-phone,
    .girl-status .call-now,
    .girl-status .product-new-label::before,
    .girl-card:has(.product-new-label)::before,
    .home-live-badge::before {
        animation: none;
    }
}

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */

@media (max-width: 768px) {
    .home-hero {
        padding: 32px 16px 2px;
    }

    .home-hero-overline {
        font-size: 10.5px;
        letter-spacing: 0.3em;
        text-indent: 0.3em;
        gap: 10px;
    }

    .home-hero-overline::before,
    .home-hero-overline::after {
        width: 28px;
    }

    .home-hero .fade-rotator {
        min-height: 118px;
    }

    .home-hero .fade-slide {
        font-size: 17px;
    }

    .home-hero-phone {
        font-size: 18px;
        padding: 9px 22px;
    }

    .home-girls {
        padding: 24px 14px 54px;
    }

    .girl-info {
        padding: 10px 12px 12px;
    }

    .girl-name {
        font-size: 16px;
    }

    .girl-desc {
        font-size: 11.5px;
    }

    .girl-status .fa-phone {
        width: 46px;
        height: 46px;
        font-size: 17px;
        right: 10px;
        bottom: -21px;
        border-width: 2px;
    }

    .girl-status .call-now {
        right: 8px;
        bottom: 33px;
        font-size: 9.5px;
        padding: 4px 9px;
    }

    .girl-card:has(.fa-phone) .girl-info {
        padding-right: 58px;
    }

    .girl-status .product-new-label,
    .girl-status .product-busy,
    .girl-status .product-not-available {
        top: 9px;
        left: 9px;
        font-size: 10.5px;
        padding: 5px 10px 5px 9px;
    }
}
