:root {
    /* Paleta Cassino/Gambling */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    
    /* Cores Vibrantes */
    --neon-green: #00ff88;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --gold: #ffd700;
    --gold-dark: #b8860b;
    --casino-red: #dc2626;
    --casino-blue: #3b82f6;
    
    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    --gradient-fire: linear-gradient(135deg, #f97316 0%, #dc2626 50%, #f97316 100%);
    --gradient-neon: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
    
    /* Texto */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Efeitos */
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.5);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-darker);
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   CTA BANNER - TOPO ANIMADO
======================================== */
.cta-banner {
    background: var(--gradient-gold);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #000;
    text-align: center;
    padding: 12px 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-banner a {
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-banner a::before {
    content: '🎰';
    font-size: 1.1rem;
}

.cta-banner a::after {
    content: '💰';
    font-size: 1.1rem;
}

/* ========================================
   HEADER PREMIUM
======================================== */
.blog-header {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    transition: all 0.3s ease;
}

.logo-area:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    transform: scale(1.05);
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 2px solid var(--gold);
    padding-left: 15px;
    position: relative;
}

/* Botão Jogar Agora - Header */
.btn-play-now {
    background: var(--gradient-gold);
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-gold);
    transition: all 0.3s ease;
}

.btn-play-now::before {
    content: '🎲';
    margin-right: 8px;
}

.btn-play-now:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
}

/* Ocultar botão no header em mobile (já existe botão sticky) */
@media (max-width: 767px) {
    .btn-play-now {
        display: none;
    }
}

/* ========================================
   HERO SECTION (OPCIONAL)
======================================== */
.hero-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   MAIN CONTAINER
======================================== */
.main-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 40px 20px 100px;
    min-height: 80vh;
}

/* ========================================
   SECTION TITLE
======================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-title .icon {
    font-size: 1.8rem;
}

.section-title .highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   POSTS GRID - GAMIFICADO
======================================== */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 640px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   POST CARD - DESIGN CASSINO
======================================== */
.post-card {
    background: var(--bg-card);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-purple);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2);
}

.post-card:hover::before {
    opacity: 1;
}

/* Card Image Container */
.card-img-link {
    position: relative;
    overflow: hidden;
    display: block;
}

.card-img-link::after {
    content: '🎯 LER ARTIGO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--gradient-gold);
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.post-card:hover .card-img-link::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: linear-gradient(135deg, #1a1a25 0%, #0a0a0f 100%);
    transition: all 0.5s ease;
}

.post-card:hover .card-img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

/* Badge de Categoria */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-fire);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.card-badge.hot::before {
    content: '🔥 ';
}

.card-badge.new::before {
    content: '✨ ';
}

.card-badge.tip::before {
    content: '💡 ';
}

/* Card Body */
.card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 100%);
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 800;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-card:hover .card-title {
    color: var(--gold);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-wrap: wrap;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex: 1;
    min-width: 0;
}

.card-meta .icon {
    color: var(--neon-purple);
    flex-shrink: 0;
}

/* Botão Ler Mais */
.btn-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.btn-read:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow-purple);
    transform: scale(1.05);
}

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

/* ========================================
   FEATURED POST - REMOVIDO
   Todos os cards agora têm o mesmo tamanho
======================================== */

/* ========================================
   EMPTY STATE
======================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
}

/* ========================================
   FOOTER
======================================== */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    background: rgba(10, 10, 15, 0.8);
}

footer a {
    color: var(--neon-purple);
}

footer a:hover {
    color: var(--gold);
}

/* ========================================
   STICKY FOOTER MOBILE - CTA
======================================== */
.sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 20%);
    padding: 20px 15px 15px;
    z-index: 100;
}

.btn-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--gradient-gold);
    color: #000;
    text-align: center;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--glow-gold);
    animation: pulseGlow 2s infinite;
}

.btn-sticky::before {
    content: '🎰';
    font-size: 1.2rem;
}

.btn-sticky::after {
    content: '💰';
    font-size: 1.2rem;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
        transform: scale(1.02);
    }
}

@media (max-width: 767px) {
    .sticky-footer {
        display: block;
    }
    
    .main-container {
        padding-bottom: 100px;
    }
}

/* ========================================
   SINGLE POST PAGE
======================================== */
.post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.breadcrumbs {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .separator {
    color: var(--neon-purple);
}

.post-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta .icon {
    color: var(--neon-purple);
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 800px;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--gold);
    margin: 50px 0 25px;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    padding-left: 20px;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-purple);
    border-radius: 2px;
}

.post-content h3 {
    color: var(--neon-purple);
    margin: 35px 0 20px;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 12px;
    position: relative;
}

.post-content ul li::marker {
    color: var(--neon-purple);
}

.post-content a {
    color: var(--gold);
    border-bottom: 1px dashed var(--gold);
}

.post-content a:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
}

.post-content img {
    margin: 40px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.post-content blockquote {
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid var(--neon-purple);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.tip-box::before {
    content: '💡 DICA PRO';
    display: block;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Back Button */
.back-btn-container {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: var(--glow-purple);
}

/* ========================================
   ANIMAÇÕES EXTRAS
======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--neon-purple)); }
    50% { filter: drop-shadow(0 0 20px var(--neon-purple)); }
}

/* ========================================
   RESPONSIVIDADE EXTRA
======================================== */
@media (max-width: 480px) {
    .cta-banner {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    
    .cta-banner a::before,
    .cta-banner a::after {
        display: none;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .blog-title {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .btn-play-now {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    
    .btn-play-now::before {
        display: none;
    }
    
    .main-container {
        padding: 25px 15px 100px;
    }
    
    .card-img {
        height: 180px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .card-meta {
        justify-content: center;
        font-size: 0.7rem;
    }
    
    .btn-read {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.75rem;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .posts-grid {
        gap: 20px;
    }
    
    .card-img {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Hover apenas em dispositivos que suportam */
@media (hover: hover) {
    .post-card:hover {
        transform: translateY(-8px);
    }
}

/* Reduz animações para quem prefere */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
