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

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

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

.animate-slide-in-left {
    animation: slide-in-left 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.6s ease-out forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateX(4px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

::selection {
    background-color: #DCFCE7;
    color: #166534;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.mouse-glow {
    position: fixed;
    width: 37.8px;
    height: 37.8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, 
        rgba(34, 197, 94, 0) 0%, 
        rgba(34, 197, 94, 0) 40%, 
        rgba(34, 197, 94, 0.3) 50%, 
        rgba(34, 197, 94, 0.6) 60%, 
        rgba(34, 197, 94, 0.8) 70%, 
        rgba(34, 197, 94, 0) 100%);
    box-shadow: 
        0 0 10px rgba(34, 197, 94, 0.5),
        0 0 20px rgba(34, 197, 94, 0.3),
        0 0 30px rgba(34, 197, 94, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mouse-glow.visible {
    opacity: 1;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.popup-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.popup-message {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 28px;
}

.popup-button {
    background: #22C55E;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.popup-button:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.popup-button:active {
    transform: translateY(0);
}

.comments-section {
    animation: fade-in-up 0.3s ease-out;
}

.comment-item {
    transition: background-color 0.2s ease;
    padding: 8px;
    border-radius: 8px;
}

.comment-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.comment-input input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-input input:focus {
    outline: none;
}

.comment-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.like-btn.liked {
    color: #22C55E !important;
}

.like-btn[data-theme="blue"].liked {
    color: #3B82F6 !important;
}

.like-btn[data-theme="orange"].liked {
    color: #F97316 !important;
}

.like-btn[data-theme="purple"].liked {
    color: #A855F7 !important;
}

.like-btn[data-theme="red"].liked {
    color: #EF4444 !important;
}

.like-btn.liked svg {
    fill: currentColor;
}