/* Cookie Consent Banner Styles - The Elder Spores Online */
/* Matches dark fantasy theme with gold accents */

#cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#cookie-consent-banner.cookie-consent-hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.cookie-consent-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-consent-content {
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d15 100%);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2),
                0 0 60px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-consent-header .cookie-icon {
    font-size: 28px;
}

.cookie-consent-header h3 {
    margin: 0;
    color: #FFD700;
    font-size: 22px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.cookie-consent-content > p {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-option:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #FFD700;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 1;
    cursor: not-allowed;
}

#cookie-do-not-sell:disabled {
    appearance: none;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: url('/graphics/selector_none.png') center/contain no-repeat;
    border: none;
    opacity: 1;
    cursor: default;
    margin-top: 0;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-label strong {
    color: #FFD700;
    font-size: 14px;
}

.cookie-label small {
    color: #888;
    font-size: 12px;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
}

.cookie-btn-primary {
    background: linear-gradient(145deg, #FFD700 0%, #b8960f 100%);
    color: #1a1a2e;
    border: 2px solid #FFD700;
}

.cookie-btn-primary:hover {
    background: linear-gradient(145deg, #ffdf33 0%, #FFD700 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.cookie-btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.cookie-btn-tertiary {
    background: transparent;
    color: #888;
    border: 2px solid #444;
}

.cookie-btn-tertiary:hover {
    border-color: #666;
    color: #aaa;
}

.cookie-consent-dns {
    text-align: center;
    margin-bottom: 15px;
}

.cookie-btn-dns {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    font-size: 12px;
    padding: 8px 16px;
    width: 100%;
}

.cookie-btn-dns:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff8888;
    color: #ff8888;
}

.cookie-consent-links {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
}

.cookie-consent-links a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-consent-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-links span {
    color: #444;
    margin: 0 8px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-consent-container {
        width: 95%;
        bottom: 10px;
    }
    
    .cookie-consent-content {
        padding: 20px 15px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}