
/* Mode Selection Styles */
.mode-selection {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--primary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 200px;
}

.btn-mode:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.btn-mode .btn-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.btn-mode:hover .btn-icon {
    transform: scale(1.2);
}

.btn-mode .btn-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.btn-mode .btn-subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.btn-mode:hover .btn-subtext {
    color: rgba(255, 255, 255, 0.8);
}

/* Fast Mode Background */
body.fast-mode .spline-bg {
    display: none !important;
}

body.fast-mode .hero::before {
    display: none; /* Remove the overlay used for Spline readability */
}

/* Animated Gradient for Fast Mode */
.fast-mode-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0f172a, #334155);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1;
    display: none; /* Hidden by default */
}

body.fast-mode .fast-mode-bg {
    display: block;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add mesh-like overlay for Fast Mode */
.fast-mode-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 25%);
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
