/*
Theme Name: Ghost's Service
Theme URI: https://ghostsservice.com
Description: Custom gaming e-commerce theme
Author: Tu Nombre
Version: 1.0.0
License: GPL v2
Text Domain: ghost-service
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Canvas para partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    padding: 1rem;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.navbar-logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.8));
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: none;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.navbar-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: none;
}

.navbar-menu a:hover {
    color: #dc2626;
}

.navbar-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.navbar-cart:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Hero Section - Mobile First */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 1rem 2rem;
    z-index: 2;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 500px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.4;
}

.hero-title .brand {
    color: #dc2626;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: block;
}

.search-box {
    position: relative;
    margin: 2rem 0;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(100, 100, 120, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.btn-view-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    max-width: 300px;
}

.btn-view-products:hover {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.logo-container {
    margin: 3rem 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.logo-main {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
}

.logo-subtitle {
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Products Section - Más Compacto */
.products-section {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.product-card {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(100, 100, 120, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
}

.product-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: #dc2626;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.8rem 1rem;
    text-align: left;
}

.product-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.product-content {
    padding: 0.8rem 1rem 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 900;
    color: #dc2626;
}

.price-original {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: line-through;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #10b981;
    margin-bottom: 0.8rem;
}

.stock-icon {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.out-of-stock {
    color: #ef4444;
}

.out-of-stock .stock-icon {
    background: #ef4444;
}

.btn-view-details {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

.product-card:hover .btn-view-details {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-box {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(100, 100, 120, 0.3);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.feature-description {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(100, 100, 120, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #dc2626;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #dc2626;
}

.faq-icon {
    color: #dc2626;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid rgba(100, 100, 120, 0.2);
    color: #6b7280;
    font-size: 0.85rem;
}

.footer p {
    margin: 0.3rem 0;
}

/* Tablet - 768px */
@media (min-width: 768px) {
    .navbar-brand {
        display: block;
    }

    .navbar-menu a {
        display: block;
    }

    .navbar-logo-img {
        width: 50px;
        height: 50px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .logo-main {
        max-width: 350px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image {
        height: 180px;
        font-size: 4rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - 1024px */
@media (min-width: 1024px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-menu {
        gap: 2rem;
    }

    .navbar-menu a {
        font-size: 1rem;
    }

    .hero-section {
        flex-direction: row;
        padding: 6rem 2rem 4rem;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        max-width: 1400px;
        width: 100%;
    }

    .hero-content {
        text-align: left;
        max-width: none;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .hero-title .brand {
        display: inline;
    }

    .search-box {
        max-width: 500px;
    }

    .btn-view-products {
        width: auto;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo-main {
        max-width: 450px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
        font-size: 4.5rem;
    }

    .product-title {
        font-size: 1.15rem;
    }

    .price-current {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq-title {
        font-size: 2.5rem;
    }
}

/* Estilos para el Video del Logo */
.navbar-logo-video {
           /* Tamaño del ícono */
    height: 50px;          /* Tamaño del ícono */
    object-fit: cover;     /* Para que el video llene el círculo sin estirarse */
    margin-right: 10px;    /* Espacio entre el video y el texto */
    
    /* Efecto de brillo rojo (opcional, para que combine con tu tema) */
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4); 
    border: 2px solid rgba(220, 38, 38, 0.2);
}

/* Ajuste para el enlace del logo */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem; /* Asegura espacio entre video y texto */
}
/* --- NUEVOS ITEMS DEL NAVBAR --- */

/* Punto verde que parpadea al lado de "Status" en el menú */
.nav-status-link .status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 8px #10b981;
    animation: blink 2s infinite;
}

@keyframes blink { 50% { opacity: 0.4; } }

/* Botones de Redes Sociales */
.social-link {
    font-weight: 700;
    transition: color 0.3s;
}

.social-link.discord:hover { color: #5865F2; text-shadow: 0 0 10px rgba(88, 101, 242, 0.5); }
.social-link.tiktok:hover { color: #fe2c55; text-shadow: 0 0 10px rgba(254, 44, 85, 0.5); }


/* --- PÁGINA DE STATUS --- */
.status-page-section {
    padding: 8rem 1rem;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

.status-container {
    width: 100%;
    max-width: 800px;
}

.status-title {
    color: white;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 900;
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-card {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(100, 100, 120, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s, border-color 0.3s;
}

.status-card:hover {
    border-color: #dc2626;
    transform: translateX(10px);
}

.status-product-name {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.status-last-check {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

/* Verde (Undetected) */
.status-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}
.status-green .pulse-dot { background: #10b981; }

/* Rojo (Detected) */
.status-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}
.status-red .pulse-dot { background: #ef4444; }

.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    animation: blink 1.5s infinite;
}

/* =========================================
   ESTILOS PÁGINA DE MANUALES (BLUE THEME)
   ========================================= */

.manual-page-wrapper {
    position: relative;
    z-index: 2;
    padding: 8rem 1rem 4rem; /* Espacio para el navbar */
    min-height: 100vh;
    background: #050508; /* Un poco más oscuro para resaltar */
}

.manual-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Título Principal */
.manual-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4rem;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 100, 255, 0.4);
}

/* Bloques de Alerta / Texto Importante con línea azul */
.manual-alert-box {
    margin-bottom: 3rem;
    border-bottom: 3px solid #0066ff; /* El azul de la foto */
    padding-bottom: 1rem;
}

.manual-alert-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.4;
    max-width: 900px;
}

/* Estructura de Pasos (Grid Texto + Video) */
.manual-step-section {
    margin-bottom: 5rem;
}

.step-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: inline-block;
    border-bottom: 4px solid #0066ff;
    padding-bottom: 5px;
}

.step-description {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Grid para poner video a la derecha */
.step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* Contenedor de Botones */
.step-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.manual-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.manual-btn:hover {
    background: #0066ff;
    border-color: #0066ff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    color: white;
}

/* Video Responsive Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ajustes Desktop */
@media (min-width: 992px) {
    .step-grid {
        grid-template-columns: 1fr 1.2fr; /* El video ocupa un poco más */
        gap: 4rem;
    }
}