
#frndBody {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #0F1724 0%, #1a2332 25%, #2d3748 50%, #4a5568 75%, #718096 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Galaxy Background with Stars */
.frndMainBg {
    background:
            radial-gradient(circle at 10% 20%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 90% 10%, rgba(255, 234, 167, 0.1) 0%, transparent 50%),
            linear-gradient(135deg, #0F1724 0%, #1a2332 25%, #2d3748 50%, #4a5568 75%, #718096 100%);
    position: relative;
}

/* Animated Stars */
.frndMainBg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(2px 2px at 20px 30px, #edf2f7, transparent),
            radial-gradient(2px 2px at 40px 70px, #cbd5e0, transparent),
            radial-gradient(1px 1px at 90px 40px, #edf2f7, transparent),
            radial-gradient(1px 1px at 130px 80px, #cbd5e0, transparent),
            radial-gradient(2px 2px at 160px 30px, #edf2f7, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: frndPatternMove 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.frndMainBg::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(ellipse at 30% 20%, rgba(120, 119, 198, 0.4) 0%, transparent 70%),
            radial-gradient(ellipse at 70% 70%, rgba(255, 119, 198, 0.3) 0%, transparent 70%),
            radial-gradient(ellipse at 50% 50%, rgba(120, 219, 226, 0.2) 0%, transparent 80%);
    animation: frndLightPulse 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes frndPatternMove {
    0% {
        background-position: 0 0;
        transform: translateX(0);
    }
    100% {
        background-position: -200px 0;
        transform: translateX(0);
    }
}

@keyframes frndLightPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: scale(1.02) rotate(0.2deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05) rotate(0deg);
        opacity: 0.7;
    }
    75% {
        transform: scale(1.02) rotate(-0.2deg);
        opacity: 0.8;
    }
}

.frndCarouselContainer {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.frndCarouselItem { scroll-snap-align: start; }
.frndSkeleton { animation: frndPulse 2s cubic-bezier(0.4, 0.0, 0.6, 1) infinite; }

.frndFloatingChat {
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    animation: frndFloat 3s ease-in-out infinite;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.frndCardHover {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}
.frndCardHover:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,106,0,0.1);
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
}

/* Enhanced Animations */
@keyframes frndFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes frndPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.05); }
}

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

@keyframes frndGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 106, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 106, 0, 0.6); }
}

.frndSlideUpAnimation {
    animation: frndSlideUp 0.6s ease-out;
}

.frndGlowAnimation {
    animation: frndGlow 2s ease-in-out infinite;
}

.frndGlassEffect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.frndGradientText {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 50%, #FF4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.frndPremiumShadow {
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.08);
}

.frndIconGlow {
    filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.4));
}

.frndHidden {
    display: none !important;
}

/* Enhanced Header */
.frndHeaderGradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Enhanced Promo Banner */
.frndPromoBanner {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 25%, #FF4500 50%, #DC2626 75%, #B91C1C 100%);
    position: relative;
    overflow: hidden;
}

.frndPromoBanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: frndShimmer 3s infinite;
}

@keyframes frndShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Search Section */
.frndSearchEnhanced {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.frndSearchEnhanced:focus-within {
    border-color: #FF6A00;
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.2);
    transform: translateY(-2px);
}

/* Enhanced Buttons */
.frndButtonPrimary {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 100%);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.3);
    transition: all 0.3s ease;
}

.frndButtonPrimary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.4);
}

.frndButtonSecondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.frndButtonSecondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Enhanced Cards */
.frndCardPremium {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Enhanced Carousel Styles */
.frndCarouselNavBtn {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.frndCarouselNavBtn:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.frndCarouselDots {
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.frndCarouselDot {
    transition: all 0.4s ease;
}
.frndCarouselDot.active {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 100%);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.5);
}

/* Enhanced Price Tags */
.frndPriceTag {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.frndDiscountBadge {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
    animation: frndPulse 2s infinite;
}

/* Enhanced Badges */
.frndBadgeSuccess {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.frndBadgeInfo {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.frndBadgeWarning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Full Screen Preview Styles */
.frndFullscreenPreview {
    backdrop-filter: blur(25px);
    animation: frndFadeIn 0.4s ease;
    background: rgba(0,0,0,0.95);
}
.frndFullscreenImage {
    animation: frndZoomIn 0.4s ease;
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 15px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.frndFullscreenNavBtn {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.frndFullscreenNavBtn:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
    transform: scale(1.1);
}

@keyframes frndFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes frndZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Enhanced Modal Styles */
.frndModalContent {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* Enhanced Input Styles */
.frndInputEnhanced {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.frndInputEnhanced:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #FF6A00;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
    transform: translateY(-1px);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .frndFullscreenImage {
        max-height: 80vh;
        max-width: 95vw;
    }
    .frndFullscreenNavBtn {
        width: 44px;
        height: 44px;
    }
    .frndCardHover:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Desktop optimizations */
@media (min-width: 1024px) {
    .frndFullscreenImage {
        max-height: 85vh;
        max-width: 80vw;
    }
}

/* Hide scrollbar */
.frndCarouselContainer::-webkit-scrollbar {
    display: none;
}
.frndCarouselContainer {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Loading Animation */
.frndLoadingSpinner {
    animation: frndSpin 1s linear infinite;
}

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

/* Hover Effects */
.frndHoverGlow:hover {
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.4);
}

.frndHoverLift:hover {
    transform: translateY(-5px);
}

.athRgModalContent {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
