/**
 * ═══════════════════════════════════════════════════════════════════════════
 * Host Profile Page - WOW Facebook-Style Design
 * Versiune: 1.0.0 │ Data: 2025-01-10
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PAGE LAYOUT                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.host-profile-page {
    padding-top: 70px;
    min-height: 100vh;
    background: linear-gradient(135deg,
        #0f0c29 0%,
        #1a1333 20%,
        #24243e 40%,
        #1e1b4b 60%,
        #1a1333 80%,
        #0f0c29 100%
    );
    position: relative;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* WOW ANIMATED BACKGROUND - Warm Colors & Tech Effects                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Mesh Gradient Animated */
.host-profile-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 90%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 70%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
    animation: meshGradientShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes meshGradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.1) rotate(2deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
        opacity: 1;
    }
    75% {
        transform: scale(0.95) rotate(1deg);
        opacity: 0.9;
    }
}

/* Aurora Borealis Effect */
.host-profile-page::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        conic-gradient(from 0deg at 30% 30%,
            transparent 0deg,
            rgba(245, 158, 11, 0.08) 60deg,
            transparent 120deg,
            rgba(236, 72, 153, 0.06) 180deg,
            transparent 240deg,
            rgba(139, 92, 246, 0.08) 300deg,
            transparent 360deg
        );
    animation: auroraRotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tech Grid Pattern */
.wow-bg-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wow-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating Warm Orbs */
.wow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 15s ease-in-out infinite;
}

.wow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.wow-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    top: 40%;
    right: -5%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.wow-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.wow-orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.15) 0%, transparent 70%);
    top: 60%;
    right: 30%;
    animation-delay: -7s;
    animation-duration: 22s;
}

.wow-orb-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    animation-delay: -3s;
    animation-duration: 16s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Glowing Lines */
.wow-glow-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wow-glow-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(245, 158, 11, 0.6) 20%,
        rgba(236, 72, 153, 0.8) 50%,
        rgba(139, 92, 246, 0.6) 80%,
        transparent 100%
    );
    animation: hostProfileGlowLineMove 8s linear infinite;
    opacity: 0.5;
}

.wow-glow-line:nth-child(1) {
    top: 20%;
    left: -100%;
    width: 60%;
    animation-delay: 0s;
}

.wow-glow-line:nth-child(2) {
    top: 50%;
    left: -100%;
    width: 40%;
    animation-delay: -2s;
}

.wow-glow-line:nth-child(3) {
    top: 80%;
    left: -100%;
    width: 50%;
    animation-delay: -4s;
}

/* Nume propriu: `glowLineMove` este definit global in core/header.css (animeaza
   background-position); redefinirea de aici, cu translateX(100vw), se aplica
   si liniei din antetul comun si o arunca 2880px in afara ecranului
   (scrollWidth 3147 la 1440). */
@keyframes hostProfileGlowLineMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 100%)); }
}

/* Sparkle Particles */
.wow-sparkles {
    position: absolute;
    inset: 0;
}

.wow-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8),
                0 0 20px rgba(245, 158, 11, 0.5),
                0 0 30px rgba(245, 158, 11, 0.3);
    animation: sparkleGlow 3s ease-in-out infinite;
}

.wow-sparkle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.wow-sparkle:nth-child(2) { top: 25%; left: 85%; animation-delay: -0.5s; }
.wow-sparkle:nth-child(3) { top: 45%; left: 25%; animation-delay: -1s; }
.wow-sparkle:nth-child(4) { top: 55%; left: 70%; animation-delay: -1.5s; }
.wow-sparkle:nth-child(5) { top: 75%; left: 40%; animation-delay: -2s; }
.wow-sparkle:nth-child(6) { top: 85%; left: 90%; animation-delay: -2.5s; }
.wow-sparkle:nth-child(7) { top: 35%; left: 55%; animation-delay: -0.8s; }
.wow-sparkle:nth-child(8) { top: 65%; left: 15%; animation-delay: -1.8s; }

@keyframes sparkleGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Noise Texture Overlay */
.wow-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Ensure content is above background */
.host-profile-page > *:not(.wow-bg-container) {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PROFILE HERO - COVER + HEADER CARD                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

.profile-hero {
    position: relative;
    margin-bottom: 0;
    margin-top: -72px;
    padding-top: 0;
}

.profile-cover {
    position: relative;
    height: 520px;
    background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6366f1 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 24px;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.2) 0%,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.4) 50%,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.85) 100%
    );
    z-index: 5;
    border-radius: 24px;
}

.cover-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.15) 0%, transparent 40%);
    animation: patternFloat 20s ease-in-out infinite;
    z-index: 6;
    border-radius: 24px;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COVER SLIDESHOW
   ═══════════════════════════════════════════════════════════════════════════ */

.profile-cover-slideshow {
    background: transparent;
}

.cover-slideshow-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.cover-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.cover-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.cover-slide.prev {
    opacity: 0;
    transform: scale(0.95);
    z-index: 1;
}

.cover-slide .cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Ken Burns Effect */
.cover-slide.active .cover-img {
    animation: coverKenBurns 12s ease-in-out infinite alternate;
}

@keyframes coverKenBurns {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.1) translateX(-2%); }
}

/* Navigation Arrows */
.cover-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.profile-cover:hover .cover-slideshow-nav {
    opacity: 1;
    pointer-events: auto;
}

.cover-slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.cover-slideshow-nav svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.cover-slideshow-prev {
    left: 24px;
}

.cover-slideshow-next {
    right: 24px;
}

/* Dots Navigation */
.cover-slideshow-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cover-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.cover-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.cover-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Progress Bar - Hidden */
.cover-slideshow-progress {
    display: none;
}

.cover-slideshow-progress .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,
        var(--color-primary, #6366f1),
        var(--color-accent, #22d3ee));
    animation: coverProgress 6s linear infinite;
}

.profile-cover:hover .cover-slideshow-progress .progress-bar {
    animation-play-state: paused;
}

@keyframes coverProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cover-slideshow-nav {
        width: 32px;
        height: 32px;
        opacity: 1;
        pointer-events: auto;
        background: rgba(0, 0, 0, 0.4);
    }

    .cover-slideshow-prev { left: 24px; }
    .cover-slideshow-next { right: 24px; }

    .cover-slideshow-dots {
        bottom: 16px;
        gap: 6px;
        padding: 6px 12px;
    }

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

    .cover-dot.active {
        width: 18px;
    }

    /* Keep Ken Burns on mobile for cool effect */
    .cover-slide.active .cover-img {
        animation: coverKenBurns 15s ease-in-out infinite alternate;
    }
}

/* Profile Header Card */
.profile-header-card {
    position: relative;
    margin-top: -100px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.97),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.99)
    );
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 10;
    overflow: hidden;
}

/* Decorative glow effect */
.profile-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.profile-header-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Avatar */
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(99, 102, 241, 0.5);
    box-shadow:
        0 0 0 4px rgba(var(--color-surface-rgb, 15, 23, 42), 0.8),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, #1e293b, #334155);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.superhost-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.superhost-badge svg {
    width: 14px;
    height: 14px;
}

/* Profile Info */
.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
}

.profile-verified svg {
    width: 14px;
    height: 14px;
}

.profile-tagline {
    font-size: 1.15rem;
    color: #a5b4fc;
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.profile-location svg {
    width: 16px;
    height: 16px;
    stroke: #6366f1;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CARD STATS - Integrated in Profile Card                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.card-stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
    flex-basis: 100%;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    z-index: 1;
}

.card-stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(
        145deg,
        rgba(99, 102, 241, 0.08),
        rgba(79, 70, 229, 0.04)
    );
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(99, 102, 241, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 8px 20px rgba(99, 102, 241, 0.15),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.card-stat-item:hover::before {
    opacity: 1;
}

.card-stat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.card-stat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
}

.card-stat-icon svg {
    width: 18px;
    height: 18px;
    stroke: #22d3ee;
    fill: none;
    stroke-width: 2;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.3));
}

.card-stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.card-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22d3ee;
    line-height: 1;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.card-stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Highlight stat (timp raspuns) */
.card-stat-item.stat-highlight {
    background: linear-gradient(
        145deg,
        rgba(34, 211, 238, 0.12),
        rgba(99, 102, 241, 0.08)
    );
    border-color: rgba(34, 211, 238, 0.3);
}

.card-stat-item.stat-highlight .card-stat-icon {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(99, 102, 241, 0.2));
}

.card-stat-item.stat-highlight .card-stat-value {
    color: #a5b4fc;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.profile-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
}

.profile-actions .btn svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* STATS BAR - HIDDEN (stats now in card)                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.profile-stats-bar {
    display: none;
    padding: 1.5rem 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(99, 102, 241, 0.05) 100%
    );
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.6),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.4)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.stat-item.highlight {
    background: linear-gradient(
        145deg,
        rgba(99, 102, 241, 0.2),
        rgba(79, 70, 229, 0.15)
    );
    border-color: rgba(99, 102, 241, 0.4);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #22d3ee;
    line-height: 1;
}

.stat-item.highlight .stat-value {
    color: #a5b4fc;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PROFILE TABS                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

.profile-tabs-section {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: linear-gradient(
        180deg,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.98) 0%,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95) 100%
    );
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    margin-bottom: 2.5rem;
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.profile-tab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.profile-tab:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #c7d2fe;
}

.profile-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.15));
    border-color: rgba(99, 102, 241, 0.4);
    color: #e0e7ff;
}

.profile-tab.active svg {
    stroke: #a5b4fc;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a5b4fc;
}

.profile-tab.active .tab-count {
    background: rgba(99, 102, 241, 0.4);
    color: #e0e7ff;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TAB CONTENT                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.profile-content {
    padding: 2.5rem 0 4rem;
    margin-top: 1rem;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/* ═══════════════════════════════════════════════════════════════════════════ */
/* DESPRE TAB                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.profile-about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    padding: 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.8),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.9)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
}

.about-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-text {
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.language-tag {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #c7d2fe;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlights-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.highlights-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Sidebar */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verification-card .about-title {
    color: #4ade80;
}

.verification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.verification-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.verification-list li.verified {
    color: #4ade80;
}

.verification-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.member-since {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-since svg {
    width: 40px;
    height: 40px;
    stroke: #6366f1;
    flex-shrink: 0;
}

.member-since .label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.member-since .value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PROPERTIES TAB                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */

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

/* Property Card */
.property-card {
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-card-image img {
    transform: scale(1.05);
}

.property-card-body {
    padding: 1.25rem;
}

.property-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.property-card-location svg {
    width: 14px;
    height: 14px;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.property-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22d3ee;
}

.property-card-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
}

.property-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #fbbf24;
    font-weight: 600;
}

.property-card-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* OFFERS TAB                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.offers-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offer-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.offer-card-image {
    position: relative;
    overflow: hidden;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
}

.offer-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.offer-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.offer-card-property {
    font-size: 0.9rem;
    color: #6366f1;
    margin-bottom: 0.75rem;
}

.offer-card-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.offer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.offer-validity {
    font-size: 0.85rem;
    color: #64748b;
}

.offer-validity strong {
    color: #f59e0b;
}

.offer-card .btn {
    padding: 0.6rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* STORIES TAB                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.stories-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-card {
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.story-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.story-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.story-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-author-info {
    flex: 1;
}

.story-author-name {
    font-weight: 600;
    color: #f1f5f9;
}

.story-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.story-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
}

.story-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.story-card-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-height: 300px;
    overflow: hidden;
}

.story-card-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-card-images.single {
    grid-template-columns: 1fr;
}

.story-card-images.single img {
    height: 350px;
}

.story-card-body {
    padding: 1.25rem;
}

.story-text {
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
}

.story-card-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.story-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

.story-action:hover {
    color: #c7d2fe;
}

.story-action svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Q&A TAB                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.qa-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qa-ask-form {
    padding: 1.5rem;
}

.qa-ask-form h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.qa-ask-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qa-ask-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
}

.qa-ask-form textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.qa-ask-form textarea::placeholder {
    color: #64748b;
}

.qa-ask-form .btn {
    align-self: flex-end;
}

.qa-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qa-card {
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95)
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.qa-question {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.qa-question-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.qa-question-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #334155, #475569);
}

.qa-question-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qa-question-author {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.9rem;
}

.qa-question-date {
    font-size: 0.8rem;
    color: #64748b;
}

.qa-question-text {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.qa-answer {
    padding: 1.25rem;
    background: rgba(99, 102, 241, 0.05);
}

.qa-answer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.qa-answer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.4);
}

.qa-answer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qa-answer-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qa-answer-author span {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.9rem;
}

.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.25));
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a5b4fc;
    text-transform: uppercase;
}

.official-badge svg {
    width: 12px;
    height: 12px;
}

.qa-answer-text {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.qa-helpful {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.qa-helpful span {
    font-size: 0.85rem;
    color: #64748b;
}

.qa-helpful button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 8px;
    color: #4ade80;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.qa-helpful button:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.qa-helpful button svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RECOMMENDATIONS SECTION                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.recommendations-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recommendations-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    gap: 1rem;
}

.recommendations-intro .intro-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.recommendations-intro .intro-icon svg {
    width: 32px;
    height: 32px;
    stroke: #a5b4fc;
}

.recommendations-intro h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.recommendations-intro p {
    color: #94a3b8;
    margin: 0;
    max-width: 500px;
}

/* Recommendations Categories */
.recommendations-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.rec-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(var(--color-elevated-rgb, 30, 41, 59), 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rec-category-btn svg {
    width: 18px;
    height: 18px;
}

.rec-category-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: #f1f5f9;
    background: rgba(99, 102, 241, 0.1);
}

.rec-category-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.2));
    border-color: rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Recommendation Card */
.recommendation-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rec-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.rec-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommendation-card:hover .rec-card-image img {
    transform: scale(1.05);
}

.rec-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.rec-distance {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.8);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22d3ee;
}

.rec-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rec-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.rec-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.rec-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rec-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}

.rec-rating {
    color: #fbbf24 !important;
}

.rec-rating svg {
    width: 14px;
    height: 14px;
    fill: #fbbf24;
}

.rec-meta svg {
    width: 14px;
    height: 14px;
}

.rec-host-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
}

.rec-host-tip svg {
    width: 18px;
    height: 18px;
    stroke: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.rec-host-tip span {
    font-size: 0.85rem;
    color: #fbbf24;
    font-style: italic;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* EMPTY STATES                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    stroke: #475569;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #64748b;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .profile-about-grid {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-hero {
        margin-top: -60px;
    }

    .profile-cover {
        height: 220px;
        margin: 0 16px;
        border-radius: 20px;
    }

    .cover-overlay,
    .cover-pattern,
    .cover-slideshow-track,
    .cover-slide .cover-img {
        border-radius: 20px;
    }

    /* ═══ MOBILE CARD - WOW REDESIGN ═══ */
    .profile-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 60px 16px 0 16px;
        padding: 1.5rem 1.5rem 1.5rem 1.5rem;
        border-radius: 28px !important;
        border: 1px solid rgba(99, 102, 241, 0.4);
        background: linear-gradient(
            165deg,
            rgba(var(--color-elevated-rgb, 30, 41, 59), 0.98) 0%,
            rgba(var(--color-surface-rgb, 15, 23, 42), 0.99) 50%,
            rgba(30, 27, 75, 0.95) 100%
        );
        box-shadow:
            0 20px 50px -15px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(99, 102, 241, 0.15),
            0 0 80px rgba(139, 92, 246, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: visible;
    }

    /* Decorative glow effects - DISABLED */
    .profile-header-card::before {
        display: none;
    }

    .profile-avatar-wrapper {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        z-index: 10;
        margin-bottom: 1rem;
    }

    .profile-avatar {
        width: 140px;
        height: 140px;
        margin-top: 0;
        border-width: 5px;
        border-color: rgba(99, 102, 241, 0.7);
        box-shadow:
            0 0 0 5px rgba(var(--color-surface-rgb, 15, 23, 42), 0.95),
            0 15px 40px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(99, 102, 241, 0.4);
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
        margin-top: 0;
        border-width: 4px;
        border-color: rgba(99, 102, 241, 0.6);
        box-shadow:
            0 0 0 4px rgba(var(--color-surface-rgb, 15, 23, 42), 0.9),
            0 10px 30px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(99, 102, 241, 0.3);
    }

    .superhost-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.7rem;
        bottom: -8px;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    }

    .profile-name {
        font-size: 1.5rem;
        margin-top: 0.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .profile-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        color: #a5b4fc;
    }

    .profile-verified {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
        border: 1px solid rgba(16, 185, 129, 0.4);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    }

    .profile-name-row {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .profile-location {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        color: #94a3b8;
    }

    .profile-location svg {
        color: #a5b4fc;
    }

    .profile-actions {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .profile-actions .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 12px;
        font-weight: 600;
    }

    .profile-actions .btn-primary {
        background: linear-gradient(135deg, #6366f1, #4f46e5);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    }

    /* ═══ STATS GRID - COMPACT MOBILE ═══ */
    .card-stats-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(99, 102, 241, 0.2);
        width: 100%;
    }

    .card-stat-item {
        padding: 0.5rem 0.6rem;
        gap: 0.25rem;
        border-radius: 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background: rgba(99, 102, 241, 0.08);
        border: 1px solid rgba(99, 102, 241, 0.12);
        transition: all 0.3s ease;
        flex: 0 0 auto;
    }

    .card-stat-item:nth-child(4),
    .card-stat-item:nth-child(5) {
        grid-column: unset;
    }

    /* Remove pseudo element */
    .card-stats-grid::after {
        display: none;
    }

    .card-stat-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        background: rgba(99, 102, 241, 0.2);
        box-shadow: none;
    }

    .card-stat-icon svg {
        width: 12px;
        height: 12px;
    }

    .card-stat-value {
        font-size: 0.85rem;
        font-weight: 700;
        color: #f1f5f9;
    }

    .card-stat-label {
        font-size: 0.55rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: #94a3b8;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-item {
        min-width: 80px;
        padding: 0.75rem 1rem;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    .profile-tab span {
        display: none;
    }

    .profile-tab {
        padding: 0.75rem;
    }

    .profile-tabs {
        justify-content: center;
    }

    .about-sidebar {
        grid-template-columns: 1fr;
    }

    .offer-card {
        grid-template-columns: 1fr;
    }

    .offer-card-image {
        height: 180px;
    }

    .story-card-images {
        grid-template-columns: 1fr;
    }

    .story-card-images img {
        height: 250px;
    }

    /* Recommendations Mobile */
    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .rec-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .rec-category-btn span {
        display: none;
    }

    .rec-category-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .profile-cover {
        height: 200px;
        margin: 0 8px;
        border-radius: 12px;
    }

    .cover-overlay,
    .cover-pattern,
    .cover-slideshow-track,
    .cover-slide .cover-img {
        border-radius: 12px;
    }

    .profile-header-card {
        padding: 65px 0.75rem 1rem 0.75rem;
        border-radius: 0;
    }

    .profile-avatar-wrapper {
        top: -45px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .profile-name {
        font-size: 1.2rem;
    }

    .profile-tagline {
        font-size: 0.8rem;
    }

    .card-stats-grid {
        gap: 0.3rem;
    }

    .card-stat-item {
        padding: 0.35rem 0.5rem;
        flex: 0 0 auto;
    }

    .card-stat-icon {
        width: 24px;
        height: 24px;
    }

    .card-stat-icon svg {
        width: 12px;
        height: 12px;
    }

    .card-stat-value {
        font-size: 0.75rem;
    }

    .card-stat-label {
        font-size: 0.5rem;
    }

    .superhost-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
        bottom: -5px;
    }

    .profile-actions .btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }

    .stat-item {
        min-width: 70px;
        padding: 0.6rem 0.75rem;
    }

    .stat-value {
        font-size: 1.15rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* GUEST CALENDAR - AVAILABILITY TAB                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.availability-section {
    max-width: 800px;
    margin: 0 auto;
}

.availability-header {
    text-align: center;
    margin-bottom: 2rem;
}

.availability-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.availability-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Property Selector */
.property-selector {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}

.property-selector::-webkit-scrollbar {
    display: none;
}

.property-selector-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.property-selector-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.property-selector-item.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.property-selector-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.property-selector-item .prop-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.property-selector-item .prop-location {
    font-size: 0.75rem;
    color: #64748b;
}

/* Guest Calendar Widget */
.guest-calendar-widget {
    padding: 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9) 0%,
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95) 100%
    );
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.calendar-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.calendar-nav-prev,
.calendar-nav-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-prev:hover,
.calendar-nav-next:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.calendar-nav-prev svg,
.calendar-nav-next svg {
    width: 20px;
    height: 20px;
}

.calendar-month-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.calendar-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 0.5rem;
}

.calendar-weekdays-row span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day-cell:hover:not(.other-month):not(.booked) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.08);
    z-index: 2;
}

.calendar-day-cell.other-month {
    opacity: 0.3;
    cursor: default;
}

.calendar-day-cell.today {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.1);
}

.calendar-day-cell.today::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

.calendar-day-cell.available {
    background: linear-gradient(
        145deg,
        rgba(34, 197, 94, 0.15) 0%,
        rgba(16, 185, 129, 0.08) 100%
    );
    border-color: rgba(34, 197, 94, 0.3);
}

.calendar-day-cell.available:hover {
    background: linear-gradient(
        145deg,
        rgba(34, 197, 94, 0.3) 0%,
        rgba(16, 185, 129, 0.2) 100%
    );
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.calendar-day-cell.booked {
    background: linear-gradient(
        145deg,
        rgba(239, 68, 68, 0.12) 0%,
        rgba(220, 38, 38, 0.06) 100%
    );
    border-color: rgba(239, 68, 68, 0.25);
    cursor: not-allowed;
}

.calendar-day-cell.pending {
    background: linear-gradient(
        145deg,
        rgba(251, 191, 36, 0.12) 0%,
        rgba(245, 158, 11, 0.06) 100%
    );
    border-color: rgba(251, 191, 36, 0.25);
}

.calendar-day-cell.selected {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.4) 0%,
        rgba(139, 92, 246, 0.3) 100%
    );
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.calendar-day-cell .day-num {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.calendar-day-cell .day-price {
    font-size: 0.6rem;
    color: #22c55e;
    font-weight: 500;
    margin-top: 2px;
}

.calendar-day-cell.booked .day-num {
    text-decoration: line-through;
    color: #94a3b8;
}

/* Calendar Legend */
.calendar-legend-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calendar-legend-row .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.calendar-legend-row .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.calendar-legend-row .legend-dot.available {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(16, 185, 129, 0.3));
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.calendar-legend-row .legend-dot.booked {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(220, 38, 38, 0.3));
    border: 1px solid rgba(239, 68, 68, 0.6);
}

.calendar-legend-row .legend-dot.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5), rgba(245, 158, 11, 0.3));
    border: 1px solid rgba(251, 191, 36, 0.6);
}

/* Selected Date Info Card */
.selected-date-info {
    padding: 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(34, 197, 94, 0.1) 0%,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.95) 100%
    );
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 18px;
    animation: slideUp 0.4s ease;
}

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

.date-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.date-info-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #22c55e;
}

.date-info-status svg {
    width: 18px;
    height: 18px;
}

.date-info-status.unavailable {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.date-info-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.date-info-property {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    margin-bottom: 1rem;
}

.date-info-property .property-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.date-info-property .property-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.25rem 0;
}

.date-info-property .property-details p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.date-info-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.date-info-price .price-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

.date-info-price .price-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #22c55e;
}

.date-info-actions {
    display: flex;
    gap: 0.75rem;
}

.date-info-actions .btn-book {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.date-info-actions .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.date-info-actions .btn-book svg {
    width: 18px;
    height: 18px;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .availability-section {
        padding: 0 0.5rem;
    }

    .property-selector {
        gap: 0.75rem;
    }

    .property-selector-item {
        padding: 0.5rem 0.75rem;
    }

    .property-selector-item img {
        width: 40px;
        height: 40px;
    }

    .guest-calendar-widget {
        padding: 1rem;
        border-radius: 16px;
    }

    .calendar-month-title {
        font-size: 1.1rem;
    }

    .calendar-day-cell {
        border-radius: 8px;
    }

    .calendar-day-cell .day-num {
        font-size: 0.85rem;
    }

    .calendar-day-cell .day-price {
        display: none;
    }

    .calendar-legend-row {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .selected-date-info {
        padding: 1rem;
    }

    .date-info-actions {
        flex-direction: column;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════ */
/* TECHNICAL BACKGROUND EFFECTS                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

.tech-background-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Animated Grid Lines */
.tech-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Floating Orbs */
.floating-orbs {
    position: absolute;
    inset: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent);
    top: 50%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    top: 70%;
    right: 30%;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Scan Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(99, 102, 241, 0.5),
        rgba(34, 211, 238, 0.7),
        rgba(99, 102, 241, 0.5),
        transparent
    );
    animation: scanLine 8s linear infinite;
    opacity: 0.5;
}

@keyframes scanLine {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* Ensure content is above background */
.host-profile-page,
.main-header,
.main-footer,
.offer-modal-overlay {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* STORY POST FORM - USER GENERATED CONTENT                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.story-post-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.95)
    );
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
}

.post-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-form-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.4);
}

.post-form-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-form-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 0.25rem;
}

.post-form-info p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.story-post-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-post-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.story-post-form textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.story-post-form textarea::placeholder {
    color: #64748b;
}

.post-form-media {
    padding: 1rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.4);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: 12px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.media-grid .media-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.media-grid .media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-grid .media-item .remove-media {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-form-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-form-rating > span {
    font-size: 0.9rem;
    color: #94a3b8;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars .star {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars .star svg {
    width: 28px;
    height: 28px;
    fill: transparent;
    stroke: #64748b;
    stroke-width: 1.5;
    transition: all 0.2s ease;
}

.rating-stars .star:hover svg,
.rating-stars .star.active svg {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.rating-stars:hover .star svg {
    fill: transparent;
    stroke: #64748b;
}

.rating-stars:hover .star:hover svg,
.rating-stars:hover .star:hover ~ .star svg,
.rating-stars .star:hover svg {
    fill: transparent;
}

.rating-stars .star:hover svg,
.rating-stars .star:hover ~ .star svg {
    fill: transparent !important;
}

.rating-stars:hover .star:hover svg {
    fill: #fbbf24 !important;
    stroke: #fbbf24;
}

/* Fix star rating hover */
.rating-stars {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-stars .star:hover svg,
.rating-stars .star:hover ~ .star svg {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.post-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
}

.media-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    color: #a5b4fc;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-upload-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.media-upload-btn svg {
    width: 20px;
    height: 20px;
}

.btn-post {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-post svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* INFINITE SCROLL                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */

.infinite-scroll {
    min-height: 200px;
}

.infinite-scroll-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Story Reply/Comment System */
.story-card-comments {
    padding: 1rem 1.25rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.5);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.comments-list {
    margin-bottom: 1rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

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

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.comment-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.comment-time {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.add-comment-form {
    display: flex;
    gap: 0.75rem;
}

.add-comment-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    color: #f1f5f9;
    font-size: 0.85rem;
}

.add-comment-form input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.4);
}

.add-comment-form button {
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-comment-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* OFFER MODAL                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.offer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offer-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offer-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(
        145deg,
        rgba(var(--color-elevated-rgb, 30, 41, 59), 0.98),
        rgba(var(--color-surface-rgb, 15, 23, 42), 0.99)
    );
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(245, 158, 11, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.offer-modal-overlay.active .offer-modal {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(var(--color-elevated-rgb, 30, 41, 59), 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
}

.modal-offer-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.modal-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-offer-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--color-surface-rgb, 15, 23, 42), 0.9) 0%, transparent 60%);
}

.offer-discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.modal-offer-content {
    padding: 1.5rem 2rem 2rem;
}

.offer-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin: -3rem auto 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(239, 68, 68, 0.15),
        rgba(185, 28, 28, 0.1)
    );
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    position: relative;
    z-index: 10;
    max-width: 280px;
}

.offer-countdown .countdown-label {
    font-size: 0.75rem;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f87171;
    min-width: 40px;
    text-align: center;
}

.countdown-item .countdown-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.modal-offer-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.75rem;
    text-align: center;
}

.modal-offer-property {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6366f1;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.modal-offer-property svg {
    width: 18px;
    height: 18px;
}

.modal-offer-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-offer-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.5);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.offer-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.offer-detail svg {
    width: 18px;
    height: 18px;
    stroke: #6366f1;
    flex-shrink: 0;
}

.offer-detail strong {
    color: #22d3ee;
}

.savings-amount {
    color: #4ade80 !important;
}

.modal-offer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.modal-offer-features .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4ade80;
}

.modal-offer-features .feature-tag svg {
    width: 14px;
    height: 14px;
}

.modal-offer-actions {
    display: flex;
    gap: 1rem;
}

.modal-book-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1f2937;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.modal-book-btn svg {
    width: 20px;
    height: 20px;
}

.modal-offer-actions .btn-outline {
    padding: 1rem 1.25rem;
}

/* Mobile responsive modal */
@media (max-width: 600px) {
    .offer-modal {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        margin-top: auto;
    }

    .modal-offer-content {
        padding: 1rem 1.25rem 1.5rem;
    }

    .modal-offer-title {
        font-size: 1.4rem;
    }

    .countdown-timer {
        gap: 0.75rem;
    }

    .modal-offer-actions {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* STORY CARD ENHANCEMENTS - COMMENT TOGGLE                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.story-action.comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.view-comments-btn {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    color: #a5b4fc;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-comments-btn:hover {
    background: rgba(99, 102, 241, 0.2);
}

