:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before,
body::after {
    display: none !important;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

a, button, .btn, .nav-link, .navbar-brand {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer;
}

.card, .hover-card {
    position: relative;
    z-index: 5;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto !important;
}

.card-body {
    position: relative;
    z-index: 6;
}

.card-body a,
.card-body button,
.card-body .btn {
    z-index: 20 !important;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card {
    border: none;
    box-shadow: var(--card-shadow);
}

.navbar {
    position: relative;
    z-index: 1030;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    cursor: pointer;
    pointer-events: auto;
}

.features h5 {
    color: var(--primary-color);
    font-weight: 600;
}

#preview-area, #card-preview {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.card-preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.team-item, .card-item, .order-item {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.team-item:last-child, .card-item:last-child, .order-item:last-child {
    border-bottom: none;
}

.btn {
    padding: 10px 24px;
    font-weight: 500;
}

footer {
    margin-top: auto;
}
