/* Custom Styles for Profit Cam Studio */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    overflow-x: hidden;
}

/* Navbar transition */
nav {
    transition: transform 0.3s ease-in-out;
}

/* Float animation for logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Rose gold gradient text */
.gradient-text-rose {
    background: linear-gradient(135deg, #B76E79 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #F7E7CE;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B76E79 0%, #D4AF37 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B4F5F 0%, #B8860B 100%);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Button glow effect */
.btn-glow {
    box-shadow: 0 0 20px rgba(183, 110, 121, 0.3);
    transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(183, 110, 121, 0.5);
}

/* Shimmer effect for gold elements */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 3s infinite;
    background: linear-gradient(
        to right,
        #B76E79 0%,
        #E8C4A8 50%,
        #D4AF37 100%
    );
    background-size: 2000px 100%;
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.2);
}

/* Mobile menu animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobileMenu:not(.hidden) {
    animation: slideDown 0.3s ease-out;
}

/* Rose gold particles effect (decorative) */
.rose-gold-bg {
    background: linear-gradient(135deg, #F7E7CE 0%, #E8C4A8 50%, #F7E7CE 100%);
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(183, 110, 121, 0.1);
}

/* Icon bounce on hover */
.icon-bounce:hover i {
    animation: bounce 0.5s ease;
}

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

/* Success message styles */
.success-modal {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(183, 110, 121, 0.1);
    border-top: 3px solid #B76E79;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

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

/* Section fade-in on scroll */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography enhancements */
.font-heading {
    letter-spacing: -0.02em;
}

/* Rose gold border animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: #B76E79;
        box-shadow: 0 0 10px rgba(183, 110, 121, 0.3);
    }
    50% {
        border-color: #D4AF37;
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
}

.border-glow {
    animation: borderGlow 2s ease-in-out infinite;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Crisp Chat Custom Styles */
/* Crisp виджет настраивается через JavaScript API */
/* Цвет темы: #B76E79 (розово-золотой) */

/* Print styles */
@media print {
    nav, footer {
        display: none;
    }
}
