/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.98) 0%, rgba(0, 0, 0, 0.99) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent__title i {
    color: #F39C12;
}

.cookie-consent__text {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.cookie-consent__text a {
    color: #4A9EFF;
    text-decoration: none;
}

.cookie-consent__text a:hover {
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cookie-btn--accept {
    background: #F39C12;
    border: none;
    color: #000;
}

.cookie-btn--accept:hover {
    background: #e08a0b;
    transform: translateY(-1px);
}

.cookie-btn--settings {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #888;
}

.cookie-btn--settings:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal__content {
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 20px;
}

.cookie-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-modal__title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.cookie-modal__close {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cookie-modal__close:hover {
    color: #fff;
}

.cookie-modal__body {
    padding: 24px;
}

.cookie-category {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category__name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.cookie-category__toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.cookie-category__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-category__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-category__toggle input:checked + .cookie-category__slider {
    background: #F39C12;
}

.cookie-category__toggle input:checked + .cookie-category__slider:before {
    transform: translateX(20px);
}

.cookie-category__toggle input:disabled + .cookie-category__slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category__desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.cookie-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 640px) {
    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent__actions {
        width: 100%;
        justify-content: center;
    }
}
