/* ============================================
   COOKIE CONSENT — PREMIUM DARK DESIGN
============================================ */

/* ---------- CONTAINER ---------- */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 20px 20px;
    transition: bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent.hide {
    bottom: -100%;
    transition: bottom 0.5s cubic-bezier(0.55, 0, 1, 0.45);
}

/* ---------- INNER CONTENT ---------- */
.cookie-content {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 32px;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 17, 0.97),
        rgba(10, 10, 10, 0.98)
    );
    border: 1px solid rgba(234, 179, 8, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 -10px 50px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(234, 179, 8, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

/* ---------- BACKGROUND EFFECTS ---------- */
.cookie-bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08), transparent 60%);
    bottom: -150px;
    left: -50px;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

.cookie-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #eab308, transparent);
    animation: cookieShimmer 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes cookieShimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* ---------- PROGRESS BAR ---------- */
.cookie-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #eab308, #f59e0b, #fbbf24);
    border-radius: 0 0 20px 20px;
    transition: width 0.3s linear;
    z-index: 5;
}

/* ---------- INFO SECTION ---------- */
.cookie-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    position: relative;
    z-index: 2;
}

/* ---------- COOKIE ICON ---------- */
.cookie-icon-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-emoji {
    font-size: 30px;
    animation: cookieBounce 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes cookieBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-4px) rotate(-5deg); }
    50%      { transform: translateY(0) rotate(0deg); }
    75%      { transform: translateY(-2px) rotate(5deg); }
}

.cookie-icon-ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(234, 179, 8, 0.15);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.cookie-icon-ring.ring-2 {
    inset: -6px;
    border-color: rgba(234, 179, 8, 0.07);
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.15); opacity: 0; }
}

/* ---------- TEXT ---------- */
.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.cookie-text p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
}

.cookie-text strong {
    color: #d4d4d4;
}

.cookie-policy-link {
    color: #eab308;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.cookie-policy-link::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #eab308;
    transition: width 0.3s ease;
}

.cookie-policy-link:hover::after {
    width: 100%;
}

.cookie-policy-link:hover {
    color: #fbbf24;
}

/* ---------- ACTION BUTTONS ---------- */
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

/* Settings Button */
.cookie-settings {
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
}

.cookie-settings svg {
    transition: transform 0.5s ease;
}

.cookie-settings:hover {
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.2);
    background: rgba(234, 179, 8, 0.05);
}

.cookie-settings:hover svg {
    transform: rotate(90deg);
}

/* Decline Button */
.cookie-decline {
    background: rgba(255, 255, 255, 0.04);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-decline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 50px;
}

.cookie-decline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover::before {
    transform: scaleX(1);
}

/* Accept Button */
.cookie-accept {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: #000;
    border: none;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.2);
}

.cookie-accept::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24, #eab308);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 50px;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(234, 179, 8, 0.35);
}

.cookie-accept:hover::before {
    opacity: 1;
}

.cookie-accept span,
.cookie-accept svg {
    position: relative;
    z-index: 2;
}

.cookie-accept svg {
    transition: transform 0.3s ease;
}

.cookie-accept:hover svg {
    transform: scale(1.2);
}

/* Button Active State */
.cookie-btn:active {
    transform: scale(0.96);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px;
    }

    .cookie-actions {
        justify-content: flex-end;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 0 12px 12px;
    }

    .cookie-content {
        padding: 22px 20px;
        border-radius: 16px;
    }

    .cookie-info {
        gap: 14px;
    }

    .cookie-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .cookie-emoji {
        font-size: 26px;
    }

    .cookie-text h4 {
        font-size: 15px;
    }

    .cookie-text p {
        font-size: 12px;
    }

    .cookie-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-btn {
        padding: 11px 20px;
        font-size: 12px;
    }

    .cookie-settings {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
    }

    .cookie-decline {
        flex: 1;
    }

    .cookie-accept {
        flex: 1;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .cookie-content {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .cookie-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .cookie-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .cookie-emoji {
        font-size: 28px;
    }

    .cookie-text h4 {
        font-size: 14px;
    }

    .cookie-text p {
        font-size: 11.5px;
        line-height: 1.6;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }

    .cookie-settings {
        order: 3;
    }

    .cookie-bg-glow {
        display: none;
    }
}