:root {
    /* Modern Minimalist SaaS Design - 2025 Inspired */
    --primary-color: #667eea;          /* Soft Modern Blue */
    --primary-light: #a0aeff;          /* Light Periwinkle */
    --primary-dark: #4c68d7;           /* Deep Blue */
    --secondary-color: #764ba2;        /* Elegant Lavender */
    --accent-color: #f093fb;           /* Soft Pink Accent */
    --success-color: #42e695;          /* Fresh Mint Green */
    --warning-color: #feca57;          /* Warm Amber */
    --danger-color: #ff6b6b;           /* Soft Red */
    
    /* Neutral Modern Palette */
    --gray-50: #fafbfc;                /* Almost White */
    --gray-100: #f5f7fa;              /* Very Light Gray */
    --gray-200: #e4e9f2;              /* Light Gray */
    --gray-300: #c1c9d2;              /* Medium Light Gray */
    --gray-400: #a0aec0;              /* Medium Gray */
    --gray-500: #718096;              /* Medium Dark Gray */
    --gray-600: #4a5568;              /* Dark Gray */
    --gray-700: #2d3748;              /* Very Dark Gray */
    --gray-800: #1a202c;              /* Almost Black */
    --gray-900: #171923;              /* Deep Black */
    
    /* Application Colors */
    --light-color: var(--gray-50);
    --dark-color: var(--gray-800);
    --card-color: #ffffff;
    --border-color: var(--gray-200);
    --text-muted: var(--gray-500);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Fira Code', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Shadows - Modern Subtle */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* Spacing Scale */
    --spacing-1: 4px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 20px;
    --spacing-6: 24px;
    --spacing-8: 32px;
    --spacing-10: 40px;
    --spacing-12: 48px;
    --spacing-16: 64px;
    --spacing-20: 80px;
    
    /* Legacy Spacing (for compatibility) */
    --spacing-xs: var(--spacing-1);
    --spacing-sm: var(--spacing-2);
    --spacing-md: var(--spacing-4);
    --spacing-lg: var(--spacing-5);
    --spacing-xl: var(--spacing-8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hover Effects für beliebte Spiele */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

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

/* Klickbare Karten Styling */
a .card {
    border: 2px solid transparent;
}

a:hover .card {
    border-color: var(--primary-light);
}

body {
    font-family: var(--font-main);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-12) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjA1Ij48cGF0aCBkPSJNMjAgMGMxMS4wNDYgMCAyMCA4Ljk1NCAyMCAyMHMtOC45NTQgMjAtMjAgMjBTMCAzMS4wNDYgMCAyMCA4Ljk1NCAwIDIwIDB6bTAgMTVjLTIuNzYxIDAtNSAyLjIzOS01IDVzMi4yMzkgNSA1IDUgNS0yLjIzOSA1LTUtMi4yMzkgNS01LTV6Ii8+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: 0;
}

h1 {
    text-align: center;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-light);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-right: var(--spacing-sm);
}

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

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.game-card {
    background-color: var(--card-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.game-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-4);
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.025em;
}

.game-card-body {
    padding: var(--spacing-md);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    margin-bottom: var(--spacing-sm);
}

.game-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-image {
    transform: scale(1.05);
}

.game-card-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.game-card-info p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-info p svg {
    margin-right: var(--spacing-xs);
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    letter-spacing: 0.025em;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px) scale(1.02);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.error-message {
    background-color: #fef2f2;
    border: 1px solid var(--danger-color);
    color: #b91c1c;
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    margin: var(--spacing-6) 0;
    display: none;
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal {
    background-color: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-6);
    position: relative;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    padding-right: 40px;
}

.modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-body {
    flex-grow: 1;
    overflow: auto;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.modal-content {
    overflow: auto;
    flex-grow: 1;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: var(--spacing-lg);
}

.tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #777;
}

.tab.active {
    border-bottom: 3px solid var(--primary-light);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Game Info Tab */
.game-detail-header {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.game-detail-image {
    width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: contain;
    background-color: #f8f9fa;
    padding: var(--spacing-sm);
    align-self: flex-start;
}

.game-detail-basics {
    flex-grow: 1;
}

.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.game-stat {
    background-color: var(--light-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
}

.game-stat svg {
    color: var(--primary-light);
}

.game-info-section {
    margin-bottom: var(--spacing-xl);
}

.game-info-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: var(--spacing-xs);
    display: inline-block;
}

.game-description {
    line-height: 1.7;
    color: #444;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-xs);
}

/* Chat Tab */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    max-height: 500px;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.message {
    max-width: 80%;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    position: relative;
    line-height: 1.5;
}

.message.user {
    align-self: flex-end;
    background-color: var(--primary-light);
    color: white;
    border-bottom-right-radius: 0;
}

.message.bot {
    align-self: flex-start;
    background-color: white;
    color: var(--dark-color);
    border-bottom-left-radius: 0;
    box-shadow: var(--shadow-sm);
}

.message.bot p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.message.bot p:last-child {
    margin-bottom: 0;
}

.message.bot strong {
    color: var(--primary-color);
    font-weight: 600;
}

.message.bot br {
    margin-bottom: var(--spacing-xs);
}

.message.bot a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-light);
}

.message.bot a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.message.debug {
    align-self: stretch;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    font-family: monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    max-width: 100%;
}

.chat-input-container {
    display: flex;
    gap: var(--spacing-sm);
}

.chat-input {
    flex-grow: 1;
    padding: var(--spacing-md);
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: inherit;
    resize: none;
    height: 60px;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.send-btn {
    align-self: flex-end;
    padding: var(--spacing-sm) var(--spacing-lg);
    height: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .game-detail-header {
        flex-direction: column;
    }
    
    .game-detail-image {
        width: 100%;
        max-width: 220px;
        margin: 0 auto var(--spacing-md) auto;
    }
    
    .modal {
        width: 95%;
    }
    
    .chat-container {
        height: 400px;
    }
    
    .message {
        max-width: 90%;
    }
}

/* Animation & Effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-in-up {
    animation: slideInUp 0.6s ease forwards;
}

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

.bounce-in {
    animation: bounce 1s ease;
}

.pulse-on-hover:hover {
    animation: pulse 0.6s ease;
}

/* Skeleton Loading Animations */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

.skeleton-text.large {
    height: 24px;
    width: 80%;
}

.skeleton-text.medium {
    height: 18px;
    width: 60%;
}

.skeleton-text.small {
    height: 14px;
    width: 40%;
}

.skeleton-button {
    height: 36px;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-md);
}

/* Staggered Animation for Cards */
.staggered-animation > * {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.staggered-animation > *:nth-child(1) { animation-delay: 0.1s; }
.staggered-animation > *:nth-child(2) { animation-delay: 0.2s; }
.staggered-animation > *:nth-child(3) { animation-delay: 0.3s; }
.staggered-animation > *:nth-child(4) { animation-delay: 0.4s; }
.staggered-animation > *:nth-child(5) { animation-delay: 0.5s; }
.staggered-animation > *:nth-child(6) { animation-delay: 0.6s; }
.staggered-animation > *:nth-child(7) { animation-delay: 0.7s; }

/* Crowdfunding Cards */
.crowdfunding-card {
    border-left: 4px solid var(--primary-color);
    position: relative;
    height: 100%;
}

.crowdfunding-card:hover {
    border-left-color: var(--secondary-color);
}

.crowdfunding-card .progress {
    border-radius: 2px;
    background-color: #e9ecef;
}

.crowdfunding-card .badge {
    background-color: var(--light-color) !important;
    color: var(--dark-color) !important;
    border: 1px solid #dee2e6;
}

/* Crowdfunding Image Container */
.crowdfunding-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    background-color: #f8f9fa;
}

.crowdfunding-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.crowdfunding-card:hover .crowdfunding-image {
    transform: scale(1.05);
}

/* Ensure all crowdfunding cards have same height */
.row.g-4 .col-md-6 .col-lg-4 {
    display: flex;
}

.row.g-4 .card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.row.g-4 .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Horizontal Strip Layout Option */
.strip-layout {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
    scroll-snap-type: x mandatory;
}

.strip-layout .card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.strip-layout::-webkit-scrollbar {
    height: 6px;
}

.strip-layout::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.strip-layout::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

/* Strip Navigation Buttons */
.strip-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.strip-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.strip-nav-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.strip-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Checkbox Fix */
.form-check-input {
    display: inline-block !important;
    width: 1rem !important;
    height: 1rem !important;
    margin-right: 0.5rem !important;
    vertical-align: top !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.form-check {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.form-check-label {
    margin-left: 0.5rem !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

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

/* Bootstrap Modal Fixes - Complete White Border Removal */
.modal, 
.modal *, 
.modal-dialog,
.modal-content,
.modal-header,
.modal-body,
.modal-footer {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Main Modal Container */
.modal-dialog {
    margin: 1.75rem auto !important;
}

.modal-content {
    background-color: white !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white !important;
    padding: var(--spacing-lg) !important;
    border-top-left-radius: var(--radius-lg) !important;
    border-top-right-radius: var(--radius-lg) !important;
}

.modal-body {
    padding: var(--spacing-lg) !important;
    background-color: white !important;
}

.modal-footer {
    padding: var(--spacing-lg) !important;
    background-color: white !important;
    border-bottom-left-radius: var(--radius-lg) !important;
    border-bottom-right-radius: var(--radius-lg) !important;
}

/* Remove all Bootstrap modal borders globally */
div[id*="Modal"] *,
div[class*="modal"] *,
.modal *,
.modal-dialog *,
.modal-content *,
.modal-header *,
.modal-body *,
.modal-footer * {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}