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

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1A1B3D, #000000);
    color: #FFFFFF;
    overflow-x: hidden;
}

body {
    position: relative;
    padding: 20px;
}

/* Grid System */
.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

.column-span-1 { grid-column: span 1; }
.column-span-2 { grid-column: span 2; }
.column-span-3 { grid-column: span 3; }
.column-span-4 { grid-column: span 4; }
.column-span-5 { grid-column: span 5; }
.column-span-6 { grid-column: span 6; }
.column-span-7 { grid-column: span 7; }
.column-span-8 { grid-column: span 8; }
.column-span-9 { grid-column: span 9; }
.column-span-10 { grid-column: span 10; }
.column-span-11 { grid-column: span 11; }
.column-span-12 { grid-column: span 12; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #0074FF;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

pre {
    background: #000000;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #FF4D4D;
}

/* Navigation */
.navbar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFFFF;
    transform: skewX(-10deg);
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
}

.navbar .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #0074FF;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
    width: 100%;
}

 /* Hero Section */
.hero {
    grid-column: 1 / -1;
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: skewY(-5deg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 27, 61, 0.7);
}

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

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    animation: fadeInDown 2s ease-out;
}

.hero p {
    font-size: 1.2em;
    animation: fadeInUp 2s ease-out 0.5s;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.button {
    background: #0074FF;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1em;
}

.button:hover {
    background: #8A2BE2;
    transform: scale(1.05);
}

/* Article Section */
.article-section {
    grid-column: 2 / 12;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    transform: skewY(5deg);
    margin-top: 100vh;
}

.article-content {
    transform: skewY(-5deg);
}

.article-content h2 {
    margin-bottom: 20px;
}

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

.article-content table, .article-content th, .article-content td {
    border: 1px solid #0074FF;
}

.article-content th, .article-content td {
    padding: 10px;
    text-align: left;
}

.article-content th {
    background: #0074FF;
}

.article-content img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px 0;
    transform: skewX(-5deg);
}

/* Footer */
.footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 50px;
    transform: skewY(-5deg);
}

.footer p {
    font-size: 1em;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    .article-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-links {
        display: none;
    }
    .navbar .menu-btn {
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .container {
        gap: 10px;
        padding: 10px;
    }
    .article-section {
        padding: 20px;
    }
    .article-content h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }
    .hero p {
        font-size: 0.8em;
    }
    .article-section {
        padding: 10px;
    }
}

/* Scroll Effects */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #0074FF;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Code Highlighting */
pre code {
    display: block;
    background: #000000;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    color: #FF4D4D;
    font-size: 0.9em;
}

/* Image Styling */
.deco-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

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

/* Light Overlay */
.light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 116, 255, 0.3), rgba(138, 43, 226, 0.3));
    pointer-events: none;
    z-index: 0;
}

