/* ========================================
   BLOG - VARIABLES (Alinhado com Academy)
   ======================================== */
:root {
    /* Cores do tema - Purple & Dark */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 20, 0.8);
    --bg-card-hover: rgba(20, 20, 30, 0.9);
    
    /* Roxo vibrante */
    --primary-purple: #8b5cf6;
    --secondary-purple: #a78bfa;
    --accent-purple: #c084fc;
    --purple-glow: rgba(139, 92, 246, 0.3);
    
    /* Texto */
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-gray: rgba(255, 255, 255, 0.4);
    
    /* Outras cores */
    --success-color: #10b981;
    --error-color: #ef4444;
    --border-color: rgba(139, 92, 246, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Fontes */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Imagem de fundo fixa para toda a página (similar ao Blowfish) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: var(--post-bg-image, url('https://i.pinimg.com/1200x/6a/fa/e7/6afae7b7235d90582053c0e1ccafce16.jpg'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
    transition: background-image 0.5s ease;
}

/* Overlay gradiente que escurece progressivamente de cima para baixo (destaque para posts) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.15) 0%,
        rgba(10, 10, 15, 0.25) 10%,
        rgba(10, 10, 15, 0.4) 25%,
        rgba(10, 10, 15, 0.6) 45%,
        rgba(10, 10, 15, 0.8) 70%,
        rgba(10, 10, 15, 0.95) 100%
    );
    pointer-events: none;
    mix-blend-mode: normal;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

/* Classe para aplicar blur quando scrollar */
body.scrolled::before {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-purple);
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 4rem;
    position: relative;
    z-index: 1;
}


/* ========================================
   HOMEPAGE HERO
   ======================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Hero não precisa de imagem própria, usa a do body */

/* Hero usa o overlay global do body */

/* Se não houver imagem, usar gradiente roxo */
.hero.no-background-image::before {
    background-image: none;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(10, 10, 15, 1) 100%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 3rem 2rem;
    border: none;
    box-shadow: none;
}

.hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: -0.5rem 0 0 0;
    min-height: 1.5rem;
}

.typing-cursor {
    color: var(--primary-purple);
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.channel-promo {
    margin: 1.5rem 0;
    max-width: 100%;
    text-align: center;
}

.channel-promo-text {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.channel-link {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.channel-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.channel-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.channel-video-wrapper lite-youtube {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.channel-promo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    font-size: 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
    flex-wrap: wrap;
}

.channel-link-box {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    display: inline-block;
}

.channel-link-box:hover {
    background: rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    color: var(--primary-purple);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--purple-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   BLOG LIST
   ======================================== */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

/* Grid responsivo para posts recentes */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   POSTS LIST (Vertical)
   ======================================== */
.posts-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.posts-list-item {
    display: block;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.posts-list-item:last-child {
    border-bottom: none;
}

.posts-list-item-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.posts-list-item:hover {
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-purple);
    background: rgba(139, 92, 246, 0.03);
    border-radius: 4px;
    margin-left: -1.5rem;
    padding-right: 1.5rem;
}

.posts-list-item-image-wrapper {
    flex-shrink: 0;
    width: 350px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.posts-list-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.posts-list-item:hover .posts-list-item-image {
    transform: scale(1.05);
}

.posts-list-item-text {
    flex: 1;
    min-width: 0;
}

.posts-list-item-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
}

.posts-list-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.posts-list-item-date {
    color: var(--text-muted);
}

.posts-list-item-category {
    color: var(--primary-purple);
}

.posts-list-item-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.post-card {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    height: auto;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px var(--purple-glow);
}

.post-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    display: block;
    flex-shrink: 0;
}

.post-card-image[style*="background-image"] {
    object-fit: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.post-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
}

.post-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-color);
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: auto;
}

.post-card-excerpt {
    display: none;
}

.post-card-tags {
    display: none;
}

.post-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-purple);
}

/* ========================================
   POST VIEW
   ======================================== */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 12px;
    display: block;
}

.post-content {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 4rem;
    line-height: 1.9;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.post-content h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--primary-purple);
}

.post-content h3 {
    font-size: 1.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.post-content a {
    color: var(--primary-purple);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: var(--primary-purple);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content code {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: var(--font-mono);
    font-size: 1em;
    color: var(--accent-purple);
}

.post-content pre {
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Sobrescrever estilos do post-content para code-block-content */
.post-content .code-block-content {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    margin: 1.5rem 0 !important;
}

.post-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--text-color);
    font-size: 1rem;
}

/* ========================================
   CODE BLOCK WITH COPY BUTTON
   ======================================== */
.code-block-content {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    padding: 1.5rem;
    padding-top: 2.5rem;
    padding-right: 4rem;
    display: block;
    box-shadow: none;
}

.code-block-content .copy-code-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    backdrop-filter: blur(10px);
}

.code-block-content .copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.code-block-content .copy-code-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--success-color);
}

.code-block-content .copy-code-btn.copied .copy-text {
    color: var(--success-color);
}

.copy-icon {
    font-size: 1rem;
}

.copy-text {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.code-block-content code {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    overflow-x: visible;
    overflow-y: visible;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

.code-block-content code {
    background: transparent;
    border: none;
    padding: 0;
    color: #e2e8f0;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    display: block !important;
    width: 100% !important;
    overflow-x: visible !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
    float: none !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    position: relative;
    z-index: 1;
}

/* Sobrescrever estilos do Prism.js que podem causar rolagem */
.code-block-content[class*="language-"],
.code-block-content code[class*="language-"] {
    overflow-x: visible !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
    max-width: 100% !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
}

/* Remover cores do Prism.js e usar apenas cinza */
.code-block-content .token.keyword,
.code-block-content .token.string,
.code-block-content .token.number,
.code-block-content .token.operator,
.code-block-content .token.punctuation,
.code-block-content .token.function,
.code-block-content .token.class-name,
.code-block-content .token.comment,
.code-block-content .token.property,
.code-block-content .token.selector,
.code-block-content .token.tag,
.code-block-content .token.attr-name,
.code-block-content .token.attr-value,
.code-block-content .token.boolean,
.code-block-content .token.constant,
.code-block-content .token.variable,
.code-block-content span[class*="token"],
.code-block-content code *,
.code-block-content code span {
    color: #e2e8f0 !important;
    background: transparent !important;
}

/* Remover qualquer sombra ou borda extra */
.code-block-content * {
    box-shadow: none !important;
    text-shadow: none !important;
}

.code-block-content,
.code-block-content code {
    border: none !important;
    box-shadow: none !important;
}

/* Garantir que pre e code sejam elementos de bloco */
.code-block-content {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

.code-block-content code {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-purple);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* ========================================
   ALERT SHORTCODE
   ======================================== */
.alert {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-purple);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.alert.twitter {
    background: rgba(29, 161, 242, 0.1);
    border-color: #1da1f2;
}

.alert.twitter::before {
    content: '🐦 ';
}

.alert p {
    margin: 0;
    color: var(--text-color);
}

.alert a {
    color: var(--primary-purple);
    font-weight: 600;
}

/* ========================================
   YOUTUBE LITE
   ======================================== */
lite-youtube {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.about-hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.about-profile-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.about-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.about-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.about-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 2;
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.about-name {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-title {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
    min-height: 1.5rem;
}

.about-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.about-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.about-simple-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    margin: 3rem auto 0 auto;
    align-items: start;
    max-width: 1200px;
    width: 100%;
}

.about-content-left {
    flex: 1;
}

.about-sidebar-right {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-photo-container {
    width: 100%;
}

.about-side-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about-side-image:hover {
    transform: scale(1.02);
}

.about-social-sidebar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-bio-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-bio-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
    font-style: italic;
}

.about-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.about-experience {
    margin-bottom: 3rem;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.experience-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-list li strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.experience-list li p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.about-description {
    background: rgba(15, 15, 20, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 150px;
        height: 150px;
    }
    
    .hero-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 20px;
    }
    
    /* About Page Responsive */
    .about-simple-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-sidebar-right {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .about-name {
        font-size: 2rem;
    }
    
    .about-section-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    @media (max-width: 768px) {
        .posts-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .posts-list-item-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .posts-list-item-image-wrapper {
        width: 100%;
        height: 250px;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .container {
        padding: 2rem 1.5rem;
    }
    
    .post-title {
        font-size: 2.5rem;
    }
    
    .post-content h1 {
        font-size: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.75rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .code-block-content {
        padding: 1rem;
        padding-top: 2rem;
        padding-right: 3.5rem;
    }
    
    .copy-code-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .copy-code-btn .copy-text {
        display: none;
    }
}

