.modes-split-container {
    display: flex;
    width: 100%;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: var(--bg-primary);
}

.modes-split-container-sm {
    min-height: 250px;
    height: auto;
}

.mode-split-section {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s ease;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
}

.modes-split-container:hover .mode-split-section:hover {
    flex: 1.5;
}

.modes-split-container:hover .mode-split-section:not(:hover) {
    flex: 0.75;
    opacity: 0.6;
}

.mode-preview-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.6s ease, transform 6s linear;
    z-index: 0;
}

.preview-bg-space {
    background: radial-gradient(circle at center, rgba(0, 208, 255, 0.2) 0%, rgba(10, 10, 42, 1) 100%), 
                url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.5"/></svg>');
    background-size: cover, 150px 150px;
}

.preview-bg-frise {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.15) 0%, rgba(20, 20, 20, 1) 100%);
    background-size: cover;
}

.preview-bg-basique {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    background-color: var(--bg-card);
}

.mode-split-section:hover .mode-preview-bg {
    opacity: 1;
    transform: scale(1.05);
}

.mode-split-content {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.mode-split-section:hover .mode-split-content {
    transform: scale(1.05);
}
