/* Color Palette from the new CSS */
:root {
    --bg-dark: #0f1724;
    --bg-panel: #0b1220;
    --text-primary: #e6eef8;
    --text-muted: #9aa6b2;
    --accent-primary: #4f9cff;
    --accent-secondary: #6ce6b8;
    --border-glass: rgba(255,255,255,0.04);
    --maxw:1180px;
    --glass-border: rgba(255,255,255,0.04);
}
/* General Styles - Layout and Fonts from Original */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary); /* Updated color */
    margin: 0;
    padding: 0;
    background: /* Updated background */
        radial-gradient(1000px 400px at 10% 10%, rgba(79,156,255,0.06), transparent 8%),
        radial-gradient(800px 300px at 90% 80%, rgba(108,230,184,0.03), transparent 8%),
        var(--bg-dark);
    background-attachment: fixed;
}
/* Navigation */
.wrap{
    max-width:var(--maxw);
    margin:0 auto;
    padding:4px;
}
/* Header */
.site-header{
    position:sticky; top:12px; z-index:60;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    backdrop-filter: blur(6px);
    border-radius:12px;
    margin:12px;
    padding:10px 14px;
    box-shadow: 0 6px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
    border:1px solid var(--glass-border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo {
    font-weight:800;
    color:var(--text);
    text-decoration:none;
    font-size:1.5em;
    display:flex;
    align-items:center;
    gap:10px;
    letter-spacing:-0.02em;
    text-decoration: none !important;
}
.logo::before{
    content:"";
    width:36px;height:36px;border-radius:9px;
    background:linear-gradient(135deg,var(--accent-primary),#2fb1ff);
    box-shadow:0 6px 18px rgba(79,156,255,0.18);
    display:inline-block;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-muted); /* Updated color */
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--text-primary); /* Updated hover color */
}
.btn {
    background-color: var(--accent-primary); /* Updated color */
    color: #021026; /* Dark text for contrast */
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #3d7fd8; /* Darker accent for hover */
}
/* Hero Section */
header.hero {
    background: linear-gradient(rgba(15, 23, 36, 0.8), rgba(15, 23, 36, 0.8)), url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Darker overlay */
    background-size: cover;
    background-position: center;
    color: var(--text-primary); /* Updated color */
    padding: 0.5em 2em 0.5em 2em;
    text-align: center;
}
/* Added for correct h1 styling */
.hero-text h1{
    font-size: 3rem; /* Using original size */
    font-weight:900;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.hero-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 0 auto;
    color: var(--text-muted); /* Muted color for lede */
}
/* Layout & Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0em 2em 2em 2em;
}
section {
    padding-top: 3rem;
}
h2 {
    color: var(--accent-primary); /* Updated color */
    background: linear-gradient(90deg, rgba(108, 230, 184, 0.06), rgba(79, 156, 255, 0.06));
    padding: 8px 12px;
    font-size: 2rem;
    border-bottom: 2px solid var(--border-glass); /* Updated border */
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}
h3 {
    color: var(--text-primary); /* Updated color */
    margin-top: 1.5rem;
}
/* Images */
.content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1em 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4); /* Darker shadow */
}
/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-panel); /* Updated color */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3); /* Darker shadow */
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(154, 166, 178, 0.2); /* Updated border */
}
th {
    background-color: var(--accent-primary); /* Updated color */
    color: #021026; /* Dark text for contrast */
}
tr:nth-child(even) {
    background-color: var(--bg-dark); /* Updated color */
}
/* Special Elements */
.tip-box {
    background-color: rgba(79, 156, 255, 0.1); /* Updated color */
    border-left: 5px solid var(--accent-primary); /* Updated color */
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}
.tip-box strong {
    color: var(--accent-secondary); /* Updated color */
}
ul, ol {
    padding-left: 1.5rem;
}
li {
    margin-bottom: 0.5rem;
}
/* FAQ */
.faq-item {
    background: var(--bg-panel); /* Updated color */
    border: 1px solid var(--border-glass); /* Updated border */
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}
.faq-question {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--accent-primary); /* Updated color */
    margin-bottom: 0.5rem;
    display: block;
}
/* Footer */
footer {
    background: var(--bg-panel); /* Updated color */
    color: var(--text-muted); /* Updated color */
    text-align: center;
    padding: 2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-glass); /* Added border */
}

.center-img {
    display: block;      /* makes margin auto work */
    margin: 0 auto;      /* top/bottom 0, left/right auto */
}

#author {
  padding: 32px 16px 8px 16px;
  margin: 0;
}
.cred strong { font-size: 18px; }
/* Responsive */
@media (max-width: 768px) {
    header.hero h1 { font-size: 2rem; }
    nav { flex-direction: column; gap: 1rem; }
    .nav-links a { margin: 0 0.5rem; }
    table { display: block; overflow-x: auto; }
}
