.game-cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background-color:var(--darker); /* Thick thematic solid canvas */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7) ;
    z-index: 100000 !important; /* Forces it above everything, including your navigation maps */
    box-sizing: border-box;
    padding: 20px 30px;
    
    /* Animation profile foundation setup */
    display: none; /* Controlled explicitly via JS Storage engine toggles */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* Visibility Mounting State Hook */
.game-cookie-banner.is-visible {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.cookie-sigil {
    color: var(--lighter);
    font-size: 1.2rem;
    line-height: 1;
    text-shadow: 0 0 8px rgba(248, 238, 215, 0.5);
    margin-top: 2px;
}

.cookie-text {
    margin: 0;
    color: var(--accent);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ACTION CONTAINER */
.cookie-actions .btn-alignment-center {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 5px !important; /* Prevents the large vertical jump */
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* NATIVE BUTTON RESET */
.cookie-actions button.custom-game-btn.login-btn {
    width: 140px !important;
    min-width: 140px !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* Pure transparency pass-through */
    background: transparent !important;
    background-color: transparent !important;
    
    /* Strip default OS styles, borders, and shadows entirely */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.cookie-text a {
    color: var(--lighter);
}

/* TRANSPARENT IMAGE ASSET PROTECTOR */
.cookie-actions .btn-bg-asset {
    background: transparent !important;
    background-color: transparent !important;
    display: block;
    width: 100% !important;
    height: auto !important;
}

div.cookie-actions button.custom-game-btn.login-btn div.btn-content-overlay span {
    font-size: 0.95rem !important;      /* Forces text down to standard login size */
    text-transform: uppercase !important; 
    gap: 6px;
}

div.cookie-actions button.custom-game-btn.login-btn div.btn-content-overlay {
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), filter 0.15s ease;
    filter: drop-shadow(0px 6px 10px  rgba(95, 32, 7, 0.35));
}

/* HOVER ACTIONS ON THE NAV ITEM */
div.cookie-actions button.custom-game-btn.login-btn:hover {
    transform: translateY(-2px) scale(1.02);
    
    filter: drop-shadow(0px 12px 18px  rgba(95, 32, 7, 0.45)) brightness(1.1);
}

div.cookie-actions button.custom-game-btn.login-btn:active {
    transform: translateY(-1px) scale(0.98);
    filter: drop-shadow(0px 3px 6px  rgba(95, 32, 7, 0.4)) brightness(0.95);
}
/* ==========================================================================
   MOBILE COOKIE LAYOUT ADAPTER
   ========================================================================== */
@media screen and (max-width: 768px) {
    .game-cookie-banner {
        padding: 20px 20px !important;
    }
    
    .cookie-container {
        flex-direction: column !important; /* Stack text blocks over button tracks on mobile displays */
        gap: 15px !important;
        align-items: center !important;
    }
    
    .cookie-content {
        gap: 10px;
    }
    
    .cookie-text {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .cookie-sigil {
        display: none; /* Hide sigil badge to optimize minimal mobile screen space */
    }
    
    .cookie-actions {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }
}