:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --dark-hover: #334155;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-hover: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn svg {
    border-radius: 2px;
}

.lang-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 999;
    padding: 20px 0;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-full {
    height: 50px;
    width: auto;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(88, 101, 242, 0.1);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 10px;
    color: #5865F2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865F2;
    transform: translateY(-2px);
}

.btn-discord img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-light);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero Section - Complete Rebuild */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

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

/* Hero Container - Centers everything */
.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-slider {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.3);
    border: 3px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.hero-slider img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.5);
}

.slider-container {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 20px 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.slider-dots {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1f2e 100%);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Effects Section */
.effects {
    padding: 100px 20px;
    background: var(--dark);
}

/* Layout Horizontal */
.effects-showcase-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Video Display con Marco Moderno - MÁS GRANDE */
.video-display {
    position: relative;
    flex: 1;
    max-width: 900px;
    background: rgba(30, 41, 59, 0.5);
    border: 3px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.effect-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #000;
}

.effect-canvas {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    pointer-events: none;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .effects-showcase-layout {
        flex-direction: column;
        align-items: center;
    }

    .video-display {
        max-width: 100%;
        width: 100%;
    }

    .effects-grid-web {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .video-display {
        padding: 12px;
        border-width: 2px;
    }

    .effect-canvas {
        top: 12px;
        left: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1f2e 100%);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s ease;
    flex: 0 1 280px;
    max-width: 300px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-amount {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
    font-size: 13px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Installation Guide */
.install-guide {
    padding: 100px 20px;
    background: var(--dark);
}

.install-steps {
    max-width: 900px;
    margin: 0 auto;
}

.install-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.install-warning {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.install-warning img {
    max-width: 100%;
    border-radius: 8px;
}

.install-note {
    max-width: 900px;
    margin: 40px auto 0;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.install-note p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.install-note strong {
    color: var(--primary-light);
}

/* Download Section */
.download {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    text-align: center;
}

.download-btn {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

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

.download-info {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Footer */
.footer {
    background: #0a0f1a;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
}

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

.footer-column h4 {
    margin-bottom: 16px;
    color: var(--text);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.discord-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #5865F2 !important;
    padding: 8px 0;
}

.discord-link:hover {
    color: #7289DA !important;
}

.discord-icon-footer {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
    }

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

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

    .slider-container {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .nav-menu {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .install-step {
        flex-direction: column;
        gap: 16px;
    }
}

/* GUI-Replica Effect Cards - 3 Columnas para que no quede como chorizo */
.effects-grid-web {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 380px;
}

.effect-card-web {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.effect-card-web:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.effect-card-web.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.effect-header-web {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.effect-icon-web {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.effect-icon-web svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.effect-title-web {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Icon Colors - Matching GUI */
.effect-card-web[data-shader="none"] .effect-icon-web svg {
    stroke: #94a3b8;
    filter: drop-shadow(0 2px 8px rgba(148, 163, 184, 0.4));
}

.effect-card-web[data-shader="drunk"] .effect-icon-web svg {
    stroke: #dc2626;
    filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.4));
}

.effect-card-web[data-shader="inverted"] .effect-icon-web svg {
    stroke: #a855f7;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
}

.effect-card-web[data-shader="upsidedown"] .effect-icon-web svg {
    stroke: #f97316;
    filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.4));
}

.effect-card-web[data-shader="pixelate"] .effect-icon-web svg {
    stroke: #10b981;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.effect-card-web[data-shader="glitch"] .effect-icon-web svg {
    stroke: #ef4444;
    filter: drop-shadow(0 2px 8px rgba(239, 68, 68, 0.4));
}

.effect-card-web[data-shader="mirror"] .effect-icon-web svg {
    stroke: #06b6d4;
    filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.4));
}

.effect-card-web[data-shader="blur"] .effect-icon-web svg {
    stroke: #8b5cf6;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
}

.effect-card-web[data-shader="crt"] .effect-icon-web svg {
    stroke: #facc15;
    filter: drop-shadow(0 2px 8px rgba(250, 204, 21, 0.4));
}

.effect-card-web[data-shader="rgb"] .effect-icon-web svg {
    stroke: #ec4899;
    filter: drop-shadow(0 2px 8px rgba(236, 72, 153, 0.4));
}

.effect-card-web[data-shader="greasy"] .effect-icon-web svg {
    stroke: #84cc16;
    filter: drop-shadow(0 2px 8px rgba(132, 204, 22, 0.4));
}

.effect-card-web[data-shader="gameboy"] .effect-icon-web svg {
    stroke: #22c55e;
    filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.4));
}

.effect-card-web[data-shader="vhs"] .effect-icon-web svg {
    stroke: #f59e0b;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

/* Responsive for effect cards */
@media (max-width: 768px) {
    .effects-grid-web {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .effect-card-web {
        padding: 10px;
    }

    .effect-icon-web svg {
        width: 28px;
        height: 28px;
    }

    .effect-title-web {
        font-size: 10px;
    }
}
