
/* 幻影玻璃 - 科技魅影与元宇宙的未来网页设计样式 */

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    line-height: 1.6;
}

/* 全局样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

nav .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #00ffcc;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00ffcc;
}

.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00ffcc, #ff0099);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-content a {
    padding: 10px 20px;
    background: #00ffcc;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-content a:hover {
    background: #ff0099;
}

.section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section:nth-child(even) {
    background: rgba(0, 0, 0, 0.7);
}

.section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #00ffcc;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.card p {
    font-size: 0.95em;
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00ffcc;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background: rgba(0, 0, 0, 0.5);
}

footer {
    padding: 20px 0;
    text-align: center;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.footer-content a {
    color: #00ffcc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .card h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.2em;
    }

    .hero-content p {
        font-size: 0.8em;
    }

    nav ul {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

