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

:root {
    --primary: #004CFF;
    --primary-dark: #0039CC;
    --primary-light: #3377FF;
    --secondary: #001A4D;
    --accent: #004CFF;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-light: #9ca3af;
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #0A0F1A;
    --border: #1A2940;
    --border-light: #2A3A50;
    --shadow-sm: 0 1px 2px 0 rgba(0, 76, 255, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 76, 255, 0.4), 0 2px 4px -1px rgba(0, 76, 255, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 76, 255, 0.5), 0 4px 6px -2px rgba(0, 76, 255, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 76, 255, 0.6), 0 10px 10px -5px rgba(0, 76, 255, 0.5);
    --radius: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, rgba(0, 76, 255, 0.05) 100%);
    border-top: 1px solid rgba(0, 76, 255, 0.2);
    border-bottom: none;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 76, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 76, 255, 0.4);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 76, 255, 0.15);
    border-radius: 16px;
    border: 2px solid rgba(0, 76, 255, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 76, 255, 0.3) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.stat-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
    stroke: #ffffff;
    z-index: 1;
    position: relative;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 76, 255, 0.6);
    border-radius: 6px;
    border: 2px solid rgba(0, 76, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 76, 255, 0.8);
    border-color: rgba(0, 76, 255, 0.5);
}

/* Firefox */
::-moz-scrollbar {
    width: 12px;
}

::-moz-scrollbar-track {
    background: #000000;
}

::-moz-scrollbar-thumb {
    background: rgba(0, 76, 255, 0.6);
    border-radius: 6px;
    border: 2px solid rgba(0, 76, 255, 0.3);
}

::-moz-scrollbar-thumb:hover {
    background: rgba(0, 76, 255, 0.8);
    border-color: rgba(0, 76, 255, 0.5);
}

/* Header */
.header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    height: 0;
    padding: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 76, 255, 0.5));
}

.logo-text {
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1025px) {
    .nav-menu {
        background: var(--primary-dark);
        padding: 10px 14px;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(0, 76, 255, 0.28);
        border: none;
        margin-top: 30px;
    }

    .nav-menu a {
        padding: 8px 12px;
        border-radius: 12px;
        color: #ffffff !important;
    }

    .nav-menu a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.20) !important;
    }

    .nav-menu a.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.26) !important;
    }

    .nav-menu a.active::after {
        display: none;
    }
}

.nav-menu a {
text-decoration: none;
color: #ffffff;
font-weight: 500;
transition: all 0.2s ease;
position: relative;
}

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

.nav-menu a.active {
color: var(--primary);
font-weight: 600;
}

.nav-menu a.active::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 2px;
background: var(--primary);
border-radius: 1px;
}

.nav-menu a.nav-cta {
background: var(--primary);
color: var(--bg-primary);
padding: 10px 20px;
border-radius: var(--radius);
transition: all 0.2s ease;
}

.nav-menu a.nav-cta:hover {
background: var(--primary-light);
color: var(--bg-primary);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.discord-login-btn {
    position: absolute;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.26);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 76, 255, 0.22);
    line-height: 1;
}

.discord-login-btn .panel-avatar {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(0, 76, 255, 0.18);
}

 .discord-login-area {
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     gap: 8px;
 }

.discord-login-area .discord-login-btn {
     position: static;
 }

/* Estilo específico para cuando el botón dice "Panel" */
.discord-login-btn[data-panel="true"] {
     position: relative !important;
     top: 25px !important;
 }

.discord-login-btn[data-panel="true"] + .discord-user-mini {
     position: relative !important;
     top: 25px !important;
 }

 .discord-user-mini {
     display: flex;
     align-items: center;
     gap: 8px;
     padding: 6px 10px;
     border-radius: 999px;
     background: rgba(0, 0, 0, 0.6);
     border: 1px solid rgba(0, 76, 255, 0.25);
     box-shadow: 0 6px 18px rgba(0, 76, 255, 0.15);
     backdrop-filter: blur(10px);
 }

 .discord-user-mini__avatar {
     width: 22px;
     height: 22px;
     border-radius: 999px;
     object-fit: cover;
     border: 1px solid rgba(0, 76, 255, 0.5);
 }

 .discord-user-mini__name {
     color: #ffffff;
     font-size: 12px;
     font-weight: 600;
     max-width: 180px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

.discord-login-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 76, 255, 0.28);
}

.discord-login-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: absolute;
    right: 0;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu.active::before {
    opacity: 1;
    pointer-events: all;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(0, 76, 255, 0.1) 0%, #000000 50%);
    position: relative;
    border-bottom: 1px solid rgba(0, 76, 255, 0.2);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
    object-fit: cover;
    background: #000;
}

/* Imagen degradada como reemplazo del video (usa images/hero-gradient.png si existe) */
.hero-video-container .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, rgba(0, 76, 255, 0.1) 50%, #000000 100%);
    background-size: cover;
    background-position: center;
}

.hero-video-container .hero-media .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Si quieres que la imagen tenga menor opacidad bajo el overlay */
.hero-video-container .hero-media .hero-image {
    opacity: 0.98;
}

/* Carrusel de hero (3 imágenes) */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.hero-carousel .carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay oscuro para asegurar legibilidad del texto del hero */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-play-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 2;
    background: rgba(59, 130, 246, 0.9);
    color: var(--bg-primary);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-play-overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 76, 255, 0.5);
    background: rgba(0, 76, 255, 0.95);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-texhtml {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

.hero-fallback {
    margin-top: 12px;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.hero-fallback .btn {
    padding: 10px 16px;
}

.product-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn {
padding: 15px 30px;
border-radius: 12px;
font-weight: 600;
font-size: 16px;
text-decoration: none;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
}

.hero-actions .btn::before {
content: '';
width: 20px;
height: 20px;
display: inline-block;
}

.hero-actions .btn-primary {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: #ffffff;
border: 2px solid var(--primary);
}

.hero-actions .btn-primary::before {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l9-9z'/%3E%3Cpolyline points='13 2 3 14 9 15'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}

.hero-actions .btn-primary:hover {
background: linear-gradient(135deg, var(--primary-light), var(--primary));
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0, 76, 255, 0.4);
}

.hero-actions .btn-secondary {
background: transparent;
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-secondary::before {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}

.hero-actions .btn-secondary:hover {
background: rgba(0, 76, 255, 0.1);
border-color: var(--primary);
color: #ffffff;
}

.btn-large {
padding: 16px 32px;
font-size: 18px;
width: 100%;
justify-content: center;
    width: 100%;
    justify-content: center;
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.product-image-wrapper {
    position: relative;
}

.product-image {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

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

.mta-logo {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.image-subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
    color: var(--text-secondary);
}

.floating-badge {
    position: absolute;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.floating-badge svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    stroke: var(--primary);
}

.badge-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.badge-3 {
    bottom: -20px;
    left: 20px;
    animation-delay: 2s;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 76, 255, 0.08) 0%, #000000 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 76, 255, 0.3);
}

.section-subtitle {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-item {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

/* Products section */
.products {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.products-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Product card: estilo tipo tarjeta horizontal con imagen grande y borde verde */
.product-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    padding: 18px;
    border-radius: 14px;
    display: flex;
    gap: 18px;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}


.product-media {
    position: relative;
    width: 46%;
    min-width: 260px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #000000, #0a0a0a);
    border: 4px solid rgba(0, 76, 255, 0.18); /* usa color primary */
    box-shadow: 0 6px 30px rgba(0, 76, 255, 0.06), 0 8px 40px rgba(0,0,0,0.7) inset;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(59,130,246,0.18);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 4px;
}

.product-info h4 { margin: 0 0 8px 0; font-size: 22px; color: var(--text-primary); }
.product-meta { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.product-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 22px;
    text-shadow: 0 6px 24px rgba(59,130,246,0.06);
}

.product-actions { display:flex; gap:12px; align-items:center }

.btn-buy {
    background: linear-gradient(180deg,var(--primary),var(--primary-dark));
    color: var(--bg-primary);
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 76, 255, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-buy:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(0, 76, 255, 0.28); }

.btn-details:hover { transform: translateY(-2px); }

.btn-details {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 10px 14px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .product-card { flex-direction: column; }
    .product-media { width: 100%; min-width: auto; }
}

/* Micro-interactions y animaciones de entrada */
@keyframes enterUp {
    from { opacity: 0; transform: translateY(18px) scale(0.995); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-card {
    will-change: transform, opacity;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 50px rgba(59,130,246,0.04);
    border-color: rgba(59,130,246,0.12);
}

.product-media img { transition: transform 0.7s cubic-bezier(.2,.9,.2,1); }
.product-media:hover img { transform: scale(1.05) rotate(-1deg); }

/* make entrance smoother if JS doesn't animate immediately */
.product-card[data-animated="true"] { animation: enterUp 0.6s cubic-bezier(.2,.95,.2,1) both; }

/* Top orders */
.top-orders { padding: 60px 0; background: var(--bg-primary); }
.top-orders-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

/* Orders cards: estilo similar a productos, pero más compacto */
.order-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-media { width: 36%; min-width: 140px; border-radius: 10px; overflow: hidden; border: 3px solid rgba(0, 76, 255, 0.12); background: #000000; display:flex; align-items:center; justify-content:center }
.order-media img { width:100%; height: auto; display:block; object-fit:cover }

.order-info { flex: 1; display:flex; flex-direction:column; gap:6px }
.order-info .title { font-size:16px; font-weight:700; color:var(--text-primary) }
.order-info .meta { font-size:13px; color:var(--text-secondary) }
.order-info .order-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px }
.order-price { color:var(--primary); font-weight:800 }
.order-actions .btn { padding:8px 12px; border-radius:8px }

@media (max-width:700px){ .order-card{flex-direction:column; align-items:stretch} .order-media{width:100%;min-width:auto} }

/* Simple modal/form for adding product */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; z-index:2000; }
.modal { background: var(--bg-tertiary); padding: 20px; border-radius: 12px; width: 480px; max-width: 92%; border: 1px solid var(--border); }
.modal h3 { margin-top: 0; }
.modal input, .modal textarea { width: 100%; padding: 10px; margin-bottom: 8px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); }
.modal .row { display:flex; gap:8px }
.modal .actions { display:flex; gap:8px; justify-content:flex-end; }

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.pricing-content {
    background: var(--bg-tertiary);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-content:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.pricing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.pricing-features-list {
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.check-icon {
    width: 20px;
    height: 20px;
    stroke-width: 3;
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

.pricing-sidebar {
    position: sticky;
    top: 100px;
}

.requirements-box {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.requirements-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.requirements-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.requirements-section {
    margin-bottom: 24px;
}

.requirements-section:last-child {
    margin-bottom: 0;
}

.requirements-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.requirements-section ul {
    list-style: none;
}

.requirements-section li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.requirements-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 76, 255, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 76, 255, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 76, 255, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 76, 255, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 768px) {
    .faq-container {
        margin: 0 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}
.footer {
    background: #000000;
    color: white;
    padding: 60px 0 24px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 15px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.legal-page {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 20% 10%, rgba(0, 76, 255, 0.10) 0%, #000000 55%);
    min-height: calc(100vh - 200px);
}

.legal-hero {
    text-align: center;
    margin-bottom: 32px;
}

.legal-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0, 76, 255, 0.25);
}

.legal-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 76, 255, 0.12);
    backdrop-filter: blur(14px);
}

.legal-list {
    margin: 0;
    padding-left: 22px;
}

.legal-list li {
    margin: 18px 0;
}

.legal-list h2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.legal-list p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    font-size: 15px;
}

/* Client/Admin Area Styles */
.client-area {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 20% 10%, rgba(0, 76, 255, 0.10) 0%, #000000 55%);
    min-height: calc(100vh - 200px);
}

.client-hero {
    text-align: center;
    margin-bottom: 40px;
}

.client-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0, 76, 255, 0.25);
}

.client-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Admin Dashboard */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

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

.stat-card {
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(14px);
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stat-card h3 i {
    font-size: 16px;
    color: var(--primary);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.admin-actions {
    display: grid;
    gap: 30px;
}

.action-section {
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(0, 76, 255, 0.20);
    border-radius: 12px;
    padding: 25px;
}

.action-section h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.admin-btn i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

.admin-btn.primary {
    background: var(--primary);
    color: white;
}

.admin-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.admin-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Client Dashboard */
.client-dashboard {
    max-width: 800px;
    margin: 0 auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(14px);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.profile-details h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 4px 0;
}

.client-sections {
    display: grid;
    gap: 25px;
}

.client-section {
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(0, 76, 255, 0.20);
    border-radius: 12px;
    padding: 25px;
}

.client-section h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.no-data {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.support-options {
    display: grid;
    gap: 15px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.support-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.support-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Responsive for client area */
@media (max-width: 768px) {
    .client-area {
        padding: 100px 0 60px;
    }
    
    .client-title {
        font-size: 28px;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .user-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .action-section {
        padding: 20px;
    }
    
    .client-section {
        padding: 20px;
    }
}

/* Animations for modals and notifications */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .pricing-wrapper {
        grid-template-columns: 1fr;
    }
    
    .pricing-sidebar {
        position: static;
    }
    
    /* Floating nav pill responsive */
    @media (min-width: 1025px) {
        .nav-menu {
            margin-top: 10px;
        }
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        background: var(--primary-dark);
        padding: 8px 12px;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(0, 76, 255, 0.28);
        border: none;
        margin-top: 30px;
        gap: 20px;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        border-radius: 12px;
        color: #ffffff !important;
        font-size: 14px;
    }
    
    .nav-menu a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.20) !important;
    }
    
    .nav-menu a.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.26) !important;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .discord-login-btn {
        position: relative;
        right: auto;
        margin-left: auto;
        margin-right: 50px;
        background: rgba(255, 255, 255, 0.26);
        color: var(--primary);
    }
    
    .discord-login-btn:hover {
        background: rgba(255, 255, 255, 0.26);
    }

     .discord-login-area {
         position: relative;
         right: auto;
         top: auto;
         transform: none;
         margin-left: auto;
         margin-right: 50px;
     }

     .discord-login-area .discord-login-btn {
         margin-right: 0;
     }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 180px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 0;
        width: 100%;
        color: #ffffff !important;
    }
    
    /* Fix Panel button in mobile menu */
    .nav-menu .discord-login-btn {
        position: static;
        margin: 16px 0 0 0;
        width: 100%;
        justify-content: center;
        background: rgba(255, 255, 255, 0.26);
        color: var(--primary);
    }
    
    .nav-menu .discord-login-btn:hover {
        background: rgba(255, 255, 255, 0.26);
    }
    
    .nav-menu .user-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 0;
        width: 100%;
        background: transparent;
        color: #ffffff !important;
        text-decoration: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .nav-menu .user-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
    }
    
    .nav-menu .panel-avatar {
        width: 24px;
        height: 24px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .nav-menu a.nav-cta {
        margin-top: 16px;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-content {
        padding: 32px 24px;
    }
    
    .features,
    .gallery,
    .pricing {
        padding: 60px 0;
    }
    
    /* Legal pages responsive */
    .legal-page {
        padding: 40px 0;
    }
    
    .legal-title {
        font-size: 28px;
    }
    
    .legal-subtitle {
        font-size: 14px;
    }
    
    .legal-card {
        padding: 20px;
    }
    
    .legal-list h2 {
        font-size: 16px;
    }
    
    .legal-list p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .product-image {
        padding: 40px 24px;
    }
    
    .mta-logo {
        font-size: 60px;
    }
    
    /* Legal pages mobile */
    .legal-title {
        font-size: 24px;
    }
    
    .legal-card {
        padding: 16px;
    }
    
    .legal-list {
        padding-left: 16px;
    }
    
    .legal-list li {
        margin: 14px 0;
    }
}
