/* Slang Project - Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Space+Grotesk:wght@300;400;700&display=swap');

:root {
    --primary: #06CBDA; /* Cyan extracted from logo */
    --secondary: #000000;
    --bg-dark: #000000;
    --bg-card: #0a0c0c;
    --text-main: #ffffff;
    --text-dim: #b0c4c5;
    --accent-gradient: linear-gradient(135deg, var(--primary), #038a94);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .tag {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
}

section {
    scroll-margin-top: 120px; /* Accounts for fixed header when scrolling via anchor links */
}

.container {
    max-width: 1400px; /* Increased from 1300px to solve narrowness */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: flex-start; /* Moved from space-between to align left */
    align-items: center;
    gap: 5rem; /* Gap between logo and the rest of navigation */
    list-style: none !important;
}

nav ul, nav li {
    list-style: none !important;
}

.logo {
    flex-shrink: 0;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto; /* Push to the right if visible */
}

.logo img {
    height: 55px; /* Bigger logo */
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.5));
    transition: var(--transition);
}

.nav-links, .nav-links li {
    display: flex;
    list-style: none !important;
    gap: 1.5rem;
    align-items: center;
}

/* Added "Secciones" Label Style */
.nav-links::before {
    content: 'SECCIONES';
    font-size: 0.6rem;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 2px;
    margin-right: 1rem;
    padding: 2px 8px;
    border: 1px solid rgba(6, 203, 218, 0.3);
    border-radius: 4px;
    opacity: 0.9;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.8rem; /* Slightly smaller to fit better */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Watermark Logo for Background */
.watermark-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    opacity: 0.07;
    pointer-events: none;
    z-index: -1;
    filter: grayscale(1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden; /* Fix for stray elements causing scroll */
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: black;
    font-weight: 800;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: rgba(6, 203, 218, 0.1);
}

.btn-outline:hover {
    background: var(--primary);
    color: black;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 203, 218, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

/* Sections */
.section {
    padding: 8rem 0;
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Hover Effects */
.news-image img, .card-img {
    transition: transform 0.5s ease;
}

.news-main:hover .news-image img, 
.news-card:hover .card-img,
#article-content img:hover {
    transform: scale(1.05);
}

/* Article View Fixes (Layout Shift) */
#article-view {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#article-content {
    max-width: 800px; /* Reading width for body text */
}

#article-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    max-width: 1000px; /* Allow title to be wider than body */
}

/* Improved selector to avoid affecting small UI images like author photos */
#article-content > img, 
#article-content .article-hero-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--glass-border);
    animation: fadeIn 1.5s ease-out;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.article-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* More Animations */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: width 0.6s ease;
}

.reveal.visible .section-header h2::after {
    width: 100%;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* RICE Matrix */
.rice-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem; /* Even more space for mobile */
}

.rice-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.rice-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.rice-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.rice-card ul {
    list-style: none;
    color: var(--text-dim);
}

.rice-card ul li {
    margin-bottom: 0.5rem;
}

/* News Section */
.news-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    background: var(--bg-card);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

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

.news-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 1rem;
}

.news-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.news-content p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.news-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 1.5rem;
}

.card-body h4 {
    font-size: 1.25rem;
    margin: 1rem 0;
}

.card-body p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--accent-gradient);
}

.cta-card {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 4rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#qa-form {
    display: flex;
    max-width: 600px;
    margin: 2rem auto 0;
    gap: 1rem;
}

#qa-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    outline: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-btn:hover {
    background: white;
    color: black;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #050505;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-team ul {
    list-style: none;
    margin-top: 0.5rem;
}

.footer-team li {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.mb-2 {
    margin-bottom: 2rem;
}

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

/* Article View Styles */
#article-view {
    max-width: 800px;
    margin: 0 auto;
}

#article-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

/* Removed redundant broad img rule that conflicted with author photos */

#article-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

#article-content .article-body {
    line-height: 1.8;
}

#article-content .tag {
    margin-bottom: 1rem;
}

q {
    font-style: italic;
    color: var(--primary);
}

q::before { content: '“'; }
q::after { content: '”'; }

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--primary);
        transition: 0.3s;
    }

    .nav-links { 
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        gap: 3.5rem; /* More space between mobile links */
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links::before {
        display: none;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 80vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .lead {
        margin-bottom: 3.5rem;
    }

    .section, .cta-section, .manifesto-section {
        padding: 10rem 0 !important;
    }

    .news-main { 
        grid-template-columns: 1fr; 
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-content h3 {
        font-size: 1.5rem;
    }

    .rice-matrix {
        display: block !important;
    }

    .rice-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .manifesto-grid {
        display: block !important;
    }

    .manifesto-points {
        margin-top: 2rem;
    }

    .point {
        margin-bottom: 2rem;
    }

    .watermark-logo {
        width: 130vw; /* Slightly smaller for mobile */
        opacity: 0.03; /* More subtle */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-links, .social-links-wrap, .footer-socials-direct {
        justify-content: center;
        text-align: center;
    }

    .footer-team ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .feedback-widget {
        bottom: 1rem;
        right: 1rem;
    }
}

/* --- MANIFESTO SECTION --- */
.manifesto-section {
    padding: 10rem 0;
    background: #050505;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.manifesto-quote {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 2.5rem 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    text-transform: uppercase;
}

.manifesto-points {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.point {
    display: flex;
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.point:hover {
    background: rgba(6, 203, 218, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
}

.point-num {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: rgba(6, 203, 218, 0.15);
    line-height: 1;
}

.point-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

/* --- CTA & QUESTIONS --- */
.cta-section {
    padding: 8rem 0;
    background: var(--accent-gradient);
}

.cta-card {
    background: rgba(0,0,0,0.4);
    padding: 5rem;
    border-radius: 40px;
    backdrop-filter: blur(30px);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

#qa-form {
    display: flex;
    max-width: 700px;
    margin: 3rem auto 0;
    gap: 1rem;
}

#qa-form input {
    flex: 1;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    background: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

#qa-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(6, 203, 218, 0.3);
}

/* --- FEEDBACK WIDGET --- */
.feedback-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feedback-tooltip {
    background: white;
    color: black;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
}

.feedback-widget:hover .feedback-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.feedback-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: black;
    font-size: 1.8rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 203, 218, 0.5);
    transition: var(--transition);
}

.feedback-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
}

.btn-outline:hover {
    background: var(--primary);
    color: black;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .news-card {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Author Card Component */
.author-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem; /* Increased from 1.5rem */
    margin-top: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.author-card:hover {
    border-color: var(--primary);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.2rem; /* Restored size */
    margin-bottom: 0.1rem;
    color: var(--primary);
    line-height: 1.2;
}

.author-info .role {
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.0; /* Tightest interlineado as requested */
    display: block; /* Required for line-height to work on span */
}

.author-bio {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    flex: 1; /* Makes all cards fill the height symmetrically */
}

.share-actions {
    margin-top: 3rem; /* Normal margin for article footers */
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.team-grid + .share-actions {
    margin-top: 8rem; /* Large margin specifically for the nosotros page */
}

.share-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
    overflow-y: auto;
    overflow-x: auto;
}

.lightbox.active {
    display: block; /* Changed from flex to block to allow natural scrolling */
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column; /* Allows stacking image and caption */
    align-items: center;
    justify-content: center;
    min-width: 100%;
    min-height: 100%;
    padding: 2rem;
}

.lightbox img, .lightbox-text {
    max-width: 90%;
    max-height: 80vh; /* Relative to viewport height so it fits initially */
    border-radius: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px rgba(6, 203, 218, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active img, .lightbox.active .lightbox-text {
    transform: scale(1);
    cursor: zoom-in;
}

.lightbox.active img.super-zoomed {
    transform: none; /* Remove transform so the physical layout resizes */
    width: auto; 
    height: auto;
    max-width: 100%; /* Never stretches beyond the screen or its natural size */
    max-height: none; /* Allows natural scrolling vertically */
    cursor: zoom-out;
}

.author-img {
    cursor: zoom-in;
    transition: var(--transition);
}

.author-img:hover {
    transform: scale(1.1);
    border-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Layout Adjustments */
@media (max-width: 1100px) {
    .nav-links::before {
        display: none !important;
    }
}

/* Reading Progress Bar */
.progress-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s ease;
}

/* Transmedia / TikTok Box */
.transmedia-box {
    background: #000;
    border-radius: 24px;
    padding: 3px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

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

.transmedia-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        #ff0050,
        #00f2ea,
        transparent 30%
    );
    animation: rotate 3s linear infinite;
}

.transmedia-inner {
    background: #0a0c0c;
    border-radius: 22px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.transmedia-text h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.transmedia-text p {
    color: var(--text-dim);
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}

.btn-tiktok {
    background: #ff0050; /* TikTok Red */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 #00f2ea; /* TikTok Cyan glitch shadow */
    border: none;
    cursor: pointer;
}

.btn-tiktok:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #00f2ea;
    filter: brightness(1.1);
}

.btn-tiktok:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0 #00f2ea;
}

/* Video UI Components */
.video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 3rem auto;
    aspect-ratio: 9/16;
    background: #111;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid #1f1f1f;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?auto=format&fit=crop&q=80&w=400');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 2rem;
}

.play-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-ui {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
}

.handle {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Original Poll Card Styles */
.poll-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.poll-options {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poll-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

.poll-btn .percentage {
    opacity: 0;
    font-family: 'Space Mono', monospace;
    transition: opacity 0.3s;
}

.poll-btn.voted .percentage {
    opacity: 1;
}

.poll-btn .fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(6, 203, 218, 0.2);
    width: 0;
    transition: width 1s ease-out;
    z-index: 0;
}

.poll-btn span {
    position: relative;
    z-index: 1;
}

/* --- ADAPTED COMPONENTS FROM "EL APAGÓN" --- */

/* Thermometer Component */
.thermo-block {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.thermo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 2rem;
    text-align: center;
}

.thermo-title span {
    color: var(--primary);
    display: block;
}

.thermo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

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

.thermo-bar-wrap {
    height: 160px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.thermo-bar {
    width: 35px;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1.5s cubic-bezier(.22,.68,0,1.2);
    background: var(--accent-gradient);
    box-shadow: 0 0 15px rgba(6, 203, 218, 0.3);
}

/* Status variations using opacity/brightness for Slang style */
.thermo-bar.hot { filter: brightness(1.3); }
.thermo-bar.warm { filter: brightness(1); }
.thermo-bar.cold { filter: opacity(0.6); }
.thermo-bar.freeze { filter: grayscale(1) opacity(0.3); }

.thermo-pct {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-main);
    display: block;
}

.thermo-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.3;
}

/* Infobox Components */
.highlight-box, .solution-box {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
}

.solution-box {
    border-left-color: #00ff88; /* Keep green for solutions */
}

.highlight-box strong, .solution-box strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.solution-box strong { color: #00ff88; }

.solution-box ul {
    list-style: none;
    padding-left: 0.5rem;
}

.solution-box li {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.solution-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00ff88;
}

/* Social Feed Section */
.social-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-post {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.social-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-post .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.social-post:hover .overlay {
    opacity: 1;
}

.social-post:hover img {
    transform: scale(1.1);
}

.social-post .overlay strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.social-post .overlay span {
    color: white;
    font-size: 1rem;
    opacity: 0.9;
}

/* --- NEW PHOTOGRAPHIC PODIUM --- */
.burger-podium-wrap {
    margin: 12rem 0 4rem 0; /* Substantial top margin to clear all text */
    text-align: center;
    position: relative;
}

.podium-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 3rem;
}

.burger-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    height: 400px; /* Increased height */
    padding: 4rem 0 2rem 0; /* Added top padding */
    position: relative;
}

.podium-pillar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-img-wrap {
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    cursor: zoom-in; /* Added zoom cursor */
}

.podium-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.podium-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #000;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 1.2rem;
}

.podium-pillar.first .podium-img-wrap {
    width: 140%;
    z-index: 2;
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-60px);
}

.podium-pillar.second .podium-img-wrap {
    transform: translateY(-30px);
    border-color: #c0c0c0;
}

.podium-pillar.third .podium-img-wrap {
    transform: translateY(0);
    border-color: #cd7f32;
    filter: brightness(0.8);
}

.podium-label {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.podium-label span {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .burger-podium {
        flex-direction: column;
        height: auto;
        gap: 3rem;
        align-items: center;
    }
    .podium-pillar.first .podium-img-wrap { width: 100%; }
    .podium-pillar.second .podium-img-wrap { transform: none; }

    /* CTA Card Mobile Fixes */
    .cta-card {
        padding: 2rem 1.5rem; /* Reduce huge padding on mobile */
    }
    
    .cta-card h2 {
        font-size: 2rem; /* Make heading slightly smaller */
    }

    #qa-form {
        flex-direction: column; /* Stack input and button vertically */
        gap: 1rem;
    }

    #qa-form input {
        width: 100%; /* Ensure input takes full width */
    }
}

.burger-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--primary);
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 5;
}

.thermo-item.first .burger-thumb {
    width: 80px;
    height: 80px;
    top: -90px;
    border-color: #ffd700; /* Gold for #1 */
}

.thermo-item.second .burger-thumb { border-color: #c0c0c0; /* Silver for #2 */ }
.thermo-item.third .burger-thumb { border-color: #cd7f32; /* Bronze for #3 */ }

.podium-style .thermo-pct {
    margin-top: 0.5rem;
    color: var(--primary);
}

.ranking-img-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #000;
    border-radius: 20px;
    margin: 2rem 0;
}

/* --- AI ANALYSIS & LIGHTBOX STYLES --- */
.ai-analysis {
    background: #050505 !important;
    border: 1px solid #1a1a1a !important;
    position: relative;
    padding: 3rem 2rem !important;
}

.ai-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.sp-item.ai-style {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 2rem;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
}

.sp-top-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    opacity: 0.4;
}

.sp-progress-bg {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.sp-progress-bar {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: width 2s ease-in-out;
}

.location {
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.zoom-hint {
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.4;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}
/* --- FOOTER SOCIALS --- */
.footer-socials-direct {
    margin-top: 1.5rem;
}

.footer-socials-direct p {
    font-size: 0.6rem;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.social-links-wrap {
    display: flex;
    gap: 1.5rem;
}

.social-link-item {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition);
}

.social-link-item:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}
