/* Global Resets and Base Styles (Inspired by Tele Sena, Adapted for Pix do Milhão) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0A0A0A; /* Pix do Milhão Black */
    color: #FFFFFF; /* Pix do Milhão White */
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px; /* Consistent with Tele Sena's general width */
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Pix do Milhão Color Palette */
:root {
    --pdm-black: #0A0A0A;
    --pdm-gold: #FFD700;
    --pdm-gold-darker: #DAA520;
    --pdm-white: #FFFFFF;
    --pdm-grey-light: #CCCCCC;
    --pdm-grey-dark: #1A1A1A; /* For card backgrounds or darker sections */
    --ts-font-primary: 'Montserrat', sans-serif; /* For impact titles, like Tele Sena */
    --ts-font-secondary: 'Roboto', sans-serif; /* For body text */
}

/* Buttons (Tele Sena Style Adapted to Pix do Milhão Colors) */
.btn.ts-style-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px; /* More rounded, like Tele Sena */
    font-family: var(--ts-font-primary);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn.btn-primary.ts-style-btn {
    background-color: var(--pdm-gold);
    color: var(--pdm-black);
}

.btn.btn-primary.ts-style-btn:hover {
    background-color: var(--pdm-gold-darker);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.btn.btn-secondary.ts-style-btn.ts-style-btn-outline {
    background-color: transparent;
    color: var(--pdm-gold);
    border: 2px solid var(--pdm-gold);
}

.btn.btn-secondary.ts-style-btn.ts-style-btn-outline:hover {
    background-color: var(--pdm-gold);
    color: var(--pdm-black);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.8rem;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

/* Cookie Notice */
.cookie-notice {
    background-color: var(--pdm-grey-dark);
    color: var(--pdm-grey-light);
    padding: 10px 0;
    font-size: 0.85rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 2000;
    display: none; /* Hidden by default, shown by JS */
}
.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-notice a {
    color: var(--pdm-gold);
    text-decoration: underline;
}

/* Header (Tele Sena Style Adapted) */
.site-header.ts-style {
    background-color: var(--pdm-black);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.header-container-ts {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header.ts-style .logo-container img {
    height: 45px; /* Adjusted */
}

.main-navigation.ts-style-nav ul {
    display: flex;
}

.main-navigation.ts-style-nav ul li {
    margin-left: 15px;
}

.main-navigation.ts-style-nav ul li a {
    color: var(--pdm-white);
    font-family: var(--ts-font-secondary);
    font-weight: 500;
    font-size: 0.8rem; /* Tele Sena uses smaller nav fonts */
    padding: 10px 5px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.main-navigation.ts-style-nav ul li a:hover,
.main-navigation.ts-style-nav ul li a.active {
    color: var(--pdm-gold);
    border-bottom-color: var(--pdm-gold);
}

.header-actions-ts .header-buy-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

.mobile-menu-button.ts-style-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--pdm-gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Slider Section (Tele Sena Style Adapted) */
.hero-slider-section.ts-style-hero {
    width: 100%;
    height: auto; /* Adjusted for content */
    position: relative;
    background-color: var(--pdm-black);
    padding: 20px 0; /* Padding like Tele Sena */
}

.hero-swiper-ts {
    width: 100%;
    border-radius: 15px; /* Rounded corners like Tele Sena banners */
    overflow: hidden;
}

.swiper-slide.ts-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 450px; /* Minimum height */
    padding: 30px;
}

.swiper-slide.ts-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%); /* Gradient overlay */
}

.ts-slide-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between; /* For text and image */
    width: 100%;
    max-width: 1100px;
}

.ts-slide-text {
    max-width: 55%;
}

.ts-slide-text h2 {
    font-family: var(--ts-font-primary);
    font-size: 2.8rem; /* Large, impactful */
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--pdm-gold);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.ts-slide-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--pdm-white);
    max-width: 450px;
}

.ts-slide-btn {
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
}

.ts-slide-image-char {
    max-width: 40%;
}
.ts-slide-image-char img {
    max-height: 400px;
    object-fit: contain;
}

.ts-swiper-nav {
    color: var(--pdm-gold) !important;
    background-color: rgba(0,0,0,0.5);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}
.ts-swiper-nav::after {
    font-size: 1.5rem !important;
}

.ts-swiper-pagination .swiper-pagination-bullet {
    background: var(--pdm-white) !important;
    opacity: 0.6 !important;
    width: 10px !important;
    height: 10px !important;
}

.ts-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--pdm-gold) !important;
    opacity: 1 !important;
}

/* Section Title Style (Tele Sena Inspired) */
.section-title-ts {
    font-family: var(--ts-font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--pdm-white);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.section-title-ts span {
    color: var(--pdm-gold);
}

/* Products Section (Tele Sena Card Style Adapted) */
.products-section-ts {
    padding: 3rem 0;
    background-color: var(--pdm-grey-dark);
}

.products-grid-ts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card-ts {
    background-color: var(--pdm-black);
    border-radius: 10px; /* Tele Sena uses rounded cards */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid #333; /* Subtle border */
}

.product-card-ts-image-wrapper {
    position: relative;
    background-color: #222; /* Placeholder bg for image */
}

.product-card-ts-image-wrapper img {
    width: 100%;
    height: 220px; /* Fixed height */
    object-fit: cover;
}

.product-card-ts-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--pdm-gold);
    color: var(--pdm-black);
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
}
.product-card-ts-tag.popular-tag-ts {
    background-color: #E74C3C; /* Example for a different tag color */
    color: var(--pdm-white);
}

.product-card-ts-content {
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-ts-content h3 {
    font-family: var(--ts-font-primary);
    font-size: 1.3rem;
    color: var(--pdm-gold);
    margin-bottom: 0.5rem;
}

.product-card-ts-description {
    font-size: 0.85rem;
    color: var(--pdm-grey-light);
    margin-bottom: 0.8rem;
    min-height: 50px; /* Ensure some space for description */
}

.product-card-ts-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pdm-gold);
    margin-bottom: 1rem;
}

.ts-product-btn {
    width: 100%;
}

/* How It Works Section (Tele Sena Style Adapted) */
.how-it-works-section-ts {
    padding: 3rem 0;
    background-color: var(--pdm-black);
}

.steps-container-ts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.step-card-ts {
    background-color: var(--pdm-grey-dark);
    padding: 1.8rem;
    border-radius: 10px;
    text-align: center;
    flex-basis: calc(33.333% - 1rem);
    min-width: 260px;
    border: 1px solid #222;
}

.step-card-ts-icon {
    font-size: 2.8rem;
    color: var(--pdm-gold);
    margin-bottom: 1rem;
    background-color: var(--pdm-black);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.step-card-ts h4 {
    font-family: var(--ts-font-primary);
    font-size: 1.4rem;
    color: var(--pdm-gold);
    margin-bottom: 0.5rem;
}

.step-card-ts p {
    color: var(--pdm-grey-light);
    font-size: 0.9rem;
}

/* Winners Section (Tele Sena Carousel Style Adapted) */
.winners-section-ts {
    padding: 3rem 0;
    background-color: var(--pdm-grey-dark);
}

.winners-carousel-ts {
    width: 100%;
    padding-bottom: 40px; /* Space for pagination */
}

.winner-slide-ts {
    background-color: var(--pdm-black);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
}

.winner-slide-ts img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    border: 3px solid var(--pdm-gold);
}

.winner-slide-ts h5 {
    font-family: var(--ts-font-secondary);
    font-size: 1.1rem;
    color: var(--pdm-white);
    font-weight: 700;
}

.winner-slide-ts p {
    font-size: 1rem;
    color: var(--pdm-gold);
    font-weight: 700;
}

.ts-winners-pagination .swiper-pagination-bullet {
    background: var(--pdm-gold) !important;
}

/* News & Social Section (Tele Sena Style Adapted) */
.news-social-section-ts {
    padding: 3rem 0;
    background-color: var(--pdm-black);
}

.news-social-grid-ts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.news-column-ts h4, .social-column-ts h4 {
    font-family: var(--ts-font-primary);
    font-size: 1.5rem;
    color: var(--pdm-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--pdm-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.news-item-ts {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #333;
}
.news-item-ts:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item-ts img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.news-item-ts h5 a {
    font-family: var(--ts-font-secondary);
    font-size: 1.1rem;
    color: var(--pdm-white);
    font-weight: 700;
    line-height: 1.3;
}
.news-item-ts h5 a:hover {
    color: var(--pdm-gold);
}
.news-item-ts p {
    font-size: 0.85rem;
    color: var(--pdm-grey-light);
    margin-top: 0.3rem;
}

.social-icons-ts a {
    font-size: 2.2rem;
    color: var(--pdm-grey-light);
    margin-right: 15px;
}
.social-icons-ts a:hover {
    color: var(--pdm-gold);
}

.newsletter-form-ts input[type="email"] {
    width: 100%;
    padding: 12px;
    background-color: var(--pdm-grey-dark);
    border: 1px solid #333;
    border-radius: 20px;
    color: var(--pdm-white);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.newsletter-form-ts input[type="email"]:focus {
    outline: none;
    border-color: var(--pdm-gold);
}
.newsletter-form-ts .btn {
    width: 100%;
}

/* Footer (Tele Sena Style Adapted) */
.site-footer-ts {
    background-color: var(--pdm-black);
    color: var(--pdm-grey-light);
    padding: 3rem 0 1rem 0;
    border-top: 4px solid var(--pdm-gold);
    font-size: 0.85rem;
}

.footer-main-ts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-ts {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-column-ts h5 {
    font-family: var(--ts-font-primary);
    font-size: 1.1rem;
    color: var(--pdm-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-column-ts ul li {
    margin-bottom: 0.6rem;
}

.footer-column-ts ul li a:hover {
    color: var(--pdm-gold);
    text-decoration: underline;
}

.footer-column-ts.footer-about-ts p {
    line-height: 1.7;
}

.footer-bottom-ts {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.footer-social-bottom-ts a {
    color: var(--pdm-grey-light);
    font-size: 1.3rem;
    margin: 0 8px;
}
.footer-social-bottom-ts a:hover {
    color: var(--pdm-gold);
}
.footer-bottom-ts p {
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-navigation.ts-style-nav {
        display: none;
        position: absolute;
        top: 100%; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--pdm-black);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    .main-navigation.ts-style-nav.active {
        display: block;
    }
    .main-navigation.ts-style-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-navigation.ts-style-nav ul li {
        margin: 10px 0;
    }
    .mobile-menu-button.ts-style-mobile-btn {
        display: block;
    }
    .header-actions-ts .header-buy-btn {
        display: none; /* Hide main buy button, can be in mobile menu */
    }
    .ts-slide-text h2 {
        font-size: 2.2rem;
    }
    .ts-slide-text p {
        font-size: 1rem;
    }
    .ts-slide-image-char {
        display: none; /* Hide character image on smaller screens for space */
    }
    .ts-slide-text {
        max-width: 100%;
        text-align: center;
    }
    .section-title-ts {
        font-size: 2rem;
    }
    .news-social-grid-ts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .ts-slide-text h2 {
        font-size: 1.8rem;
    }
    .ts-slide-text p {
        font-size: 0.9rem;
    }
    .ts-slide-btn {
        padding: 12px 25px !important;
        font-size: 0.9rem !important;
    }
    .products-grid-ts, .steps-container-ts {
        grid-template-columns: 1fr;
    }
    .step-card-ts {
        flex-basis: 100%;
    }
    .footer-main-ts {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column-ts.footer-about-ts img {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social-bottom-ts {
        margin-bottom: 1rem;
    }
}

/* Checkout Page Styles (from previous style.css, ensure consistency if needed) */
/* Minimal adjustments for checkout to use new variables if necessary */
.checkout-page .site-header.checkout-header-simple {
    background-color: var(--pdm-black);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.checkout-page .site-header.checkout-header-simple h1 {
    color: var(--pdm-gold);
    font-family: var(--ts-font-primary);
}
.checkout-page .checkout-main-content {
    background-color: var(--pdm-black);
}
.checkout-page .checkout-summary-section {
    background-color: var(--pdm-grey-dark);
    border: 1px solid var(--pdm-gold-darker);
}
.checkout-page .form-group input[type="text"],
.checkout-page .form-group input[type="email"],
.checkout-page .form-group input[type="tel"] {
    background-color: #222; /* Slightly lighter than main black */
    border: 1px solid #444;
    color: var(--pdm-white);
}
.checkout-page .form-group input:focus {
    border-color: var(--pdm-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}
.checkout-page .payment-option {
    background-color: #333;
    color: var(--pdm-grey-light);
    border: 1px solid #555;
}
.checkout-page .payment-option.active {
    background-color: var(--pdm-gold);
    color: var(--pdm-black);
    border-color: var(--pdm-gold);
}
.checkout-page .site-footer.checkout-footer-simple {
    background-color: var(--pdm-black);
    border-top: 1px solid var(--pdm-gold-darker);
}

