
:root {
    --primary-color: #0D47A1;
    --secondary-color: #B0BEC5;
    --accent-color: #1E88E5;
    --gradient-start: #6A1B9A;
    --gradient-end: #F48FB1;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #0D0D0D;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-start));
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.notice {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 5px;
    margin-top: 1rem;
    display: inline-block;
    font-size: 0.9rem;
}

.nav {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
}

.main {
    padding: 3rem 0;
}

.article {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
}

.article h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.article h3 {
    color: var(--gradient-start);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-family: 'Montserrat', sans-serif;
}

.article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.code-container {
    background: #282c34;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.code-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px 10px 0 0;
}

pre {
    margin: 0;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
    color: #abb2bf;
    font-size: 0.95rem;
    line-height: 1.5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background: #f9f9f9;
}

tr:hover {
    background: #f1f1f1;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .article {
        padding: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.decorative-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

.decorative-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
}

.decorative-element:nth-child(2) {
    bottom: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(13,71,161,0.1), rgba(106,27,154,0.1));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

