.font-inter {
    font-family: "Inter", sans-serif;
}
.font-inter-tight {
    font-family: "Inter Tight", sans-serif;
}
.font-roboto {
    font-family: "Roboto", sans-serif;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #f0f0f0;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image.loading {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.app-mockup.lazy-image {
    background-color: transparent !important;
}

.app-mockup.lazy-image.loading {
    background: transparent !important;
    animation: none;
}

#events-section {
    transition: background-image 0.8s ease-in-out, opacity 0.3s ease-in-out;
}

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

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

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

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

[dir="rtl"] .rtl-flip {
    transform: scaleX(-1);
}

[dir="rtl"] .rtl-text-right {
    text-align: right;
}

[dir="rtl"] .rtl-text-left {
    text-align: left;
}

[dir="ltr"] .app-mockup {
    right: 5rem;
    left: auto;
}

[dir="rtl"] .app-mockup {
    left: 5rem;
    right: auto;
}

.btn-primary {
    background: linear-gradient(135deg, #ff395c 0%, #ff6b7a 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 57, 92, 0.3);
}

.btn-secondary {
    background: #000;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #ff395c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6344a;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    opacity: 1;
    top: 40px;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

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

.btn-submit.is-loading {
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit.is-loading .btn-text {
    display: none;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}
