:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --bg-dark: #0a0a12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f0f1a;
    color: var(--text-primary);
    min-height: 100vh;
    background-image: linear-gradient(rgba(10, 10, 15, 0.92), rgba(10, 10, 15, 0.95)), url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.highlight {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

button {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    /* Permite quebrar linha se faltar espaço */
    justify-content: flex-end;
}

/* Monetization Areas */
.ad-banner-top {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ad-placeholder {
    color: var(--text-secondary);
    text-align: center;
}

/* Main Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* News Card */
.news-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.tag {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.ai-insight {
    background: rgba(188, 19, 254, 0.05);
    border-left: 4px solid var(--neon-purple);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
}

.ai-insight h3 {
    color: var(--neon-purple);
    margin-bottom: 10px;
    font-size: 1rem;
}

.ai-insight p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}

.btn-read-more {
    display: inline-block;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 2px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-placeholder-square {
    width: 300px;
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: var(--text-secondary);
    margin: 0 auto;
}

.affiliate-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.affiliate-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.affiliate-list {
    list-style: none;
}

.affiliate-list li {
    margin-bottom: 10px;
}

.affiliate-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s;
}

.affiliate-list a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ad-tag {
    font-size: 0.7rem;
    background: #333;
    padding: 2px 5px;
    border-radius: 4px;
    color: #888;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .ad-placeholder-square {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Ajuste para Header quebrar linha */
    .nav-actions {
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    /* Torna Banners Responsivos */
    .ad-slot {
        width: 100% !important;
        height: auto !important;
        min-height: 50px;
        max-width: 728px;
    }

    .ad-container {
        padding: 0 10px;
    }
}