/* Premium Arcigy Cookie Consent - Matched to Website Style */
.cookie-consent-modal {
    position: fixed;

    /* Centering Logic */
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    /* Final Position */

    width: 420px;
    /* Slightly wider for better text flow */

    /* Dark Glass Surface - Matches Navbar & Cards */
    background: rgba(5, 8, 18, 0.85);
    /* Darker base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Border & Glow - Matches .nav-link.active and Cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.1);
    /* Subtle purple ambient glow */

    border-radius: 24px;
    /* Matches --card-radius */
    padding: 24px;
    z-index: 100000;

    font-family: 'Sora', system-ui, -apple-system, sans-serif;
    /* Adjusted to Body Font */
    color: #E6EDF3;
    /* Matches --text-primary */
    display: none;

    /* Initial Animation State */
    /* Initial Animation State */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(150%);
    /* Start fully off-screen */
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    /* Smooth elegant ease */
}

/* Visible State */
.cookie-consent-modal.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cookie-title {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 1.5rem;
    /* Larger like Hero Title */
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;

    /* Glowing White Text Effect (Like "Last step...") */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 0.95;
}

/* Removed Gradient Span styles completely */

.cookie-text {
    font-size: 0.95rem;
    color: #9CA3AF;
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 400;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-direction: row;
}

/* Base Button Style */
.cookie-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease-out;
    flex: 1;
    position: relative;
    overflow: hidden;
    /* For shine */
    z-index: 1;
}

/* Shine Animation Helper (Shared) */
.cookie-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.cookie-btn:hover::before {
    left: 100%;
}

/* Primary Button */
.cookie-btn-accept {
    background: linear-gradient(90deg, #6365e8 0%, #c751e7 100%);
    color: #050812;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 101, 232, 0.2);
}

.cookie-btn-accept:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(122, 241, 255, 0.3);
    filter: brightness(1.1);
}

.cookie-btn-accept:active {
    transform: scale(0.95);
}

/* Secondary Button */
.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.04);
    color: #E6EDF3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.cookie-btn-reject:hover {
    transform: scale(1.04);
    border-color: #6365e8;
    background: rgba(255, 255, 255, 0.08);
}

.cookie-btn-reject:active {
    transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .cookie-consent-modal {
        width: 90%;
        bottom: 20px;
        left: 50%;
        /* Still centered */
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-text {
        font-size: 0.9rem;
    }
}