
:root {
    --primary-color: #032B44;
    --secondary-color: #EDEDED;
    --accent-color: #6FCF97;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
    --gradient-blue: linear-gradient(135deg, #032B44 0%, #1a1a2e 100%);
    --gradient-green: linear-gradient(135deg, #6FCF97 0%, #32B2A6 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@600;700&display=swap');

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

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

.header {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: var(--gradient-blue);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 5rem;
}

.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-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.notice {
    background-color: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    display: inline-block;
}

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

.article-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.article-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--gradient-green);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}

h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    position: relative;
}

h2 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

pre {
    background-color: var(--dark-bg);
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    overflow: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

pre::before {
    content: 'CSS';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-green);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 0 0 5px 0;
    font-size: 0.8rem;
    font-weight: bold;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

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

.image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: scale(1.1);
    background: var(--gradient-green);
}

.footer {
    background: var(--gradient-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-top: 5rem;
}

.footer p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .article-container {
        padding: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

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

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