@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/11.1.0/sweetalert2.min.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

/* Global Styles - 背景透明，由 visual-enhancements.css 控制背景图 */
body {
    background-color: transparent;
    font-family: 'Poppins', sans-serif !important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-default {
    background: rgba(88, 130, 250, 0.6);
    color: white;
    border: 1px solid rgba(120, 160, 255, 0.45);
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-default:hover {
    background: rgba(88, 130, 250, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 130, 250, 0.4);
}

/* Form Elements - 透明背景，由 visual-enhancements.css 统一控制 */
.form-control {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
}

/* Cards - 由 visual-enhancements.css 统一控制 */
.card {
    border: none;
    border-radius: 18px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

/* Sensible Elements */
.key-sensi {
    filter: blur(3px);
    transition: filter 0.3s ease;
}

.key-sensi:hover {
    filter: blur(0);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar - 由 visual-enhancements.css 统一控制 */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(120, 140, 220, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 140, 220, 0.8);
}

/* Shadows */
.shadow-light {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.shadow-medium {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.shadow-heavy {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
