/* * TYRHOST CORE ENGINE - THEME: CYBER ROYAL
 * Architecture: Mobile First, Glassmorphism, Hardware Accelerated
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --bg-deep: #0b0214;
    --bg-panel: #150526;
    --bg-glass: rgba(30, 10, 50, 0.6);
    --primary: #6f42c1;
    --primary-glow: #8e5ad6;
    --gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6d365 100%);
    --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- SCROLLBAR CUSTOMIZADA --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* --- NAVBAR PREMIUM --- */
.navbar-royal {
    background: transparent;
    border: none;
    padding: 20px 0;
    transition: 0.5s;
}
.navbar-royal.scrolled {
    background: rgba(11, 2, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.navbar-brand span { color: var(--gold); }
.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 15px !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: var(--gold);
    transition: 0.3s;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 80%; }

/* --- HERO SECTION PARTICLES --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, #2a0e45 0%, #0b0214 100%);
    overflow: hidden;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.btn-cyber {
    background: var(--purple-gradient);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(118, 75, 162, 0.5);
}
.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--gold-gradient);
    z-index: -1;
    transition: 0.3s;
}
.btn-cyber:hover::before { width: 100%; }
.btn-cyber:hover { color: #000; box-shadow: 0 0 30px rgba(212, 175, 55, 0.6); }

/* --- DIVIDERS (QUEBRA DE QUADRADO) --- */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}
.wave-divider .shape-fill { fill: var(--bg-deep); }

/* --- GLASS CARDS --- */
.section-padding { padding: 100px 0; position: relative; }
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: 0.5s;
}
.glass-card:hover::before { opacity: 1; transform: scale(1); }

.icon-box {
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- PRICING 3D --- */
.pricing-card {
    background: #1a0b2e;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
    position: relative;
}
.pricing-card.featured {
    background: linear-gradient(180deg, #2d1b4e 0%, #1a0b2e 100%);
    border: 2px solid var(--gold);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}
.pricing-card:hover { transform: translateY(-10px) scale(1.02); }
.price-tag { font-size: 3rem; font-weight: 800; color: #fff; margin: 20px 0; }
.price-tag small { font-size: 1rem; color: #888; font-weight: 400; }
.feature-list { list-style: none; padding: 0; margin: 30px 0; color: #ccc; }
.feature-list li { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }

/* --- MASCOT WIDGET --- */
.mascot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.mascot-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: #222 url('https://cdn-icons-png.flaticon.com/512/4712/4712009.png') no-repeat center/cover;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    position: relative;
    transition: 0.3s;
}
.mascot-avatar:hover { transform: scale(1.1) rotate(5deg); }
.notification-badge {
    position: absolute;
    top: 0; right: 0;
    background: red;
    color: white;
    width: 25px; height: 25px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #fff;
    animation: bounce 2s infinite;
}
.chat-bubble {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 250px;
    background: white;
    color: #333;
    padding: 15px;
    border-radius: 20px 20px 5px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    transform-origin: bottom right;
    animation: popIn 0.3s ease-out;
}
.chat-bubble h5 { margin: 0 0 5px; color: var(--primary); font-size: 14px; }
.chat-bubble p { margin: 0; font-size: 13px; line-height: 1.4; }

/* --- ANIMATIONS --- */
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }
@keyframes popIn { from {opacity: 0; transform: scale(0.5);} to {opacity: 1; transform: scale(1);} }
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); margin: 20px 0; }
}