/* css/pages/download-notice.css */

/* Download Notice Overlay */
.download-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.download-notice-overlay.active {
    display: flex;
}

/* Blurred background */
.download-notice-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.download-notice-overlay.active::before {
    opacity: 1;
}

/* Notice card */
.download-notice-card {
    position: relative;
    z-index: 1;
    background: var(--card-bg, #1a1a1f);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-notice-overlay.active .download-notice-card {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

/* Icon */
.download-notice-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.12);
    border-radius: 16px;
    font-size: 32px;
}

.download-notice-icon.info {
    background: rgba(99, 102, 241, 0.12);
}

/* Title */
.download-notice-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

/* Description */
.download-notice-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Action buttons container */
.download-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Primary action button */
.download-notice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--accent-primary, #6366f1);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-notice-btn:hover {
    background: var(--accent-secondary, #818cf8);
    transform: translateY(-2px);
}

.download-notice-btn svg {
    width: 18px;
    height: 18px;
}

/* Secondary/dismiss button */
.download-notice-dismiss {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-notice-dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Close button */
.download-notice-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-notice-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Hint text */
.download-notice-hint {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.download-notice-hint strong {
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .download-notice-overlay {
        padding: 16px;
    }

    .download-notice-card {
        padding: 24px 20px;
    }

    .download-notice-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .download-notice-title {
        font-size: 18px;
    }

    .download-notice-desc {
        font-size: 13px;
    }

    .download-notice-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .download-notice-dismiss {
        padding: 10px 20px;
        font-size: 13px;
    }
}
