/**
 * A-Joker Cookies Banner Styles
 */

/* ============================================
   Banner Container
   ============================================ */
.a-joker-cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border-top: 3px solid #d32f2f;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out forwards;
}

.a-joker-cookies-banner.a-joker-cookies-hiding {
    animation: slideDown 0.4s ease-in forwards;
}

.a-joker-cookies-hidden {
    display: none !important;
}

/* ============================================
   Container & Content Layout
   ============================================ */
.a-joker-cookies-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .a-joker-cookies-container {
        padding: 1.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .a-joker-cookies-container {
        padding: 1.5rem 2rem;
    }
}

.a-joker-cookies-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .a-joker-cookies-content {
        flex-direction: row;
        gap: 2rem;
    }
}

/* ============================================
   Text Content
   ============================================ */
.a-joker-cookies-text {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.a-joker-cookies-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: #d32f2f;
}

.a-joker-cookies-icon svg {
    width: 24px;
    height: 24px;
}

.a-joker-cookies-message {
    flex: 1;
}

.a-joker-cookies-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
}

.a-joker-cookies-message p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    max-width: 42rem;
}

.a-joker-cookies-message a {
    color: #d32f2f;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 600;
}

.a-joker-cookies-message a:hover {
    color: #f44336;
}

/* ============================================
   Buttons
   ============================================ */
.a-joker-cookies-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .a-joker-cookies-buttons {
        width: 100%;
        flex-direction: column;
    }
}

.a-joker-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 767px) {
    .a-joker-btn {
        width: 100%;
    }
}

/* Decline Button */
.a-joker-btn-decline {
    color: #cbd5e1;
    background: transparent;
    border: 2px solid #555555;
}

.a-joker-btn-decline:hover {
    color: #ffffff;
    background: #333333;
    border-color: #777777;
}

/* Accept Button */
.a-joker-btn-accept {
    color: #ffffff;
    background: #d32f2f;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.4);
    border: 2px solid #d32f2f;
}

.a-joker-btn-accept:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    box-shadow: 0 6px 24px rgba(211, 47, 47, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* ============================================
   Responsive Typography
   ============================================ */
@media (max-width: 768px) {
    .a-joker-cookies-message h3 {
        font-size: 1rem;
    }

    .a-joker-cookies-message p {
        font-size: 0.8125rem;
    }
}
