@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

body {
    background-color: #050005;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.heading-font {
    font-family: 'Cinzel', serif;
}

.chat-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(159, 18, 57, 0.5) transparent;
}

.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: rgba(159, 18, 57, 0.7);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.2);
}

.message {
    max-width: 85%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 20, 147, 0.15);
    /* Entrance Animation */
    animation: messageReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transition: opacity 1.5s ease, transform 1.5s ease;
    /* Reading enhancements */
    line-height: 1.7;
    letter-spacing: 0.03em;
    font-size: 1.05rem;
    font-weight: 300;
}

@keyframes messageReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.master {
    background: linear-gradient(135deg, rgba(30, 10, 40, 0.85) 0%, rgba(10, 5, 20, 0.95) 100%);
    border-left: 2px solid #a855f7;
    box-shadow: -5px 0 30px rgba(147, 51, 234, 0.15), 0 8px 30px rgba(0,0,0,0.5);
}

.slave {
    background: linear-gradient(135deg, rgba(50, 5, 20, 0.85) 0%, rgba(20, 0, 5, 0.95) 100%);
    border-right: 2px solid #e11d48;
    box-shadow: 5px 0 30px rgba(225, 29, 72, 0.15), 0 8px 30px rgba(0,0,0,0.5);
}

/* Premium Glassmorphism */
.glass-panel {
    background: rgba(20, 0, 10, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(244, 63, 94, 0.25);
    box-shadow: 0 10px 40px rgba(159, 18, 57, 0.3), inset 0 0 15px rgba(255, 20, 147, 0.05);
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    box-shadow: 0 15px 50px rgba(244, 63, 94, 0.4), inset 0 0 25px rgba(255, 20, 147, 0.1);
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    height: 24rem;
    border-radius: 1.25rem; /* rounded-xl */
    overflow: hidden;
    border: 2px solid rgba(244, 63, 94, 0.35);
    box-shadow: 0 0 35px rgba(225, 29, 72, 0.5);
    background: #000;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}
.animate-marquee {
    animation: marquee 25s linear infinite;
    will-change: transform;
}
.mask-edges {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Fading and Breathing mechanism */
.crossfade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Opacity is 3s, transform is longer for a slow continuous breathing zoom */
    transition: opacity 3s ease-in-out, transform 12.5s ease-out;
    filter: brightness(0.75) contrast(1.15) saturate(1.4) sepia(0.2) hue-rotate(335deg);
    transform: scale(1);
    opacity: 0;
}

.crossfade-img.active {
    opacity: 1;
    transform: scale(1.08); /* the zoom pan over 12 seconds */
}

/* Background image styling */
.erotic-bg {
    filter: brightness(0.35) contrast(1.2) saturate(1.4) sepia(0.5) hue-rotate(320deg);
    transition: opacity 4s ease-in-out, transform 20s linear;
    transform: scale(1);
    opacity: 0;
}

.erotic-bg.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Interactive elements */
.btn-pulse {
    animation: pulseGlow 2.5s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(225, 29, 72, 0.5); }
    100% { box-shadow: 0 0 35px rgba(244, 63, 94, 0.9), 0 0 15px rgba(255, 20, 147, 0.7); }
}

/* Input subtle glowing focus */
.glow-input:focus {
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3) inset, 0 0 10px rgba(244, 63, 94, 0.2);
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
}


