/* Age Gate Modal */
.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
}

.age-gate-content {
    position: relative;
    background: linear-gradient(135deg, #111827, #0a0f1a);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.3), 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: ageGateSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ageGateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.age-gate-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.age-gate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.age-gate-content h2 {
    color: #d4af37;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.age-gate-content p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.age-gate-content p strong {
    color: #fff;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.age-gate-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.age-gate-yes {
    background: linear-gradient(135deg, #d4af37, #92702a);
    color: #030712;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.age-gate-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.age-gate-no {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.age-gate-no:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.age-gate-warning {
    font-size: 0.85rem !important;
    color: #9ca3af !important;
    margin-bottom: 0 !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: linear-gradient(135deg, #111827, #0a0f1a);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.25rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-consent-text p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #f0d060;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.cookie-accept {
    background: linear-gradient(135deg, #d4af37, #92702a);
    color: #030712;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cookie-settings {
    background: rgba(255, 255, 255, 0.05);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cookie-settings:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(8px);
}

.cookie-modal-content {
    position: relative;
    background: linear-gradient(135deg, #111827, #0a0f1a);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.2), 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: ageGateSlideIn 0.4s ease-out;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
    margin: 0;
    color: #d4af37;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cookie-modal-close:hover {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-info h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.cookie-option-info p {
    color: #9ca3af;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cookie-toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, #d4af37, #92702a);
    border-color: #d4af37;
}

.cookie-toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cookie-modal-footer .cookie-btn {
    width: 100%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .age-gate-content {
        padding: 2rem 1.5rem;
    }

    .age-gate-icon {
        font-size: 3rem;
    }

    .age-gate-content h2 {
        font-size: 1.5rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    .age-gate-btn {
        width: 100%;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        flex-direction: column;
        min-width: auto;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
