/* Tigrinho Platform - Estilos Customizados */

/* Fontes e configurações base */
body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #3d2318 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

.orbitron {
    font-family: 'Orbitron', monospace;
}

/* Background do Tigrinho */
.tigrinho-bg {
    background-image: 
        url('../assets/tigrinho_background.png.webp'),
        linear-gradient(135deg, rgba(26, 15, 10, 0.9) 0%, rgba(45, 24, 16, 0.9) 50%, rgba(61, 35, 24, 0.9) 100%);
    background-size: cover, auto;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, scroll;
    position: relative;
}

.tigrinho-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 165, 0, 0.05) 50%, transparent 70%);
    animation: scan 3s linear infinite;
    pointer-events: none;
}

/* Efeitos de brilho */
.glow {
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.7);
}

.glow-orange {
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-orange:hover {
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.7);
}

.glow-red {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-red:hover {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
}

.glow-green {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-green:hover {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}

/* Animações */
@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animações de pulso */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 20px rgba(255, 165, 0, 0.5); }
    to { box-shadow: 0 0 40px rgba(255, 165, 0, 0.8); }
}

/* Animações de entrada */
.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Logo flutuante */
.floating-logo {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Header melhorado */
.main-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(45, 24, 16, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #ff8c00, #ffa500, #ff8c00) 1;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoSpin 10s linear infinite;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.main-title {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.user-email {
    color: #ffa500;
    font-weight: 600;
}

.user-status {
    font-size: 0.75rem;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-btn {
    background: linear-gradient(45deg, #ff4757, #ff6b7a);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 50%, rgba(255, 140, 0, 0.1) 100%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}

/* Cards de plataforma melhorados */
.platform-card {
    background: linear-gradient(145deg, #2d1810, #3d2318);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: -1;
}

.platform-card:hover::before {
    opacity: 0.1;
}

.platform-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ffa500;
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.4);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.platform-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffa500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.platform-icon {
    font-size: 1.5rem;
    color: #ff8c00;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.platform-description {
    color: #d4b896;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.platform-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffa500;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #ffff00;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hack-btn {
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.hack-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

/* Seção personalizada melhorada */
.custom-platform-section {
    background: linear-gradient(145deg, rgba(45, 24, 16, 0.8), rgba(61, 35, 24, 0.8));
    backdrop-filter: blur(10px);
    border: 2px solid #ffa500;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.custom-platform-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.custom-platform-form {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-direction: column;
}

.custom-url-input {
    flex: 1;
    padding: 1rem;
    background: rgba(45, 24, 16, 0.8);
    border: 2px solid #ffa500;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-url-input:focus {
    outline: none;
    border-color: #ffff00;
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
}

.custom-hack-btn {
    background: linear-gradient(45deg, #8e44ad, #e91e63);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.custom-hack-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.6);
}

/* Loading dots melhorados */
.loading-dots {
    animation: loadingDots 1.5s infinite;
}

.loading-dots:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDots {
    0%, 20% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    80%, 100% { opacity: 0; transform: scale(0.8); }
}

/* Texto hack melhorado */
.hack-text {
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hackTextGlow 3s ease-in-out infinite;
}

@keyframes hackTextGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 165, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.8)); }
}

/* Navegação Mobile */
#mobileNav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(45, 24, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid #ffa500;
    box-shadow: 0 -4px 20px rgba(255, 165, 0, 0.3);
}

.nav-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-btn:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: rgba(255, 165, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .platform-card {
        padding: 1.25rem;
    }
    
    .platform-title {
        font-size: 1.1rem;
    }
    
    .platform-icon {
        font-size: 1.25rem;
    }
    
    .custom-platform-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-section {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .custom-platform-section {
        padding: 1.5rem;
    }
    
    .custom-platform-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem;
    }
    
    .main-title {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .platform-card {
        padding: 1rem;
    }
    
    .hero-section {
        min-height: 40vh;
        padding: 1.5rem 0;
    }
    
    .custom-platform-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

/* Animação de partículas flutuantes */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.5; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1; 
    }
}

/* Efeito de glitch ocasional */
.glitch-effect {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Modal de Pagamento Promocional */
#paymentModal {
    z-index: 9999 !important;
    backdrop-filter: blur(10px);
}

.promotional-modal {
    position: relative;
    background: linear-gradient(145deg, #1a0f0a, #2d1810);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.promotional-banner {
    background: linear-gradient(45deg, #ff4757, #ff6b7a, #ff4757);
    background-size: 200% 100%;
    animation: promotionalShine 2s ease-in-out infinite;
}

@keyframes promotionalShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.price-comparison {
    position: relative;
}

.old-price {
    position: relative;
}

.old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff4757;
    transform: rotate(-5deg);
}

.new-price {
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
    from { text-shadow: 0 0 20px rgba(0, 255, 0, 0.6); }
    to { text-shadow: 0 0 30px rgba(0, 255, 0, 0.9); }
}

.savings-badge {
    background: linear-gradient(45deg, #ffd93d, #ffb347);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    text-shadow: none;
    animation: savingsPulse 1.5s ease-in-out infinite;
}

@keyframes savingsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.benefits-list {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 50, 0, 0.2));
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.crown-icon {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* Animação de entrada do modal */
.modal-enter {
    animation: modalEnter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalEnter {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Efeito de urgência */
.urgency-effect {
    animation: urgencyBlink 1s ease-in-out infinite alternate;
}

@keyframes urgencyBlink {
    from { opacity: 1; }
    to { opacity: 0.7; }
}

/* Garantir que o modal esteja sempre no topo */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px) !important;
}

/* Efeitos especiais para o modal promocional */
.promo-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 2s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.promo-sparkle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.promo-sparkle:nth-child(2) { top: 30%; right: 25%; animation-delay: 0.5s; }
.promo-sparkle:nth-child(3) { bottom: 25%; left: 30%; animation-delay: 1s; }
.promo-sparkle:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .platform-card:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }
    
    .platform-card:active {
        transform: scale(0.98);
        border-color: #ffa500;
        box-shadow: 0 10px 20px rgba(255, 165, 0, 0.3);
    }
    
    .hack-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .hack-btn:active {
        transform: scale(0.95);
        box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
    }
}

