:root {
    --bg-color: #07070a;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #3b82f6;
    --accent: #a855f7;
    --discord-color: #5865F2;
    --discord-hover: #4752C4;
    --roblox-color: #E9273D;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== PREMIUM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--primary), var(--accent)); 
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background animated elements */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -15%;
    left: -10%;
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 950px;
    height: 950px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Typography styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(8, 8, 12, 0.65);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    height: 75px;
    background: rgba(8, 8, 12, 0.85);
    border-color: rgba(99, 102, 241, 0.2);
}

.header-container {
    max-width: 1500px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Logo Styles */
.logo-fyl {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-studios {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    margin-left: 5px;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Nav Links Pill Effect */
.center-nav ul {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    background: rgba(255,255,255,0.03);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.05);
    align-items: center; /* Centrado vertical absoluto */
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1; /* Para evitar desplazamientos por line-height */
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons .btn {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.btn-login {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.btn-login:hover {
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.btn-register:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Notifications System */
.notif-dropdown {
    width: 380px;
    max-width: 85vw; /* Previene desborde en teléfonos chicos */
    right: -15px;
    left: auto;
    display: none;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    position: absolute;
    top: calc(100% + 20px);
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.notif-dropdown.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.dropdown-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 800;
    font-size: 0.95rem; /* Ajustado para pantallas pequeñas */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    gap: 8px;
}

.btn-read-all {
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1); 
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer; 
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-read-all:hover {
    background: rgba(56, 189, 248, 0.2);
    color: white;
}

.notif-list { max-height: 400px; overflow-y: auto; }

.notif-item {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex; gap: 15px; transition: all 0.3s ease;
    text-decoration: none; color: inherit;
    position: relative;
}

.notif-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 4px;
    background: transparent;
    transition: 0.3s;
}

.notif-item:hover { 
    background: rgba(255, 255, 255, 0.04); 
    padding-left: 1.8rem;
}
.notif-item:hover::before {
    background: #8b5cf6;
}

.notif-item.unread { 
    background: rgba(56, 189, 248, 0.04); 
}
.notif-item.unread::before {
    background: var(--accent);
}

/* Premium Dropdown System */
.dropdown { position: relative; display: flex; align-items: center; height: 100%; }

.dropdown-content {
    display: flex !important;
    flex-direction: column !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    background: rgba(10, 15, 25, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    min-width: 240px !important;
    width: auto !important;
    height: auto !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05) !important;
    border-radius: 16px !important;
    z-index: 9999 !important;
    top: calc(100% + 15px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    padding: 10px !important;
    list-style: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.dropdown.desktop-active .dropdown-content {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
}
.dropdown.desktop-active .nav-link svg {
    transform: rotate(180deg);
}
.nav-link svg {
    transition: transform 0.3s ease;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border-radius: 14px !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    transform: translateX(8px);
}

.nav-link svg {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    opacity: 0.8;
}

.auth-buttons {
    display: flex;
    gap: 2.5rem !important; /* Espacio extra amplio */
    align-items: center;
    margin-left: 5rem;
}

.notification-bell-wrapper {
    width: 44px; 
    height: 44px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: rgba(255, 255, 255, 0.05); /* Cristal sutil */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

.notification-bell-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.15);
}

.user-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 25px !important; /* Separación forzada absoluta */
}

.user-avatar-trigger {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.user-avatar-trigger:hover {
    border-color: var(--primary);
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

.user-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    background: rgba(10, 15, 25, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    min-width: 260px;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8) !important;
    top: calc(100% + 15px) !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 12px 0 !important;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.user-dropdown-container.desktop-active .user-dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.btn-login {
    color: white;
    font-weight: 700;
    opacity: 0.7;
}

.btn-login:hover {
    opacity: 1;
    color: white;
}

.btn-register, .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-register:hover, .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    min-height: 90vh;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-content {
    flex: 1.2;
    max-width: 700px;
}

/* New Badge */
.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.3rem 0.8rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Enhanced Title */
.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.title-top {
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
}

.title-main {
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
}

.glow-span {
    color: white;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-subtitle b { color: white; }

/* Premium Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-premium {
    padding: 1.1rem 2.5rem;
    border-radius: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-premium.primary {
    background: #38bdf8;
    color: black;
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.25);
}

.btn-premium.primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.4);
}

.btn-premium.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-premium.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Terminal Card */
.terminal-card {
    background: #0a0b10;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.terminal-header {
    background: rgba(255,255,255,0.03);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-dots { display: flex; gap: 8px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title { font-size: 0.75rem; color: #64748b; font-family: monospace; }

.terminal-body {
    padding: 25px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-body .line { color: #94a3b8; display: flex; gap: 10px; }
.terminal-body .cmd { color: #38bdf8; font-weight: 900; }
.terminal-body .success { color: #10b981; }
.terminal-body .info { color: #f59e0b; }

.progress-wrap {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #38bdf8;
    box-shadow: 0 0 15px #38bdf8;
    animation: fillBar 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fillBar { to { width: 75%; } }

.active-line { color: white !important; font-weight: 600; margin-top: 10px; }
.cursor-type { animation: blink 1s infinite; color: #38bdf8; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Auth Pages */
.auth-page {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 4rem;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Integrations */
.integrations-section {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--surface-border);
}

.integration-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.integration-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-integration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: var(--transition);
}

.btn-discord {
    background: var(--discord-color);
}

.btn-discord:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
}

.btn-roblox {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--text-main);
}

.btn-roblox.success {
    border-color: var(--roblox-color);
    background: rgba(233, 39, 61, 0.1);
}

.btn-roblox:hover {
    border-color: var(--roblox-color);
    transform: translateY(-2px);
}

.roblox-icon {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-main);
}

.btn-roblox:hover .roblox-icon {
    color: var(--roblox-color);
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--surface-border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    color: var(--text-muted);
}

.accent-link {
    color: var(--primary);
}

.accent-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.mt-4 {
    margin-top: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

/* -------------------------------------
   BLOG PAGE STYLES
   ------------------------------------- */
/* -------------------------------------
   BLOG PAGE STYLES (MODERNIZED)
   ------------------------------------- */
.blog-hero {
    text-align: center;
    padding: 13rem 2rem 3rem 2rem;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 950;
    margin-bottom: 0.5rem;
    color: white !important;
    letter-spacing: -2px;
    line-height: 1;
    display: block !important;
}

.blog-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 550px;
    margin: 0 auto;
}

.blog-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 3rem auto;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
}

.blog-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.blog-search-form {
    flex: 0 0 350px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1rem 0.85rem 3.2rem;
    border-radius: 100px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.search-input-wrapper input:focus + .search-icon {
    color: var(--primary);
}

.search-results-info {
    margin: -2rem 0 3rem 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-results-info span {
    color: white;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    padding: 2px 10px;
    border-radius: 6px;
}

.clear-search {
    margin-left: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* Blog Grid & Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
    gap: 2.5rem;
    margin-top: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.post-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
}

.post-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.post-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.post-card-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    z-index: 1;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-card:hover .post-card-img img {
    transform: scale(1.1);
}

.post-category-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Category Colors */
.post-category-tag[data-category="Comunicado"] { background: #ef4444; }
.post-category-tag[data-category="Noticia"] { background: #3b82f6; }
.post-category-tag[data-category="Update"] { background: #10b981; }

.post-card-body {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta-top {
    margin-bottom: 1rem;
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.post-card-body h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    transition: color 0.3s ease;
}

.post-card:hover h2 {
    color: var(--primary);
}

.post-card-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.post-author-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.post-author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #f1f5f9;
}

.read-more-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.05);
}

.post-card:hover .read-more-link {
    background: var(--primary);
    color: white;
    transform: none;
}

/* No Results State */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.no-results-icon {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
}

.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-muted);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
     transition: color 0.2s ease;
}

.close-btn:hover {
    color: white;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--primary);
    padding: 1rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

#robloxCodeDisplay {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
}

#copyCodeBtn {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#copyCodeBtn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.text-sm {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* -------------------------------------
   SINGLE POST PAGE STYLES
   ------------------------------------- */
.post-view-hero {
    position: relative;
    height: 65vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8rem;
}

.post-view-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-color) 10%, rgba(13, 15, 26, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.post-view-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05);
    filter: brightness(0.6) blur(1px);
}

.post-view-title-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.post-category-badge {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    display: inline-block;
    margin-bottom: 2rem;
}

.post-view-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
}

.post-meta-details {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.post-author-info {
    display: flex;
    flex-direction: column;
}

.post-author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.post-publish-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.full-post-content {
    max-width: 900px;
    margin: -6rem auto 6rem auto;
    background: rgba(13, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border-radius: 40px;
    padding: 5rem;
    position: relative;
    z-index: 3;
    line-height: 1.9;
    font-size: 1.15rem;
    color: #cbd5e1;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

/* Quill Content Styling */
.ql-editor {
    padding: 0;
    overflow: visible;
    height: auto;
}

.ql-editor p {
    margin-bottom: 1.8rem;
}

.ql-editor h2, .ql-editor h3 {
    color: white;
    margin: 3rem 0 1.5rem 0;
    font-weight: 800;
}

.ql-editor img {
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.post-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-start;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.05);
}

.btn-back:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    transform: translateX(-8px);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .post-view-hero {
        height: 50vh;
        min-height: 400px;
        padding-bottom: 4rem;
    }

    .post-view-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .full-post-content {
        margin: -3rem 1rem 4rem 1rem;
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
        font-size: 1.05rem;
    }

    .post-footer {
        margin-top: 3rem;
    }
}

/* -------------------------------------
   STATS PANEL SECTIONS
   ------------------------------------- */
.stats-server-container {
    max-width: 1200px;
    margin: 4rem auto 2rem auto;
    padding: 0 2rem;
}

.stats-panel {
    background: rgba(13, 15, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-header-title {
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot-yellow {
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    display: inline-block;
}

.pill-online {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pill-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: background 0.2s ease;
}
.stat-row:last-child {
    border-bottom: none;
}
.stat-row:hover {
    background: rgba(255,255,255,0.01);
}

.stat-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}
.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon svg { width: 20px; height: 20px; }
.icon-server { background: rgba(16, 185, 129, 0.05); color: #10b981; }
.icon-users { background: rgba(59, 130, 246, 0.05); color: #3b82f6; }
.icon-discord { background: rgba(139, 92, 246, 0.05); color: #8b5cf6; }
.icon-calendar { background: rgba(245, 158, 11, 0.05); color: #f59e0b; }

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
}
.val-green { color: #10b981; }
.val-blue { color: #3b82f6; }
.val-purple { color: #8b5cf6; }
.val-yellow { color: #f59e0b; }

/* -------------------------------------
   FEATURES GRID SECTIONS
   ------------------------------------- */
.features-container {
    max-width: 1200px;
    margin: 2rem auto 6rem auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #111218;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: #161821;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: white;
}
.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* -------------------------------------
   USER DROPDOWN MENU
   ------------------------------------- */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}

.user-avatar-trigger {
    width: 40px;
    height: 40px;
    background: #2b2d35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}
.user-avatar-trigger:hover {
    background: #363943;
    transform: scale(1.05);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #1a1b22;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    padding: 0.5rem 0;
}

.user-dropdown-container.desktop-active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-large {
    width: 45px;
    height: 45px;
    background: #363943;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1.2rem;
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
}

.dropdown-username {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.dropdown-email {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.logout-item:hover svg {
    color: #ef4444;
}

/* -------------------------------------
   FOOTER SECTION
   ------------------------------------- */
.main-footer {
    background: rgba(13, 15, 26, 0.5); /* Semi dark para match bottom */
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 5rem 2rem 1.5rem 2rem;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links-wrapper {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    .footer-links-wrapper {
        justify-content: space-between;
        gap: 2rem;
    }
}

/* -------------------------------------
   STORE & PRICING
   ------------------------------------- */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

@media (max-width: 1000px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.popular-card {
    border: 1px solid #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
    transform: scale(1.02);
}
.popular-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

.card-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.silver-text { color: #94a3b8; }
.gold-text { color: #f59e0b; }
.diamond-text { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }

.price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.usd-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1.5rem;
}

.plan-features {
    flex-grow: 1;
}

.feature-category-title {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mt-4 { margin-top: 1.5rem; }

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.plan-features li span {
    color: var(--accent-color);
    font-weight: bold;
}

.btn-buy {
    margin-top: 2.5rem;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-silver:hover { background: #94a3b8; border-color: #94a3b8; color:#000; }
.btn-gold { background: rgba(245, 158, 11, 0.1); border-color:#f59e0b; color: #f59e0b; }
.btn-gold:hover { background: #f59e0b; border-color: #f59e0b; color:#000; }
.btn-diamond { background: rgba(56, 189, 248, 0.1); border-color:#38bdf8; color: #38bdf8; }
.btn-diamond:hover { background: #38bdf8; border-color: #38bdf8; color:#000; }

/* -------------------------------------
   SUPPORT PAGE
   ------------------------------------- */
.support-layout {
    display: flex;
    max-width: 1300px;
    margin: 4rem auto;
    gap: 3rem;
    padding: 0 2rem;
    align-items: flex-start;
}

.support-sidebar {
    flex: 0 0 280px;
    background: #111218;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.support-content {
    flex: 1;
    background: #111218;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sidebar-category {
    margin-bottom: 0.5rem;
}

.nav-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn:hover, .nav-btn.active {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.3rem;
}

.submenu.open {
    display: flex;
}

.sub-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-align: left;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.sub-btn:hover, .sub-btn.active {
    color: white;
    background: rgba(255,255,255,0.05);
}

.support-form-section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.support-form-section.active {
    display: block;
}

.form-guidelines {
    background: rgba(245, 158, 11, 0.05);
    border-left: 3px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.form-guidelines ol {
    margin: 0;
    padding-left: 1.2rem;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

.support-form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.evidence-upload-container {
    display: none;
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
}

.evidence-upload-container.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .support-layout {
        flex-direction: column;
    }
    .support-sidebar {
        width: 100%;
        flex: none;
        position: static;
    }
}

/* Custom Support Forms & Icons */
.support-input, .support-textarea, .support-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.support-input:focus, .support-textarea:focus, .support-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.support-select option {
    background: #151722;
    color: white;
    padding: 10px;
}

.support-textarea {
    resize: vertical;
    min-height: 100px;
}

.nav-btn .btn-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-btn .chevron {
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.nav-btn:hover .chevron {
    opacity: 1;
}

.nav-btn.active .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.form-group label {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 600;
}


/* -------------------------------------
   AUTH PAGES (Login / Register)
   ------------------------------------- */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 160px 20px 80px;
    position: relative;
    z-index: 10;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    padding: 3rem 3.5rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: fadeIn 0.5s ease forwards;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.auth-header .subtitle {
    color: #94a3b8;
    font-size: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.6rem;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form .input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 14px 16px;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-form .input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.auth-form .input-wrapper input::placeholder {
    color: #475569;
}

.integrations-section {
    margin-top: 2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.integration-label {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.integration-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-integration {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.btn-discord {
    background: rgba(88, 101, 242, 0.1);
    color: #a5b4fc;
    border-color: rgba(88, 101, 242, 0.2);
}

.btn-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    color: white;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}

.btn-discord:hover svg {
    color: white !important;
}

.btn-roblox {
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}

.btn-roblox:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.roblox-icon {
    font-weight: 900;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-large {
    font-family: 'Outfit', sans-serif;
    padding: 16px 24px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    color: white;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-top: 2rem;
}

.btn-large:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
}

.checkbox-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-group input[type="checkbox"]:checked {
    background: #8b5cf6;
    border-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.checkbox-group input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) transform;
    box-shadow: inset 1em 1em white;
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-group input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.checkbox-group label {
    margin: 0 !important;
    display: inline-block !important; /* Override .auth-form label default */
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.accent-link {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.accent-link:hover {
    color: white;
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* -------------------------------------
   RESPONSIVE DESIGN SYSTEM
   ------------------------------------- */

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 992px) {
    .main-header { padding: 0 1.5rem; height: 80px; }
    .header-container { padding: 0; }
    
    /* Mostrar botón hamburguesa */
    .mobile-toggle { display: flex; order: 3; }
    .logo { order: 1; }
    .auth-buttons { order: 2; margin-left: auto; gap: 0.8rem !important; }
    .auth-buttons .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
    
    .notification-bell-wrapper { margin-right: 5px !important; width: 40px !important; height: 40px !important; }
    .user-dropdown-container { margin-left: 5px !important; }
    .user-avatar-trigger { width: 38px !important; height: 38px !important; }

    /* Menú móvil */
    .center-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 12, 0.98);
        backdrop-filter: blur(30px);
        padding: 120px 2rem 2rem 2rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        display: block !important;
        overflow-y: auto; /* Permite scroll si la pantalla es muy chica */
    }

    .center-nav.active { right: 0; }

    .center-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link { font-size: 1.4rem; font-weight: 700; padding: 1rem; }

    /* Desactivar dropdowns complejos en móvil por simplicidad */
    .dropdown .dropdown-content {
        position: static;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        background: transparent !important;
        box-shadow: none;
        width: 100%;
        text-align: center;
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none !important;
    }

    .dropdown.mobile-active .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 1rem !important;
    }

    .dropdown .dropdown-item {
        justify-content: center;
        font-size: 1.1rem;
        padding: 10px;
    }

    .dropdown.mobile-active .nav-link svg {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 130px;
        text-align: center;
        gap: 3rem;
        padding-bottom: 5rem;
    }

    .title-main { font-size: 3rem; }
    .title-top { font-size: 0.8rem; letter-spacing: 4px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    
    .hero-buttons { justify-content: center; flex-direction: column; gap: 1rem; width: 100%; }
    .btn-premium { width: 100%; justify-content: center; }
    
    .terminal-card { transform: none !important; max-width: 100%; }
    .hero-graphics { width: 100%; }

    /* Blobs más pequeños para no estorbar en móvil */
    .blob { filter: blur(80px); }
    .blob-1 { width: 250px; height: 250px; }
    .blob-2 { width: 300px; height: 300px; }

    .user-dropdown-container.mobile-active .user-dropdown-menu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    /* Tienda */
    .pricing-container { padding: 0 1rem; grid-template-columns: 1fr; }
    .pricing-card { padding: 2rem 1.5rem; }
    
    /* Blog Updates */
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        border-radius: 16px;
        margin: 0.5rem 0 1.5rem 0;
        padding: 0.5rem;
    }
    
    .blog-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0.2rem;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .blog-search-form {
        max-width: 100%;
        margin: 0;
    }

    .blog-hero {
        padding: 180px 1rem 1rem 1rem !important;
        display: block !important;
    }

    .blog-hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }

    .blog-hero p {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        display: block !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.2rem;
        margin-top: 0;
    }

    .post-card-body {
        padding: 1.5rem;
    }

    .post-card-body h2 {
        font-size: 1.5rem;
    }

    .post-card-img {
        height: 200px;
    }

    /* Soporte */
    .support-layout {
        flex-direction: column;
        padding: 0 1rem;
    }
    .support-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    .support-content {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-container {
        gap: 3rem;
        text-align: center;
    }
    .footer-brand {
        min-width: 100%;
    }
    .footer-desc {
        margin: 0 auto;
    }
    .footer-links-wrapper {
        justify-content: center;
        width: 100%;
        gap: 2rem;
        flex-direction: column;
    }
    
    /* Auth */
    .auth-container {
        padding: 2rem 1.5rem;
        border-radius: 0;
        border: none;
        min-height: 100vh;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .title-main { font-size: 2.4rem; }
    .main-header { height: 70px; }
    .logo-fyl { font-size: 1.6rem !important; }
    .logo-studios { font-size: 1.3rem !important; }
}
