/*
Theme Name: Fala Cripto
Theme URI: https://falacripto.com
Author: Fala Cripto Team
Author URI: https://falacripto.com
Description: Tema moderno e profissional focado em criptomoedas, blockchain e finanças digitais
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: falacripto
Tags: crypto, cryptocurrency, blockchain, bitcoin, responsive, modern
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FDB022;
    --secondary-color: #2196F3;
    --accent-blue: #1E88E5;
    --dark-bg: #0D2943;
    --darker-bg: #071827;
    --card-bg: #143A5C;
    --light-text: #ffffff;
    --cream-text: #F5E6D3;
    --gray-text: #B8D4E8;
    --success: #00E676;
    --danger: #FF5252;
    --warning: #FFB800;
    --border-color: #1E5A7D;
    --gradient-start: #071827;
    --gradient-end: #0D2943;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --laptop: 1024px;
    --desktop: 1200px;
    --wide: 1440px;
    
    /* Espaçamentos Responsivos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Tamanhos de Fonte Responsivos */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;
    --font-6xl: 3.5rem;
    
    /* Container Width */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Container Responsivo */
@media (min-width: 480px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-lg);
        padding: 0 var(--spacing-xl);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: var(--container-xl);
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: var(--container-2xl);
    }
}

/* Header */
.site-header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    min-height: 70px;
}

.site-logo {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--light-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo span {
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 2vw, 2rem);
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background: rgba(253, 176, 34, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Mobile Menu - 480px */
@media (max-width: 480px) {
    .site-header {
        position: sticky;
    }
    
    .header-content {
        padding: var(--spacing-xs) 0;
        min-height: 60px;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--darker-bg);
        padding: var(--spacing-lg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .main-navigation.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: var(--spacing-md);
        font-size: 1.1rem;
    }
}

/* Tablet Menu - 481px to 1024px */
@media (min-width: 481px) and (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--darker-bg);
        padding: var(--spacing-xl);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-bottom: 3px solid var(--primary-color);
    }

    .main-navigation.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .main-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .main-navigation a {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Desktop - 1025px+ */
@media (min-width: 1025px) {
    .header-content {
        padding: var(--spacing-md) 0;
    }
    
    .main-navigation {
        display: block !important;
    }
}

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

/* Hero Section */
.hero-section {
    margin-top: 70px;
    padding: clamp(60px, 10vw, 120px) 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #0D3D5C 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    background: radial-gradient(circle, rgba(253, 176, 34, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    display: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(253, 176, 34, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(253, 176, 34, 0.8);
    }
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray-text);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Mobile - até 480px */
@media (max-width: 480px) {
    .hero-section {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-content h1 .highlight {
        display: block;
        margin-top: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-section::after {
        display: none;
    }
}

/* Tablet - 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Laptop - 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Desktop - 1025px+ */
@media (min-width: 1025px) {
    .hero-section {
        padding: 120px 0;
    }
}

.cta-button {
    display: inline-block;
    padding: clamp(12px, 2vw, 18px) clamp(25px, 4vw, 45px);
    background: linear-gradient(135deg, #FDB022 0%, #FFB800 100%);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(253, 176, 34, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(253, 176, 34, 0.6), 0 0 20px rgba(253, 176, 34, 0.4);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Mobile - até 480px */
@media (max-width: 480px) {
    .cta-button {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .cta-button:hover {
        transform: translateY(-2px);
    }
}

/* Tablet - 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Laptop - 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .cta-button {
        padding: 16px 35px;
    }
}

/* Content Area */
.content-wrapper {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
    margin-bottom: var(--spacing-3xl);
}

/* Mobile - até 480px (1 coluna) */
@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Mobile Large - 481px a 640px (1 coluna) */
@media (min-width: 481px) and (max-width: 640px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Tablet - 641px a 768px (2 colunas) */
@media (min-width: 641px) and (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Tablet Large - 769px a 1024px (2 colunas com sidebar ou 3 sem) */
@media (min-width: 769px) and (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    /* Se não houver sidebar, 3 colunas */
    .no-sidebar .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop - 1025px a 1199px (2 colunas com sidebar ou 3 sem) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .no-sidebar .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Large - 1200px+ (2 colunas com sidebar ou 4 sem) */
@media (min-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
    
    .no-sidebar .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card de Post */
.post-card {
    background: var(--card-bg);
    border-radius: clamp(12px, 1.5vw, 16px);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.post-card:hover::before {
    transform: scaleX(1);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(253, 176, 34, 0.25), 0 0 30px rgba(33, 150, 243, 0.15);
    border-color: var(--primary-color);
}

.post-thumbnail {
    width: 100%;
    height: clamp(180px, 25vw, 220px);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.1);
}

.post-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    margin-bottom: var(--spacing-md);
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    color: var(--gray-text);
    flex-wrap: wrap;
}

.post-category {
    background: linear-gradient(135deg, #FDB022 0%, #FFB800 100%);
    color: var(--dark-bg);
    padding: clamp(4px, 0.5vw, 6px) clamp(12px, 1.5vw, 16px);
    border-radius: 20px;
    font-weight: 700;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(253, 176, 34, 0.3);
    white-space: nowrap;
}

.post-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    flex-grow: 1;
}

.post-title a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--gray-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    margin-top: auto;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

/* Mobile - até 480px */
@media (max-width: 480px) {
    .post-card {
        border-radius: 12px;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .post-card:hover {
        transform: translateY(-4px);
    }
}

/* Tablet - 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .post-thumbnail {
        height: 200px;
    }
}

/* Laptop - 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .post-thumbnail {
        height: 210px;
    }
}

/* Sidebar */
.sidebar {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.widget {
    margin-bottom: 2.5rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

.widget a:hover {
    color: var(--primary-color);
}

/* Single Post */
.single-post-header {
    margin-top: 80px;
    padding: 60px 0 40px;
    text-align: center;
}

.single-post-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.single-post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
}

.single-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--light-text);
}

.single-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--light-text);
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--gray-text);
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

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

/* Footer */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: clamp(40px, 8vw, 60px) 0 clamp(20px, 4vw, 30px);
    margin-top: clamp(40px, 8vw, 80px);
}

.footer-content {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Mobile - até 480px (1 coluna) */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile Large - 481px a 640px (1 coluna) */
@media (min-width: 481px) and (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Tablet - 641px a 768px (2 colunas) */
@media (min-width: 641px) and (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Large - 769px a 1024px (2 ou 3 colunas) */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop - 1025px+ (4 colunas) */
@media (min-width: 1025px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-widget h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--light-text);
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    font-weight: 700;
}

.footer-widget p,
.footer-widget li {
    color: var(--gray-text);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.875rem, 1.2vw, 0.95rem);
    line-height: 1.6;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-widget a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: clamp(0.875rem, 1.2vw, 0.95rem);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        padding: 1rem;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

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

    .single-post-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVIDADE GLOBAL OTIMIZADA
   ======================================== */

/* Mobile Small - até 375px */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .post-card {
        font-size: 0.9rem;
    }
}

/* Mobile - 376px a 480px */
@media (min-width: 376px) and (max-width: 480px) {
    html {
        font-size: 15px;
    }
}

/* Mobile Large - 481px a 640px */
@media (min-width: 481px) and (max-width: 640px) {
    html {
        font-size: 16px;
    }
}

/* Tablet - 641px a 768px */
@media (min-width: 641px) and (max-width: 768px) {
    .content-wrapper {
        padding: clamp(40px, 6vw, 60px) 0;
    }
}

/* Tablet Large - 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-wrapper {
        padding: clamp(50px, 7vw, 70px) 0;
    }
}

/* Desktop - 1025px a 1199px */
@media (min-width: 1025px) and (max-width: 1199px) {
    .content-wrapper {
        padding: clamp(60px, 8vw, 80px) 0;
    }
}

/* Desktop Large - 1200px+ */
@media (min-width: 1200px) {
    .content-wrapper {
        padding: 80px 0;
    }
}

/* Orientação Landscape em Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .site-header {
        position: sticky;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .post-card:hover {
        transform: none;
    }
    
    .post-card:active {
        transform: scale(0.98);
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
    /* Aumentar área de toque */
    .main-navigation a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .menu-toggle {
        min-width: 48px;
        min-height: 48px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .post-thumbnail {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode - se o sistema do usuário preferir */
@media (prefers-color-scheme: dark) {
    /* Tema já é escuro por padrão, mas podemos ajustar */
    :root {
        --dark-bg: #0A1628;
        --darker-bg: #050B14;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .main-navigation,
    .cta-button,
    .sidebar {
        display: none !important;
    }
    
    .post-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

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

/* Badges e elementos de investimento */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--success) 0%, #00BFA5 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.3);
}

.price-badge.down {
    background: linear-gradient(135deg, var(--danger) 0%, #FF1744 100%);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

.trending-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    animation: trendingPulse 2s ease-in-out infinite;
}

@keyframes trendingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.crypto-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--warning) 100%);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: 900;
    font-size: 14px;
    color: var(--dark-bg);
    box-shadow: 0 2px 8px rgba(253, 176, 34, 0.4);
}

/* Efeito de brilho nos cards */
.post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-card .post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.post-card:hover .post-thumbnail::after {
    left: 150%;
}
