@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --primary: #00f2ff; /* Cyber Blue */
    --secondary: #00ff41; /* Matrix Green */
    --accent: #f472b6; /* Quantum Pink */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(0, 242, 255, 0.3);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fundo Quântico (Partículas sutil) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow);
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.post-meta {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

article section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

article section:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::before {
    content: '//';
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Estilo YouTube Embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: var(--glow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tabela Estilizada */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Blockquote para HNDL */
blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    background: rgba(244, 114, 182, 0.05);
    font-style: italic;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

/* Botão de Download */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(45deg, var(--primary), #0077ff);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4rem auto;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.6);
}

footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .container { padding: 1rem; }
    article section { padding: 1.5rem; }
}
