
:root {
    --primary-color: #0A1F44;
    --accent-color: #8A2BE2;
    --highlight-color: #39FF14;
    --background-gradient: linear-gradient(135deg, #0A1F44, #141E30);
    --font-family: 'Space Grotesk', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--background-gradient);
    color: #fff;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(10, 31, 68, 0.8);
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 2px;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 10px 0 0;
}

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

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.article-section:last-child {
    border-bottom: none;
}

.article-section h2, .article-section h3 {
    color: var(--accent-color);
    font-weight: 100;
}

.code-block {
    background: #1E2D4B;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.highlight {
    color: var(--highlight-color);
}

.parallax {
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    position: relative;
    margin: 40px 0;
}

.ripple-effect {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

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

    .parallax {
        height: 250px;
    }
}

