/* CSS Variables y Configuracion Global */
:root {
    --clr-bg-dark: #07090f;
    --clr-bg-surface: #101421;
    --clr-bg-card: rgba(22, 28, 45, 0.6);
    --clr-primary: #d4af37;
    --clr-primary-glow: rgba(212, 175, 55, 0.4);
    --clr-text-main: #f0f4f8;
    --clr-text-muted: #a0aec0;
    --clr-border: rgba(212, 175, 55, 0.15);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.relative-z { position: relative; z-index: 2; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2rem; font-family: var(--font-body); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
    cursor: pointer; text-decoration: none; border-radius: 4px;
    transition: var(--transition-smooth); border: none;
}
.btn-primary { background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }
.btn-secondary { background: transparent; color: var(--clr-text-main); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--clr-primary); }
.btn-glow { box-shadow: 0 0 15px var(--clr-primary-glow); }
.btn-block { width: 100%; }

/* Titulos */
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--clr-primary); margin-bottom: 0.5rem; }
.separator { width: 60px; height: 2px; background: var(--clr-primary); margin: 0 auto 1.5rem auto; position: relative; }
.separator::after { content: '✧'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--clr-bg-dark); padding: 0 10px; color: var(--clr-primary); font-size: 0.8rem; }
.subtitle { color: var(--clr-text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; background: transparent; z-index: 1000; transition: var(--transition-smooth); }
.header.scrolled { background: rgba(7, 9, 15, 0.9); backdrop-filter: blur(12px); padding: 1rem 5%; border-bottom: 1px solid var(--clr-border); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--clr-text-main); text-transform: uppercase; letter-spacing: 2px; }
.logo .glow-text { color: var(--clr-primary); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.nav ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav a { color: var(--clr-text-main); text-decoration: none; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-fast); position: relative; }
.nav a:not(.btn-outline)::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -4px; left: 0; background-color: var(--clr-primary); transition: var(--transition-smooth); }
.nav a:not(.btn-outline):hover { color: var(--clr-primary); }
.nav a:not(.btn-outline):hover::after { width: 100%; }
.btn-outline { border: 1px solid var(--clr-primary); padding: 0.5rem 1.2rem; border-radius: 4px; color: var(--clr-primary) !important; }
.btn-outline:hover { background: var(--clr-primary); color: #000 !important; box-shadow: 0 0 15px var(--clr-primary-glow); }
.mobile-menu-btn { display: none; }

/* Hero Section */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(circle at 50% 30%, #1a2235 0%, var(--clr-bg-dark) 70%); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px); background-size: 50px 50px; z-index: 1; }
.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 20px; }
.badge { display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--clr-border); border-radius: 50px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--clr-text-muted); margin-bottom: 1.5rem; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px); }
.hero h1 { font-family: var(--font-heading); font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.highlight-gold { color: var(--clr-primary); text-shadow: 0 0 30px rgba(212, 175, 55, 0.4); }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 15px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--clr-primary); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.particle { position: absolute; background: var(--clr-primary); border-radius: 50%; opacity: 0.3; animation: floatParticle linear infinite; box-shadow: 0 0 10px var(--clr-primary-glow); }
@keyframes floatParticle { 0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; } 20% { opacity: 0.5; scale: 1;} 80% { opacity: 0.5; } 100% { transform: translateY(-10vh) translateX(20px) scale(0); opacity: 0; } }

/* Mission */
.mission { padding: 8rem 0; background-color: var(--clr-bg-surface); position: relative; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.glass-card { background: var(--clr-bg-card); border: 1px solid var(--clr-border); border-radius: 8px; padding: 3rem 2rem; transition: var(--transition-smooth); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); border-color: rgba(212, 175, 55, 0.4); }
.card-icon { font-size: 2.5rem; color: var(--clr-primary); margin-bottom: 1.5rem; display: inline-block; }
.card-icon.glow { text-shadow: 0 0 15px var(--clr-primary-glow); }
.glass-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1.2rem; color: #fff; }
.quote { font-style: italic; color: var(--clr-text-main); margin-bottom: 1rem; line-height: 1.7; }
.author { display: block; font-size: 0.85rem; color: var(--clr-primary); text-transform: uppercase; letter-spacing: 1px; }
.featured { background: linear-gradient(145deg, rgba(22, 28, 45, 0.8), rgba(11, 15, 23, 0.9)); border-color: rgba(212, 175, 55, 0.4); transform: scale(1.05); z-index: 2; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.featured:hover { transform: scale(1.05) translateY(-5px); }

/* Prophecy */
.prophecy { padding: 8rem 0; background: linear-gradient(to bottom, var(--clr-bg-surface), var(--clr-bg-dark)); position: relative; border-top: 1px solid rgba(255,255,255,0.05); }
.carousel-container { max-width: 800px; margin: 0 auto; position: relative; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--clr-border); border-radius: 12px; padding: 4rem 3rem; box-shadow: inset 0 0 30px rgba(0,0,0,0.5); }
.carousel-track { position: relative; min-height: 250px; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(20px); transition: var(--transition-smooth); pointer-events: none; text-align: center; }
.carousel-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.quote-mark { font-family: var(--font-heading); font-size: 5rem; color: var(--clr-primary); opacity: 0.2; line-height: 0; margin-bottom: 2rem; }
.carousel-slide blockquote { font-size: 1.4rem; line-height: 1.8; color: #fff; margin-bottom: 2rem; font-weight: 300; }
.carousel-slide cite { font-family: var(--font-heading); color: var(--clr-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem; }
.ctrl-btn { background: transparent; border: 1px solid var(--clr-border); color: var(--clr-primary); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: var(--transition-fast); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.ctrl-btn:hover { background: var(--clr-primary); color: #000; }
.carousel-indicators { display: flex; gap: 0.5rem; }
.indicator { width: 30px; height: 3px; background: rgba(255,255,255,0.2); cursor: pointer; transition: var(--transition-fast); }
.indicator.active { background: var(--clr-primary); }

/* Join Us */
.join-us { padding: 8rem 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%2307090f" width="100" height="100"/><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.2"/></svg>') repeat; }
.join-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.join-text h2 { font-family: var(--font-heading); font-size: 2.5rem; color: #fff; margin-bottom: 1.5rem; }
.join-text p { font-size: 1.1rem; color: var(--clr-text-muted); margin-bottom: 2rem; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.05rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.check-list span { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: rgba(212, 175, 55, 0.1); color: var(--clr-primary); border-radius: 50%; font-size: 0.8rem; }
.glass-panel { background: rgba(16, 20, 33, 0.7); border: 1px solid var(--clr-border); backdrop-filter: blur(15px); padding: 3rem; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.glass-panel h3 { font-family: var(--font-heading); text-align: center; font-size: 1.5rem; margin-bottom: 2rem; color: #fff; }
.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--clr-text-muted); }
.input-group input { width: 100%; padding: 1rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: #fff; font-family: var(--font-body); transition: var(--transition-fast); }
.input-group input:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); background: rgba(0,0,0,0.5); }
.btn-icon { margin-left: 10px; transition: transform 0.3s; }
.btn-primary:hover .btn-icon { transform: translateX(5px); }

/* Footer */
.footer { background: #040508; padding: 4rem 0 2rem 0; border-top: 1px solid var(--clr-border); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--clr-text-muted); margin-top: 1rem; max-width: 300px; }
.footer-links h4, .footer-social h4 { font-family: var(--font-heading); color: #fff; margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: var(--clr-text-muted); text-decoration: none; display: block; margin-bottom: 0.8rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--clr-primary); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; }
.icon-placeholder { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; color: #fff; font-size: 0.8rem; transition: var(--transition-fast); }
.social-icons a { text-decoration: none; }
.social-icons a:hover .icon-placeholder { background: var(--clr-primary); color: #000; }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.85rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* Animaciones */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.active { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.active { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Media Queries */
@media (max-width: 992px) { .content-grid { grid-template-columns: 1fr; } .featured { transform: scale(1); } .featured:hover { transform: translateY(-10px); } .join-wrapper { grid-template-columns: 1fr; } .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .hero h1 { font-size: 2.8rem; } .nav ul { display: none; } .mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; cursor: pointer; } .mobile-menu-btn span { width: 25px; height: 2px; background: #fff; } .footer-content { grid-template-columns: 1fr; } .hero-actions { flex-direction: column; } }
