
/* CSS Reset and General Styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A0F1A, #121621);
    color: #ffffff;
    overflow-x: hidden;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Custom Styles */
body {
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #00FFFF;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

h2 {
    font-size: 2.5rem;
    margin-top: 30px;
}

h3 {
    font-size: 2rem;
    margin-top: 25px;
}

p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #f0f0f0;
}

strong, b {
    color: #39FF14;
    font-weight: bolder;
}

code {
    background-color: #1d2331;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    margin: 10px 0;
}

pre {
    background-color: #1d2331;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    margin: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(20, 25, 35, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(30, 35, 45, 0.7);
}

.section:last-child {
    margin-bottom: 0;
}

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

.grid-item {
    background: linear-gradient(145deg, #1a202e, #151a25);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

.grid-item h3 {
    color: #8A2BE2;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.7);
}

.grid-item p {
    color: #d0d0d0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.1);
}

.article-section {
    background: rgba(30, 35, 45, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.article-section h2 {
    color: #00FFFF;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}

.article-section article {
    max-width: 900px;
    margin: 0 auto;
}

.article-section article h2 {
    text-align: left;
}

.article-section article h3 {
    margin-top: 20px;
}

.article-section article p {
    margin-bottom: 20px;
}

.article-section article pre {
    margin: 20px 0;
}

.footer {
    text-align: center;
    margin-top: 50px;
    color: #999;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .container {
        padding: 20px;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    .grid-item {
        padding: 20px;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .article-section {
        padding: 25px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .grid-item {
        padding: 15px;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    .article-section {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 10px;
    }
    .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .grid-item {
        padding: 15px;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .article-section {
        padding: 15px;
    }
}

@media screen and (max-width: 320px) {
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .article-section {
        padding: 10px;
    }
}

