/* ===== RESET & BASE (Spanish Market) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0D0D0D;
    color: #E8E8E8;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, #00C9FF, #92FE9D); /* Fresh colors */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none; /* Desktop only */
}

/* ===== MAIN LAYOUT ===== */
.main-layout {
    max-width: 680px;
    margin: 60px auto 0;
    padding: 0;
}

.main-content-column {
    width: 100%;
}

.sidebar {
    display: none; /* Hidden on mobile */
}

/* ===== HOMEPAGE FEED (Native Ads Layout) ===== */
.homepage-feed {
    padding: 20px 16px;
}

.feed-header {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.feed-item {
    display: flex;
    flex-direction: column;
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}

.feed-item:active {
    transform: scale(0.98);
}

.feed-img-wrapper {
    width: 100%;
    height: 200px;
}

.feed-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-content {
    padding: 20px;
}

.feed-category {
    font-size: 11px;
    font-weight: 700;
    color: #00C9FF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.feed-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.feed-excerpt {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* Native Ad Feed Item */
.feed-item.native-ad {
    border: 1px dashed rgba(0, 201, 255, 0.3);
    background: rgba(0, 201, 255, 0.02);
}

.feed-item.native-ad .feed-category {
    color: #92FE9D;
}

/* ===== ARTICLE: AGGRESSIVE ADS ===== */
.top-ad-container {
    padding: 10px 16px 0;
    max-width: 680px;
    margin: 0 auto;
}

.ad-placeholder-container {
    padding: 10px 20px;
    margin: 15px 0;
    background: #111;
    border-top: 1px dashed rgba(255,255,255,0.05);
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.inline-ad-box {
    margin: 20px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trap-section {
    padding-bottom: 30px !important;
    border: 2px solid rgba(0, 201, 255, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 201, 255, 0.1);
}

.trap-ad {
    min-height: 350px !important;
    background: rgba(0, 201, 255, 0.05) !important;
    border: 2px dashed rgba(0, 201, 255, 0.3) !important;
    cursor: pointer;
}

/* Base Ad Placeholder Styles */
.ad-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}

.text-center {
    text-align: center;
}

.ad-placeholder {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #1A1A1A;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.ad-placeholder.small { min-height: 50px; }
.ad-placeholder.small-banner { min-height: 70px; width: 320px; max-width: 100%; }
.ad-placeholder.skyscraper { min-height: 600px; }

.ad-demo-box { text-align: center; padding: 10px; }
.ad-demo-text { font-size: 16px; font-weight: 700; color: #555; margin-bottom: 4px; }
.ad-demo-size { font-size: 13px; color: #444; }

/* Sticky Mobile Bottom Ad (The Money Maker) */
.mobile-sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Adjust article padding so content isn't hidden behind the sticky ad */
.article-container {
    padding: 10px 16px 120px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-top: 10px;
}

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

.hero-text { padding: 15px 20px 5px; }
.hero-text h1 { font-size: 26px; font-weight: 900; line-height: 1.25; color: #FFFFFF; letter-spacing: -0.5px; margin-bottom: 8px; }
.hero-meta-box { padding: 10px 20px; }
.hero-meta { font-size: 13px; color: #777; font-weight: 500; }

/* ===== ARTICLE SECTIONS ===== */
.article-section {
    display: none;
    margin-bottom: 2px;
    border-radius: 16px;
    overflow: hidden;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.article-section.visible {
    display: block;
    animation: fadeSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.section-content { padding: 30px 24px 0; }
.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
    color: #000;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.section-content h2 { font-size: 22px; font-weight: 800; color: #FFFFFF; line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.3px; }
.section-content p { font-size: 16px; color: #B0B0B0; margin-bottom: 14px; line-height: 1.75; }

/* ===== THE GATE WALL ===== */
.gate-wall {
    position: relative;
    padding: 0 24px 24px;
    margin-top: 10px;
}

.gate-blur {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #161616);
    pointer-events: none;
}

.reveal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    border: 2px dashed rgba(0, 201, 255, 0.3);
    border-radius: 14px;
    background: rgba(0, 201, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 20;
}

.reveal-btn:active { transform: scale(0.97); }

.reveal-icon {
    font-size: 28px;
    color: #00C9FF;
    animation: bounceDown 1.5s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.reveal-text { font-size: 15px; font-weight: 700; color: #00C9FF; letter-spacing: 0.3px; }
.reveal-counter { font-size: 12px; font-weight: 600; color: #555; margin-top: 6px; letter-spacing: 1px; }

/* ===== END SECTION ===== */
.end-section { text-align: center; padding: 30px 0 10px; }
.end-title { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }

/* ===== PROGRESS BAR ===== */
.progress-bar-container {
    position: fixed;
    bottom: 60px; /* Above the sticky ad */
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00C9FF, #92FE9D);
    transition: width 0.4s ease;
    border-radius: 0 2px 2px 0;
}

/* =========================================
   DESKTOP GRID & SIDEBAR LAYOUT (>= 992px)
   ========================================= */
@media (min-width: 992px) {
    .nav-links {
        display: flex;
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
        font-weight: 600;
        color: #B0B0B0;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .nav-links a:hover {
        color: #00C9FF;
    }

    .top-ad-container { max-width: 1100px; }
    
    .main-layout {
        max-width: 1100px;
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-text h1 { font-size: 34px; }

    .sidebar { display: block; padding-top: 10px; }
    .sidebar-sticky-wrapper { position: sticky; top: 80px; }

    .sidebar-widget {
        background: #161616;
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 24px;
    }

    .sidebar-widget.ad-widget {
        padding: 10px;
        background: transparent;
        border: none;
    }

    .widget-title {
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
    }

    .trending-list { list-style: none; }
    .trending-list li { margin-bottom: 12px; }
    .trending-list a { color: #B0B0B0; text-decoration: none; font-size: 15px; line-height: 1.5; transition: color 0.2s; }
    .trending-list a:hover { color: #00C9FF; }

    .mobile-sticky-ad { display: none; } /* Hide mobile sticky ad on desktop */
    .progress-bar-container { bottom: 0; }
}

/* ===== COUNTDOWN PULSE ANIMATION ===== */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 201, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(0, 201, 255, 0.3); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 201, 255, 0); }
}

/* ===== LANDING PAGE STYLES ===== */
.lp-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    text-align: center;
}

.lp-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.lp-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.lp-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lp-excerpt {
    font-size: 16px;
    color: #AAAAAA;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lp-cta {
    display: inline-block;
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.3);
}

.lp-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 201, 255, 0.5);
}

.lp-readers {
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}

.lp-readers span {
    color: #FF4444;
    font-weight: 700;
}

.lp-ad-container {
    margin-top: 30px;
    text-align: center;
}
