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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0F1729;
    color: #ffffff;
    line-height: 1.6;
}

body:has(.promo-banner) {
    padding-top: 50px;
}

body:has(.fixed-header-banner) {
    padding-top: 50px;
}

/* Cabeçalho Fixo */
.fixed-header-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fixed-header-banner p {
    margin: 0;
    animation: pulse 2s infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
    background: #0F1729;
}

.background-header {
    padding: 60px 10px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.text-popup-container {
    border: 1px solid #667eea;
    border-radius: 10px;
    padding: 10px;
    margin: 20px;
}

.text-popup {
    padding: 0px 5px;
}

.section-divider {
    position: relative;
    height: 2px;
    max-width: 1200px;
    padding: 0 10px;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 153, 0, 0.3) 20%, 
        rgba(102, 126, 234, 0.5) 50%, 
        rgba(255, 153, 0, 0.3) 80%, 
        transparent 100%);
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #FF9900, #667eea);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.6), 
                0 0 40px rgba(102, 126, 234, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 153, 0, 0.6), 
                    0 0 40px rgba(102, 126, 234, 0.4);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 153, 0, 0.8), 
                    0 0 60px rgba(102, 126, 234, 0.6);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero .cta-primary {
    min-width: 300px;
    width: auto;
    max-width: 90%;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #e0e0e0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.description {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.urgency {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.cta-primary.large {
    padding: 20px 50px;
    font-size: 18px;
}

.examples {
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.examples h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 20px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.explore-grid-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 40px;
    color: #ffffff;
}

.example-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.example-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.example-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #667eea;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.cta-secondary:hover {
    background: #667eea;
    transform: translateY(-2px);
}


.cta-section {
    text-align: center;
    padding: 0px 10px;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.live-count {
    margin-top: 20px;
    font-size: 14px;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Grid de Exploração */
.home-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 100%;
    width: 100%;
}

.home-explore-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rounded-xl {
    border-radius: 12px;
}

.overflow-hidden {
    overflow: hidden;
}

.home-explore-col button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
}

.home-explore-col .relative {
    position: relative;
}

.aspect-square {
    aspect-ratio: 1 / 1;
    width: 100%;
}

/* Alturas variadas para os vídeos */
.aspect-tall {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.aspect-medium {
    aspect-ratio: 4 / 5;
    width: 100%;
}

.aspect-short {
    aspect-ratio: 5 / 4;
    width: 100%;
}

.aspect-wide {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.group:hover .group-hover-ring-2 {
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.6);
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.transition-opacity {
    transition-property: opacity;
}

.duration-700 {
    transition-duration: 700ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.z-10 {
    z-index: 10;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.text-white {
    color: #ffffff;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: 14px;
}

.leading-tight {
    line-height: 1.25;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-center {
    justify-content: center;
}

.opacity-0 {
    opacity: 0;
}

.group:hover .group-hover-opacity-100 {
    opacity: 1;
}

.backdrop-blur-2px {
    backdrop-filter: blur(2px);
}

.bg-black-60 {
    background-color: rgba(0, 0, 0, 0.6);
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.text-\[10px\] {
    font-size: 10px;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Ícone de Infinito */
.infinity-icon {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.infinity-icon .material-symbols-outlined {
    font-size: 72px;
    color: #FF9900;
    animation: pulse 2s infinite;
}

/* Grid de Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background-color: rgba(17, 17, 17, 0.9);
    transition: background-color 0.3s;
}

.stats-item:hover {
    background-color: rgba(25, 25, 25, 0.9);
}

.stats-number {
    font-size: 24px;
    font-weight: 900;
    color: #ee5a6f;
    margin: 0;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(170, 170, 170, 0.8);
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .home-explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .fixed-header-banner {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    body:has(.fixed-header-banner) {
        padding-top: 45px;
    }
}

.testimonials {
    margin-bottom: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.testimonials h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.quote {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.author {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.how-it-works {
    margin-bottom: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
}

.step p {
    font-size: 14px;
    color: #e0e0e0;
}

.final-cta {
    text-align: center;
    padding: 60px 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.final-cta .cta-primary {
    min-width: 350px;
    width: auto;
    max-width: 90%;
}

.final-cta h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

footer {
    text-align: center;
    padding: 40px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 15px;
}

.terms {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.copyright {
    font-size: 11px;
    color: #888888;
}

/* Página de Teste */
.create-video-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 10px;
    text-align: center;
}

.create-video-section h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.create-subtitle {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.upload-section {
    margin-bottom: 40px;
}

.upload-section h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(102, 126, 234, 0.05);
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #764ba2;
    background: rgba(102, 126, 234, 0.1);
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.upload-text-main {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.upload-text-sub {
    font-size: 12px;
    font-weight: 400;
    color: #b0b0b0;
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    object-fit: contain;
}

.options-section {
    margin-bottom: 40px;
}

.options-section h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid #667eea;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.option-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.option-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.selected-option {
    font-size: 16px;
    color: #ffd700;
    font-weight: 600;
    margin-top: 15px;
}

.generate-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 60px;
}

.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.generate-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.examples-section {
    margin-top: 60px;
    text-align: center;
}

.examples-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.examples-subtitle {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.examples-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.example-item {
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease-out;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    contain: layout style paint;
}

.example-item:hover {
    transform: translateZ(0) translateY(-5px);
}

.example-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Estilos para cards de comparação */
.card-neon {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    will-change: contents;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    contain: layout style paint;
}

/* Fallback para navegadores que não suportam aspect-ratio */
@supports not (aspect-ratio: 3/4) {
    .card-neon {
        padding-bottom: 133.33%; /* 4/3 * 100 */
    }
    
    .card-neon > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.card-neon .relative {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-neon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-neon .absolute {
    position: absolute;
}

.card-neon .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.card-neon .w-full {
    width: 100%;
}

.card-neon .h-full {
    height: 100%;
}

.card-neon .z-10 {
    z-index: 10;
}

.card-neon .z-5 {
    z-index: 5;
}

.card-neon .pointer-events-none {
    pointer-events: none;
}

.card-neon .top-0 {
    top: 0;
}

.card-neon .bottom-0 {
    bottom: 0;
}

.card-neon .w-1 {
    width: 4px;
}

.card-neon .w-8 {
    width: 32px;
}

/* Estilos para modal de créditos */
.credits-modal {
    max-width: 500px;
    padding: 0;
}

.modal-content.credits-modal {
    padding: 0;
}

.modal-content.credits-modal .credits-section {
    padding: 0;
    margin: 0;
}

.credits-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
}

.credits-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.credits-locked-preview {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    border-radius: 17px 17px 0 0;
    align-items: center;
    justify-content: center;
}

.credits-locked-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: blur(24px);
    -webkit-filter: blur(24px);
}

.credits-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.blur-xl {
    filter: blur(24px);
    -webkit-filter: blur(24px);
}

.credits-icon-wrapper {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.credits-icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
}

.credits-locked-text {
    position: absolute;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    z-index: 10;
    margin-top: 80px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


.credits-section h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.credits-text {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.credits-text-bold {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.credits-description {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.option-btn {
    line-height: 1.4;
    white-space: normal;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 15px;
    }

    .examples-grid,
    .testimonials-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .cta-primary {
        padding: 15px 30px;
        font-size: 16px;
    }

    .cta-primary.large {
        padding: 18px 40px;
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero .cta-primary,
    .final-cta .cta-primary {
        min-width: 250px;
        width: 90%;
    }

    .create-video-section h1 {
        font-size: 24px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .upload-area {
        min-height: 250px;
        padding: 40px 15px;
    }

    .examples-grid-3 {
        grid-template-columns: 1fr;
    }

    .examples-section h2 {
        font-size: 22px;
    }
    
    /* Otimizações para dispositivos móveis */
    .card-neon {
        will-change: auto;
    }
    
    .example-item {
        will-change: auto;
    }
    
    /* Reduzir repaints em mobile */
    .card-neon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #0F1729;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    border: 2px solid #667eea;
    max-height: 90vh;
    overflow-y: auto;
}

.loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-section video {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    background: #000;
}

.video-section h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-text {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 3px;
}

.modal-text-bold {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.modal-buttons .cta-primary,
.modal-buttons .cta-secondary {
    width: 100%;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px 15px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .loading-section {
        padding: 40px 15px;
    }
    
    .video-section {
        padding: 0;
    }
    
    .video-section video {
        max-width: 100%;
        max-height: 40vh;
    }
    
    .credits-section {
        padding: 10px 0;
    }
    
    .credits-section h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .credits-text,
    .credits-text-bold,
    .credits-description {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .credits-locked {
        margin-bottom: 15px;
    }

    .modal-text,
    .modal-text-bold {
        font-size: 14px;
    }

    .video-section h3 {
        font-size: 18px;
    }
    
    .modal-buttons {
        gap: 10px;
    }
    
    .modal-buttons .cta-primary,
    .modal-buttons .cta-secondary {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Banner Promocional Fixo */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-banner p {
    margin: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}


/* Página de Checkout */
.checkout-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 10px;
    text-align: center;
}

.checkout-section h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.checkout-subtitle {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.current-balance {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.balance-label {
    font-size: 21px;
    font-weight: 600;
    color: #b0b0b0;
    display: block;
    margin-bottom: 10px;
}

.balance-amount {
    font-size: 54px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
}

.packages-grid-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.package-card-horizontal {
    background:rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 0;
    position: relative;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

.package-card-horizontal:hover {
    border-color: rgba(255, 255, 255, 0.3);
}


.package-card-horizontal.featured {
    border-color: rgba(254, 187, 56, 0.5);
}

.package-card-horizontal.featured:hover {
    border-color: rgba(254, 187, 56, 0.8);
}

.package-badge-top {
    position: absolute;
    left: 0;
    top: -1px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px 8px 20px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
    background: rgb(14 14 14);
    color: #ee5a6f;
    border-radius: 0 0 100px 0;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.package-badge-top svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.package-content-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 16px 16px 16px;
    gap: 16px;
}

.package-price-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    align-items: flex-start;
}

.package-price-old {
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    text-decoration: line-through;
    line-height: 1;
}

.package-price-current {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.package-coins-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    min-width: fit-content;
}

.coins-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.coins-amount-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.coins-amount-large {
    font-size: 24px;
    font-weight: 600;
    color: #ee5a6f;
    line-height: 1;
}

.package-details-small {
    font-size: 12px;
    color: #858585;
    line-height: 1;
    text-align: right;
}

.package-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.package-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-badge.best {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0F1729;
    font-weight: 700;
}

.package-badge-videos {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    margin-bottom: 8px;
}

.package-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.package-per-video {
    font-size: 12px;
    font-weight: 500;
    color: #b0b0b0;
}

.package-details {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 4px;
    font-weight: 500;
}

.package-old-price {
    font-size: 12px;
    color: #888888;
    text-decoration: line-through;
    margin-bottom: 3px;
}

.package-total-bonus {
    font-size: 12px;
    color: #4ade80;
    font-weight: 600;
    margin-top: 2px;
}

.package-coins-horizontal {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.coins-amount-horizontal {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.coins-label-horizontal {
    font-size: 11px;
    color: #b0b0b0;
    font-weight: 500;
}

.package-price-horizontal {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency-horizontal {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.price-amount-horizontal {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.package-bonus-horizontal {
    font-size: 11px;
    color: #ffd700;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.3;
}

.package-savings-horizontal {
    font-size: 12px;
    color: #4ade80;
    font-weight: 600;
    margin-top: 6px;
    background: rgba(74, 222, 128, 0.15);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.package-btn-horizontal {
    padding: 12px 25px;
    font-size: 14px;
    white-space: nowrap;
    min-width: 120px;
    display: none;
}

.payment-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-info h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 30px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-method-pix {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.pix-logo {
    height: 40px;
    width: auto;
}

.payment-method-pix span {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

/* Formulário de Checkout */
.checkout-section {
    position: relative;
}

.checkout-form-step {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: left;
    position: relative;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #ffffff;
    padding: 0;
    z-index: 10;
}

.back-button[style*="display: flex"] {
    display: flex !important;
}

.back-button:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    transform: translateX(-3px);
}

.back-button svg {
    width: 24px;
    height: 24px;
}

.checkout-form-step h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.order-summary {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-value-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 500;
}

.summary-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
}

.summary-details {
    margin-top: -8px;
    margin-bottom: 8px;
}

.summary-value-small {
    font-size: 9px;
    color: #b0b0b0;
    font-weight: 500;
}

.summary-total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
}

.summary-total .summary-label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.summary-total .summary-value {
    font-size: 20px;
    font-weight: 800;
    color: #ffd700;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.floating-label {
    position: relative;
    gap: 0;
}

.form-group.floating-label label {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #b0b0b0;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group.floating-label input {
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    padding-top: 20px;
    padding-bottom: 10px;
}

.form-group.floating-label input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label input.has-value + label {
    top: 6px;
    font-size: 11px;
    color: #667eea;
    font-weight: 600;
}

.form-group.floating-label input::placeholder {
    color: transparent;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input {
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #888888;
}

/* Orderbump */
.orderbump-container {
    margin: 25px 0;
    padding: 0;
}

.orderbump-content {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
}

.orderbump-container:hover .orderbump-content {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}


.orderbump-container:has(.orderbump-checkbox:checked) .orderbump-content {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.3);
}

.orderbump-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-top: 15px;
    gap: 10px;
}

.orderbump-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
}

.orderbump-checkbox-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.orderbump-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.orderbump-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.orderbump-description {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
}

.orderbump-price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.orderbump-price-old {
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    text-decoration: line-through;
}

.orderbump-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
}

.security-note {
    font-size: 14px;
    color: #b0b0b0;
    font-style: italic;
}

@media (max-width: 768px) {
    .promo-banner {
        font-size: 12px;
        padding: 10px 15px;
    }

    body:has(.promo-banner) {
        padding-top: 45px;
    }

    .checkout-section h1 {
        font-size: 24px;
        margin-top: 30px;
    }

    .packages-grid-horizontal {
        gap: 15px;
    }

    .package-card-horizontal {
        padding: 0;
    }

    .package-content-horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 48px 12px 12px 12px;
    }
    
    .package-price-section {
        flex: 0 0 auto;
    }
    
    .package-coins-section {
        flex: 0 0 auto;
        align-items: flex-end;
        text-align: right;
    }
    
    .package-badge-top {
        font-size: 14px;
        padding: 6px 16px 6px 16px;
    }
    
    .package-price-current {
        font-size: 22px;
    }
    
    .coins-amount-large {
        font-size: 20px;
    }
    
    .package-details-small {
        font-size: 11px;
        text-align: left;
    }
    
    
    .package-card-horizontal {
        width: 100%;
        max-width: 100%;
    }

    .package-right {
        width: 100%;
        align-items: flex-start;
    }

    .package-btn-horizontal {
        width: 100%;
        display: none;
    }
    
    .package-badge-videos {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 6px;
    }
    
    .package-name {
        font-size: 16px;
    }
    
    .package-per-video {
        font-size: 11px;
    }

    .coins-amount-horizontal {
        font-size: 28px;
    }

    .price-amount-horizontal {
        font-size: 24px;
    }

    .balance-label {
        font-size: 20px;
    }

    .balance-amount {
        font-size: 48px;
    }


    .checkout-form-step h2 {
        font-size: 21px;
    }

    .payment-method-pix {
        flex-direction: column;
        padding: 15px 30px;
    }

    .pix-logo {
        height: 35px;
    }

    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }
}
