:root {
    --bg-color: #0d1117;
    --hero-bg: #161b22;
    --accent: #007bff;
    --accent-hover: #3395ff;
    --text-main: #e6edf3;
    --text-bright: #ffffff;
    --text-muted: #a3abb5;
    --border: #30363d;
    --terminal: #010409;
    --glow: rgba(0, 123, 255, 0.3);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6; 
    background-color: var(--bg-color);
    color: var(--text-main);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 30px; }

.links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
}

.links .btn-repo {
    grid-column: 1 / -1;
    width: 100%;
}

/* HEADER */
header {
    background-color: var(--hero-bg);
    background-image: radial-gradient(circle at top right, #102a43, #161b22);
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

header h1 {
    font-size: 4.5rem;
    color: var(--text-bright);
    margin-bottom: 15px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

header .tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* BUTTONS*/
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: var(--accent);
    color: white;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent !important;
    color: var(--text-bright) !important;
    border: 2px solid var(--border) !important;
}

.btn-repo {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    margin-top: 5px;
    justify-self: stretch !important;
}

/* NAVIGATION */
nav {
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* CONTENT */
main { padding: 60px 0; }

section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

h2 {
    color: var(--text-bright);
    margin-bottom: 30px;
    font-size: 2.8rem;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin: 40px 0 20px;
}

p {
    margin-bottom: 25px;
    font-size: 1.25rem;
    color: var(--text-main);
}

ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-left: 30px;
}

table {
    width: 100%;
    margin: 40px 0;
    background: #11161d;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1.1rem;
}

th, td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: #161b22;
    color: var(--accent);
}

/* CODE */
code {
    background: #1c2128;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: "Cascadia Code", monospace;
    color: #79c0ff;
    font-size: 1.1rem;
}

pre {
    background: var(--terminal);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 30px 0;
    color: #4ade80;
    font-family: "Cascadia Code", monospace;
    font-size: 1.1rem;
    overflow-x: auto;
}

footer {
    padding: 80px 0;
    text-align: center;
    background: #090c10;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
    header h1 { font-size: 2.8rem; }
    .button-grid { grid-template-columns: 1fr; }
    .btn-repo { width: 100%; grid-column: span 1; }
    h2 { font-size: 2rem; }
}
