/* ============================================
   USER NOTICE STYLES (AdBlock Detector)
   Pink style matching MARNYL game theme
   ============================================ */

/* ============================================
   WARNING BANNER (Top of screen, persistent)
   ============================================ */

#user-notice-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ff0000;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: notice-banner-pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.banner-recheck-btn {
    background: #fff;
    color: #ff0000;
    border: 2px solid #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.banner-recheck-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.banner-buy-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: 2px solid #FFD700;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.banner-buy-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.6);
}

@keyframes notice-banner-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   MODAL OVERLAY
   ============================================ */

.user-notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.user-notice-overlay.hidden {
    display: none;
}

/* ============================================
   MODAL CONTAINER
   ============================================ */

.user-notice-dialog {
    background: #ff69b4;
    border: 4px solid #000;
    padding: 40px 50px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: notice-modal-appear 0.3s ease-out;
}

@keyframes notice-modal-appear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   MODAL TITLE
   ============================================ */

.user-notice-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ============================================
   MODAL MESSAGE
   ============================================ */

.user-notice-message {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.user-notice-message strong {
    font-weight: 700;
    text-transform: uppercase;
}

/* ============================================
   MODAL BUTTONS
   ============================================ */

.user-notice-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.user-notice-btn {
    background: #000;
    color: #fff;
    border: 3px solid #000;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.user-notice-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.user-notice-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Primary button (main action) */
.user-notice-btn-primary {
    background: #000;
    color: #fff;
}

.user-notice-btn-primary:hover {
    background: #fff;
    color: #000;
}

/* Secondary button (less important action) */
.user-notice-btn-secondary {
    background: #fff;
    color: #000;
    border: 3px solid #000;
}

.user-notice-btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* Buy button (premium action) */
.user-notice-btn-buy {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: 3px solid #FFD700;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    width: 100%;
}

.user-notice-btn-buy:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Divider OR */
.user-notice-divider {
    margin: 20px 0 15px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    position: relative;
}

.user-notice-divider::before,
.user-notice-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: #000;
}

.user-notice-divider::before {
    left: 0;
}

.user-notice-divider::after {
    right: 0;
}

/* ============================================
   STILL DETECTED MESSAGE
   ============================================ */

.user-notice-error {
    background: #ff0000;
    color: #fff;
    padding: 15px 20px;
    margin-top: 20px;
    border: 3px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: notice-shake 0.5s ease;
}

@keyframes notice-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.user-notice-error.hidden {
    display: none;
}

/* ============================================
   REMINDER MODAL (smaller, less intrusive)
   ============================================ */

.user-notice-reminder .user-notice-dialog {
    max-width: 500px;
    padding: 30px 40px;
}

.user-notice-reminder .user-notice-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.user-notice-reminder .user-notice-message {
    font-size: 15px;
    margin-bottom: 25px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .user-notice-dialog {
        padding: 30px 25px;
        width: 95%;
    }

    .user-notice-title {
        font-size: 22px;
    }

    .user-notice-message {
        font-size: 14px;
    }

    .user-notice-btn {
        min-width: 150px;
        padding: 12px 20px;
        font-size: 14px;
    }

    #user-notice-banner {
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .user-notice-buttons {
        flex-direction: column;
    }

    .user-notice-btn {
        width: 100%;
        min-width: auto;
    }

    .user-notice-title {
        font-size: 18px;
    }

    .user-notice-message {
        font-size: 13px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}
