/* Beautiful CSS inspired by 404.htm */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

/* Navbar styling */
.navbar {
    background: linear-gradient(90deg, #4b0082, #8a2be2) !important;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5em;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-dark .navbar-nav .active > .nav-link {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
}

/* Container styling */
.container {
    padding: 20px;
}

/* Jumbotron styling */
.jumbotron {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
    margin-bottom: 30px;
}

.jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8a2be2, #4b0082);
}

.jumbotron h1 {
    color: #4b0082;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Card styling */
.card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8a2be2, #4b0082);
    z-index: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.card-title {
    color: #4b0082;
    font-weight: bold;
}

.card-title2 {
    color: #ffffff;
    font-weight: bold;
}

.card-body {
    padding: 25px;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(90deg, #8a2be2, #4b0082);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(138, 43, 226, 0.4);
    background: linear-gradient(90deg, #9b4dff, #6a0dad);
}

/* Section styling */
section {
    padding: 30px 0;
}

section h2 {
    color: #4b0082;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer styling */
footer {
    background: linear-gradient(90deg, #4b0082, #8a2be2) !important;
    color: white !important;
    padding: 30px 0;
    margin-top: 50px;
    box-shadow: 0 -4px 15px rgba(138, 43, 226, 0.3);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.jumbotron, .card, section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jumbotron {
        padding: 30px 20px;
    }
    
    .navbar-brand {
        font-size: 1.2em;
    }
}

/* Special text styling */
.text-highlight {
    color: #8a2be2;
    font-weight: bold;
}

/* Image styling */
.img-fluid {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* iframe styling */
.embed-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}