﻿/**
 * Metro Life RP - Estilos de Sección VIP
 * Copyright (c) 2025 Metro Life Studios. Desarrollado por Mercurio & Melman.
 * Todos los derechos reservados.
 * 
 * Este código fuente es propiedad exclusiva de Metro Life Studios.
 * Queda estrictamente prohibida su reproducción, distribución, modificación
 * o uso no autorizado, total o parcial, sin consentimiento expreso por escrito.
 * 
 * El uso indebido de este material está sujeto a acciones legales conforme
 * a la legislación vigente sobre propiedad intelectual y derechos de autor.
 */

:root {
    --bg: #0e151f;
    --bg-secondary: #1a1f2e;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.75);
    --gold: #ffd700;
    --gold-dark: #b8860b;
    --gold-light: #ffed4e;
    --purple-primary: #8b5cf6;
    --purple-dark: #6d28d9;
    --purple-light: #a78bfa;
    --cyan-accent: #06b6d4;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 12px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Montserrat', system-ui, Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== PARTICLES ========== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 18px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 80;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 6px;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.logo-accent {
    color: transparent;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.9));
    }
}

.logo:hover .logo-accent {
    animation: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
}

/* Hamburger */
.hamburger {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== SIDE MENU ========== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s;
    z-index: 70;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 21, 31, 0.98), rgba(26, 31, 46, 0.98));
    backdrop-filter: blur(20px);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.8);
    z-index: 75;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(255, 215, 0, 0.2);
}

.side-menu.open {
    right: 0;
}

.side-menu-header {
    padding: 32px 28px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-menu-logo {
    font-weight: 900;
    letter-spacing: 4px;
    font-size: 20px;
}

.menu-logo-text {
    color: var(--white);
}

.menu-logo-accent {
    color: transparent;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
}

.close-menu {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.close-menu:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.close-icon {
    width: 18px;
    height: 18px;
    position: relative;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.side-menu-content {
    flex: 1;
    padding: 32px 28px;
    overflow-y: auto;
}

.side-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.side-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.side-link:hover::before,
.side-link.active::before {
    transform: scaleY(1);
}

.side-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(8px);
}

.side-link.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.link-icon {
    font-size: 22px;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.link-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.link-arrow {
    font-size: 18px;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.side-link:hover .link-arrow,
.side-link.active .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.side-menu-footer {
    padding: 24px 28px;
    border-top: 2px solid rgba(255, 215, 0, 0.1);
}

.footer-text {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

/* ========== MAINTENANCE HERO ========== */
.maintenance-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Floating shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    opacity: 0.1;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 10%;
    animation-delay: -15s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 20%;
    animation-delay: -8s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(10px, -10px) rotate(270deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Maintenance Icon */
.maintenance-icon {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-icon i {
    font-size: 80px;
    color: var(--gold);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    animation: gear-rotate 8s linear infinite;
}

@keyframes gear-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.icon-pulse {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: pulse-out 2s ease-out infinite;
}

.icon-pulse.delay-1 {
    animation-delay: 0.6s;
}

.icon-pulse.delay-2 {
    animation-delay: 1.2s;
}

@keyframes pulse-out {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Main Title */
.main-title {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
}

.title-word {
    opacity: 0;
    transform: translateY(40px);
    animation: word-appear 0.8s ease forwards;
    color: var(--white);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.title-word:nth-child(1) {
    animation-delay: 0.5s;
}

.title-word:nth-child(2) {
    animation-delay: 0.7s;
}

.title-word:nth-child(3) {
    animation-delay: 0.9s;
}

.title-word:nth-child(4) {
    animation-delay: 1.1s;
}

.title-word.highlight {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

@keyframes word-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle */
.subtitle {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 40px;
    opacity: 0;
    animation: fade-in 1s ease forwards;
    animation-delay: 1.5s;
}

.sparkle {
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle:last-child {
    animation-delay: 0.5s;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.3) rotate(15deg);
        opacity: 0.7;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Thank You Card */
.thank-you-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto 48px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    opacity: 0;
    animation: card-appear 1s ease forwards;
    animation-delay: 1.7s;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    animation: glow-rotate 10s linear infinite;
}

@keyframes glow-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-content {
    position: relative;
    z-index: 1;
}

.heart-icon {
    margin-bottom: 16px;
}

.heart-icon i {
    font-size: 48px;
    color: #ff6b6b;
    animation: heart-beat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5));
}

@keyframes heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.thank-you-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--gold), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.thank-you-card p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

@keyframes card-appear {
    to {
        opacity: 1;
    }
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: fade-in 1s ease forwards;
    animation-delay: 1.9s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 24px;
    color: var(--gold);
    animation: bounce 2s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon {
    animation-delay: 0.3s;
}

.feature-item:nth-child(3) .feature-icon {
    animation-delay: 0.6s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.feature-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    color: #0e151f;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fade-in 1s ease forwards;
    animation-delay: 2.1s;
    position: relative;
    overflow: hidden;
}

.btn-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-back:hover::before {
    left: 100%;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 60px rgba(255, 215, 0, 0.5);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-back:hover .btn-icon {
    transform: translateX(-5px);
}

/* Decoration Bottom */
.decoration-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
}

/* ========== FOOTER ========== */
.site-footer {
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .main-title {
        font-size: clamp(24px, 8vw, 40px);
        gap: 8px 12px;
    }

    .thank-you-card {
        padding: 24px;
        margin: 0 16px 40px;
    }

    .thank-you-card h2 {
        font-size: 20px;
    }

    .thank-you-card p {
        font-size: 14px;
    }

    .features-preview {
        gap: 12px;
    }

    .feature-item {
        padding: 12px 18px;
    }

    .feature-item span {
        font-size: 12px;
    }

    .side-menu {
        width: 100%;
        right: -100%;
    }

    .maintenance-icon {
        width: 100px;
        height: 100px;
    }

    .maintenance-icon i {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .features-preview {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}