:root {
    --primary-color: #e91e63;
    --secondary-color: #212121;
    --text-color: #ffffff;
    --accent-color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    padding: 20px 0;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.lock-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.lock-btn:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.media-container {
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.media-placeholder {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-placeholder img, .media-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    background-color: #000;
}

/* Modal Tela Cheia */
#fullscreenModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

#fullscreenContent img, #fullscreenContent video {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 5px;
}

.close-fs {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.video-container .media-placeholder {
    aspect-ratio: 16/9;
}

.action-section {
    margin: 40px 0;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 99;
}

.fire-btn {
    background: linear-gradient(to bottom, #ff4500, #e91e63);
    box-shadow: 0 0 20px #ff4500, 0 0 40px #e91e63;
    animation: fire-pulse 1.5s infinite alternate;
    
    /* Apenas o botão de fogo será flutuante no meio inferior */
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes fire-pulse {
    0% {
        box-shadow: 0 0 10px #ff4500, 0 0 20px #ff8c00, 0 0 30px #e91e63;
        transform: translateX(-50%) scale(1);
    }
    100% {
        box-shadow: 0 0 25px #ff4500, 0 0 50px #ff8c00, 0 0 70px #e91e63;
        transform: translateX(-50%) scale(1.05);
    }
}

.fire-btn:hover {
    background-color: #c2185b;
    transform: translateX(-50%) translateY(-5px) scale(1.1);
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #333;
}

.close, .close-sub, .close-member, .close-help {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

input, select {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #2c2c2c;
    color: white;
    width: 100%;
    box-sizing: border-box; /* Garante que padding não aumente o tamanho final */
}

/* Ajustes para telas menores */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }
    
    .cta-button {
        width: 100%;
        padding: 15px 20px;
    }
}

button[type="submit"], .pay-btn {
    padding: 12px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Planos */
.plans {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.plan-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background-color: #252525;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    background-color: #2c2c2c;
    transform: scale(1.02);
}

.plan-card.highlight-plan {
    border-color: #ff4500;
    background: linear-gradient(145deg, #252525, #1a0a00);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.2);
    animation: fire-border 2s infinite alternate;
}

@keyframes fire-border {
    0% { border-color: #ff4500; box-shadow: 0 0 10px rgba(255, 69, 0, 0.3); }
    100% { border-color: #ff8c00; box-shadow: 0 0 25px rgba(255, 140, 0, 0.5); }
}

.plan-card input:checked + .plan-info {
    color: var(--text-color);
}

.plan-card:has(input:checked) {
    border-color: var(--primary-color);
    background-color: #2c2c2c;
}

.plan-card.highlight-plan:has(input:checked) {
    border-color: #ff8c00;
    background: linear-gradient(145deg, #331500, #1a0a00);
}

.plan-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.plan-name { font-weight: bold; font-size: 1.1rem; margin-bottom: 4px; }
.plan-duration { font-size: 0.85rem; color: #aaa; margin-bottom: 4px; }
.plan-price { font-size: 1.2rem; color: var(--accent-color); font-weight: bold; align-self: flex-end; }

.highlight-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4500;
    color: white;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-bottom-left-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Checkout */
.checkout-container {
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

.qr-code-img {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    width: 250px;
    margin: 20px auto;
}

.pix-code {
    word-break: break-all;
    background: #333;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    margin: 15px 0;
}
