/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: white;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #2a2a2a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #333;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logos {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-main-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.slogan {
    font-size: 12px;
    color: #000;
    font-weight: bold;
    background-color: #ffd700;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
    margin-top: 5px;
}

.header-right {
    display: flex;
    align-items: center;
}

.edition-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #ffd700;
    color: #000;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
}

/* Main Banner */
.main-banner {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-left {
    flex: 1;
}

.banner-left h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.prize-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
}

.currency {
    font-size: 32px;
    color: #ffd700;
    font-weight: bold;
    margin-right: 5px;
}

.amount {
    font-size: 48px;
    color: #ffd700;
    font-weight: bold;
}

.date-badge {
    background-color: #ffd700;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.winners-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.winner-card {
    background-color: #ffd700;
    color: #000;
    padding: 10px 15px;
    border-radius: 10px;
    flex: 1;
}

.winner-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.winner-prize {
    font-size: 12px;
}

.instant-prizes {
    font-size: 16px;
    color: #ccc;
}

.banner-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.legal-text {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

/* Draw Information */
.draw-info {
    background-color: #2a2a2a;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}

.draw-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.draw-item i {
    color: #4CAF50;
    font-size: 18px;
}

.price-info {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
}

.price {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* Countdown Timer */
.countdown-section {
    background-color: #2a2a2a;
    padding: 30px 20px;
    text-align: center;
    margin: 20px;
    border-radius: 10px;
}

.countdown-text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.time-unit {
    text-align: center;
}

.time-number {
    background-color: #ffd700;
    color: #000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: neonPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        background-color: #ffd700;
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
        background-color: #fff200;
    }
}

.time-label {
    font-size: 14px;
    color: #ccc;
}

.time-separator {
    font-size: 32px;
    color: #ffd700;
    font-weight: bold;
    margin-top: -20px;
}

.countdown-subtitle {
    font-size: 18px;
    color: #ccc;
}

/* Chances Info */
.chances-info {
    background-color: #2a2a2a;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

/* Promotion Section */
.promotion-section {
    background-color: #2a2a2a;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}

.promotion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.promotion-header i {
    color: #ff6b35;
    font-size: 20px;
}

.promotion-card {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #ffd700;
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.promotion-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promotion-left {
    font-size: 18px;
    font-weight: bold;
}

.promotion-right {
    text-align: right;
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.promo-price {
    display: block;
    color: #4CAF50;
    font-size: 20px;
    font-weight: bold;
}

/* Ebook Selection */
.ebook-selection {
    background-color: #2a2a2a;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 10px;
}

.ebook-selection h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

/* Selection Cards Grid */
.selection-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.selection-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #ffd700;
}

.selection-card.selected {
    border-color: #4CAF50;
    background-color: #333;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.card-quantity {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.card-price {
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
}

.card-select-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
}

.card-select-btn:hover {
    background-color: white;
    color: #1e3a8a;
}

.selection-card.selected .card-select-btn {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

/* Popular Star */
.popular-star {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #4CAF50;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Purchase Section */
.purchase-section {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.qty-btn {
    background-color: #333;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
}

.qty-btn:hover {
    background-color: #ffd700;
    color: #000;
    transform: scale(1.1);
}

.qty-btn:active {
    animation: buttonClick 0.2s ease;
}

.qty-btn:focus {
    outline: none;
}

@keyframes buttonClick {
    0% {
        background-color: #333;
        color: white;
    }
    50% {
        background-color: #ffd700;
        color: #000;
        transform: scale(0.95);
    }
    100% {
        background-color: #333;
        color: white;
    }
}

#quantityInput {
    background-color: #333;
    color: white;
    border: 2px solid #ffd700;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    width: 100px;
    font-weight: bold;
}

.buy-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.buy-button:hover:not(:disabled) {
    background-color: #45a049;
    transform: translateY(-2px);
}

.buy-button:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.buy-button:disabled:hover {
    transform: none;
}

/* Wheel Section */
.wheel-section {
    background-color: #2a2a2a;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 10px;
}

.wheel-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.wheel-section h2 i {
    color: #ffd700;
    margin-right: 10px;
}

.wheel-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wheel-card {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wheel-left {
    flex: 1;
}

.wheel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wheel-subtitle {
    font-size: 14px;
    color: #ccc;
}

.wheel-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wheel-spins {
    color: #ffd700;
    font-weight: bold;
}

.wheel-right i {
    color: #ffd700;
    font-size: 20px;
}

/* Quotas Section */
.quotas-section {
    background-color: #2a2a2a;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 10px;
}

.quotas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.quotas-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quotas-header h2 i {
    color: #4CAF50;
}

.quotas-availability {
    font-size: 14px;
    color: #ccc;
}

.winners-btn {
    background-color: transparent;
    color: white;
    border: 1px solid #ffd700;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.winners-btn:hover {
    background-color: #ffd700;
    color: #000;
}

.collapse-icon {
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tab {
    background-color: #333;
    color: white;
    border: 1px solid #ffd700;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    background-color: #ffd700;
    color: #000;
}

.quotas-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.quota-item {
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quota-left {
    flex: 1;
}

.quota-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.quota-id {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quota-date {
    font-size: 12px;
    color: #999;
}

.quota-right {
    text-align: right;
}



.status-btn {
    background-color: #666;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

.buyer-name {
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
}

.more-quotas-btn {
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.more-quotas-btn:hover {
    color: #ffd700;
}



/* Info Links */
.info-links {
    background-color: #2a2a2a;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 10px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.aplicalogo {
    height: 40px;
    width: auto;
}

.pix-logo {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 18px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #45a049;
}

.vip-group,
.instagram-channel {
    text-align: center;
    font-size: 16px;
}

.vip-desc {
    font-size: 14px;
    color: #ccc;
    margin-top: 5px;
}

.prize-info,
.lightning-draws {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
}

.ticket-info,
.purchase-notice {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin: 15px 0;
}

.ebook-description {
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
}

.draw-details {
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
}

.social-links {
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
}

.social-links a {
    color: #4CAF50;
    text-decoration: none;
}

.social-links a:hover {
    color: #45a049;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 30px 20px;
    margin-top: 40px;
}

.legal-disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 30px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 16px;
}

.footer-link:hover {
    color: #45a049;
}

.version {
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logos {
        flex-direction: column;
        align-items: center;
    }
    
    .header-main-logo {
        height: 35px;
        max-width: 180px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-left {
        text-align: center;
    }
    
    .banner-left h1 {
        font-size: 20px;
        text-align: center;
    }
    
    .prize-amount {
        justify-content: center;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .winners-info {
        flex-direction: column;
    }
    
    .selection-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wheel-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .quotas-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quota-item {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-info {
        justify-content: center;
    }
    
    .countdown-timer {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .time-unit {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .time-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .time-label {
        font-size: 12px;
    }
    
    .time-separator {
        display: block;
        font-size: 24px;
        margin-top: 0;
    }
    
    /* Otimizações para botões + e - em tablet */
    .qty-btn {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .qty-btn:active {
        animation: buttonClickTablet 0.18s ease;
    }
    
    .qty-btn:focus {
        outline: none;
    }
    
    @keyframes buttonClickTablet {
        0% {
            background-color: #333;
            color: white;
        }
        50% {
            background-color: #ffd700;
            color: #000;
            transform: scale(0.92);
        }
        100% {
            background-color: #333;
            color: white;
        }
    }
}

@media (max-width: 480px) {
    .selection-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .purchase-section {
        padding: 15px;
    }
    
    .buy-button {
        font-size: 16px;
        padding: 15px 30px;
    }
    
    /* Otimizações para botões + e - em mobile */
    .qty-btn {
        width: 60px;
        height: 60px;
        font-size: 28px;
        border-width: 3px;
    }
    
    .qty-btn:active {
        animation: buttonClickMobile 0.15s ease;
    }
    
    .qty-btn:focus {
        outline: none;
    }
    
    @keyframes buttonClickMobile {
        0% {
            background-color: #333;
            color: white;
        }
        50% {
            background-color: #ffd700;
            color: #000;
            transform: scale(0.9);
        }
        100% {
            background-color: #333;
            color: white;
        }
    }
    
    /* Força reset do estado em dispositivos touch */
    .qty-btn {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .qty-btn:focus {
        outline: none;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .logos {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-main-logo {
        height: 30px;
        max-width: 160px;
    }
    
    .banner-left h1 {
        font-size: 18px;
        text-align: center;
    }
    
    .prize-amount {
        justify-content: center;
    }
    
    .amount {
        font-size: 32px;
    }
    
    .currency {
        font-size: 28px;
    }
    
    .countdown-timer {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .time-unit {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }
    
    .time-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .time-label {
        font-size: 10px;
    }
    
    .time-separator {
        display: block;
        font-size: 20px;
        margin-top: 0;
    }
    
    .price-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .selection-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .purchase-section {
        padding: 15px;
    }
    
    .buy-button {
        font-size: 16px;
        padding: 15px 30px;
    }
} 