/* --- Global Styles: Dark Background and Neon Text Color --- */
:root {
    /* Define Neon Colors for easy re-use */
    --neon-blue: #2dd9fe; /* Primary color */
    --neon-blue-glow: #00a3d5; 
    --neon-pink: #ff008d; /* Secondary color */
    --neon-pink-glow: #e10361;
    --dark-bg: #10101a;
    --text-color: #f0f0f0; 
}

body {
    background-color: var(--dark-bg); /* Very dark, near-black background */
    color: var(--text-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Typography and Neon Glow Effects --- */

/* Main Header Glow */
header h1, header h3 {
    text-align: center;
    text-transform: uppercase;
    /* Neon Glow effect using stacked text-shadows */
    text-shadow: 
        0 0 5px #fff,    /* Inner white core */
        0 0 10px #fff,
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        0 0 80px var(--neon-blue-glow); /* Outer, broader glow */
}

header h1 {
    color: #fff; /* White core of the glow */
    font-size: 3em;
    padding-top: 20px;
}

header h3 {
    color: var(--neon-blue);
    font-size: 1.5em;
    padding-bottom: 20px;
}

/* Section Headings/Key components */
.div1 {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.div1 > br + br + br + br + br + br + br { /* Targets the "Key Components" heading - a bit brittle, but works for this structure */
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink), 0 0 15px var(--neon-pink-glow);
    font-size: 1.3em;
    font-weight: bold;
    display: block; /* To apply the text-shadow correctly */
    margin-top: 40px;
}

/* General Link Styling (making all links glow) */
a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px var(--neon-blue-glow);
}


/* --- Structure and Layout --- */

/* Code Blocks and Boxes */
/* Using a softer glow for borders to frame content */
pre, code, .div2 {
    background-color: #1a1a2b; /* Slightly lighter dark background */
    border: 1px solid var(--neon-blue);
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    box-shadow: 0 0 8px var(--neon-blue-glow); /* Box Glow */
    color: #e0f7fa; /* Light cyan text for code */
    overflow-x: auto;
}

/* Special styling for the example components within the div */
.div2 p {
    color: var(--text-color) !important; /* Resetting the green paragraph color for better readability in the dark theme */
    font-size: 1em !important;
}

/* List Items */
ul, ol {
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
}


/* --- Table Styles (Key Components) --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 0 10px var(--neon-pink-glow);
    background-color: #1a102b; /* Dark purple background for the table */
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--neon-pink); /* Neon Pink borders */
}

th {
    background-color: var(--neon-pink);
    color: var(--dark-bg);
    font-weight: bold;
    text-shadow: none;
}

tr:nth-child(even) {
    background-color: #131320; /* Subtle stripe effect */
}


/* --- Footer/Navigation Styles --- */
footer {
    background-color: #0d0d15;
    padding: 20px;
    text-align: center;
    border-top: 3px solid var(--neon-blue);
    margin-top: 50px;
}

.footer-nav {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-nav h3 {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
    margin: 20px 0 10px;
}

.footer-nav button {
    background: var(--neon-blue);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-blue-glow);
    transition: background-color 0.3s;
}

.footer-nav button:hover {
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.footer-nav button a {
    color: var(--dark-bg);
    font-weight: bold;
    text-shadow: none;
    padding: 0;
    margin: 0;
}

.footer-nav nav ol {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
}

.footer-nav nav ol li {
    margin: 5px 10px;
    padding: 5px;
    border-bottom: 1px dotted var(--neon-pink);
}

.footer-nav nav ol li a {
    color: var(--text-color);
    font-size: 0.9em;
}

.footer-nav nav ol li a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue-glow);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.copyright {
    color: #888;
    font-size: 0.8em;
}

.footer-links a {
    margin: 0 10px;
    font-size: 0.8em;
}
.highlight{ color: #00a3d5;}
.large{
    font-size: xx-large;
}
.highlightbg{
    color: black;
    background-color: white;
}
.here{
    color: yellow;
}
.topic{
    font-size: x-large;
    color: aqua;
}
.order{
    color: yellowgreen;
}