/* ── Cookie Consent Banner ── */
.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #0A0E1A;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cc-banner.cc-visible {
    transform: translateY(0);
}

.cc-banner-inner {
    max-width: 1460px;
    margin: 0 auto;
    padding: 24px 5vw;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cc-text {
    flex: 1;
    font-size: 14px;
    color: #B2B4BB;
    line-height: 1.6;
}
.cc-link {
    color: #5B9AFF;
    text-decoration: underline;
}
.cc-link:hover {
    color: #7DB3FF;
}

.cc-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cc-btn {
    width: auto;
    padding: 0 24px;
    height: 44px;
    font-family: var(--font-family);
    font-size: 14px;
    white-space: nowrap;
}

.cc-settings-link {
    background: none;
    border: none;
    color: #B2B4BB;
    font-family: var(--font-family);
    font-size: 14px;
    cursor: pointer;
    padding: 0 8px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.cc-settings-link:hover {
    color: #226DFB;
}

/* ── Cookie Settings Overlay ── */
.cc-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 3, 18, 0);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: background-color 0.4s ease;
}
.cc-overlay.cc-overlay-active {
    background-color: rgba(0, 3, 18, 0.85);
    pointer-events: all;
}

.cc-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cc-overlay.cc-overlay-active .cc-overlay-close {
    opacity: 1;
}
.cc-overlay-close:hover {
    color: #226DFB;
}

.cc-box {
    width: min(560px, 90vw);
    background: #0A0E1A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.cc-overlay.cc-overlay-active .cc-box {
    opacity: 1;
    transform: scale(1);
}

.cc-box-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

.cc-box-text {
    font-size: 14px;
    color: #B2B4BB;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ── Toggle List ── */
.cc-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cc-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.cc-toggle-info {
    flex: 1;
    margin-right: 16px;
}

.cc-toggle-label {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 2px;
}

.cc-toggle-desc {
    font-size: 13px;
    color: #7a7d87;
    line-height: 1.4;
}

/* ── Toggle Switch ── */
.cc-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #2a2d38;
    border-radius: 26px;
    transition: background-color 0.3s ease;
}
.cc-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cc-switch input:checked + .cc-slider {
    background-color: #226DFB;
}
.cc-switch input:checked + .cc-slider::before {
    transform: translateX(22px);
}

.cc-switch-disabled {
    opacity: 0.5;
}
.cc-switch-disabled .cc-slider {
    cursor: not-allowed;
}

/* ── Box Buttons ── */
.cc-box-buttons {
    display: flex;
    gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cc-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 5vw;
    }

    .cc-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cc-btn {
        flex: 1;
        min-width: 140px;
    }

    .cc-settings-link {
        width: 100%;
        justify-content: center;
    }

    .cc-box {
        padding: 28px 20px;
    }

    .cc-box-buttons {
        flex-direction: column;
    }

    .cc-box-buttons .cc-btn {
        width: 100%;
    }
}
