/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.7);
    --primary: #00f2ff; /* Cyan para Games */
    --secondary: #bd00ff; /* Magenta para Softwares */
    --accent: #ff0055;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #00ff88;
}

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.neon-logo {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    animation: pulseNeon 2.5s infinite alternate;
}

@keyframes pulseNeon {
    from { text-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary); transform: scale(0.98); }
    to { text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary); transform: scale(1); }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loader-progress {
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(189, 0, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.05) 0%, transparent 40%);
    z-index: -1;
}

/* Header */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--text-dim);
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.mp-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 163, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 163, 255, 0.2);
    font-size: 0.9rem;
    color: #00a3ff;
    margin-bottom: 20px;
}

/* Product Grid */
.container {
    padding: 50px 5%;
}

.section-title {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

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

/* Card Style */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.card-img {
    width: 100%;
    height: 200px; /* Altura fixa para todas */
    background: #111;
    border-radius: 12px;
    margin-bottom: 15px;
    object-fit: cover; /* Recorte inteligente */
    display: block;
}

.tag {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--success);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.category {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
}

.price span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.buy-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.buy-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Footer Features */
.features-footer {
    display: flex;
    justify-content: space-around;
    padding: 50px 5%;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

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

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.feature-item h4 {
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Steps Section */
.steps-section {
    padding: 60px 5%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 40px 0;
}

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

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: 0.3s;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-weight: 800;
}

.step-card h4 {
    margin-bottom: 10px;
    margin-top: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Admin Dashboard Preview */
.admin-container {
    padding: 40px 5%;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.table-container {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: rgba(255,255,255,0.05);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-dim);
}

.badge-status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-pending { background: rgba(255, 187, 0, 0.2); color: #ffbb00; }
.status-done { background: rgba(0, 255, 136, 0.2); color: #00ff88; }

/* Policy Section */
.policy-section {
    padding: 60px 5%;
    background: rgba(255, 0, 85, 0.05);
    border: 1px solid rgba(255, 0, 85, 0.2);
    border-radius: 20px;
    margin: 40px 5%;
}

.policy-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.policy-content i {
    font-size: 2rem;
    color: var(--accent);
}

.policy-text h4 {
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dim);
}

/* Responsive Grid & Layout */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    header { padding: 15px 5%; }
    .hero { height: auto; padding: 100px 5% 60px; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    
    nav { display: none; } 
    
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .features-footer {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .policy-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .neon-logo { font-size: 2.2rem; }
    .price { font-size: 1.3rem; }
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsivo para Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
