
/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #1e1e1e 0%, #3a0ca3 50%, #1e1e1e 100%);
    color: white;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
    margin-bottom: 20px;
    color: #3f5efb;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th {
    background: linear-gradient(to right, #3f5efb, #ff007f);
    color: white;
    font-weight: bold;
}

td {
    color: #ffffff;
}

button {
    background: linear-gradient(to right, #3f5efb, #ff007f);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 30px;
    }
    p {
        font-size: 14px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 40px;
    }
}

.shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(to right, #3f5efb, #ff007f);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
}

.prompt {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    margin-top: 20px;
}

