/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f0f5;
    color: #333;
    line-height: 1.6;
}

/* Layout principal com sidebar esquerda */
.main-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 10px;
}

.left-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Containers de anúncios laterais */
.ad-sidebar {
    margin-bottom: 30px;
}

.ad-square {
    width: 300px;
    height: 250px;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-horizontal {
    width: 300px;
    height: 100px;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cabeçalho */
header {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slogan {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navegação */
nav {
    background-color: #fff;
    padding: 15px 0;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #6a11cb;
    color: white;
}

/* Menu Hamburger para Mobile */
.menu-toggle {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.menu-toggle span {
    font-weight: 500;
    color: #333;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #6a11cb;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Destaque do Tarô Virtual */
.tarot-feature {
    background: linear-gradient(to right, #8E2DE2, #4A00E0);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tarot-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.tarot-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.tarot-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: #FF9E44;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #FF7B00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.tarot-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.tarot-image img:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Estilos para o Banner Promocional */
.promo-banner {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
}

.promo-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 10px;
}

.promo-image img {
    max-width: 100%;
    border-radius: 10px;
    max-height: 150px;
    object-fit: cover;
}

.promo-text {
    flex: 2;
    min-width: 250px;
    padding: 10px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-text h3 {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.promo-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.promo-timer {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 10px;
}

.expira-text {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.countdown {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 15px;
}

.promo-expired {
    color: #ff4444;
    font-weight: bold;
}

.promo-btn {
    margin-top: 15px;
}

/* DESTAQUES DO MÊS */
.highlights {
    margin: 40px 0;
}

.highlights-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    font-size: 2rem;
}

.highlights-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    margin: 10px auto;
    border-radius: 2px;
}

.highlight-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.highlight-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.highlight-subtitle {
    padding: 15px 20px;
    text-align: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    font-weight: 500;
    margin: 0;
}

.highlight-banner {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.highlight-banner:hover {
    opacity: 0.9;
}

.banner-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.new-highlights {
    margin-top: 40px;
}

.new-highlight-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.new-highlight-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex: 1;
    min-width: 280px;
}

.new-highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.new-highlight-subtitle {
    padding: 15px 20px;
    text-align: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    font-weight: 500;
    margin: 0;
    font-size: 0.95rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-highlight-banner {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.new-highlight-banner:hover {
    opacity: 0.9;
}

.new-banner-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Seções */
.section-title {
    text-align: center;
    margin: 40px 0 20px;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
}

.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    width: 250px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #6a11cb;
}

.category-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* POPUP DE POLÍTICA DE PRIVACIDADE E TERMOS DE USO */
.privacy-popup, .terms-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.privacy-content, .terms-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-privacy, .close-terms {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.privacy-text h2, .terms-text h2 {
    color: #6a11cb;
    margin-bottom: 20px;
}

.privacy-text h3, .terms-text h3 {
    color: #6a11cb;
    margin: 20px 0 10px;
}

.privacy-text p, .privacy-text ul, .terms-text p, .terms-text ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-text ul, .terms-text ul {
    padding-left: 20px;
}

.privacy-text li, .terms-text li {
    margin-bottom: 8px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .left-sidebar {
        width: 250px;
    }
    
    .ad-square, .ad-horizontal {
        width: 250px;
    }
    
    .ad-square {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .left-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }
    
    .ad-sidebar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .ad-square, .ad-horizontal {
        width: 300px;
    }
    
    .ad-square {
        height: 250px;
    }

    .tarot-feature {
        flex-direction: column;
        text-align: center;
    }

    .tarot-content, .tarot-image {
        width: 100%;
    }

    .highlight-container, .new-highlight-container {
        flex-direction: column;
        align-items: center;
    }

    .highlight-item, .new-highlight-item {
        max-width: 100%;
    }

    /* Menu para mobile */
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 100;
        padding: 10px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
    }

    /* Banner Promocional Responsivo */
    .promo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-text {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        margin: 15px 0;
        padding: 15px 0;
    }
    
    .countdown {
        font-size: 1.5rem;
    }

    /* Animação do hamburger para X */
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .ad-square, .ad-horizontal {
        width: 100%;
        max-width: 300px;
    }
    
    .ad-square {
        height: 200px;
    }
}