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

:root {
    --primary-color: #00dd88;
    --secondary-color: #00aa66;
    --accent-color: #00ccaa;
    --bg-color: #0a0a0a;
    --terminal-bg: #1a1a1a;
    --text-color: #00cc88;
    --text-dim: #008866;
    --prompt-color: #00bbbb;
    --error-color: #ff5555;
}

.blog-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.2);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

body {
    font-family: 'Fira Code', 'Courier New', monospace;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 204, 136, 0.015) 2px,
            rgba(0, 204, 136, 0.015) 4px
        ),
        url('../images/cristo-redentor.webp');
    background-attachment: fixed, fixed;
    background-size: auto, cover;
    background-position: center, center top;
    background-repeat: no-repeat, no-repeat;
    background-blend-mode: normal, overlay;
}

/* Fallback para navegadores que não suportam WebP */
@supports not (background: url('test.webp')) {
    body {
        background-image: 
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0, 204, 136, 0.015) 2px,
                rgba(0, 204, 136, 0.015) 4px
            ),
            url('../images/cristo-redentor.jpg');
        background-position: center, center top;
    }
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to bottom, rgba(0, 204, 136, 0.2), transparent);
    animation: scan 8s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--terminal-bg);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    padding: 5px;
    display: flex;
    gap: 0;
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.25);
}

.lang-option {
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    border: none;
    background: transparent;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--bg-color);
}

.lang-option:not(.active):hover {
    background: rgba(0, 255, 0, 0.1);
}

.terminal-window {
    background: rgba(26, 26, 26, 0.10);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 0 30px rgba(0, 204, 136, 0.15);
    animation: fadeIn 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 204, 136, 0.02) 2px,
        rgba(0, 204, 136, 0.02) 4px
    );
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.97; }
    50% { opacity: 1; }
    100% { opacity: 0.97; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-header {
    background: rgba(0, 204, 136, 0.08);
    padding: 10px 15px;
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.terminal-button.close { background: rgba(255, 85, 85, 0.5); }
.terminal-button.minimize { background: rgba(255, 255, 85, 0.5); }
.terminal-button.maximize { background: rgba(85, 255, 85, 0.5); }

.terminal-title {
    flex: 1;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.terminal-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.prompt {
    color: var(--prompt-color);
    font-weight: 600;
}

.prompt-line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.prompt-line::before {
    content: '>';
    color: var(--prompt-color);
    margin-right: 10px;
    font-weight: bold;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 5px;
}

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

h1, h2, h3 {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 204, 136, 0.3);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 0 0 10px rgba(0, 204, 136, 0.3);
    }
    93% {
        text-shadow: 
            -2px 0 var(--accent-color),
            2px 0 var(--error-color),
            0 0 10px rgba(0, 204, 136, 0.3);
    }
}

.hero {
    text-align: center;
    margin: 40px 0;
}

.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service {
    background: rgba(0, 204, 136, 0.03);
    border: 1px solid var(--primary-color);
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 204, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service:hover {
    background: rgba(0, 204, 136, 0.08);
    border-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.2);
}

.service:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 204, 136, 0.3));
}

.service h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service p {
    color: var(--text-dim);
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
    margin: 30px 0;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 204, 136, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 204, 136, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 204, 136, 0.35);
    }
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.about-text .role {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.podcast-grid {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.podcast-card {
    background: rgba(0, 204, 136, 0.03);
    border: 1px solid var(--primary-color);
    padding: 30px;
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease;
}

.podcast-card:hover {
    background: rgba(0, 204, 136, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 204, 136, 0.2);
}

.podcast-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.2);
}

.podcast-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 204, 136, 0.05);
    color: var(--text-color);
    padding: 12px 20px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(0, 204, 136, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 204, 136, 0.3);
}

.btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.3);
}

.btn:hover::before {
    left: 0;
}

.btn-download {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    padding: 14px 30px;
    border: 2px solid var(--accent-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin: 15px auto;
    font-family: 'Fira Code', monospace;
}

.btn-download:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 204, 170, 0.3);
}

.podcast-link {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 15px;
}

.podcast-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-dim);
    font-size: 0.95rem;
    border-top: 1px solid var(--primary-color);
    margin-top: 50px;
}

.privacy-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.privacy-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.privacy-popup {
    background: rgba(26, 26, 26, 0.85);
    border: 2px solid var(--primary-color);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 50px rgba(0, 204, 136, 0.3);
    animation: slideUp 0.5s ease;
    backdrop-filter: blur(12px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-popup h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.privacy-popup p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 30px;
}

.privacy-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-accept {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 14px 35px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.btn-accept:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 204, 136, 0.3);
}

.btn-decline {
    background: transparent;
    color: var(--text-dim);
    padding: 14px 35px;
    border: 2px solid var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.btn-decline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo {
        margin: 0 auto 30px;
    }

    .terminal-content {
        padding: 20px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
    }

    .social-links {
        gap: 10px;
    }

    .privacy-popup {
        padding: 30px 25px;
        margin: 20px;
    }

    .privacy-buttons {
        flex-direction: column;
    }

    .btn-accept,
    .btn-decline {
        width: 100%;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }
}